/* =========================================================
   Media Ad Account — styles
   Brand colors: #5470ff (primary) · #38b7fe (sky) · #70ddfe (ice)
   ========================================================= */

:root {
  --brand: #5470ff;
  --sky: #38b7fe;
  --ice: #70ddfe;
  --brand-text: #3A55F0;      /* darker brand blue for small text (readable on white) */
  --ink: #0B1033;
  --body: #3A4163;
  --muted: #5B6282;
  --line: #E3E8F2;
  --line-strong: #D5DCEB;
  --ground: #F6F8FC;
  --white: #ffffff;
  --tint: #EEF1FF;

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  --gutter: clamp(20px, 6.67vw, 96px);
  --section-y: clamp(72px, 9vw, 128px);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--brand-text); text-decoration: none; }
a:hover { color: #2B43D6; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -0.03em; }
p { margin: 0; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
::placeholder { color: #8A90AB; }

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 28px;
  border-radius: 14px; border: 1px solid transparent;
  font: 700 16px/1 var(--font-body);
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #1C2352; color: var(--white); }
.btn-outline { background: transparent; border-color: var(--line-strong); color: var(--ink); padding: 0 24px; }
.btn-outline:hover { border-color: var(--brand); color: var(--ink); }
.btn-sm { height: 44px; padding: 0 22px; border-radius: 12px; font-size: 15px; }
.btn-block { width: 100%; }

.eyebrow {
  display: inline-block;
  font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand-text);
}
.eyebrow.muted { color: var(--muted); }
.eyebrow.light { color: #E6F8FF; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.brand img { height: 56px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 40px; font-size: 15px; font-weight: 600; }
.main-nav a:not(.btn) { color: var(--body); }
.main-nav a:not(.btn):hover { color: var(--brand-text); }
.main-nav .btn { color: var(--white); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--white); color: var(--ink);
  align-items: center; justify-content: center; cursor: pointer;
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero { background: var(--white); padding: 104px 0 112px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.badge {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 8px;
  height: 34px; padding: 0 14px; border-radius: 999px;
  background: var(--tint); color: var(--brand-text);
  font-size: 14px; font-weight: 700;
}
.dot { width: 8px; height: 8px; border-radius: 999px; background: var(--sky); flex-shrink: 0; }
.hero h1 { font-weight: 700; font-size: clamp(38px, 4.2vw, 60px); line-height: 1.08; letter-spacing: -0.035em; }
.accent { color: var(--brand); }
.lead { max-width: 520px; font-size: 19px; line-height: 1.6; color: var(--body); }
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding-top: 8px; }

.hero-visual { position: relative; min-height: 500px; display: flex; align-items: center; justify-content: center; }
.blob { position: absolute; }
.blob-circle { right: 10px; top: 0; width: 340px; height: 340px; border-radius: 999px; background: var(--ice); opacity: .28; }
.blob-square { left: 30px; bottom: 10px; width: 120px; height: 120px; border-radius: 28px; background: var(--brand); opacity: .14; }
.overview-card {
  position: relative; width: 100%; max-width: 500px;
  padding: 32px; background: var(--white);
  border: 1px solid var(--line); border-radius: 24px;
  box-shadow: 0 30px 60px -30px rgba(11, 16, 51, .25);
  display: flex; flex-direction: column; gap: 24px;
}
.overview-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.overview-title { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.live-pill {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px;
  border-radius: 999px; background: #E8F7FF; color: #0B5E8A; font-size: 13px; font-weight: 700;
}
.live-pill .dot { width: 7px; height: 7px; }
.overview-rows { display: flex; flex-direction: column; gap: 20px; }
.row { display: flex; flex-direction: column; gap: 10px; }
.row-top { display: flex; justify-content: space-between; font-size: 15px; }
.row-top span { color: var(--muted); font-weight: 600; }
.bar { height: 10px; border-radius: 999px; background: var(--tint); overflow: hidden; }
.bar > div { height: 100%; border-radius: 999px; transform-origin: left; animation: grow 1.2s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .bar > div { animation: none; } }
.overview-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-top: 4px; }
.overview-stats > div { padding: 14px; border-radius: 14px; background: var(--ground); display: flex; flex-direction: column; gap: 4px; }
.overview-stats span { font-size: 12px; font-weight: 600; color: var(--muted); }
.overview-stats strong { font-size: 15px; }

/* ---------- Platforms ---------- */
.platforms { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.platforms-inner { padding-block: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.platform-list { display: flex; gap: 64px; font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--body); }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section-white { background: var(--white); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-bottom: 56px; }
.section-head > div { display: flex; flex-direction: column; gap: 16px; }
.section-head h2 { max-width: 640px; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.1; font-weight: 700; }
.section-head p { max-width: 420px; font-size: 17px; line-height: 1.6; color: var(--body); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; }
.service { padding: 36px; display: flex; flex-direction: column; gap: 20px; transition: transform .2s ease, box-shadow .2s ease; }
.service:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -32px rgba(11, 16, 51, .35); }
.service-icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.service h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.service p { font-size: 16px; line-height: 1.65; color: var(--body); }
.service ul {
  list-style: none; margin: 0; padding: 20px 0 0;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
  font-size: 15px; font-weight: 600;
}

/* ---------- Process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.step { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; border-top: 3px solid var(--c); }
.step > div { display: flex; flex-direction: column; gap: 16px; }
.step-num { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--brand-text); }
.step h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.step p { font-size: 16px; line-height: 1.6; color: var(--body); }

/* ---------- Testimonials ---------- */
.testimonials-track {
  max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; align-items: start;
}
.shot {
  position: relative; display: block; width: 100%; padding: 8px; margin: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 20px 40px -28px rgba(11, 16, 51, .4);
  cursor: zoom-in; transition: transform .2s ease, box-shadow .2s ease;
}
.shot:hover { transform: translateY(-4px); box-shadow: 0 28px 50px -28px rgba(11, 16, 51, .5); }
.shot img { width: 100%; height: auto; aspect-ratio: 600 / 1121; object-fit: cover; border-radius: 14px; }
.shot-low { margin-top: 40px; }
.zoom {
  position: absolute; right: 18px; bottom: 18px; width: 34px; height: 34px; border-radius: 999px;
  background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center;
}
.testimonials-notes {
  margin-top: 56px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 24px;
  font-size: 14px; font-weight: 600; color: var(--muted);
}
.testimonials-notes > span { display: inline-flex; align-items: center; gap: 8px; }
.testimonials-notes .sep { width: 4px; height: 4px; border-radius: 999px; background: #C9CEE4; }
.hint-mobile { display: none; }

/* ---------- Contact ---------- */
.contact-section { padding-bottom: var(--section-y); }
.contact-panel {
  position: relative; overflow: hidden;
  padding: 72px; background: var(--brand); border-radius: 32px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: start;
}
.contact-blob { position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 999px; background: var(--ice); opacity: .22; }
.contact-copy { position: relative; display: flex; flex-direction: column; gap: 24px; color: var(--white); }
.contact-copy h2 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.08; font-weight: 700; }
.contact-copy p { max-width: 440px; font-size: 18px; line-height: 1.6; }
.direct-links { display: flex; flex-direction: column; gap: 14px; padding-top: 16px; }
.direct {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); border-radius: 16px;
  color: var(--white); transition: background-color .15s ease;
}
.direct:hover { background: rgba(255, 255, 255, .22); color: var(--white); }
.direct-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--white); color: var(--brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.direct-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.direct-text small { font-size: 13px; font-weight: 600; color: #E6F8FF; }
.direct-text strong { font-size: 17px; overflow-wrap: anywhere; }

.contact-form {
  position: relative; padding: 40px; background: var(--white); border-radius: 24px;
  display: flex; flex-direction: column; gap: 20px;
  box-shadow: 0 30px 60px -30px rgba(11, 16, 51, .45);
}
.contact-form h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field .label { font-size: 14px; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line-strong); border-radius: 12px;
  font: 400 16px/1.5 var(--font-body); color: var(--ink); background: var(--white);
}
.field input, .field select { height: 50px; padding: 0 16px; }
.field textarea { min-height: 120px; padding: 14px 16px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: transparent; }
.field input[aria-invalid="true"] { border-color: #D93A3A; }

.segmented { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; background: var(--tint); border-radius: 14px; }
.segmented button {
  height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--body);
  font: 600 15px var(--font-body); cursor: pointer; transition: background-color .15s ease;
}
.segmented button[aria-pressed="true"] { background: var(--white); color: var(--ink); font-weight: 700; box-shadow: 0 2px 6px rgba(11, 16, 51, .12); }
.form-error { font-size: 14px; font-weight: 600; color: #C02626; }
.form-hint { font-size: 13px; line-height: 1.5; color: var(--muted); text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C9CEE4; padding: 56px 0; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-logo { height: 60px; width: auto; }
.footer-nav { display: flex; gap: 32px; font-size: 15px; font-weight: 600; }
.footer-nav a { color: #C9CEE4; }
.footer-nav a:hover { color: var(--white); }
.footer-bottom { margin-top: 32px; padding-top: 24px; border-top: 1px solid #262E60; font-size: 14px; color: #A9B0CF; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(11, 16, 51, .92);
  display: flex; align-items: center; justify-content: center; gap: 32px; padding: 24px;
}
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb-figure img { max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); width: auto; max-width: min(520px, calc(100vw - 150px)); border-radius: 16px; box-shadow: 0 30px 60px rgba(0, 0, 0, .4); }
.lb-figure figcaption { font-size: 14px; font-weight: 700; color: #C9CEE4; }
.lb-close, .lb-nav {
  width: 48px; height: 48px; border: 0; border-radius: 999px; padding: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.lb-close { position: absolute; top: 20px; right: 20px; background: var(--white); color: var(--ink); }
.lb-nav { background: rgba(255, 255, 255, .16); color: var(--white); }
.lb-nav:hover { background: rgba(255, 255, 255, .26); }
body.no-scroll { overflow: hidden; }

/* =========================================================
   Responsive
   ========================================================= */

/* Tablet */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { min-height: 0; padding: 24px 0; }
  .services-grid { grid-template-columns: 1fr; max-width: 640px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .contact-panel { grid-template-columns: 1fr; padding: 56px; gap: 40px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }

  .testimonials-track {
    display: flex; gap: 14px; overflow-x: auto;
    scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter);
    padding-top: 4px; padding-bottom: 16px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .testimonials-track::-webkit-scrollbar { display: none; }
  .shot { flex: 0 0 260px; scroll-snap-align: start; }
  .shot-low { margin-top: 0; }
  .testimonials-notes { margin-top: 28px; }
  .hint-desktop { display: none; }
  .hint-mobile { display: inline; }
}

/* Mobile */
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .brand img { height: 44px; }

  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px 20px 24px; background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(11, 16, 51, .3);
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a:not(.btn) {
    display: flex; align-items: center; height: 52px;
    font-size: 17px; font-weight: 700; color: var(--ink);
    border-bottom: 1px solid #EEF1F7;
  }
  .main-nav .btn { height: 52px; margin-top: 12px; border-radius: 14px; font-size: 16px; }

  .hero { padding: 44px 0 56px; }
  .hero-copy { gap: 20px; }
  .badge { font-size: 13px; height: 32px; padding: 0 12px; }
  .lead { font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn { height: 54px; }
  .blob-circle { width: 220px; height: 220px; right: -60px; top: -40px; }
  .blob-square { display: none; }
  .overview-card { padding: 24px; gap: 20px; border-radius: 22px; }
  .overview-stats { gap: 8px; }
  .overview-stats > div { padding: 12px 10px; }

  .platforms-inner { flex-direction: column; align-items: flex-start; gap: 16px; padding-block: 28px; }
  .eyebrow { font-size: 13px; }
  .platform-list { gap: 10px 24px; flex-wrap: wrap; font-size: 18px; }

  .section-head { margin-bottom: 32px; }
  .section-head p { font-size: 16px; }
  .service { padding: 26px; gap: 16px; border-radius: 22px; }
  .service h3 { font-size: 21px; }
  .service p { font-size: 15px; }
  .service ul { font-size: 14px; gap: 8px; padding-top: 16px; }

  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step { flex-direction: row; gap: 16px; padding-top: 0; border-top: 0; }
  .step-num {
    width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px;
    background: var(--c); color: var(--white);
    display: flex; align-items: center; justify-content: center;
  }
  .step:nth-child(2) .step-num, .step:nth-child(3) .step-num { color: #0B5E8A; background: #E8F7FF; }
  .step > div { gap: 6px; }
  .step h3 { font-size: 19px; }
  .step p { font-size: 15px; }

  .shot { flex-basis: 250px; }
  .testimonials-notes { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 13px; }
  .testimonials-notes .sep { display: none; }

  .contact-section .container { padding-inline: 12px; }
  .contact-panel { padding: 36px 16px 16px; border-radius: 26px; gap: 32px; }
  .contact-blob { width: 240px; height: 240px; right: -90px; top: -90px; bottom: auto; }
  .contact-copy { padding: 0 8px; gap: 16px; }
  .contact-copy p { font-size: 16px; }
  .direct { padding: 14px 16px; gap: 14px; }
  .direct-icon { width: 40px; height: 40px; }
  .direct-text strong { font-size: 16px; }
  .contact-form { padding: 24px 20px; border-radius: 20px; gap: 18px; box-shadow: none; }
  .contact-form h3 { font-size: 21px; }
  .field-row { grid-template-columns: 1fr; gap: 18px; }

  .site-footer { padding: 40px 0; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-logo { height: 52px; }
  .footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; width: 100%; }
  .footer-nav a { display: flex; align-items: center; height: 44px; }
  .footer-bottom { font-size: 13px; }

  .lightbox { gap: 8px; padding: 16px 8px; }
  .lb-nav { width: 44px; height: 44px; }
  .lb-figure img { max-width: calc(100vw - 120px); }
}
