/* =========================================================
   MEDIAELLA — Homepage styles
   Palette: all-blue, high-trust. Light + dark sections.
   ========================================================= */

:root {
  --brand:       #2E9BE0;   /* bright blue */
  --brand-2:     #2A8FD0;
  --brand-deep:  #1E63B0;   /* deep blue */
  --brand-cta:   #1F86D6;
  --ink:         #0E1E33;   /* headline navy */
  --ink-soft:    #35485F;
  --muted:       #5E7186;
  --line:        #E4ECF4;
  --cloud:       #F3F8FD;   /* light section bg */
  --white:       #FFFFFF;

  --navy:        #0B1E38;   /* dark section bg */
  --navy-2:      #0A1830;
  --navy-card:   #12294a;
  --navy-line:   rgba(120,170,225,0.18);
  --on-dark:     #EAF2FB;
  --on-dark-mut: #9DB3CD;

  --radius:      18px;
  --radius-lg:   26px;
  --radius-pill: 999px;
  --shadow-sm:   0 6px 20px rgba(16,40,72,0.08);
  --shadow-md:   0 18px 44px rgba(16,40,72,0.12);
  --shadow-lg:   0 30px 70px rgba(16,40,72,0.18);
  --shadow-blue: 0 16px 38px rgba(31,134,214,0.32);
  --container:   1180px;
  --gutter:      24px;
  --ease:        cubic-bezier(.22,.61,.36,1);
  --grad:        linear-gradient(135deg, #33ADE2 0%, #2A8FD0 48%, #1E63B0 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; color: var(--ink); line-height: 1.08; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; }
h3 { font-size: 1.22rem; font-weight: 700; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 0.74rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-deep);
  margin-bottom: 18px;
}
.eyebrow.light { color: #7FC1EE; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px rgba(46,155,224,0.16); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 0.98rem;
  padding: 14px 26px; border-radius: var(--radius-pill); cursor: pointer;
  border: 1.6px solid transparent; transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .25s; overflow: hidden; white-space: nowrap;
}
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }
.btn-primary { background: var(--brand-cta); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 46px rgba(31,134,214,0.42); }
.btn-primary:active { transform: translateY(0) scale(.98); }
/* CTA shine */
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-18deg); transition: left .6s var(--ease);
}
.btn-primary:hover::after { left: 140%; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-outline:hover { transform: translateY(-2px); border-color: var(--brand); color: var(--brand-deep); }
.btn-outline .play { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 0.6rem; padding-left: 2px; }
.btn-light { background: #fff; color: var(--brand-deep); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.i-arrow { transition: transform .2s var(--ease); }
.btn:hover .i-arrow { transform: translateX(4px); }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--grad); z-index: 200; transition: width .1s linear; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.82); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s, background .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(16,40,72,0.08); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand-logo { height: 34px; width: auto; transition: transform .35s var(--ease), filter .35s; }
.brand:hover .brand-logo { transform: rotate(-4deg) scale(1.04); filter: drop-shadow(0 6px 14px rgba(46,155,224,0.35)); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav > a:not(.btn) { font-weight: 500; font-size: 0.96rem; color: var(--ink-soft); position: relative; transition: color .2s; }
.nav > a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--grad); border-radius: 2px; transition: width .25s var(--ease); }
.nav > a:not(.btn):hover { color: var(--brand-deep); }
.nav > a:not(.btn):hover::after { width: 100%; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 118px) 0; position: relative; }
.band-soft { background: var(--cloud); }
.band-dark { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--on-dark); }
.band-dark h1, .band-dark h2, .band-dark h3, .band-dark h4 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 54px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-sub { color: var(--muted); font-size: 1.08rem; margin-top: 16px; }
.band-dark .section-sub { color: var(--on-dark-mut); }
.lead { font-size: 1.14rem; color: var(--ink-soft); }
.band-dark .lead { color: var(--on-dark-mut); }

.split-head { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: end; margin-bottom: 52px; }
.split-body { color: var(--muted); font-size: 1.06rem; padding-bottom: 6px; }
.band-dark .split-body { color: var(--on-dark-mut); }

/* ---------- HERO ---------- */
.hero { position: relative; padding: clamp(48px, 7vw, 92px) 0 clamp(60px, 8vw, 104px); overflow: hidden; background: linear-gradient(180deg, #fff 0%, #F4F9FE 100%); }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-bg .ribbons { position: absolute; right: -4%; top: 50%; transform: translateY(-50%); width: 66%; height: 118%; }
.hero-bg .glow { position: absolute; border-radius: 50%; filter: blur(80px); }
.hero-bg .g1 { width: 460px; height: 460px; right: -60px; top: -160px; background: radial-gradient(circle, rgba(46,155,224,0.42), transparent 66%); }
.hero-bg .g2 { width: 380px; height: 380px; right: 34%; bottom: -180px; background: radial-gradient(circle, rgba(30,99,176,0.22), transparent 66%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 46px; align-items: center; }
.hero-copy h1 { margin: 6px 0 22px; }
.hero-sub { font-size: clamp(1.12rem, 1.7vw, 1.4rem); font-weight: 600; color: var(--ink); font-family: 'Manrope'; max-width: 30ch; }
.hero-support { color: var(--muted); margin-top: 16px; max-width: 46ch; font-size: 1.02rem; }
.hero-support em { color: var(--brand-deep); font-style: italic; font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 20px; color: var(--ink-soft); font-weight: 600; font-size: 0.92rem; }
.hero-trust .ht-item { color: var(--ink-soft); }

/* Hero visual / dashboard */
.hero-visual { position: relative; min-height: 420px; }
.dashboard { position: relative; z-index: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.dashboard::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); box-shadow: inset 0 1px 0 rgba(255,255,255,0.9); pointer-events: none; }
.dash-kpis { display: flex; gap: 10px; margin-bottom: 6px; }
.dash-kpis span { flex: 1; display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: #f5f9fe; border: 1px solid #e9f1fa; }
.dash-kpis i { font-style: normal; font-size: 0.62rem; color: #9aabbd; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.dash-kpis b { font-family: 'Space Grotesk'; font-size: 1.02rem; color: var(--ink); }
.dash-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: #fbfdff; }
.dash-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d7e2ee; }
.dash-bar span:nth-child(1){ background:#ff6058;} .dash-bar span:nth-child(2){ background:#ffbe2f;} .dash-bar span:nth-child(3){ background:#28c840;}
.dash-bar em { margin-left: 10px; font-style: normal; font-size: 0.74rem; color: #9aabbd; letter-spacing: .02em; }
.dash-body { display: grid; grid-template-columns: 54px 1fr; min-height: 300px; }
.dash-side { padding: 18px 12px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; background: #fbfdff; }
.dash-side i { height: 30px; border-radius: 9px; background: linear-gradient(90deg, #eaf2fb, #f4f9fe); display: block; }
.dash-side i:first-child { background: var(--grad); }
.dash-main { padding: 22px 24px 26px; }
.dash-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.dash-head b { font-family: 'Space Grotesk'; font-size: 1.02rem; }
.dash-head small { color: #9aabbd; font-size: 0.78rem; }
.dash-chart { width: 100%; height: 130px; display: block; }
.dash-line { stroke-dasharray: 720; stroke-dashoffset: 720; }
.in-view .dash-line { animation: draw 1.6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.dash-bars { display: flex; align-items: flex-end; gap: 12px; height: 66px; margin-top: 14px; }
.dash-bars span { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #6fc0ee, #2A8FD0); transform-origin: bottom; transform: scaleY(0); }
.in-view .dash-bars span { animation: growBar .7s var(--ease) forwards; }
.dash-bars span:nth-child(1){animation-delay:.15s} .dash-bars span:nth-child(2){animation-delay:.25s} .dash-bars span:nth-child(3){animation-delay:.35s} .dash-bars span:nth-child(4){animation-delay:.45s} .dash-bars span:nth-child(5){animation-delay:.55s} .dash-bars span:nth-child(6){animation-delay:.65s}
@keyframes growBar { to { transform: scaleY(1); } }

/* Floating stat cards */
.float-card {
  position: absolute; z-index: 3; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 2px; min-width: 150px;
  animation: floaty 5s ease-in-out infinite;
}
.float-card .fc-label { font-size: 0.72rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.float-card .fc-num { font-family: 'Space Grotesk'; font-weight: 800; font-size: 1.7rem; color: var(--ink); line-height: 1; }
.float-card .fc-sub { font-size: 0.72rem; color: #9aabbd; }
.float-card .fc-delta { font-size: 0.78rem; font-weight: 700; }
.float-card .fc-delta.up { color: #1aa251; }
.float-card .spark { width: 60px; height: 24px; margin-top: 4px; }
.fc-revenue { top: -18px; right: -8px; }
.fc-roas    { top: 42%; right: -22px; animation-delay: .8s; }
.fc-leads   { bottom: -10px; left: -22px; animation-delay: 1.6s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.hero-annote { position: absolute; right: 2%; bottom: -14px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; font-family: 'Space Grotesk'; font-style: italic; font-size: 0.82rem; color: #7d92a8; }

/* ---------- Trust strip ---------- */
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; padding: 26px 0; }
.trust-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.trust-label { font-size: 0.76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #9aabbd; max-width: 240px; }
.trust-items { display: flex; flex-wrap: wrap; gap: 14px 30px; }
.trust-items span { font-family: 'Space Grotesk'; font-weight: 600; color: #7c8ea1; font-size: 0.98rem; filter: grayscale(1) opacity(.85); transition: filter .3s, color .3s; }
.trust-items span:hover { filter: none; color: var(--brand-deep); }

/* ---------- Mini cards (problem) ---------- */
.mini-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.mini-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; font-family: 'Space Grotesk'; font-weight: 600; font-size: 0.98rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s; }
.mini-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.mini-card .mc-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, #eaf4fd, #dcebfa); font-size: 1.2rem; }

/* ---------- Positioning two-col ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.q-list { list-style: none; display: grid; gap: 14px; }
.q-list li { position: relative; padding: 18px 20px 18px 54px; background: var(--cloud); border: 1px solid var(--line); border-radius: 14px; font-family: 'Space Grotesk'; font-weight: 600; color: var(--ink); font-size: 1.02rem; transition: transform .22s var(--ease), border-color .22s; }
.q-list li::before { content: "?"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 0.9rem; font-weight: 800; }
.q-list li:hover { transform: translateX(6px); border-color: var(--brand); }

/* ---------- Cards grid ---------- */
.cards { display: grid; gap: 22px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); transition: transform .28s var(--ease), box-shadow .28s, border-color .28s; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: rgba(46,155,224,0.4); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.card-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(135deg, #eaf4fd, #dbeafb); color: var(--brand-deep); font-size: 1.35rem; transition: transform .3s var(--ease); }
.card:hover .card-icon { transform: translateY(-3px) scale(1.06); }
.arrow-btn { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 1.05rem; transition: transform .25s var(--ease); }
.card:hover .arrow-btn { transform: rotate(-45deg); }
.card h3 { margin-bottom: 8px; }
.card-lead { font-family: 'Space Grotesk'; font-weight: 600; color: var(--ink); font-size: 0.98rem; margin-bottom: 8px; }
.card-desc { color: var(--muted); font-size: 0.92rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips span { font-size: 0.76rem; font-weight: 600; padding: 5px 12px; border-radius: var(--radius-pill); background: #eef5fc; color: var(--brand-deep); border: 1px solid #dcebfa; }

/* Dark card variant (services) */
.card.dark { background: var(--navy-card); border: 1px solid var(--navy-line); box-shadow: none; position: relative; }
.card.dark::before { content: ""; position: absolute; inset: 0; border-radius: var(--radius); padding: 1px; background: linear-gradient(160deg, rgba(120,180,240,.35), transparent 45%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; }
.card.dark:hover { transform: translateY(-8px); border-color: rgba(120,180,240,.5); box-shadow: 0 24px 50px rgba(0,0,0,.35); }
.card.dark:hover::before { opacity: 1; }
.card.dark h3 { color: #fff; }
.card.dark .card-lead { color: #dfeaf7; }
.card.dark .card-desc { color: var(--on-dark-mut); }
.card.dark .card-icon { background: rgba(46,155,224,0.16); color: #7FC1EE; }
.card.dark .chips span { background: rgba(46,155,224,0.12); color: #9fcdf0; border-color: rgba(120,180,240,.22); }

/* ---------- Industry cards ---------- */
.industry-card { position: relative; min-height: 340px; border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; color: #fff; box-shadow: var(--shadow-md); isolation: isolate; transition: transform .3s var(--ease), box-shadow .3s; }
.industry-card::before { content: ""; position: absolute; inset: 0; z-index: -2; transition: transform .5s var(--ease); }
.ind-rest::before   { background: linear-gradient(155deg, #1a4e86, #0c2545); }
.ind-dental::before { background: linear-gradient(155deg, #1c6fb8, #0e3763); }
.ind-ecom::before   { background: linear-gradient(155deg, #2a8fd0, #123b6b); }
.ind-overlay { position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 80% 10%, rgba(255,255,255,0.16), transparent 55%), linear-gradient(180deg, transparent 30%, rgba(6,18,36,0.72)); }
.industry-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.industry-card:hover::before { transform: scale(1.08); }
.ind-content { margin-bottom: 20px; }
.ind-line { font-family: 'Space Grotesk'; font-weight: 700; font-size: 1.32rem; line-height: 1.15; margin-bottom: 10px; }
.ind-desc { font-size: 0.92rem; color: rgba(255,255,255,0.82); }
.ind-foot { display: flex; align-items: center; justify-content: space-between; }
.ind-tag { display: inline-flex; align-items: center; gap: 7px; font-family: 'Space Grotesk'; font-weight: 600; background: rgba(255,255,255,0.16); backdrop-filter: blur(6px); padding: 8px 14px; border-radius: var(--radius-pill); font-size: 0.9rem; }
.arrow-btn.light { background: #fff; color: var(--brand-deep); }
.industry-card:hover .arrow-btn.light { transform: rotate(-45deg); }

/* ---------- Steps 01-05 ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.step { padding: 26px 20px; border-radius: var(--radius); border: 1px solid var(--navy-line); background: rgba(255,255,255,0.02); transition: transform .28s var(--ease), background .28s, border-color .28s; }
.step:hover { transform: translateY(-6px); background: rgba(46,155,224,0.08); border-color: rgba(120,180,240,.4); }
.step-num { font-family: 'Space Grotesk'; font-weight: 800; font-size: 2rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 14px; }
.step-body h3 { color: #fff; font-size: 1.06rem; margin-bottom: 8px; }
.step-body p { color: var(--on-dark-mut); font-size: 0.9rem; }

/* ---------- Stat grid (proof) ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s; }
.stat:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.stat-num { font-family: 'Space Grotesk'; font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.7rem); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; line-height: 1; margin-bottom: 12px; }
.stat-label { color: var(--muted); font-size: 0.9rem; }
.proof-note { margin-top: 40px; font-size: 1rem; }
.proof-note em { color: var(--brand-deep); font-style: italic; }

/* ---------- Statement ---------- */
.statement { position: relative; padding: clamp(70px, 10vw, 130px) 0; color: #fff; overflow: hidden; background: var(--grad); }
.stmt-bg { position: absolute; inset: 0; background: radial-gradient(70% 120% at 20% 0%, rgba(255,255,255,0.18), transparent 60%), radial-gradient(60% 100% at 100% 100%, rgba(11,30,56,0.4), transparent 60%); }
.statement .container { position: relative; z-index: 1; }
.statement h2 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); }
.statement .lead { color: rgba(255,255,255,0.9); margin-top: 20px; }

/* ---------- Contact ---------- */
#contact .section-sub { max-width: 620px; margin-left: auto; margin-right: auto; }
.contact-actions { margin: 30px 0 18px; }
.reassure { color: var(--muted); font-size: 0.96rem; }
.contact-email { display: inline-block; margin-top: 16px; font-family: 'Space Grotesk'; font-weight: 600; color: var(--brand-deep); border-bottom: 2px solid transparent; transition: border-color .2s; }
.contact-email:hover { border-color: var(--brand); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-2); color: var(--on-dark-mut); padding: 68px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo { height: 32px; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: .96; }
.footer-brand p { max-width: 34ch; font-size: 0.94rem; }
.footer-col h4 { color: #fff; font-size: 0.86rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; font-size: 0.94rem; color: var(--on-dark-mut); transition: color .2s, transform .2s; }
.footer-col a:hover { color: #fff; transform: translateX(3px); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 24px; font-size: 0.84rem; color: #6f83a0; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .mini-cards { grid-template-columns: repeat(3, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav { position: fixed; top: 74px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; background: #fff; padding: 16px var(--gutter) 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); transform: translateY(-140%); transition: transform .35s var(--ease); }
  .nav.open { transform: translateY(0); }
  .nav > a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav > a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 10px; justify-content: center; }
  .nav-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { min-height: 380px; margin-top: 10px; }
  .hero-bg .ribbons { opacity: .5; width: 80%; right: -12%; }
  .hero-bg .g1, .hero-bg .g2 { opacity: .55; }
  .hero-sub { max-width: none; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .split-head { grid-template-columns: 1fr; gap: 20px; }
  .split-body { padding-bottom: 0; }
}
@media (max-width: 620px) {
  :root { --gutter: 18px; }
  h1 { font-size: clamp(2.3rem, 10vw, 3.1rem); }
  .cards-4, .cards-3 { grid-template-columns: 1fr; }
  .mini-cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .float-card { min-width: 130px; padding: 12px 13px; }
  .float-card .fc-num { font-size: 1.4rem; }
  .fc-revenue { right: 0; } .fc-roas { right: -6px; } .fc-leads { left: -6px; bottom: 2%; }
  .trust-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .float-card { animation: none; }
}
