/* =========================================================
   EstiPro Global — Stylesheet
   Plain CSS, no build step. One file, used by every page.
   Sections: tokens, base, layout, header, buttons, hero,
   process, cards, sections, forms, footer, utilities, responsive.
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --navy:        #102a43;
  --navy-deep:   #0a1f33;
  --navy-soft:   #1c3a5e;
  --amber:       #ff8a1e;
  --amber-dark:  #e2730a;
  --green:       #1f9d6b;
  --green-soft:  #e7f6ef;

  --ink:         #16202b;
  --slate:       #51606e;
  --slate-light: #74828f;

  --bg:          #ffffff;
  --bg-soft:     #f4f7fa;
  --bg-band:     #eef3f8;
  --line:        #dde5ed;

  --radius:      12px;
  --radius-lg:   18px;
  --shadow-sm:   0 1px 2px rgba(16,42,67,.06), 0 2px 6px rgba(16,42,67,.06);
  --shadow-md:   0 6px 20px rgba(16,42,67,.10);
  --shadow-lg:   0 18px 50px rgba(16,42,67,.16);

  --maxw:        1120px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--amber-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.18; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }
li { margin-bottom: .35rem; }
strong { color: var(--navy); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.section--band { background: var(--bg-band); }
.section--navy { background: var(--navy); color: #dce6f1; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 0 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--amber-dark); margin-bottom: 12px;
}
.lead { font-size: 1.15rem; color: var(--slate); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--navy); font-size: 1.2rem; }
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: var(--navy); color: var(--amber); font-weight: 900; font-size: .95rem;
}
.brand b { color: var(--amber-dark); }
.brand-logo { height: 42px; width: auto; display: block; }
.site-footer .brand-logo { height: 40px; }
@media (max-width: 820px) { .brand-logo { height: 36px; } }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--navy); font-weight: 600; font-size: .95rem; padding: 9px 12px; border-radius: 8px;
}
.nav-links a:hover { background: var(--bg-soft); text-decoration: none; }
.nav-links a.active { color: var(--amber-dark); }

/* dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-md); padding: 8px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .16s ease;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a { display: block; padding: 9px 12px; font-size: .92rem; }
.nav-cta { margin-left: 10px; }

.nav-toggle {
  display: none; border: 1px solid var(--line); background: #fff; border-radius: 9px;
  width: 44px; height: 40px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--navy); position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font-weight: 700; font-size: .98rem; padding: 13px 22px; border-radius: 10px;
  border: 2px solid transparent; cursor: pointer; transition: .15s ease; text-decoration: none;
  line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: #20140a; border-color: var(--amber); box-shadow: 0 6px 16px rgba(255,138,30,.32); }
.btn-primary:hover { background: var(--amber-dark); border-color: var(--amber-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.btn-ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(255,138,30,.18), transparent 60%),
    linear-gradient(180deg, var(--navy-deep), var(--navy));
  color: #d9e4f0; padding: 78px 0 84px; position: relative; overflow: hidden;
}
.hero h1 { color: #fff; }
.hero .lead { color: #b9c9da; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700;
  color: #ffd9b0; background: rgba(255,138,30,.14); border: 1px solid rgba(255,138,30,.32);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero-points { list-style: none; padding: 0; margin: 22px 0 28px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; color: #cdd9e6; margin-bottom: 10px; }
.hero-points .tick { color: var(--amber); font-weight: 900; flex: none; }

/* offer card on hero */
.offer-card {
  background: #fff; color: var(--ink); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 28px; border: 1px solid rgba(255,255,255,.6);
}
.offer-card h3 { margin-top: 0; }
.offer-steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.offer-steps li { position: relative; padding: 0 0 18px 46px; }
.offer-steps li:last-child { padding-bottom: 0; }
.offer-steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .9rem;
}
.offer-steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 14px; top: 30px; bottom: 6px; width: 2px; background: var(--line);
}
.offer-steps strong { display: block; }
.offer-steps span { color: var(--slate); font-size: .92rem; }

/* ---------- Stat strip ---------- */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .num { font-size: 2.1rem; font-weight: 800; color: var(--navy); }
.stat .label { color: var(--slate); font-size: .92rem; }
.section--navy .stat .num { color: #fff; }
.section--navy .stat .label { color: #9fb3c8; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: .16s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: #cdd8e4; }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card-link { font-weight: 700; }
.card-link::after { content: " →"; }

.icon-badge {
  width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center;
  background: var(--navy); color: var(--amber); margin-bottom: 16px; font-size: 1.3rem;
}
.card.amber .icon-badge { background: rgba(255,138,30,.14); color: var(--amber-dark); }

/* feature list with ticks */
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 900;
  width: 20px; height: 20px;
}

/* two-column media row */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.reverse .split-media { order: -1; }
.panel {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px;
}
.panel--navy { background: var(--navy); color: #cdd9e6; border: none; }
.panel--navy h3, .panel--navy h2 { color: #fff; }

/* pill / chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.chip {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-weight: 600; font-size: .9rem; color: var(--navy);
}

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(255,138,30,.22), transparent 60%),
    linear-gradient(180deg, var(--navy), var(--navy-deep));
  color: #fff; border-radius: 22px; padding: 52px; text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: #c0d0e0; max-width: 620px; margin: 0 auto 26px; font-size: 1.1rem; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Process steps (page) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.step .n {
  width: 36px; height: 36px; border-radius: 50%; background: var(--amber); color: #20140a;
  font-weight: 800; display: grid; place-items: center; margin-bottom: 14px;
}
.step h3 { font-size: 1.08rem; }
.step p { margin: 0; color: var(--slate); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; margin-bottom: 12px; background: #fff;
}
.faq summary {
  cursor: pointer; font-weight: 700; color: var(--navy); padding: 16px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--amber-dark); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 16px; margin: 0; color: var(--slate); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; color: var(--navy); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .98rem; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; color: var(--ink); width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255,138,30,.16);
}
.form-note { font-size: .85rem; color: var(--slate-light); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(800px 360px at 90% -20%, rgba(255,138,30,.16), transparent 60%),
    linear-gradient(180deg, var(--navy-deep), var(--navy));
  color: #c9d6e4; padding: 60px 0 64px;
}
.page-hero h1 { color: #fff; max-width: 760px; }
.page-hero .lead { color: #b9c9da; max-width: 680px; }
.breadcrumb { font-size: .85rem; color: #8ea4ba; margin-bottom: 16px; }
.breadcrumb a { color: #b9c9da; }

/* ---------- Trust / logos ---------- */
.trust-line { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; color: var(--slate); }
.trust-line .chip { background: var(--bg-soft); }

/* deliverable swatch (color-coded markup demo) */
.swatch-list { display: grid; gap: 10px; }
.swatch { display: flex; align-items: center; gap: 12px; font-size: .95rem; }
.swatch .dot { width: 16px; height: 16px; border-radius: 4px; flex: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #aebccc; padding: 60px 0 28px; }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.site-footer a { color: #aebccc; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { color: #8ea4ba; font-size: .95rem; max-width: 320px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .88rem; color: #8ea4ba;
}
.footer-bottom a { color: #8ea4ba; }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--slate); }
.nowrap { white-space: nowrap; }
.hide { display: none; }
.tag {
  display: inline-block; background: var(--green-soft); color: var(--green);
  font-weight: 700; font-size: .8rem; padding: 4px 12px; border-radius: 999px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split.reverse .split-media { order: 0; }
}
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 70px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: none; padding: 0 0 0 14px; min-width: auto;
  }
  .nav-cta { margin: 6px 0 0; }
  .has-dropdown > a::after { content: " ▾"; color: var(--slate); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 22px; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 56px 0 60px; }
}
