:root {
  --teal-900: #0b3f3b;
  --teal-800: #0f5c56;
  --teal-600: #1f7d74;
  --teal-500: #2a9d8f;
  --mint-100: #eaf5f2;
  --mint-50: #f5faf8;
  --terra-500: #e07a52;
  --terra-600: #c9643d;
  --sand-100: #faf4ee;
  --ink: #16241f;
  --muted: #5b6b66;
  --line: #dfe9e5;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(11, 63, 59, 0.10);
  --shadow-lg: 0 24px 60px rgba(11, 63, 59, 0.18);
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-600); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--teal-900); }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 600; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); font-weight: 600; letter-spacing: -0.015em; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 92%); margin: 0 auto; }
.section { padding: 96px 0; }
.section-alt { background: var(--mint-50); }
.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--terra-600); margin-bottom: 14px;
}
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 12px;
  font-weight: 700; font-size: .98rem; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s, background .2s, box-shadow .2s;
  font-family: var(--font-body);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--terra-500); color: var(--white); box-shadow: 0 8px 20px rgba(224,122,82,.35); }
.btn-primary:hover { background: var(--terra-600); }
.btn-ghost { background: rgba(255,255,255,.1); color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.2); }
.btn-teal { background: var(--teal-800); color: var(--white); }
.btn-teal:hover { background: var(--teal-900); }

/* Top bar */
.topbar { background: var(--teal-900); color: #cfe5e0; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 0; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar .tb-items { display: flex; gap: 22px; flex-wrap: wrap; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-icon { flex: none; }
.brand-icon .b1 { fill: var(--teal-800); }
.brand-icon .b2 { fill: var(--teal-500); }
.brand-icon .b3 { fill: var(--terra-500); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--font-body); font-weight: 800; font-size: 1.45rem; letter-spacing: .02em; color: var(--teal-900); }
.brand-text span { font-size: .62rem; font-weight: 700; letter-spacing: .42em; color: var(--teal-900); margin-top: 4px; }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--terra-600); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  display: inline-flex; border: 2px solid var(--teal-800); border-radius: 10px; overflow: hidden;
}
.lang-toggle button {
  background: transparent; border: 0; padding: 7px 12px; font-weight: 700; font-size: .85rem; cursor: pointer;
  color: var(--teal-800); font-family: var(--font-body);
}
.lang-toggle button.active { background: var(--teal-800); color: #fff; }
.nav .btn { padding: 11px 18px; font-size: .9rem; }
.menu-btn { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }

/* Hero */
.hero { position: relative; color: var(--white); min-height: 640px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,63,59,.97) 0%, rgba(15,92,86,.9) 38%, rgba(15,92,86,.35) 70%, rgba(15,92,86,.05) 100%);
}
.hero .container { position: relative; z-index: 1; padding: 90px 0 110px; }
.hero-content { max-width: 620px; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: italic; color: #ffd3bf; }
.hero p.lead { font-size: 1.18rem; color: #d9ece8; max-width: 540px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 34px; }
.hero-badges { display: flex; gap: 22px; flex-wrap: wrap; font-size: .92rem; color: #cfe5e0; }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges svg { flex: none; }
.hero-stripe { position: absolute; left: 0; right: 0; bottom: 0; height: 14px; display: flex; z-index: 2; }
.hero-stripe i { display: block; height: 100%; }
.hero-stripe i:nth-child(1) { flex: 5; background: transparent; }
.hero-stripe i:nth-child(2) { flex: 2; background: var(--teal-500); }
.hero-stripe i:nth-child(3) { flex: 1; background: var(--terra-500); }
.hero-stripe i:nth-child(4) { flex: 1.3; background: var(--mint-100); }

/* Quick links strip */
.quick { margin-top: -1px; background: var(--white); }
.quick-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  transform: translateY(-46px); position: relative; z-index: 3;
}
.quick-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 22px 22px; text-decoration: none; color: var(--ink);
  display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--line);
  transition: transform .2s, border-color .2s;
}
.quick-card:hover { transform: translateY(-4px); border-color: var(--teal-500); }
.quick-card .ico { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--mint-100); color: var(--teal-800); }
.quick-card.hot .ico { background: #fde6dc; color: var(--terra-600); }
.quick-card strong { display: block; font-size: 1rem; color: var(--teal-900); }
.quick-card small { color: var(--muted); font-size: .85rem; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-img { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service:hover .service-img img { transform: scale(1.05); }
.service-tag {
  position: absolute; left: 16px; top: 16px; background: var(--white); color: var(--teal-800);
  font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 8px;
}
.service-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.service-body p { color: var(--muted); font-size: .96rem; }
.service-body ul { margin: 0 0 18px; padding: 0; list-style: none; font-size: .92rem; }
.service-body li { padding-left: 24px; position: relative; margin-bottom: 6px; }
.service-body li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 4px; background: var(--teal-500);
}
.service-body .more { margin-top: auto; font-weight: 700; color: var(--terra-600); text-decoration: none; }
.service.feature { grid-column: span 2; flex-direction: row; }
.service.feature .service-img { aspect-ratio: auto; flex: 1.1; min-height: 320px; }
.service.feature .service-body { flex: 1; padding: 34px; }
.service.wide { grid-column: 1 / -1; flex-direction: row; }
.service.wide .service-img { aspect-ratio: auto; flex: 0 0 42%; min-height: 280px; }
.service.wide .service-body { padding: 34px 40px; justify-content: center; }

/* Texas band */
.band { background: var(--teal-800); color: #d9ece8; padding: 70px 0; position: relative; overflow: hidden; }
.band::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  background: var(--teal-600); opacity: .5;
}
.band .container { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
.band h2 { color: #fff; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 22px; }
.stat b { display: block; font-family: var(--font-head); font-size: 2rem; color: #ffd3bf; font-weight: 600; }
.stat span { font-size: .9rem; }

/* About */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about-photo { position: relative; }
.about-photo img { border-radius: 24px; box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.about-photo::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: 24px; background: var(--terra-500); z-index: -1;
}
.about-card {
  position: absolute; left: -24px; bottom: 30px; background: var(--white); border-radius: 14px; padding: 14px 18px;
  box-shadow: var(--shadow-lg); font-weight: 700; color: var(--teal-900); display: flex; gap: 10px; align-items: center;
}
.checks { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.checks li svg { flex: none; margin-top: 3px; }

/* Resources */
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.res {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 16px;
  background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.res:hover { border-color: var(--teal-500); transform: translateY(-3px); box-shadow: var(--shadow); }
.res .ico { width: 42px; height: 42px; border-radius: 11px; flex: none; display: grid; place-items: center; background: var(--mint-100); color: var(--teal-800); }
.res.tx .ico { background: #fde6dc; color: var(--terra-600); }
.res strong { display: block; color: var(--teal-900); }
.res small { color: var(--muted); font-size: .86rem; display: block; }
.res .src { font-size: .72rem; font-weight: 800; letter-spacing: .08em; color: var(--teal-500); text-transform: uppercase; }
.res.tx .src { color: var(--terra-600); }
.res-note { margin-top: 22px; font-size: .85rem; color: var(--muted); }

/* Calculators */
.calc-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.calc-tab {
  border: 2px solid var(--line); background: var(--white); padding: 11px 18px; border-radius: 12px;
  font-weight: 700; cursor: pointer; color: var(--teal-900); font-family: var(--font-body); font-size: .93rem;
}
.calc-tab.active { background: var(--teal-800); border-color: var(--teal-800); color: #fff; }
.calc-panel { display: none; }
.calc-panel.active { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--white); }
.calc-form { padding: 34px; }
.calc-form h3 { margin-bottom: 6px; }
.calc-form > p { color: var(--muted); font-size: .94rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: .86rem; margin-bottom: 6px; color: var(--teal-900); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: 11px; font-size: 1rem;
  font-family: var(--font-body); background: var(--mint-50); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-500); background: #fff; }
.field .hint { font-size: .78rem; color: var(--muted); margin-top: 4px; }
.calc-result { background: var(--teal-800); color: #d9ece8; padding: 34px; display: flex; flex-direction: column; }
.calc-result .big { font-family: var(--font-head); font-size: 2.8rem; color: #fff; font-weight: 600; line-height: 1.1; margin: 6px 0 4px; }
.calc-result .big.owe { color: #ffc2a8; }
.calc-result .label { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: #9fd3c9; }
.calc-lines { margin: 22px 0; border-top: 1px solid rgba(255,255,255,.15); }
.calc-lines div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .93rem; }
.calc-lines b { color: #fff; }
.calc-result .disclaimer { font-size: .76rem; color: #9fc2bb; margin-top: auto; }
.calc-result .btn { align-self: flex-start; margin-bottom: 18px; }

/* Checklist + FAQ */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.checklist { background: var(--sand-100); border-radius: 22px; padding: 34px; }
.checklist h3 { margin-bottom: 16px; }
.checklist ul { list-style: none; margin: 0; padding: 0; }
.checklist li { padding: 10px 0 10px 34px; position: relative; border-bottom: 1px dashed #e8d8c8; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 12px; width: 20px; height: 20px; border-radius: 6px;
  border: 2px solid var(--terra-500);
}
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--teal-900); list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--terra-500); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Contact */
.contact-wrap { display: grid; grid-template-columns: .9fr 1.1fr; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); }
.contact-info { background: var(--teal-900); color: #cfe5e0; padding: 46px; }
.contact-info h2 { color: #fff; }
.contact-info .row { display: flex; gap: 14px; margin: 20px 0; align-items: flex-start; }
.contact-info .row .ico { width: 42px; height: 42px; border-radius: 11px; background: rgba(255,255,255,.08); display: grid; place-items: center; flex: none; color: #ffd3bf; }
.contact-info .row b { color: #fff; display: block; }
.contact-info a { color: #fff; }
.contact-form { background: var(--white); padding: 46px; }
.form-msg { display: none; padding: 14px; border-radius: 12px; background: var(--mint-100); color: var(--teal-900); font-weight: 600; margin-top: 12px; }

/* Footer */
footer { background: #082e2b; color: #9fc2bb; padding: 64px 0 28px; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
footer h4 { color: #fff; font-family: var(--font-body); font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin-bottom: 9px; }
footer a { color: #cfe5e0; text-decoration: none; }
footer a:hover { color: #ffd3bf; }
footer .brand-text strong { color: #fff; }
footer .brand-text span { color: #cfe5e0; }
footer .brand-icon .b1 { fill: #fff; }
footer .brand-icon .b2 { fill: #9fd3c9; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .8rem; }
.foot-bottom p { margin: 0; max-width: 760px; }

/* Floating */
.float-cta {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; display: none;
  background: var(--terra-500); color: #fff; border-radius: 999px; padding: 14px 20px; font-weight: 700;
  text-decoration: none; box-shadow: 0 12px 30px rgba(224,122,82,.45);
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1040px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0;
    background: #fff; padding: 20px 4%; border-bottom: 1px solid var(--line); gap: 16px;
  }
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .res-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .section { padding: 72px 0; }
  .band .container, .about-grid, .two-col, .contact-wrap, .calc-panel.active { grid-template-columns: 1fr; }
  .service.feature, .service.wide { grid-column: auto; flex-direction: column; }
  .service.wide .service-img { flex: none; aspect-ratio: 16/10; min-height: 0; }
  .service.feature .service-img { min-height: 220px; flex: none; aspect-ratio: 16/10; }
  .about-photo { max-width: 420px; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(11,63,59,.88), rgba(15,92,86,.92)); }
}
@media (max-width: 640px) {
  .topbar .tb-hide { display: none; }
  .nav .btn { display: none; }
  .services-grid, .res-grid, .quick-grid, .checks, .field-row, .foot-grid { grid-template-columns: 1fr; }
  .quick-grid { transform: translateY(-30px); }
  .calc-form, .calc-result, .contact-info, .contact-form { padding: 26px; }
  .float-cta { display: inline-flex; }
  .about-card { left: 10px; }
}
