/* ============================================================
   Anchor Home Offers — landing page styles
   Brand colors are defined as CSS variables for easy editing.
   ============================================================ */
:root {
  --navy: #1e3a8a;          /* royal blue (dark sections) */
  --navy-2: #15296b;        /* deeper blue hover */
  --green: #2563eb;         /* blue (primary action) */
  --green-dark: #1d4ed8;    /* blue hover */
  --gold: #f5c518;          /* yellow accent */
  --ink: #15233b;           /* dark navy headings */
  --body: #4a5a72;          /* gray-blue body text */
  --line: #e3e9f2;          /* light borders */
  --surface: #ffffff;       /* card background */
  --bg: #ffffff;            /* page background */
  --bg-alt: #f3f7fd;        /* alternating sections */
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(15, 40, 90, 0.08);
  --shadow-md: 0 14px 36px rgba(15, 40, 90, 0.14);
  --maxw: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--ink); line-height: 1.2; font-weight: 800; }

a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 780px; }
.center { text-align: center; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: 10px; border: none;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 6px 16px rgba(37, 99, 235, 0.32); }
.btn-primary:hover { background: var(--green-dark); box-shadow: 0 10px 22px rgba(37, 99, 235, 0.4); }
.btn-ghost { background: transparent; color: var(--body); border: 1.5px solid var(--line); }
.btn-ghost:hover { background: var(--bg-alt); }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 36px; font-size: 1.08rem; }
.btn-light { background: #ffffff; color: var(--navy); }
.btn-light:hover { background: #e9efed; }
.btn-accent { background: var(--gold); color: var(--ink); box-shadow: 0 6px 16px rgba(245, 197, 24, 0.35); }
.btn-accent:hover { background: #e0b30f; }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; color: var(--ink); font-size: 1.15rem; }
.logo-mark { font-size: 1.4rem; }
.nav { display: flex; gap: 28px; }
.nav a { font-weight: 600; color: var(--body); font-size: .95rem; }
.nav a:hover { color: var(--green); }
.phone-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--ink); font-weight: 700;
  padding: 10px 18px; border-radius: 10px; font-size: .98rem;
}
.phone-cta:hover { background: #e0b30f; }

/* ============ HERO ============ */
.hero {
  background:
    linear-gradient(135deg, rgba(30,58,138,.96), rgba(37,99,235,.88)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 59h60M59 0v60' stroke='%23ffffff' stroke-opacity='0.04' fill='none'/%3E%3C/svg%3E");
  padding: 64px 0 72px;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero-copy { color: #fff; }
.trust-pill {
  display: inline-block; background: rgba(245,197,24,.16); color: var(--gold);
  border: 1px solid rgba(245,197,24,.4); font-weight: 600; font-size: .9rem;
  padding: 7px 15px; border-radius: 99px; margin-bottom: 20px;
}
.hero-copy h1 { color: #fff; font-size: 3rem; letter-spacing: -.02em; margin-bottom: 18px; }
.hero-copy h1 .hl { color: var(--gold); }
.hero-sub { color: rgba(255,255,255,.86); font-size: 1.18rem; margin-bottom: 24px; max-width: 520px; }
.hero-sub strong { color: #fff; }
.hero-benefits { list-style: none; margin-bottom: 26px; }
.hero-benefits li { color: rgba(255,255,255,.92); font-weight: 500; padding: 5px 0; font-size: 1.04rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  color: #fff; font-weight: 600; font-size: .88rem; padding: 8px 14px; border-radius: 8px;
}
.hero-states { color: rgba(255,255,255,.9); font-size: 1rem; margin-top: 18px; }
.hero-states strong { color: var(--gold); }

/* ============ FUNNEL FORM CARD ============ */
.funnel-card {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 30px; scroll-margin-top: 90px;
}
.funnel-head { text-align: center; margin-bottom: 18px; }
.funnel-head h2 { font-size: 1.6rem; }
.funnel-head p { color: var(--body); font-size: .96rem; }

.progress { height: 7px; background: var(--line); border-radius: 99px; overflow: hidden; margin-bottom: 24px; }
.progress-bar { height: 100%; width: 25%; background: var(--green); border-radius: 99px; transition: width .35s ease; }

.step { display: none; animation: fade .3s ease; }
.step.is-active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.field-label { display: block; font-weight: 700; color: var(--ink); margin-bottom: 12px; font-size: 1.05rem; }
.sub-label { display: block; font-weight: 600; color: var(--body); font-size: .85rem; margin: 12px 0 6px; }

.funnel-card input,
.funnel-card select {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 1rem; font-family: inherit; color: var(--ink); background: var(--bg);
  margin-bottom: 6px; transition: border-color .15s ease, box-shadow .15s ease;
}
.funnel-card input:focus,
.funnel-card select:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.funnel-card input.invalid,
.funnel-card select.invalid { border-color: #e2483d; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-error { color: #e2483d; font-size: .82rem; min-height: 1em; margin-bottom: 6px; }

.step-nav { display: flex; gap: 12px; margin-top: 14px; }
.step-nav .btn-primary { flex: 1; }
.btn-block { margin-top: 6px; }

.micro { font-size: .8rem; color: #8a98ab; text-align: center; margin-top: 12px; }

/* Honeypot — visually hidden, off-screen, ignored by humans */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* Consent checkbox */
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 4px; font-size: .82rem; color: var(--body); line-height: 1.45; cursor: pointer; }
.consent input { width: auto; margin: 3px 0 0; flex-shrink: 0; accent-color: var(--green); }
.consent a { color: var(--green); font-weight: 600; text-decoration: underline; }

/* ============ TRUST BAR ============ */
.trust-bar { background: var(--navy); color: #fff; }
.trust-bar-inner { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; padding: 30px 24px; }
.stat { text-align: center; }
.stat-num { display: block; font-size: 2.1rem; font-weight: 800; color: var(--gold); }
.stat-label { display: block; font-size: .9rem; color: rgba(255,255,255,.8); }

/* ============ SECTIONS ============ */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.eyebrow { display: inline-block; color: var(--green); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.section-head h2 { font-size: 2.3rem; margin-bottom: 12px; }
.section-sub { color: var(--body); font-size: 1.1rem; }

/* How it works */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-bottom: 44px; }
.step-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 26px; box-shadow: var(--shadow-sm); position: relative; }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; font-size: 1.2rem; display: grid; place-items: center; margin-bottom: 18px; }
.step-card h3 { font-size: 1.2rem; margin-bottom: 8px; }

/* Why us */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.why-icon { font-size: 2rem; margin-bottom: 14px; }
.why-card h3 { font-size: 1.15rem; margin-bottom: 8px; }

/* Compare table */
.compare-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.compare-table { width: 100%; border-collapse: collapse; background: var(--surface); min-width: 560px; }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare-table thead th { font-size: 1rem; color: var(--ink); background: var(--bg-alt); }
.compare-table td:first-child { font-weight: 600; color: var(--ink); }
.compare-table .col-us { background: rgba(37,99,235,.14); color: var(--green); font-weight: 700; }
.compare-table thead .col-us { color: var(--green-dark); }

/* Proof / testimonials */
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 44px; }
.proof-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.proof-tag { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .06em; padding: 5px 11px; border-radius: 6px; margin-bottom: 14px; }
.proof-tag.sold { background: rgba(37,99,235,.12); color: var(--green-dark); }
.proof-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.proof-detail { font-size: .85rem; color: #8a98ab; margin-bottom: 12px; }
.proof-author { font-weight: 700; color: var(--ink); margin-top: 14px; }

.founder-note { max-width: 820px; margin: 0 auto 40px; display: flex; gap: 26px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: var(--radius); padding: 28px 30px; box-shadow: var(--shadow-sm); }
.founder-photo { width: 150px; height: 190px; object-fit: cover; object-position: top center; border-radius: 12px; flex-shrink: 0; }
.founder-note h3 { font-size: 1.2rem; margin-bottom: 10px; }
.founder-note p { color: var(--body); }
.founder-sign { margin-top: 14px; }
.founder-name { display: block; font-weight: 800; color: var(--ink); font-size: 1.05rem; }
.founder-title { display: block; color: var(--body); font-size: .85rem; }
@media (max-width: 600px) { .founder-note { flex-direction: column; text-align: center; } }

.logos-row { text-align: center; color: #8a98ab; font-size: .92rem; }
.logo-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.logo-chip { background: var(--surface); border: 1px solid var(--line); padding: 9px 18px; border-radius: 8px; font-weight: 600; color: var(--body); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 4px 20px; box-shadow: var(--shadow-sm); }
.faq-item summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 16px 0; list-style: none; position: relative; padding-right: 30px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--green); font-weight: 400; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 0 18px; color: var(--body); }

/* Final CTA */
.final-cta { background: linear-gradient(135deg, var(--navy), var(--green)); color: #fff; padding: 70px 0; text-align: center; }
.final-cta h2 { color: #fff; font-size: 2.3rem; margin-bottom: 10px; }
.final-cta p { color: rgba(255,255,255,.92); font-size: 1.15rem; margin-bottom: 28px; }
.final-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.78); padding: 48px 0 24px; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand .logo-text { color: #fff; font-weight: 800; font-size: 1.15rem; }
.footer-brand p { margin-top: 10px; max-width: 320px; }
.footer-contact p { margin-bottom: 6px; }
.footer-contact a { color: var(--gold); }
.footer-bottom { padding-top: 20px; font-size: .85rem; }
.footer-bottom .disclaimer { margin-top: 8px; color: rgba(255,255,255,.5); font-size: .78rem; }

/* Sticky mobile call */
.sticky-call {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: var(--green); color: #fff; text-align: center; font-weight: 700;
  padding: 15px; box-shadow: 0 -4px 16px rgba(0,0,0,.18);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy h1 { font-size: 2.4rem; }
  .steps-grid, .why-grid, .proof-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .section-head h2, .final-cta h2 { font-size: 1.8rem; }
  .hero-copy h1 { font-size: 2rem; }
  .phone-cta span:last-child { display: none; }
  .sticky-call { display: block; }
  body { padding-bottom: 54px; }
}
