/* ==========================================================================
   Gator I Properties, Inc - gatoroneproperties.com
   Design system + site styles. Mobile-first.
   ========================================================================== */

/* ---------- Tokens ----------
   Change a colour here and it updates across the whole site.
   --brick is the accent: buttons, links, the logo tile, eyebrow labels.
   --blush is the light feature band that replaced the old dark sections.  */
:root {
  --brick:       #be4728;   /* accent - darkest coral that still passes WCAG AA */
  --brick-dark:  #9a3a20;   /* accent, hover/pressed */
  --brick-tint:  #fdeee8;   /* accent at 8% - icon tiles, callouts */
  --ink:         #1f1b19;   /* headings */
  --ink-2:       #4e4844;   /* body text */
  --ink-3:       #6b635c;   /* captions, muted text */
  --cream:       #ffffff;   /* page background */
  --sand:        #fdf4ee;   /* alternating section background */
  --blush:       #fdf0e8;   /* page headers and feature bands */
  --line:        #f2e6dc;   /* borders and rules */
  --white:       #ffffff;
  --gold:        #e2a13c;

  --font-head: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --wrap: 1180px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(26,29,33,.06), 0 2px 8px rgba(26,29,33,.05);
  --shadow-md: 0 4px 14px rgba(26,29,33,.09), 0 12px 32px rgba(26,29,33,.07);

  --header-h: 68px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { max-width: 100%; display: block; }
a { color: var(--brick); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--brick-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.1rem, 5.4vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.35rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.section { padding: 62px 0; }
.section--tight { padding: 44px 0; }
.section--sand { background: var(--sand); }
.section--white { background: var(--white); }
/* Feature band - light blush, not dark. Class name kept so pages don't change. */
.section--ink { background: var(--blush); color: var(--ink-2); }
.section--ink h2, .section--ink h3 { color: var(--ink); }

.eyebrow {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--brick);
  margin: 0 0 .7em;
}
.section--ink .eyebrow { color: var(--brick); }
.lede { font-size: 1.12rem; color: var(--ink-2); max-width: 62ch; }
.section-head { max-width: 68ch; margin-bottom: 34px; }

/* ---------- Skip link ---------- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  padding: 13px 24px; border-radius: var(--radius); border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; transition: background .15s, color .15s, border-color .15s, transform .1s;
  line-height: 1.2; text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brick); color: #fff; }
.btn--primary:hover { background: var(--brick-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); background: var(--white); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--sand); color: var(--ink); }
/* On the hero and the CTA band (still dark/coloured) this stays white-outlined. */
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--outline-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.12); }
/* Inside the light feature band it needs dark ink instead. */
.section--ink .btn--outline-light { color: var(--ink); border-color: #e0cbbc; }
.section--ink .btn--outline-light:hover { color: var(--ink); border-color: var(--ink); background: #fff; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--blush); color: var(--ink-2); font-size: .86rem;
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar a { color: var(--brick); text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--brick-dark); text-decoration: underline; }
.topbar__left { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar__note { color: var(--ink-3); }
@media (max-width: 640px) { .topbar__note { display: none; } }

/* ---------- Header / nav ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.93);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 20px; }

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
/* The mark is an inline SVG (partials/logo.php) that carries its own rounded
   corners and colours, so it needs sizing only. */
.brand__mark { width: 38px; height: 38px; flex-shrink: 0; display: block; }
.brand__name { font-family: var(--font-head); font-size: 1.16rem; font-weight: 600; color: var(--ink); line-height: 1.15; }
.brand__sub { display: block; font-family: var(--font-body); font-size: .7rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: block; padding: 9px 13px; border-radius: 8px;
  font-size: .96rem; font-weight: 500; color: var(--ink-2); text-decoration: none;
}
.nav a:hover { background: var(--sand); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--brick); font-weight: 600; }
.nav__cta { margin-left: 8px; }

.nav-toggle {
  display: none; background: none; border: 1.5px solid var(--line); border-radius: 8px;
  padding: 9px 11px; cursor: pointer; color: var(--ink); align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: .9rem; font-weight: 600;
}
.nav-toggle svg { display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + 38px) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px; box-shadow: var(--shadow-md);
    max-height: calc(100dvh - var(--header-h) - 38px); overflow-y: auto;
  }
  .nav[hidden] { display: none; }
  .nav a { padding: 13px 12px; font-size: 1.05rem; border-radius: 8px; }
  .nav__cta { margin: 10px 0 0; }
  .nav__cta .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-color: #2b1f19;
  /* Lighter than before so the rowhouses read, but still dark enough on the
     left that the headline and lede stay well clear of WCAG AA. */
  background-image:
    linear-gradient(98deg, rgba(38,22,15,.90) 0%, rgba(38,22,15,.82) 42%, rgba(38,22,15,.46) 78%, rgba(38,22,15,.28) 100%),
    url("../images/hero.jpg"),
    linear-gradient(135deg, #c25a34 0%, #8a3a20 48%, #3a2a24 100%);
  background-size: cover, cover, cover;
  background-position: center, center 58%, center;
  color: #fff;
  overflow: hidden;
}
@media (max-width: 760px) {
  /* On narrow screens the text spans the full width, so darken evenly. */
  .hero {
    background-image:
      linear-gradient(180deg, rgba(38,22,15,.88) 0%, rgba(38,22,15,.84) 55%, rgba(38,22,15,.90) 100%),
      url("../images/hero.jpg"),
      linear-gradient(135deg, #c25a34 0%, #8a3a20 48%, #3a2a24 100%);
  }
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='48' viewBox='0 0 120 48'><g fill='none' stroke='%23ffffff' stroke-width='1' opacity='0.5'><path d='M0 .5h120M0 24.5h120M0 47.5h120'/><path d='M30 0v24M90 0v24M0 24v24M60 24v24M120 24v24'/></g></svg>");
}
.hero__inner { position: relative; z-index: 1; padding: 78px 0 70px; max-width: 730px; }
.hero h1 { color: #fff; margin-bottom: .35em; text-wrap: balance; }
.hero__lede { font-size: 1.16rem; color: #e6e1dc; margin-bottom: 1.7em; max-width: 56ch; }
.hero .btn-row { margin-bottom: 30px; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center;
  padding-top: 26px; border-top: 1px solid rgba(255,255,255,.18);
  font-size: .93rem; color: #d5cfc9;
}
.hero__meta strong { color: #fff; font-weight: 600; }
@media (min-width: 720px) { .hero__inner { padding: 108px 0 96px; } }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 20px; }
.grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .4em; }
.card p { font-size: .97rem; color: var(--ink-2); }
.card__icon {
  width: 42px; height: 42px; border-radius: 10px; margin-bottom: 16px;
  background: var(--brick-tint); color: var(--brick);
  display: grid; place-items: center;
}
.card__icon svg { width: 21px; height: 21px; }

a.card { text-decoration: none; display: block; transition: border-color .15s, box-shadow .15s, transform .12s; }
a.card:hover { border-color: var(--brick); box-shadow: var(--shadow-md); transform: translateY(-2px); }
a.card h3 { color: var(--ink); }
a.card .card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: .93rem; font-weight: 600; color: var(--brick); }

/* ---------- Listings embed ---------- */
.embed-frame {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.embed-frame iframe { width: 100%; height: 760px; border: 0; display: block; }
@media (min-width: 720px) { .embed-frame iframe { height: 900px; } }
.embed-note { font-size: .88rem; color: var(--ink-3); margin-top: 12px; }

/* ---------- Neighborhood photo cards ---------- */
.hood-card {
  margin: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.hood-card img {
  width: 100%; height: 210px; object-fit: cover; display: block;
  background: var(--sand);
}
.hood-card figcaption { padding: 22px 22px 24px; }
.hood-card h3 { font-size: 1.12rem; margin-bottom: .35em; }
.hood-card p { font-size: .95rem; color: var(--ink-2); margin: 0; }

/* ---------- Single wide photo with caption ---------- */
.photo-band { margin: 0; }
.photo-band img {
  width: 100%; height: auto; border-radius: var(--radius-lg);
  border: 1px solid var(--line); display: block;
}
.photo-band figcaption {
  margin-top: 12px; font-size: .9rem; color: var(--ink-3); text-align: center;
}

/* ---------- Neighborhoods ---------- */
.hood-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 9px; }
.hood-list li {
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 17px; font-size: .93rem; font-weight: 500; color: var(--ink-2);
}
.section--ink .hood-list li { background: #fff; border-color: var(--line); color: var(--ink-2); }

/* ---------- Steps ---------- */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 22px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 26px; } }
.steps li { counter-increment: step; position: relative; padding-top: 52px; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--brick); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  display: grid; place-items: center;
}
.steps h3 { font-size: 1.08rem; margin-bottom: .35em; }
.steps p { font-size: .95rem; margin: 0; }

/* ---------- Split ---------- */
.split { display: grid; gap: 34px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr .9fr; gap: 56px; } }

.factbox {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.factbox h3 { font-size: 1.1rem; margin-bottom: 16px; }
.factlist { list-style: none; margin: 0; padding: 0; }
.factlist li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.factlist li:last-child { border-bottom: 0; padding-bottom: 0; }
.factlist .k { font-weight: 600; color: var(--ink); min-width: 108px; flex-shrink: 0; }

.checks { list-style: none; margin: 0 0 1.2em; padding: 0; }
.checks li { position: relative; padding: 7px 0 7px 30px; font-size: 1rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 15px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--brick-tint);
  box-shadow: inset 0 0 0 1.5px var(--brick);
}
.checks li::after {
  content: ""; position: absolute; left: 5px; top: 20px;
  width: 6px; height: 3px; border-left: 2px solid var(--brick); border-bottom: 2px solid var(--brick);
  transform: rotate(-45deg);
}
.section--ink .checks li::before { background: var(--brick-tint); box-shadow: inset 0 0 0 1.5px var(--brick); }
.section--ink .checks li::after { border-color: var(--brick); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--brick); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #fff4f0; max-width: 58ch; }
.cta-band .wrap { padding-block: 54px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 10px; overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: 17px 46px 17px 20px; position: relative;
  font-weight: 600; color: var(--ink); font-size: 1.02rem; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 24px;
  width: 9px; height: 9px; border-right: 2px solid var(--brick); border-bottom: 2px solid var(--brick);
  transform: rotate(45deg); transition: transform .18s;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 28px; }
.faq .faq__body { padding: 0 20px 18px; font-size: .98rem; }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* ---------- Forms ---------- */
.form { max-width: 640px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .94rem; color: var(--ink); margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--ink-3); font-size: .87rem; }
.field .req { color: var(--brick); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--white); transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brick); box-shadow: 0 0 0 3px rgba(168,65,44,.14);
}
.field--row { display: grid; gap: 18px; }
@media (min-width: 620px) { .field--row { grid-template-columns: 1fr 1fr; } }
.field--check { display: flex; align-items: flex-start; gap: 10px; }
.field--check input { width: auto; margin-top: 4px; flex-shrink: 0; }
.field--check label { font-weight: 400; font-size: .96rem; margin: 0; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .88rem; color: var(--ink-3); margin-top: 14px; }

.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 24px; font-size: .96rem; }
.alert--ok { background: #e8f3ec; border: 1px solid #b9dcc6; color: #1d5233; }
.alert--err { background: #fdeceb; border: 1px solid #f2c2bd; color: #8a2b21; }

/* ---------- Callout ---------- */
.callout {
  background: var(--brick-tint); border-left: 4px solid var(--brick);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 22px; font-size: .98rem;
}
.callout strong { color: var(--ink); }

/* ---------- Contact ---------- */
.contact-cards { display: grid; gap: 18px; }
@media (min-width: 720px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: .5em; }
.contact-card address { font-style: normal; font-size: .97rem; line-height: 1.7; }

.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.map-frame iframe { width: 100%; height: 330px; border: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #99a1aa; font-size: .93rem; padding: 52px 0 26px; }
.footer h4 { font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 0 0 14px; }
.footer a { color: #d3d8dd; text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 9px; }
.footer__grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; } }
.footer__brand .brand__name { color: #fff; }
.footer__brand p { font-size: .93rem; margin-top: 14px; max-width: 34ch; }
.footer address { font-style: normal; line-height: 1.8; }
.footer__bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .87rem; color: #7f8792;
}
.eho { display: flex; align-items: flex-start; gap: 10px; font-size: .84rem; line-height: 1.55; color: #8b939c; }
.eho svg { flex-shrink: 0; width: 26px; height: 26px; fill: #8b939c; margin-top: 1px; }

/* ---------- Interior page header ---------- */
.pagehead {
  background: var(--blush); color: var(--ink-2);
  padding: 52px 0 46px; border-bottom: 1px solid var(--line);
}
.pagehead h1 { color: var(--ink); margin-bottom: .3em; }
.pagehead p { color: var(--ink-2); max-width: 62ch; margin: 0; font-size: 1.06rem; }
.pagehead .eyebrow { color: var(--brick); }

/* ---------- Utilities ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 22px; }
.text-sm { font-size: .93rem; }
.muted { color: var(--ink-3); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
