/* ==========================================================================
   Gator Home Solutions — Design System
   Warm, local, trustworthy, modern, mobile-first.
   ========================================================================== */

:root {
  /* Brand palette — grounded gator green + warm sand + high-contrast amber CTA */
  --green-900: #123a2c;
  --green-800: #16543d;
  --green-700: #1f6f54;
  --green-600: #2a8a68;
  --green-100: #e4f1eb;
  --green-50:  #f1f8f5;

  --amber-600: #d9821a;
  --amber-500: #f0a020;
  --amber-400: #f7b750;
  --amber-100: #fdf1dc;

  --sand-100: #faf6ef;
  --sand-200: #f3ecdf;
  --sand-300: #e9dfcb;

  --ink-900: #1c2320;
  --ink-700: #3a453f;
  --ink-500: #61706a;
  --ink-300: #9aa8a1;

  --white: #ffffff;
  --danger: #c0492e;

  --shadow-sm: 0 1px 3px rgba(18, 58, 44, .08), 0 1px 2px rgba(18, 58, 44, .06);
  --shadow-md: 0 6px 18px rgba(18, 58, 44, .10);
  --shadow-lg: 0 18px 42px rgba(18, 58, 44, .16);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --maxw: 1140px;
  --gap: clamp(1rem, 3vw, 2rem);

  --font-head: "Fraunces", "Georgia", "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--sand-100);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--green-700); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.2em; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; color: var(--green-900); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 3.8vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { color: var(--ink-700); }
.lead { font-size: clamp(1.1rem, 2.2vw, 1.35rem); color: var(--ink-700); }
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  font-size: .8rem;
  color: var(--green-600);
}
.muted { color: var(--ink-500); }
.center { text-align: center; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.container-narrow { max-width: 760px; }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-tight { padding-block: clamp(2rem, 4vw, 3rem); }
.bg-white { background: var(--white); }
.bg-sand { background: var(--sand-200); }
.bg-green { background: var(--green-800); color: var(--sand-100); }
.bg-green h2, .bg-green h3 { color: var(--white); }
.bg-green p { color: rgba(255,255,255,.85); }
.bg-cream { background: var(--sand-100); }

.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.stack > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 1.75rem; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-weight: 700; font-size: 1.02rem; line-height: 1;
  padding: 1rem 1.6rem; border-radius: var(--radius-pill);
  border: 2px solid transparent; text-decoration: none; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--amber-500); color: var(--ink-900); box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--amber-400); box-shadow: var(--shadow-lg); }
.btn-green { background: var(--green-700); color: var(--white); box-shadow: var(--shadow-md); }
.btn-green:hover { background: var(--green-600); }
.btn-outline { background: transparent; color: var(--green-800); border-color: var(--green-700); }
.btn-outline:hover { background: var(--green-50); }
.btn-outline-light { background: rgba(255,255,255,.08); color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-outline-light:hover { background: rgba(255,255,255,.16); }
.btn-lg { padding: 1.15rem 2rem; font-size: 1.1rem; }
.btn-block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 239, .92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--sand-300);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .6rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--green-900); }
.brand:hover { text-decoration: none; }
.brand img { height: 42px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1.35rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink-700); font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--green-700); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: .7rem; }
.nav-phone { font-weight: 800; color: var(--green-800); white-space: nowrap; }
.nav-phone:hover { color: var(--green-600); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; padding: .4rem; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--green-800); border-radius: 3px; margin: 5px 0; transition: .2s; }

@media (max-width: 940px) {
  .nav-links, .nav .btn { display: none; }
  .nav-toggle { display: block; }
  .site-header.open .nav-links {
    display: flex; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--sand-300);
    padding: .5rem 1.25rem 1.25rem; box-shadow: var(--shadow-md);
  }
  .site-header.open .nav-links li { width: 100%; }
  .site-header.open .nav-links a { display: block; padding: .8rem 0; width: 100%; border-bottom: 1px solid var(--sand-200); }
  .site-header.open .nav-links .btn { display: flex; margin-top: 1rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background:
    radial-gradient(1200px 500px at 80% -10%, var(--green-100), transparent 60%),
    linear-gradient(180deg, var(--sand-100), var(--sand-200)); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin-bottom: 1rem; }
.hero .lead { max-width: 42ch; }

/* ---------- Trust row ---------- */
.trust-row { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.6rem; padding: 0; list-style: none; }
.trust-row li { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .9rem; color: var(--green-800); }
.trust-row li svg { flex: none; }

/* ---------- Cards ---------- */
.card { background: var(--white); border: 1px solid var(--sand-300); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); height: 100%; }
.card h3 { margin-bottom: .4rem; }
.card p { font-size: .98rem; }
.card-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--green-100); color: var(--green-700); margin-bottom: 1rem; }
.card-hover { transition: transform .15s ease, box-shadow .15s ease; }
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* ---------- Form ---------- */
.lead-form { background: var(--white); border: 1px solid var(--sand-300); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow-lg); }
.lead-form h3 { margin-bottom: .25rem; }
.form-field { margin-top: 1rem; }
.form-field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; color: var(--ink-900); }
.form-field .req { color: var(--danger); }
.form-control {
  width: 100%; padding: .85rem 1rem; font-size: 1rem; font-family: inherit;
  border: 1.5px solid var(--sand-300); border-radius: var(--radius-sm);
  background: var(--sand-100); color: var(--ink-900); transition: border-color .15s, box-shadow .15s;
}
.form-control:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px var(--green-100); background: var(--white); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2361706a' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-note { font-size: .82rem; color: var(--ink-500); margin-top: .9rem; display: flex; gap: .4rem; align-items: flex-start; }
.form-error { color: var(--danger); font-size: .82rem; margin-top: .3rem; display: none; }
.form-field.invalid .form-control { border-color: var(--danger); }
.form-field.invalid .form-error { display: block; }
.form-step { display: none; }
.form-step.active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.form-progress { font-size: .8rem; color: var(--ink-500); font-weight: 600; margin-bottom: .25rem; }

/* ---------- Steps / Process ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 3.4rem; }
.step .step-num { position: absolute; left: 0; top: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--green-700); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; }

/* ---------- Comparison table ---------- */
.compare-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.compare { width: 100%; border-collapse: collapse; background: var(--white); min-width: 560px; }
.compare th, .compare td { padding: 1rem 1.15rem; text-align: left; border-bottom: 1px solid var(--sand-200); vertical-align: top; }
.compare thead th { background: var(--green-800); color: #fff; font-family: var(--font-head); font-size: 1rem; }
.compare thead th:first-child { background: var(--green-900); }
.compare tbody th { font-weight: 700; color: var(--ink-900); background: var(--sand-100); }
.compare .col-us { background: var(--green-50); }
.compare td.col-us { font-weight: 600; color: var(--green-800); }
.compare tr:last-child td { border-bottom: 0; }

/* ---------- Testimonials ---------- */
.quote { background: var(--white); border: 1px solid var(--sand-300); border-left: 4px solid var(--amber-500); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.quote p { font-size: 1.05rem; color: var(--ink-900); font-style: italic; }
.quote cite { display: block; margin-top: .9rem; font-style: normal; font-weight: 700; color: var(--green-800); font-size: .9rem; }

/* ---------- FAQ / Accordion ---------- */
.faq-item { border: 1px solid var(--sand-300); border-radius: var(--radius); background: var(--white); margin-bottom: .75rem; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 1.1rem 1.3rem; font-size: 1.05rem; font-weight: 700; color: var(--green-900); display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: var(--font-head); }
.faq-q .chev { transition: transform .2s; flex: none; color: var(--green-600); }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a-inner { padding: 0 1.3rem 1.2rem; color: var(--ink-700); }
.faq-item.open .faq-a { max-height: 480px; }

/* ---------- Pill badges ---------- */
.badges { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.badge { display: inline-flex; align-items: center; gap: .4rem; background: var(--green-50); border: 1px solid var(--green-100); color: var(--green-800); font-weight: 600; font-size: .88rem; padding: .5rem .9rem; border-radius: var(--radius-pill); }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: .85rem; color: var(--ink-500); padding-block: 1rem; }
.crumbs a { color: var(--ink-500); }
.crumbs a:hover { color: var(--green-700); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--green-800), var(--green-700)); color: #fff; border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.5rem); text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; margin-bottom: .6rem; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 52ch; margin-inline: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.8); padding-block: 3rem 6.5rem; }
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #fff; margin-bottom: .8rem; font-family: var(--font-body); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .5rem; font-size: .95rem; }
.footer-brand img { height: 46px; margin-bottom: 1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .82rem; color: rgba(255,255,255,.6); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
.disclaimer { font-size: .78rem; color: rgba(255,255,255,.55); max-width: 70ch; margin-top: 1rem; }

/* ---------- Mobile sticky action bar ---------- */
.mobile-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; display: none; grid-template-columns: 1fr 1fr 1.3fr; gap: 1px; background: var(--sand-300); box-shadow: 0 -4px 20px rgba(18,58,44,.18); }
.mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: .6rem; font-size: .72rem; font-weight: 700; background: var(--white); color: var(--green-800); }
.mobile-bar a:hover { text-decoration: none; }
.mobile-bar a.offer { background: var(--amber-500); color: var(--ink-900); }
.mobile-bar a svg { margin-bottom: 1px; }
@media (max-width: 940px) { .mobile-bar { display: grid; } }

/* ---------- Utility ---------- */
.hide { display: none !important; }
.pill-list { list-style: none; padding: 0; display: grid; gap: .6rem; }
.pill-list li { display: flex; gap: .6rem; align-items: flex-start; }
.pill-list li svg { flex: none; margin-top: .2rem; color: var(--green-600); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.anchor-offset { scroll-margin-top: 80px; }
.text-amber { color: var(--amber-600); }
.check::before { content: "✓"; color: var(--green-600); font-weight: 800; margin-right: .5rem; }
.x::before { content: "✕"; color: var(--danger); font-weight: 800; margin-right: .5rem; }
