/* Centex Property Tax Solutions — brand styles
   Colors and fonts match centexpts.com: forest greens + gold, Quicksand + Manrope */
:root {
  --green-900: #1E362F;
  --green-800: #2D4B43;
  --green-700: #30574E;
  --sage: #91ABA5;
  --sage-light: #CBD2D0;
  --gold: #B48222;
  --gold-light: #C5A059;
  --cream: #F9FAF7;
  --stone: #E2E3E0;
  --white: #FFFFFF;
  --ink: #1E362F;
  --muted: #5B6B66;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(30, 54, 47, .10);
  --shadow-lg: 0 24px 60px rgba(30, 54, 47, .18);
  --max: 1180px;
  --font-head: "Quicksand", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; color: var(--green-900); }
h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); letter-spacing: -.015em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--green-900); color: var(--sage-light); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem;
  color: var(--gold); margin-bottom: .9rem;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.section--dark .lead { color: var(--sage-light); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.gold { color: var(--gold-light); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: .95rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--white); box-shadow: 0 8px 20px rgba(180, 130, 34, .3); }
.btn--gold:hover { background: #9e711c; }
.btn--green { background: var(--green-900); color: var(--white); }
.btn--green:hover { background: var(--green-700); }
.btn--ghost { border-color: rgba(255,255,255,.7); color: var(--white); background: transparent; }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--outline { border-color: var(--green-900); color: var(--green-900); background: transparent; }
.btn--outline:hover { background: var(--green-900); color: var(--white); }
.btn--sm { padding: .6rem 1.15rem; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.arrow::after { content: "→"; transition: transform .2s; }
.btn:hover .arrow::after, .btn.arrow:hover::after { transform: translateX(3px); }

/* Utility bar + header */
.utility { background: var(--green-900); color: var(--sage-light); font-size: .86rem; }
.utility .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .5rem 0; flex-wrap: wrap; }
.utility a { color: var(--white); text-decoration: none; }
.utility a:hover { color: var(--gold-light); }
.utility__contact { display: flex; gap: 1.4rem; }
.utility__deadline strong { color: var(--gold-light); }
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--stone);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--green-900); line-height: 1.1; }
.brand__name small { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a:not(.btn) { text-decoration: none; font-family: var(--font-head); font-weight: 700; color: var(--green-800); position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--gold); transition: right .25s; }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--green-900); margin: 5px 0; transition: .25s; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: var(--sage-light);
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(197,160,89,.22), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(145,171,165,.25), transparent 60%),
    linear-gradient(160deg, var(--green-900) 0%, var(--green-800) 60%, var(--green-700) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,1) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: center; padding: clamp(60px, 8vw, 100px) 0 clamp(70px, 9vw, 110px); }
.hero h1 { color: var(--white); }
.hero p.lead { color: var(--sage-light); }
.hero__checks { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; display: grid; gap: .55rem; }
.hero__checks li { display: flex; gap: .65rem; align-items: center; color: var(--white); font-weight: 600; }
.check { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; }
.check svg { width: 12px; height: 12px; }

/* Ownwell-style address bar */
.address-bar {
  display: flex; background: var(--white); border-radius: 999px; padding: 6px; max-width: 560px;
  box-shadow: var(--shadow-lg);
}
.address-bar input {
  flex: 1; border: 0; outline: 0; font: inherit; font-size: 1rem; padding: 0 1.2rem; min-width: 0;
  background: transparent; color: var(--ink);
}
.address-bar input::placeholder { color: #8a9893; }
.hero__fine { font-size: .88rem; margin-top: .9rem; color: var(--sage); }
.hero__fine strong { color: var(--white); }

/* Results card in hero */
.results-card {
  background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: 1.8rem;
  box-shadow: var(--shadow-lg); position: relative;
}
.results-card { border-top: 5px solid var(--gold); }
.results-card__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; }
.results-card__head h3 { margin: 0; font-size: 1.1rem; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: .95rem; }
.result-row { display: flex; justify-content: space-between; align-items: center; padding: .85rem 0; border-top: 1px solid var(--stone); }
.result-row span { color: var(--muted); font-size: .93rem; }
.result-row strong { font-family: var(--font-head); font-size: 1.25rem; color: var(--green-700); }
.result-bar { height: 6px; background: var(--stone); border-radius: 6px; margin-top: .35rem; overflow: hidden; }
.result-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--green-700), var(--sage)); border-radius: 6px; }
.results-card__foot { margin-top: 1.1rem; padding: .9rem 1rem; background: var(--cream); border-radius: 10px; font-size: .9rem; color: var(--muted); }
.results-card__foot strong { color: var(--green-900); }

/* Stat strip */
.stats { background: var(--white); border-bottom: 1px solid var(--stone); }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 2rem 1.2rem; text-align: center; border-left: 1px solid var(--stone); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--green-900); line-height: 1.1; }
.stat strong em { font-style: normal; color: var(--gold); }
.stat span { color: var(--muted); font-size: .92rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 3rem; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 38px; left: 16%; right: 16%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold-light) 0 10px, transparent 10px 18px);
}
.step { position: relative; text-align: center; padding: 0 .8rem; }
.step__icon {
  width: 76px; height: 76px; margin: 0 auto 1.3rem; border-radius: 50%; background: var(--green-900);
  display: grid; place-items: center; position: relative; box-shadow: 0 0 0 8px var(--cream);
}
.step__icon svg { width: 32px; height: 32px; }
.step__num {
  position: absolute; top: -4px; right: -4px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: .85rem;
  display: grid; place-items: center;
}
.step p { color: var(--muted); }

/* Cards / features */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.card {
  background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius); padding: 1.8rem;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; background: rgba(180,130,34,.12);
  display: grid; place-items: center; margin-bottom: 1.1rem;
}
.card__icon svg { width: 26px; height: 26px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.8rem; flex-wrap: wrap; }
.section-head .lead { margin: 0; }

/* Comparison table (Ownwell-inspired) */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.compare th, .compare td { padding: 1.05rem 1.3rem; text-align: center; border-bottom: 1px solid var(--stone); }
.compare th:first-child, .compare td:first-child { text-align: left; font-weight: 600; }
.compare thead th { font-family: var(--font-head); font-size: 1.02rem; background: var(--cream); color: var(--green-900); }
.compare thead th.is-us { background: var(--green-900); color: var(--white); }
.compare td.is-us { background: rgba(145,171,165,.13); font-weight: 700; color: var(--green-800); }
.compare tr:last-child td { border-bottom: 0; }
.yes { color: var(--green-700); font-weight: 800; }
.no { color: #a35a4a; font-weight: 800; }
.compare-wrap { overflow-x: auto; margin-top: 2.5rem; border-radius: var(--radius-lg); }

/* Testimonials */
.testimonials { columns: 3 300px; column-gap: 1.5rem; margin-top: 2.5rem; }
.quote {
  break-inside: avoid; background: var(--white); border-radius: var(--radius); padding: 1.6rem; margin-bottom: 1.5rem;
  border: 1px solid var(--stone); position: relative;
}
.section--dark .quote { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: var(--sage-light); }
.quote p { font-size: .98rem; }
.quote__saved {
  display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-weight: 700;
  background: var(--gold); color: var(--white); padding: .35rem .85rem; border-radius: 999px; font-size: .9rem;
}
.quote .stars { display: block; margin-bottom: .6rem; color: var(--gold-light); }

/* FAQ accordion */
.faq-list { display: grid; gap: .9rem; }
.faq-item { background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.faq-item[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.25rem 1.5rem; font-family: var(--font-head); font-weight: 700;
  font-size: 1.08rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--green-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--cream);
  display: grid; place-items: center; font-size: 1.3rem; color: var(--gold); transition: transform .25s, background .25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--green-900); color: var(--white); }
.faq-item .faq-body { padding: 0 1.5rem 1.4rem; color: var(--muted); }
.faq-item .faq-body p:last-child { margin: 0; }
.faq-item .faq-body a { color: var(--gold); font-weight: 700; }

/* CTA band */
.cta-band {
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(197,160,89,.3), transparent 60%),
    linear-gradient(135deg, var(--green-900), var(--green-700));
  border-radius: var(--radius-lg); padding: clamp(2.5rem, 5vw, 4rem); color: var(--sage-light);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center;
}
.cta-band h2 { color: var(--white); margin-bottom: .4rem; }
.cta-band .btn-row { justify-content: flex-end; }
.deadline-pill {
  display: inline-flex; align-items: center; gap: .5rem; background: rgba(197,160,89,.18); color: var(--gold-light);
  font-family: var(--font-head); font-weight: 700; padding: .4rem .9rem; border-radius: 999px; font-size: .85rem; margin-bottom: 1rem;
}
.deadline-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-light); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(160deg, var(--green-900), var(--green-800)); color: var(--sage-light);
  padding: clamp(60px, 8vw, 96px) 0; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  border: 60px solid rgba(197,160,89,.12);
}
.page-hero h1 { color: var(--white); max-width: 760px; }
.page-hero .lead { color: var(--sage-light); }
.page-hero .container { position: relative; z-index: 1; }

/* Services */
.service-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.5rem; align-items: start; }
.service-split__intro { position: sticky; top: 110px; }
.service-list { display: grid; gap: 1.1rem; }
.service-item { display: grid; grid-template-columns: 56px 1fr; gap: 1.1rem; background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius); padding: 1.4rem 1.5rem; transition: box-shadow .2s, transform .2s; }
.service-item:hover { box-shadow: var(--shadow); transform: translateX(4px); }
.service-item h3 { margin-bottom: .3rem; }
.service-item p { color: var(--muted); margin: 0; font-size: .98rem; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green-700); background: rgba(145,171,165,.22); padding: .2rem .6rem; border-radius: 6px; margin-bottom: .6rem; }

.included { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2rem; }
.included li { display: flex; gap: .8rem; align-items: flex-start; }
.included li .check { margin-top: 3px; }

.price-card { background: var(--white); border-radius: var(--radius-lg); padding: 2.2rem; box-shadow: var(--shadow); border-top: 5px solid var(--gold); }
.price-card .big { font-family: var(--font-head); font-size: 3.4rem; font-weight: 700; color: var(--green-900); line-height: 1; }
.price-card .big small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.price-card ul { padding-left: 1.1rem; color: var(--muted); }

.tabs-anchor { display: flex; gap: .6rem; margin-top: 1.8rem; flex-wrap: wrap; }
.tabs-anchor a { text-decoration: none; padding: .55rem 1.1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); color: var(--white); font-weight: 700; font-family: var(--font-head); font-size: .92rem; }
.tabs-anchor a:hover { background: rgba(255,255,255,.1); border-color: var(--gold-light); }

/* FAQ page layout */
.faq-layout { display: grid; grid-template-columns: 260px 1fr; gap: 3rem; align-items: start; }
.faq-nav { position: sticky; top: 110px; display: grid; gap: .3rem; }
.faq-nav a { text-decoration: none; padding: .7rem 1rem; border-radius: 10px; font-family: var(--font-head); font-weight: 700; color: var(--green-800); border-left: 3px solid transparent; }
.faq-nav a:hover { background: var(--cream); border-left-color: var(--gold); }
.faq-nav .card { margin-top: 1.2rem; padding: 1.4rem; background: var(--green-900); border: 0; color: var(--sage-light); }
.faq-nav .card h3 { color: var(--white); font-size: 1.1rem; }
.faq-nav .card p { color: var(--sage-light); font-size: .9rem; margin-bottom: 1rem; }
.faq-group { margin-bottom: 3rem; scroll-margin-top: 110px; }
.faq-group h2 { font-size: 1.6rem; margin-bottom: 1.2rem; display: flex; align-items: center; gap: .7rem; }
.faq-group h2::before { content: ""; width: 26px; height: 3px; background: var(--gold); border-radius: 2px; }

/* Footer */
.site-footer { background: var(--green-900); color: var(--sage); padding: 4.5rem 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { text-decoration: none; color: var(--sage-light); }
.site-footer a:hover { color: var(--gold-light); }
.site-footer .brand__name { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-top: 1.6rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .84rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 980px) {
  .hero .container, .service-split, .cta-band, .faq-layout { grid-template-columns: 1fr; }
  .service-split__intro, .faq-nav { position: static; }
  .faq-nav { grid-template-columns: repeat(2, 1fr); }
  .faq-nav .card { grid-column: 1 / -1; }
  .cta-band .btn-row { justify-content: flex-start; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat { border-top: 1px solid var(--stone); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .utility__deadline { display: none; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch;
    gap: 0; padding: .5rem 20px 1.2rem; border-bottom: 1px solid var(--stone); box-shadow: var(--shadow);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--stone); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 1rem; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .steps, .grid-3, .grid-4, .grid-2, .included { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .address-bar { flex-direction: column; border-radius: 18px; gap: 6px; }
  .address-bar input { padding: .9rem 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .faq-nav { grid-template-columns: 1fr; }
}
