/* ==========================================================================
   Vantage Trade — brand system
   Navy #0C1A3A · Orange #F47B20 · BG #F5F7FA · Barlow headlines / Inter body
   ========================================================================== */

:root {
  --navy: #0C1A3A;
  --navy-2: #142650;
  --navy-3: #1d3260;
  --orange: #F47B20;
  --orange-dark: #d96812;
  --bg: #F5F7FA;
  --white: #ffffff;
  --ink: #0C1A3A;
  --muted: #5c6b84;
  --line: #e3e9f2;
  --blue: #2F80ED;
  --green: #27AE60;
  --red: #EB5757;
  --amber: #F2B01E;
  --purple: #9B51E0;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(12, 26, 58, .06), 0 4px 14px rgba(12, 26, 58, .05);
  --shadow-md: 0 6px 24px rgba(12, 26, 58, .10);
  --shadow-lg: 0 14px 40px rgba(12, 26, 58, .16);
  --font-head: 'Barlow', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; }

h1 { font-size: clamp(2.1rem, 3.75vw, 3rem); font-weight: 900; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.06rem; font-weight: 700; }

.accent { color: var(--orange); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: .9rem;
  border-radius: var(--radius-sm); border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: all .2s ease;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-sm { padding: 9px 16px; font-size: .85rem; }
.btn-lg { padding: 14px 24px; }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(244, 123, 32, .35); }
.btn-orange:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--navy); border-color: #cfd9e8; }
.btn-outline:hover { border-color: var(--navy); transform: translateY(-1px); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 8px 24px rgba(4, 10, 26, .35); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-badge {
  width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex: none;
  background: #fff; border: 2px solid rgba(255, 255, 255, .85);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}
.brand-badge img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-weight: 900; font-size: 1.18rem; letter-spacing: .04em; color: #fff; }
.brand-sub { font-family: var(--font-head); font-weight: 700; font-size: .62rem; letter-spacing: .38em; color: var(--orange); margin-top: 4px; }

.main-nav { display: flex; gap: 4px; margin-left: auto; }
.nav-link {
  color: rgba(255, 255, 255, .82); text-decoration: none; font-size: .88rem; font-weight: 500;
  padding: 8px 12px; border-radius: 8px; position: relative; transition: color .2s;
}
.nav-link:hover { color: #fff; }
.nav-link.is-active { color: var(--orange); font-weight: 600; }
.nav-link.is-active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
  background: var(--orange); border-radius: 2px;
}
.header-ctas { display: flex; gap: 10px; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 420px at 88% 8%, rgba(244, 123, 32, .07), transparent 60%),
    radial-gradient(640px 420px at 6% 90%, rgba(47, 128, 237, .06), transparent 60%);
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1.02fr .98fr;
  gap: 56px; align-items: center;
}

.badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; font-size: .78rem; font-weight: 600; color: var(--navy);
  box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.badge-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(39, 174, 96, .18); }

.hero-copy .lead { color: var(--muted); font-size: 1.05rem; max-width: 46ch; margin: 20px 0 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.hero-values { display: flex; flex-wrap: wrap; gap: 8px 26px; list-style: none; }
.hero-values li { display: flex; align-items: center; gap: 9px; font-size: .84rem; font-weight: 600; color: var(--navy); }
.hv-icon { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.hv-icon svg { width: 15px; height: 15px; }
.hv-red    { background: rgba(235, 87, 87, .12);  color: var(--red); }
.hv-orange { background: rgba(244, 123, 32, .12); color: var(--orange); }
.hv-blue   { background: rgba(47, 128, 237, .12); color: var(--blue); }
.hv-green  { background: rgba(39, 174, 96, .12);  color: var(--green); }

/* hero visual */
.hero-visual { position: relative; min-height: 460px; }
.hero-map { position: absolute; inset: -20px 0 auto; width: 100%; }
.hero-photo {
  position: relative; margin: 90px 30px 0 44px;
  border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
}
.hero-photo img { width: 100%; height: 330px; object-fit: cover; }

.kpi-card {
  position: absolute; background: #fff; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md); padding: 14px 16px; border: 1px solid var(--line);
  animation: floaty 6s ease-in-out infinite;
}
.kpi-label { font-size: .72rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.kpi-value { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--navy); line-height: 1.1; }
.kpi-sub { font-size: .72rem; color: var(--muted); }
.kpi-delta { font-size: .72rem; font-weight: 700; vertical-align: middle; }
.kpi-delta.up, .delta-up { color: var(--green); }

.kpi-reach { top: 26px; left: -6px; width: 170px; animation-delay: 0s; }
.kpi-reach .spark { width: 100%; height: 30px; margin-top: 6px; }
.kpi-delivery { top: 170px; right: -8px; display: flex; align-items: center; gap: 12px; animation-delay: 1.6s; }
.kpi-orders { bottom: -20px; left: 22px; width: 180px; animation-delay: 3.2s; }
.kpi-orders .bars { display: flex; align-items: flex-end; gap: 5px; height: 38px; margin-top: 8px; }
.kpi-orders .bars i { flex: 1; background: linear-gradient(180deg, #6ea8f7, var(--blue)); border-radius: 3px 3px 0 0; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* donut */
.donut {
  --val: 75; --clr: var(--orange);
  width: 62px; height: 62px; border-radius: 50%; flex: none;
  background: conic-gradient(var(--clr) calc(var(--val) * 1%), #edf1f7 0);
  display: grid; place-items: center; position: relative;
}
.donut::before { content: ""; position: absolute; inset: 8px; background: #fff; border-radius: 50%; }
.donut span { position: relative; font-family: var(--font-head); font-weight: 800; font-size: .95rem; color: var(--navy); }
.donut-lg { width: 86px; height: 86px; margin: 0 auto 14px; }
.donut-lg::before { inset: 11px; }
.donut-lg span { font-size: 1.25rem; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: #fff; }

.section-head { text-align: center; margin-bottom: 48px; }
.eyebrow {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 12px;
}
.eyebrow-light { color: var(--orange); }
.section-sub { color: var(--muted); max-width: 56ch; margin: 14px auto 0; }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-3t { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* feature cards */
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.section-alt .feature-card { background: var(--bg); }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature-card h3 { margin: 16px 0 8px; }
.feature-card p { font-size: .88rem; color: var(--muted); }

.icon-tile { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.icon-tile svg { width: 22px; height: 22px; }
.it-red    { background: rgba(235, 87, 87, .12);  color: var(--red); }
.it-orange { background: rgba(244, 123, 32, .12); color: var(--orange); }
.it-blue   { background: rgba(47, 128, 237, .12); color: var(--blue); }
.it-green  { background: rgba(39, 174, 96, .12);  color: var(--green); }
.it-navy   { background: rgba(12, 26, 58, .08);   color: var(--navy); }
.it-purple { background: rgba(155, 81, 224, .12); color: var(--purple); }

/* ---------- Steps ---------- */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  list-style: none; counter-reset: step; position: relative;
}
.steps::before {
  content: ""; position: absolute; top: 26px; left: 8%; right: 8%;
  border-top: 2px dashed #d4ddea; z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  margin: 0 auto 18px; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem;
  box-shadow: 0 6px 16px rgba(12, 26, 58, .18); border: 4px solid #fff;
}
.sn-orange { background: var(--orange); }
.sn-blue   { background: var(--blue); }
.sn-green  { background: var(--green); }
.sn-pink   { background: #E0489B; }
.step h3 { margin-bottom: 8px; }
.step p { font-size: .87rem; color: var(--muted); }

/* ---------- Coverage ---------- */
.coverage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.coverage-copy .eyebrow { margin-bottom: 10px; }
.coverage-copy h2 { margin-bottom: 16px; }
.coverage-copy > p { color: var(--muted); margin-bottom: 30px; max-width: 50ch; }

.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.metric {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 18px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto;
  column-gap: 12px; align-items: center; box-shadow: var(--shadow-sm);
}
.metric-icon { grid-row: span 2; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; }
.metric-icon svg { width: 19px; height: 19px; }
.mi-red    { background: rgba(235, 87, 87, .12);  color: var(--red); }
.mi-orange { background: rgba(244, 123, 32, .12); color: var(--orange); }
.mi-blue   { background: rgba(47, 128, 237, .12); color: var(--blue); }
.mi-green  { background: rgba(39, 174, 96, .12);  color: var(--green); }
.metric strong { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--navy); line-height: 1.15; }
.metric span:last-child { font-size: .78rem; color: var(--muted); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.coverage-map { padding: 22px; }
.coverage-map svg { width: 100%; height: auto; }
.map-legend { display: flex; justify-content: center; gap: 22px; padding-top: 14px; border-top: 1px solid var(--line); margin-top: 10px; flex-wrap: wrap; }
.map-legend span { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 600; color: var(--muted); }
.map-legend i { width: 10px; height: 10px; border-radius: 50%; }
.lg-blue { background: var(--blue); }
.lg-orange { background: var(--orange); }
.lg-green { background: var(--green); }

/* ---------- Solutions ---------- */
.solution-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; transition: transform .22s ease, box-shadow .22s ease;
}
.solution-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.solution-card h3 { font-size: 1rem; margin-bottom: 5px; }
.solution-card p { font-size: .85rem; color: var(--muted); }

/* ---------- E-commerce ---------- */
.store-panel {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  border-radius: 22px; padding: 56px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.store-panel::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 340px; height: 340px;
  border-radius: 50%; background: radial-gradient(circle, rgba(244, 123, 32, .22), transparent 70%);
}
.store-copy { position: relative; z-index: 1; }
.store-copy h2 { color: #fff; margin-bottom: 14px; }
.store-copy p { color: rgba(255, 255, 255, .78); font-size: .95rem; margin-bottom: 26px; max-width: 44ch; }
.store-note { font-size: .8rem !important; color: rgba(255, 255, 255, .55) !important; margin-top: 14px !important; }

.store-products { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.product-card {
  position: relative; background: #fff; border-radius: var(--radius-sm);
  padding: 14px; transition: transform .2s ease;
}
.product-card:hover { transform: translateY(-4px); }
.product-card img { width: 100%; height: 110px; object-fit: cover; border-radius: 8px; margin-bottom: 10px; }
.product-card h3 { font-family: var(--font-body); font-size: .82rem; font-weight: 600; color: var(--navy); }
.product-card .price { font-family: var(--font-head); font-weight: 800; font-size: .98rem; color: var(--orange); margin-top: 3px; }
.wish {
  position: absolute; top: 20px; right: 20px; z-index: 2;
  width: 28px; height: 28px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .92); color: #9aa7bd; display: grid; place-items: center;
  box-shadow: var(--shadow-sm); transition: color .2s, transform .2s;
}
.wish svg { width: 14px; height: 14px; }
.wish:hover, .wish.active { color: var(--red); transform: scale(1.1); }
.wish.active svg { fill: currentColor; }

/* ---------- Partners ---------- */
.logo-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; }
.partner-logo {
  min-width: 168px; text-align: center; padding: 22px 26px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-head); font-weight: 800; font-size: 1.02rem; letter-spacing: .06em;
  color: #7a889f; line-height: 1.25; transition: color .2s, transform .2s, box-shadow .2s;
}
.partner-logo small { display: block; font-size: .62rem; font-weight: 700; letter-spacing: .3em; margin-top: 2px; }
.partner-logo:hover { color: var(--navy); transform: translateY(-3px); box-shadow: var(--shadow-sm); }

/* ---------- Insights ---------- */
.insight-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.insight-card .kpi-label { text-transform: uppercase; letter-spacing: .08em; font-size: .68rem; }
.insight-value { font-family: var(--font-head); font-weight: 900; font-size: 2.1rem; color: var(--navy); line-height: 1.15; margin-top: 6px; }
.insight-value.delta-up { color: var(--green); }
.insight-card .spark, .insight-card .mini-map { width: 100%; height: 44px; margin-top: 14px; }
.insight-donut { text-align: center; }
.insight-donut .kpi-label { margin-top: 2px; }

.channel-bars { margin-top: 14px; display: grid; gap: 12px; }
.channel { display: grid; grid-template-columns: 92px 1fr 36px; align-items: center; gap: 10px; font-size: .76rem; }
.channel span { color: var(--muted); font-weight: 500; }
.channel b { text-align: right; color: var(--navy); }
.channel .track { height: 7px; background: #edf1f7; border-radius: 99px; overflow: hidden; }
.channel .track i { display: block; height: 100%; border-radius: 99px; }

/* ---------- Testimonials ---------- */
.quote-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 18px;
}
.qmark { width: 28px; height: 28px; color: var(--orange); opacity: .85; }
.quote-card blockquote { font-size: .93rem; color: #3d4c66; line-height: 1.65; flex: 1; }
.quote-card figcaption { display: flex; align-items: center; gap: 12px; }
.quote-card figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.quote-card figcaption strong { display: block; font-size: .88rem; color: var(--navy); }
.quote-card figcaption span { font-size: .76rem; color: var(--muted); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 60%, #1a2f5e 100%);
  padding: 72px 0; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; left: -100px; bottom: -160px; width: 320px; height: 320px;
  border-radius: 50%; background: radial-gradient(circle, rgba(244, 123, 32, .18), transparent 70%);
}
.cta-inner {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.cta-inner h2 { color: #fff; margin-bottom: 10px; }
.cta-inner p { color: rgba(255, 255, 255, .72); font-size: .95rem; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: #081228; color: rgba(255, 255, 255, .72); }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr repeat(5, 1fr);
  gap: 36px; padding: 64px 24px 44px;
}
.footer-brand p { font-size: .85rem; margin: 18px 0 20px; max-width: 30ch; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .75);
  transition: background .2s, color .2s;
}
.socials a:hover { background: var(--orange); color: #fff; }
.socials svg { width: 15px; height: 15px; }

.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: #fff; margin-bottom: 6px;
}
.footer-col a { color: rgba(255, 255, 255, .6); text-decoration: none; font-size: .84rem; transition: color .2s; }
.footer-col a:hover { color: var(--orange); }

.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .78rem; color: rgba(255, 255, 255, .45);
}

/* ---------- Contact modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8, 18, 40, .62); backdrop-filter: blur(3px);
  display: grid; place-items: center; padding: 24px; overflow-y: auto;
}
.modal-overlay[hidden] { display: none; }
.modal {
  position: relative; width: 100%; max-width: 640px;
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg);
  animation: modal-in .28s ease;
  max-height: calc(100vh - 48px); overflow-y: auto;
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--bg); color: var(--muted); display: grid; place-items: center;
  transition: background .2s, color .2s;
}
.modal-close:hover { background: #e8edf5; color: var(--navy); }
.modal-close svg { width: 16px; height: 16px; }
.modal-body { padding: 40px 44px 36px; }
.modal-body h2 { margin: 2px 0 10px; }
.modal-sub { color: var(--muted); font-size: .92rem; margin-bottom: 26px; max-width: 48ch; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-size: .78rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-field input, .form-field select {
  width: 100%; padding: 11px 13px; font: 500 .88rem var(--font-body); color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.form-field input:focus, .form-field select:focus, .rte:focus-within {
  border-color: var(--orange); box-shadow: 0 0 0 3px rgba(244, 123, 32, .15);
}
.form-field input::placeholder { color: #9aa7bd; }

.rte { border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.rte-toolbar { display: flex; gap: 2px; padding: 6px 8px; border-bottom: 1px solid var(--line); background: #eef2f8; }
.rte-toolbar button {
  width: 30px; height: 30px; border: 0; border-radius: 6px; cursor: pointer;
  background: transparent; color: var(--navy); font-size: .85rem; display: grid; place-items: center;
  transition: background .15s;
}
.rte-toolbar button:hover { background: #dfe6f0; }
.rte-toolbar button.active { background: var(--navy); color: #fff; }
.rte-toolbar svg { width: 15px; height: 15px; }
.rte-area {
  min-height: 130px; max-height: 260px; overflow-y: auto;
  padding: 12px 14px; font: 400 .9rem/1.6 var(--font-body); color: var(--ink); outline: none;
}
.rte-area:empty::before { content: attr(data-placeholder); color: #9aa7bd; pointer-events: none; }
.rte-area ul { padding-left: 20px; }

.form-error {
  background: rgba(235, 87, 87, .1); border: 1px solid rgba(235, 87, 87, .3);
  color: #c0392b; font-size: .82rem; border-radius: 8px; padding: 10px 14px; margin-bottom: 14px;
}
.form-error a { color: inherit; font-weight: 600; }
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.form-actions .btn[disabled] { opacity: .6; pointer-events: none; }
.form-alt { font-size: .8rem; color: var(--muted); }
.form-alt a { color: var(--orange); font-weight: 600; text-decoration: none; }
.form-alt a:hover { text-decoration: underline; }

.modal-success { text-align: center; padding: 56px 44px; }
.success-badge {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 20px;
  background: rgba(39, 174, 96, .12); color: var(--green); display: grid; place-items: center;
}
.success-badge svg { width: 34px; height: 34px; }
.modal-success .modal-sub { margin: 0 auto 26px; }

body.modal-open { overflow: hidden; }

@media (max-width: 560px) {
  .modal-body { padding: 32px 22px 28px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .kpi-card { animation: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1120px) {
  .main-nav { display: none; }
  .header-ctas .btn-outline-light { display: none; }
  .nav-toggle { display: block; }
  .main-nav.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--navy); padding: 14px 24px 22px; gap: 2px;
    box-shadow: 0 18px 30px rgba(4, 10, 26, .4);
  }
  .main-nav.open .nav-link { padding: 12px 10px; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 70px; }
  .hero-copy .lead { max-width: 60ch; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .section { padding: 64px 0; }
  .coverage-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-3, .grid-3t { grid-template-columns: 1fr 1fr; }
  .store-panel { grid-template-columns: 1fr; padding: 40px 28px; }
  .cta-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 620px) {
  .grid-4, .grid-3, .grid-3t, .steps, .metric-grid, .store-products { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 96px; }
  .hero-photo { margin: 70px 8px 0 8px; }
  .hero-photo img { height: 240px; }
  .kpi-reach { top: 6px; left: 0; }
  .kpi-delivery { top: auto; bottom: -54px; right: 0; }
  .kpi-orders { bottom: -70px; left: 0; }
  .hero-visual { margin-bottom: 60px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
