/* ============================================================
   goodtxrealtor.com — Kyle Rohlfs
   ------------------------------------------------------------
   >>> CHANGE THE SITE COLORS HERE <<<
   Every color on the site comes from the variables below.
   Edit a hex value and the whole site updates. Nothing else
   needs to change. (Tell Kyle's AI "make the gold a deep green"
   and only these lines get touched.)
   ============================================================ */
:root {
  --navy:        #0B2A4A;   /* primary brand color (nav, hero, headings) */
  --navy-deep:   #071E36;   /* darker navy (footer, hero base)           */
  --gold:        #C9A24B;   /* accent (buttons, rules, highlights)        */
  --gold-deep:   #9A7A2E;   /* darker gold for text on light gold         */
  --cream:       #FAF7F1;   /* page background                            */
  --sand:        #F2ECE0;   /* alternating section background             */
  --ink:         #1C2530;   /* main body text                             */
  --muted:       #5C6672;   /* secondary text                             */
  --line:        rgba(11,42,74,0.12); /* hairline borders                 */
  --white:       #FFFFFF;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Mulish", -apple-system, BlinkMacSystemFont, sans-serif;

  --maxw: 1160px;
  --radius: 4px;
  --shadow: 0 18px 50px -24px rgba(7,30,54,0.45);
}

/* ============================================================
   Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; color: var(--navy); margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
a { color: var(--navy); text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy); color: #E8EDF3; }
.section--navy h2, .section--navy h3 { color: #fff; }
.center { text-align: center; }
.lede { font-size: 1.18rem; color: var(--muted); max-width: 60ch; }
.center .lede { margin-left: auto; margin-right: auto; }
.eyebrow {
  font-family: var(--font-body); font-size: .78rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin: 0 0 14px;
}
.section--navy .eyebrow { color: var(--gold); }
.rule { width: 54px; height: 2px; background: var(--gold); border: 0; margin: 0 0 26px; }
.center .rule { margin-left: auto; margin-right: auto; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: .92rem;
  letter-spacing: .03em; padding: 14px 28px; border-radius: var(--radius);
  cursor: pointer; border: 1.5px solid transparent; transition: all .2s ease; text-align: center;
}
.btn--gold { background: var(--gold); color: var(--navy-deep); }
.btn--gold:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: #fff; color: var(--navy-deep); }

/* ============================================================
   Header / Nav
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50; background: rgba(250,247,241,.92);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: var(--navy); letter-spacing: .02em; }
.brand span { color: var(--gold-deep); }
.nav__links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav__links a { font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); font-weight: 700; transition: color .15s; }
.nav__links a:hover { color: var(--gold-deep); }
.nav__phone { background: var(--navy); color: #fff !important; padding: 9px 16px; border-radius: var(--radius); }
.nav__phone:hover { background: var(--gold); color: var(--navy-deep) !important; }
.nav__toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--navy); cursor: pointer; }
.has-dropdown { position: relative; }
.dropdown { position: absolute; top: 130%; left: 50%; transform: translateX(-50%) translateY(6px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; min-width: 190px; opacity: 0; visibility: hidden; transition: all .18s; }
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { display: block; padding: 9px 14px; text-transform: none; letter-spacing: 0; font-weight: 600; font-size: .9rem; border-radius: 3px; }
.dropdown a:hover { background: var(--sand); }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; background: var(--navy-deep); color: #fff; overflow: hidden; }
.hero::after { content:""; position:absolute; inset:0; background:
   radial-gradient(120% 120% at 80% 0%, rgba(201,162,75,.18), transparent 55%); pointer-events:none; }
.hero__inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 96px 24px 104px; display: grid; grid-template-columns: 1.25fr .9fr; gap: 50px; align-items: center; }
.hero h1 { color: #fff; }
.hero p { color: #C9D4E2; font-size: 1.2rem; max-width: 44ch; }
.hero__eyebrow { color: var(--gold); font-weight: 700; letter-spacing: .22em; text-transform: uppercase; font-size: .8rem; margin-bottom: 18px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero__photo { aspect-ratio: 4/5; background: linear-gradient(160deg, #103257, #0A2238); border: 1px solid rgba(201,162,75,.4); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: rgba(201,162,75,.7); overflow: hidden; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero__photo span { font-family: var(--font-body); font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; text-align: center; padding: 0 20px; }

/* ============================================================
   Cards / grids
   ============================================================ */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__media { aspect-ratio: 16/10; background: var(--navy); background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; color: var(--gold-soft); font-size: 2rem; }
.card__body { padding: 22px 24px 26px; }
.card__body h3 { margin-bottom: 6px; }
.card__body p { color: var(--muted); font-size: .98rem; margin-bottom: 14px; }
.card__link { font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); }
.card__link:hover { color: var(--navy); }

.feature { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 0 0 6px 6px; padding: 32px 30px; }
.feature h3 { color: var(--navy); }
.feature p { color: var(--muted); margin-bottom: 0; }

.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat { text-align: center; }
.stat__num { font-family: var(--font-display); font-size: 2.6rem; color: var(--gold); line-height: 1; }
.stat__label { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: #C9D4E2; margin-top: 8px; }

/* ============================================================
   Content / prose pages
   ============================================================ */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; color: var(--navy); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.callout { background: var(--sand); border-left: 3px solid var(--gold); padding: 20px 24px; border-radius: 0 4px 4px 0; margin: 28px 0; }
.callout a { color: var(--gold-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.callout a:hover { color: var(--navy); }
.callout p:last-child { margin-bottom: 0; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 22px 0; font-family: var(--font-display); font-size: 1.18rem; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-q::after { content: "+"; color: var(--gold-deep); font-family: var(--font-body); font-weight: 700; font-size: 1.5rem; transition: transform .2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a p { padding-bottom: 20px; color: var(--muted); margin: 0; }

/* ============================================================
   Calculators
   ============================================================ */
.calc { background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); overflow: hidden; }
.calc__grid { display: grid; grid-template-columns: 1fr 0.85fr; }
.calc__inputs { padding: 30px 32px; }
.calc__result { background: var(--navy); color: #fff; padding: 30px 32px; display: flex; flex-direction: column; justify-content: center; }
.calc__result h3 { color: #fff; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .82rem; font-weight: 700; letter-spacing: .04em; color: var(--ink); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; padding: 11px 13px; font-family: var(--font-body); font-size: 1rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); color: var(--ink);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,75,.18); }
.field--check { display: flex; align-items: center; gap: 10px; }
.field--check input { width: auto; }
.field--check label { margin: 0; font-weight: 600; }
.calc__big { font-family: var(--font-display); font-size: 2.8rem; color: var(--gold); line-height: 1; margin: 4px 0 2px; }
.calc__big-sub { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: #C9D4E2; }
.calc__rows { margin-top: 22px; border-top: 1px solid rgba(255,255,255,.16); padding-top: 16px; }
.calc__row { display: flex; justify-content: space-between; font-size: .95rem; padding: 6px 0; color: #D4DEEA; }
.calc__row span:last-child { font-weight: 700; color: #fff; }
.calc__note { font-size: .8rem; color: var(--muted); margin-top: 16px; line-height: 1.55; }
.calc__cta { margin-top: 18px; }

.tool-card { background:#fff; border:1px solid var(--line); border-radius:6px; padding:26px 28px; border-top:3px solid var(--gold); }
.tool-card h3 { margin-bottom:6px; }
.tool-card p { color:var(--muted); font-size:.95rem; margin-bottom:14px; }

/* ============================================================
   Forms (Netlify)
   ============================================================ */
.form-card { background:#fff; border:1px solid var(--line); border-radius:8px; padding:34px 36px; box-shadow:var(--shadow); }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-card textarea { min-height:130px; resize:vertical; }
.form-card .btn { width:100%; justify-content:center; margin-top:8px; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--navy-deep); color: #AEBDCE; padding: 64px 0 30px; font-size: .92rem; }
.footer a { color: #C9D4E2; }
.footer a:hover { color: var(--gold); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 9px; }
.footer__brand { font-family: var(--font-display); font-size: 1.5rem; color: #fff; margin-bottom: 10px; }
.footer__brand span { color: var(--gold); }
.footer__legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; font-size: .8rem; color: #7E8EA2; display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.footer__trec { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; display:flex; flex-wrap:wrap; gap:10px 28px; }
.footer__trec a { font-size: .9rem; color: #C9D4E2; text-decoration: underline; text-underline-offset: 2px; }
.footer__trec a:hover { color: var(--gold); }
.footer__trec + .footer__legal { border-top: 0; margin-top: 16px; padding-top: 0; }
.footer__social { display:flex; gap:12px; margin-top:14px; }
.footer__social a { display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; border:1px solid rgba(255,255,255,.18); border-radius:50%; color:#C9D4E2; transition:all .18s; }
.footer__social a:hover { background:var(--gold); border-color:var(--gold); color:var(--navy-deep); }
.footer__social svg { width:18px; height:18px; fill:currentColor; }

/* ============================================================
   City photo hero + luxury split
   ============================================================ */
.city-hero { position: relative; min-height: 400px; display: flex; align-items: flex-end; background-size: cover; background-position: center; color: #fff; }
.city-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,20,40,.94) 0%, rgba(7,20,40,.55) 55%, rgba(7,20,40,.35) 100%); }
.city-hero__inner { position: relative; z-index: 2; padding: 54px 24px 46px; width: 100%; }
.city-hero h1 { color: #fff; margin-bottom: 12px; }
.city-hero .eyebrow { color: var(--gold); }
.city-hero .lede { color: #DCE4EE; max-width: 62ch; margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; }
.split__media { min-height: 540px; background-size: cover; background-position: center; }
.split__text { background: var(--navy-deep); color: #E8EDF3; padding: 70px 60px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.split__text h1 { color: #fff; }
.split__text .eyebrow { color: var(--gold); }
.split__text .lede { color: #C9D4E2; margin-bottom: 26px; }
@media (max-width: 900px) {
  .city-hero { min-height: 300px; }
  .split { grid-template-columns: 1fr; }
  .split__media { min-height: 280px; }
  .split__text { padding: 48px 24px; }
}

/* ============================================================
   Affiliation band + brokerage logo
   ============================================================ */
.affiliation { background: var(--navy-deep); padding: 32px 0; border-top: 1px solid rgba(201,162,75,.25); }
.affiliation__label { color: var(--gold); font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; margin: 0 0 16px; font-weight: 700; }
.affiliation__logo { max-width: 340px; width: 78%; height: auto; margin: 0 auto; display: block; }
.affiliation__logo--stacked { max-width: 210px; width: 60%; }
.footer__logo { max-width: 250px; width: 100%; height: auto; margin-top: 22px; display: block; }

/* ============================================================
   Animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; padding: 64px 24px 72px; }
  .hero__photo { max-width: 320px; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2,1fr); gap: 30px; }
  .calc__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav__links { position: fixed; inset: 74px 0 auto 0; background: var(--cream); flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 24px 22px; border-bottom: 1px solid var(--line); display: none; }
  .nav__links.show { display: flex; }
  .nav__links li { width: 100%; }
  .nav__links a { display: block; padding: 12px 0; width: 100%; }
  .has-dropdown .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
  .nav__toggle { display: block; }
}
@media (max-width: 540px) {
  .footer__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .section { padding: 60px 0; }
}
