/* =========================================================
   SNR Uzbekistan — design system v2
   Source of truth: the company's own Canva decks.
   · Signature surface: the violet→blue→pink→peach "mesh" from
     SNR Education decks (hero, CTA, feature panels).
   · Logo triangles (cyan / yellow / pink) = accents & markers.
   · Sub-brand surfaces: Education = mesh · After School = amber
     · Kids Lab = light + yellow/teal/pink stripes · EduOS = white
     with orange→pink→violet gradient & glassy depth.
   · Icons: gradient tiles with white compositions (src/icons.svg).
   · Photos: real SNR photos in thick colour frames (as in decks).
   ========================================================= */

:root {
  --ink: #15163a;
  --ink-2: #3a3c63;
  --muted: #6c6f8f;
  --line: #e9e8f3;
  --bg: #ffffff;
  --surface: #f6f5fc;
  --surface-2: #efedfa;

  --navy: #2b2d84;          /* deck navy pills */
  --violet: #7b5cff;
  --blue: #3d7bff;
  --pink: #ff5fb8;
  --peach: #ff9a62;
  --cyan: #00e6f0;          /* logo cyan */
  --yellow: #ffe14a;        /* logo yellow */
  --logo-pink: #ff66c4;
  --amber: #f8a90a;
  --kl-yellow: #f5db6b;
  --kl-teal: #7fe8d8;
  --kl-pink: #ff66c4;
  --os-a: #ffb000; --os-b: #ff5f6d; --os-c: #8b5cf6;

  --mesh:
    radial-gradient(60% 80% at 8% 12%, #7a5cff 0%, transparent 60%),
    radial-gradient(55% 70% at 92% 6%, #3d7bff 0%, transparent 60%),
    radial-gradient(60% 70% at 78% 92%, #ff9a62 0%, transparent 60%),
    radial-gradient(55% 70% at 18% 95%, #ff5fb8 0%, transparent 62%),
    linear-gradient(135deg, #b25cf6 0%, #e165d9 50%, #ff8a8a 100%);
  --amber-mesh:
    radial-gradient(60% 70% at 10% 10%, #ffc83d 0%, transparent 60%),
    radial-gradient(60% 70% at 90% 90%, #f39200 0%, transparent 60%),
    linear-gradient(135deg, #ffb703, #f59e0b);
  --os-grad: linear-gradient(90deg, var(--os-a), var(--os-b) 55%, var(--os-c));

  --radius: 24px;
  --shadow: 0 10px 34px rgba(30, 20, 90, .08);
  --shadow-lg: 0 26px 70px rgba(40, 20, 110, .16);
  --font-display: "Unbounded", "Manrope", system-ui, sans-serif;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: clamp(15px, calc(14px + .24vw), 17px); scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.6; color: var(--ink); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.8vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 999; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }

/* ---------- custom icon tiles ---------- */
.ico {
  --g1: #8f74ff; --g2: #5b3ff0; --acc: var(--yellow); --glow: rgba(91, 63, 240, .45);
  width: 58px; height: 58px; flex: none; border-radius: 18px; position: relative; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--g1), var(--g2));
  color: color-mix(in srgb, var(--g2) 78%, #000);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,.55), inset 0 -10px 18px rgba(0,0,0,.10), 0 12px 24px -10px var(--glow);
  isolation: isolate;
}
.ico::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(120% 70% at 20% 0%, rgba(255,255,255,.45), transparent 55%); z-index: -1; }
.ico svg { width: 64%; height: 64%; filter: drop-shadow(0 2px 2px rgba(0,0,0,.12)); }
.ico.sm { width: 44px; height: 44px; border-radius: 14px; }
.ico.lg { width: 76px; height: 76px; border-radius: 24px; }
.ico.xl { width: 96px; height: 96px; border-radius: 30px; }
.t-violet { --g1: #9d86ff; --g2: #6a4bff; --acc: var(--yellow); --glow: rgba(106,75,255,.45); }
.t-blue   { --g1: #6fa2ff; --g2: #2f68f5; --acc: var(--yellow); --glow: rgba(47,104,245,.45); }
.t-pink   { --g1: #ff8fcf; --g2: #ef3f9b; --acc: var(--yellow); --glow: rgba(239,63,155,.45); }
.t-yellow { --g1: #ffd84a; --g2: #f5a000; --acc: #6a4bff; --glow: rgba(245,160,0,.5); }
.t-teal   { --g1: #5ee9da; --g2: #0fb3a5; --acc: var(--yellow); --glow: rgba(15,179,165,.45); }
.t-orange { --g1: #ffb36b; --g2: #ff6a3d; --acc: var(--yellow); --glow: rgba(255,106,61,.45); }
.t-navy   { --g1: #4a4db8; --g2: #23256f; --acc: var(--cyan); --glow: rgba(35,37,111,.5); }
.t-os     { --g1: #ffb547; --g2: #ff5f6d; --acc: #fff3b0; --glow: rgba(255,95,109,.45); }
.t-glass  { --g1: rgba(255,255,255,.34); --g2: rgba(255,255,255,.14); --acc: var(--yellow); --glow: rgba(0,0,0,.18); color: #3b2a8a; backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.45); }

/* ---------- text accents ---------- */
.hl { --hlc: var(--cyan); background: linear-gradient(transparent 60%, var(--hlc) 60%, var(--hlc) 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .06em; border-radius: 3px; }
.hl-cyan { --hlc: var(--cyan); } .hl-yellow { --hlc: var(--yellow); } .hl-pink { --hlc: rgba(255,102,196,.75); }
.hl-os { background: linear-gradient(transparent 60%, rgba(255,176,0,.55) 60%, rgba(255,95,109,.55) 92%, transparent 92%); }
.grad-text { background: var(--os-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.y { color: var(--yellow); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 22px; flex: none; background: url("../logos/triangles.png") center / contain no-repeat; }
.on-dark .eyebrow, .mesh .eyebrow, .amber .eyebrow { color: rgba(255,255,255,.85); }
.section-head { max-width: 780px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.mesh .section-head p, .amber .section-head p, .on-dark .section-head p { color: rgba(255,255,255,.86); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 999px; border: 2px solid transparent; font-weight: 800; font-size: 1rem; line-height: 1; transition: transform .2s, box-shadow .2s, background .2s, color .2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 10px 24px -8px rgba(43,45,132,.6); }
.btn-navy:hover { box-shadow: 0 14px 28px -8px rgba(43,45,132,.75); }
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(240,190,0,.8); }
.btn-white { background: #fff; color: var(--ink); }
.btn-pink { background: var(--logo-pink); color: #fff; }
.btn-os { background: var(--os-grad); color: #fff; box-shadow: 0 12px 26px -10px rgba(255,95,109,.7); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-sm { padding: 11px 18px; font-size: .92rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- topbar + header ---------- */
.topbar { background: var(--navy); color: #d9dafb; font-size: .84rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 0; }
.topbar a:hover { color: #fff; }
.topbar-links { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.topbar-links small { opacity: .7; margin-right: 6px; }
.topbar-msg b { color: var(--yellow); }
.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 .container { display: flex; align-items: center; gap: 24px; height: 78px; }
.logo img { height: 54px; width: auto; }
.nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.nav > a, .nav-dd > button { padding: 10px 13px; border-radius: 999px; font-weight: 700; font-size: .95rem; background: none; border: 0; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.nav > a:hover, .nav-dd > button:hover { background: var(--surface); }
.nav > a.active { background: var(--surface-2); color: var(--navy); }
.nav-dd { position: relative; }
.nav-dd > button svg { width: 16px; height: 16px; transition: transform .2s; }
.nav-dd:hover > button svg, .nav-dd.open > button svg { transform: rotate(180deg); }
.dd-panel { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px); width: 600px; background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; opacity: 0; visibility: hidden; transition: .18s; }
.dd-panel::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.nav-dd:hover .dd-panel, .nav-dd.open .dd-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dd-item { display: flex; gap: 12px; padding: 12px; border-radius: 14px; align-items: center; }
.dd-item:hover { background: var(--surface); }
.dd-item b { display: block; font-size: .95rem; }
.dd-item span.d { font-size: .82rem; color: var(--muted); line-height: 1.35; display: block; }
.dd-item .ico { width: 44px; height: 44px; border-radius: 14px; }
.header-cta { display: flex; gap: 10px; align-items: center; }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; }
.burger svg { width: 22px; height: 22px; }
.mobile-nav { position: fixed; inset: 0; z-index: 100; background: #fff; padding: 20px 16px 32px; overflow-y: auto; transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; gap: 4px; }
.mobile-nav.open { transform: none; }
.mobile-nav .mn-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.mobile-nav .mn-top img { height: 42px; }
.mobile-nav a.mn-link { padding: 13px 6px; font-size: 1.1rem; font-weight: 700; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mobile-nav a.mn-link .ico { width: 36px; height: 36px; border-radius: 11px; }
.mobile-nav a.mn-link span { flex: 1; }
.mobile-nav .mn-sub { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 800; margin: 16px 6px 2px; }
.mobile-nav .btn { margin-top: 14px; }

/* ---------- surfaces ---------- */
section { position: relative; }
section.mesh, section.amber, section.navy { overflow: hidden; }
html, body { overflow-x: clip; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.bg-surface { background: var(--surface); }
.mesh { background: var(--mesh); color: #fff; }
.amber { background: var(--amber-mesh); color: #fff; }
.navy { background: var(--navy); color: #fff; }
.on-dark { color: #fff; }
.mesh h1, .mesh h2, .amber h1, .amber h2, .navy h2 { color: #fff; }
.mesh-card { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); border-radius: 22px; backdrop-filter: blur(10px); }
.noise::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E"); }

/* decorative logo triangles */
.tri { position: absolute; width: 90px; aspect-ratio: 1; pointer-events: none; z-index: 0; }
.tri::before { content: ""; position: absolute; inset: 0; background: center / contain no-repeat; }
.tri-c::before { background-image: url("../logos/tri-cyan.png"); } .tri-y::before { background-image: url("../logos/tri-yellow.png"); } .tri-p::before { background-image: url("../logos/tri-pink.png"); }
.drift { animation: drift 22s linear infinite; }
@keyframes drift { from { transform: rotate(0); } to { transform: rotate(360deg); } }

/* ---------- HERO (home) ---------- */
.hero { padding: 64px 0 120px; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.02fr .98fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 7px; border-radius: 999px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.4); font-weight: 700; font-size: .9rem; margin-bottom: 22px; backdrop-filter: blur(6px); }
.hero-badge span { white-space: nowrap; background: var(--yellow); color: var(--ink); border-radius: 999px; padding: 4px 10px; font-size: .78rem; font-weight: 800; }
.hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); }
.hero h1 .y { color: var(--yellow); }
.hero p.lead { font-size: 1.2rem; max-width: 560px; margin-bottom: 30px; color: rgba(255,255,255,.92); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.seg-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.seg-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.38); font-weight: 700; font-size: .88rem; transition: .2s; }
.seg-pill:hover { background: #fff; color: var(--ink); }
.seg-pill b { font-size: .7rem; letter-spacing: .06em; background: var(--navy); color: #fff; padding: 3px 7px; border-radius: 999px; }

/* framed photo collage (deck: photos in thick coloured rounded frames) */
.collage { position: relative; height: 560px; }
.frame { position: absolute; border-radius: 30px; overflow: hidden; border: 7px solid var(--fc, #fff); box-shadow: var(--shadow-lg); background: #fff; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame.f-c { --fc: var(--cyan); } .frame.f-y { --fc: var(--yellow); } .frame.f-p { --fc: var(--logo-pink); } .frame.f-w { --fc: #fff; }
.collage .fr1 { left: 0; top: 30px; width: 54%; height: 300px; transform: rotate(-3deg); }
.collage .fr2 { right: 0; top: 0; width: 42%; height: 360px; transform: rotate(3deg); }
.collage .fr3 { left: 14%; bottom: 0; width: 46%; height: 220px; transform: rotate(2deg); }
.collage .fr4 { right: 4%; bottom: 20px; width: 38%; height: 170px; transform: rotate(-4deg); }
.chip-float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; background: #fff; color: var(--ink); border-radius: 18px; padding: 12px 16px 12px 12px; box-shadow: var(--shadow-lg); font-weight: 800; font-size: .92rem; animation: bob 6s ease-in-out infinite; }
.chip-float small { display: block; font-weight: 600; color: var(--muted); font-size: .76rem; }
.chip-float .ico { width: 42px; height: 42px; border-radius: 13px; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- stat blocks (deck-style colour tiles) ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: -64px; position: relative; z-index: 3; }
.stat { border-radius: 22px; padding: 22px 22px 20px; color: #fff; box-shadow: var(--shadow); min-height: 128px; display: flex; flex-direction: column; justify-content: space-between; }
.stat b { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1; }
.stat span { font-weight: 700; font-size: .95rem; opacity: .95; }
.s-blue { background: linear-gradient(140deg, #6aa8ff, #3d7bff); }
.s-orange { background: linear-gradient(140deg, #ffb36b, #ff7a3d); }
.s-pink { background: linear-gradient(140deg, #ff7ec7, #f03d9a); }
.s-navy { background: linear-gradient(140deg, #3b3fa8, #23256f); }
.s-yellow { background: linear-gradient(140deg, #ffe46b, #ffc400); color: var(--ink); }
.s-white { background: #fff; color: var(--ink); border: 1px solid var(--line); }

/* ---------- ecosystem map ---------- */
.eco-map { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.eco-hub { grid-column: 1 / -1; justify-self: center; background: #fff; border-radius: 28px; padding: 22px 34px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 22px; margin-bottom: 44px; position: relative; }
.eco-hub img { height: 70px; width: auto; }
.eco-hub p { margin: 0; max-width: 300px; font-weight: 600; color: var(--muted); font-size: .95rem; }
.eco-lines { position: absolute; left: 0; right: 0; top: 112px; height: 50px; pointer-events: none; }
.eco-node { background: #fff; border-radius: 24px; padding: 22px 20px 20px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; transition: .25s; position: relative; overflow: hidden; }
.eco-node:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.eco-node .seg { position: absolute; top: 16px; right: 16px; font-size: .7rem; font-weight: 800; letter-spacing: .06em; padding: 4px 9px; border-radius: 999px; background: var(--surface-2); color: var(--navy); }
.eco-node img.lg { height: 52px; width: auto; object-fit: contain; object-position: left; align-self: flex-start; margin: 4px 0 4px; }
.eco-node p { margin: 0; color: var(--muted); font-size: .93rem; flex: 1; }
.eco-node .link-arrow { font-size: .9rem; }
.eco-node::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--bar, var(--violet)); }

/* ---------- audience routes ---------- */
.routes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.route { border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 12px; min-height: 270px; position: relative; overflow: hidden; transition: .25s; border: 1px solid var(--line); background: #fff; }
.route:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.route h3 { margin: 4px 0 0; }
.route p { margin: 0; color: var(--muted); font-size: .95rem; flex: 1; }
.route .who { font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- generic feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards.c2 { grid-template-columns: repeat(2, 1fr); } .cards.c4 { grid-template-columns: repeat(4, 1fr); } .cards.c6 { grid-template-columns: repeat(6, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.card h3 { margin: 4px 0 0; font-size: 1.12rem; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.bg-surface .card { border-color: transparent; }
.mesh .card { background: rgba(255,255,255,.95); color: var(--ink); border: 0; }
.card.row { flex-direction: row; align-items: flex-start; gap: 16px; }
.card .tag { align-self: flex-start; font-size: .74rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--navy); }

/* Juventus Academy football card */
.juventus-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  align-items: center !important;
  gap: 14px;
  padding: 18px;
  border: 1px solid #dce9df;
  background: linear-gradient(118deg, #fff 0%, #f5faf6 62%, #e9f4ec 100%);
  box-shadow: inset 4px 0 0 #21834a;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.juventus-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: -18px;
  width: 112px;
  height: 100%;
  opacity: .14;
  background:
    linear-gradient(90deg, transparent 49%, #338554 49% 50%, transparent 50%),
    radial-gradient(circle at 50% 50%, transparent 20px, #338554 21px 22px, transparent 23px),
    linear-gradient(#338554, #338554) center / 100% 1px no-repeat;
  mask-image: linear-gradient(90deg, transparent, #000 42%);
  pointer-events: none;
}
.juventus-card:hover {
  transform: translateY(-3px);
  border-color: #b7d8c1;
  box-shadow: 0 12px 26px rgba(24, 91, 48, .1), inset 4px 0 0 #21834a;
}
.juventus-card__logo {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  padding: 3px;
  border: 1px solid #e6e8e6;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(20, 36, 25, .08);
}
.juventus-card__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.juventus-card__copy {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  gap: 5px;
}
.juventus-card__copy .juventus-card__kicker {
  color: #287949;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.3;
  text-transform: uppercase;
}
.juventus-card__copy h3 { margin: 0; font-size: 1.02rem; }
.juventus-card__copy p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: #56645a;
  font-size: .82rem;
  line-height: 1.45;
}
.juventus-card--detail .juventus-card__copy p {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
}
/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.rev > :first-child { order: 2; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checks li::before { content: ""; width: 22px; height: 22px; flex: none; margin-top: 2px; border-radius: 7px; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffe14a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.mesh .checks li::before, .amber .checks li::before { background-color: rgba(255,255,255,.25); }

/* ---------- trajectory table ---------- */
.traj-wrap { overflow-x: auto; overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; border-radius: 24px; box-shadow: var(--shadow); background: #fff; }
.traj { width: 100%; min-width: 980px; border-collapse: separate; border-spacing: 0; font-size: .86rem; }
.traj th { padding: 14px 12px; font-weight: 800; color: #fff; text-align: left; font-size: .82rem; }
.traj thead th:first-child { background: var(--navy); border-top-left-radius: 24px; }
.traj thead th:nth-child(2) { background: #ff6aa2; } .traj thead th:nth-child(3) { background: #ffb02e; }
.traj thead th:nth-child(4) { background: #ff8a3d; } .traj thead th:nth-child(5) { background: #a35cff; }
.traj thead th:nth-child(6) { background: #3d7bff; border-top-right-radius: 24px; }
.traj td { padding: 12px; vertical-align: top; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.traj td:first-child { border-left: 0; font-weight: 800; white-space: nowrap; }
.traj td:first-child .cell-dir { display: flex; align-items: center; gap: 10px; }
.traj td:first-child .ico { width: 34px; height: 34px; border-radius: 10px; }
.traj .mod { display: block; background: var(--surface); border-radius: 10px; padding: 8px 10px; }
.traj .mod b { display: block; font-size: .8rem; }
.traj .mod span { color: var(--muted); font-size: .76rem; line-height: 1.35; display: block; }
.traj tfoot td { background: #fff7fb; font-size: .8rem; color: var(--ink-2); font-weight: 600; }

/* methodology strip */
.method { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; counter-reset: m; }
.method div { position: relative; padding: 18px 14px; border-radius: 18px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); text-align: center; }
.method div .ico { margin: 0 auto 10px; }
.method div b { display: block; font-family: var(--font-display); letter-spacing: .06em; font-size: .9rem; }
.method div span { font-size: .8rem; opacity: .9; }
.method div:not(:last-child)::after { content: ""; position: absolute; right: -9px; top: 50%; width: 8px; height: 12px; transform: translateY(-50%); background: var(--yellow); clip-path: polygon(0 0, 100% 50%, 0 100%); z-index: 2; }

/* ---------- comparison table ---------- */
.cmp-wrap { overflow-x: auto; overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; border-radius: 24px; box-shadow: var(--shadow); background: #fff; }
.cmp { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .93rem; }
.cmp th, .cmp td { padding: 16px 14px; text-align: center; border-bottom: 1px solid var(--line); }
.cmp th { font-size: .82rem; color: var(--muted); font-weight: 800; }
.cmp td:first-child, .cmp th:first-child { text-align: left; font-weight: 700; color: var(--ink); }
.cmp .us { background: linear-gradient(180deg, #f2edff, #fff4fb); }
.cmp th.us { color: var(--navy); font-size: .95rem; }
.cmp .yes, .cmp .no, .cmp .part { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; font-weight: 900; font-size: .9rem; }
.cmp .yes { background: #dcfce7; color: #15803d; } .cmp .no { background: #fee2e2; color: #dc2626; } .cmp .part { background: #fef3c7; color: #b45309; }
.cmp .txt { font-size: .82rem; color: var(--muted); font-weight: 700; }

/* ---------- packages ---------- */
.packs { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 16px; row-gap: 32px; padding-top: 16px; align-items: stretch; }
.pack { background: #fff; border-radius: 22px; display: flex; flex-direction: column; box-shadow: var(--shadow); position: relative; }
.pack-head { padding: 18px 20px 16px; color: #fff; border-radius: 22px 22px 0 0; }
.pack-head b { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; letter-spacing: .02em; display: block; }
.pack-head span { font-weight: 700; font-size: .88rem; opacity: .92; }
.pack-for { padding: 10px 20px; font-size: .8rem; font-weight: 800; background: var(--surface); color: var(--ink-2); }
.pack ul { list-style: none; margin: 0; padding: 16px 20px 20px; display: grid; gap: 8px; flex: 1; font-size: .9rem; }
.pack li { display: flex; gap: 8px; align-items: flex-start; }
.pack li::before { content: ""; width: 9px; height: 10px; flex: none; margin-top: 6px; background: var(--pc); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.pack-foot { padding: 0 20px 20px; }
.pack-foot .btn { width: 100%; }
.pack:has(.rec) .pack-head { padding-top: 40px; }
.pack .rec { position: absolute; top: 12px; left: 20px; background: #fff; color: var(--ink); font-size: .7rem; font-weight: 800; padding: 4px 9px; border-radius: 999px; }
.pack .pack-audience { position: absolute; z-index: 2; top: -16px; right: 12px; left: auto; transform: none; max-width: calc(100% - 24px); padding: 6px 12px; border: 1px solid var(--pc); border-radius: 999px; background: #fff; color: var(--pc); box-shadow: 0 4px 14px rgba(24, 28, 63, .12); font-size: .68rem; font-weight: 800; line-height: 1.2; text-align: center; }
.p-yellow { --pc: #f5b400; } .p-yellow .pack-head { background: linear-gradient(135deg, #ffd84a, #f5b400); color: var(--ink); }
.p-blue { --pc: #3d7bff; } .p-blue .pack-head { background: linear-gradient(135deg, #6aa8ff, #2f68f5); }
.p-pink { --pc: #ef3f9b; } .p-pink .pack-head { background: linear-gradient(135deg, #ff8fcf, #ef3f9b); }
.p-orange { --pc: #ff6a3d; } .p-orange .pack-head { background: linear-gradient(135deg, #ffb36b, #ff6a3d); }
.p-red { --pc: #ef3b3b; } .p-red .pack-head { background: linear-gradient(135deg, #ff7a7a, #e62e2e); }
.p-violet { --pc: #6a4bff; } .p-violet .pack-head { background: linear-gradient(135deg, #9d86ff, #6a4bff); }
.p-green { --pc: #3fae2a; } .p-green .pack-head { background: linear-gradient(135deg, #8bd65a, #3fae2a); }
.pack .price { padding: 0 20px 6px; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }
.pack .price small { display: block; font-family: var(--font); font-size: .78rem; color: var(--muted); font-weight: 700; }

/* perks (discounts & bonuses) */
.perks { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; }
.perk { border-radius: 24px; padding: 26px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; }
.perk .big { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; }
.perk h3 { margin: 0; }
.perk p { margin: 0; color: var(--muted); font-size: .95rem; }
.perk.feature { background: var(--mesh); color: #fff; border: 0; }
.perk.feature p { color: rgba(255,255,255,.9); }
.perk.feature .big { color: var(--yellow); }

/* coin visual */
.coin-vis { display: flex; align-items: center; gap: 14px; background: #fff; color: var(--ink); border-radius: 18px; padding: 14px 16px; margin-top: auto; }
.coin-vis .eq { font-weight: 800; }
.coin-vis .eq small { display: block; color: var(--muted); font-weight: 600; font-size: .78rem; }

/* ---------- process timeline ---------- */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; }
.flow::before { content: ""; position: absolute; left: 6%; right: 6%; top: 38px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--cyan), var(--yellow), var(--logo-pink), var(--violet)); }
.flow-step { position: relative; text-align: center; padding: 0 6px; }
.flow-step .ico { margin: 0 auto 16px; width: 76px; height: 76px; border-radius: 24px; border: 5px solid #fff; box-sizing: content-box; }
.flow-step b { display: block; font-family: var(--font-display); font-size: 1rem; margin-bottom: 6px; }
.flow-step p { color: var(--muted); font-size: .9rem; margin: 0; }
.mesh .flow-step p { color: rgba(255,255,255,.88); }

/* ---------- photo grid with coloured frames ---------- */
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: end; }
.gallery figure { margin: 0; }
.gallery .frame { position: relative; height: 340px; }
.gallery figure:nth-child(even) .frame { height: 280px; }
.gallery figcaption { text-align: center; font-size: .86rem; color: var(--muted); font-style: italic; margin-top: 10px; line-height: 1.35; }
.photo-mosaic { display: grid; grid-template-columns: 2fr 1fr; grid-auto-rows: 170px; gap: 10px; }
.photo-mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.photo-mosaic .w2 { grid-column: span 1; }

/* ---------- logos ---------- */
.logo-wall { max-width: 1040px; margin-inline: auto; background: #fff; border-radius: 28px; padding: 18px; box-shadow: var(--shadow); }
.logo-wall img { width: 100%; border-radius: 16px; }
.accr { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; }
.accr img { height: 64px; width: auto; border-radius: 14px; background: #fff; padding: 6px 12px; box-shadow: var(--shadow); }
.rating { display: inline-flex; align-items: center; gap: 14px; background: #fff; color: var(--ink); border-radius: 18px; padding: 14px 20px; box-shadow: var(--shadow); font-weight: 800; }
.rating .stars { color: #f5b301; letter-spacing: 2px; font-size: 1.1rem; }
.rating small { display: block; color: var(--muted); font-weight: 600; }

/* ---------- founders ---------- */
.founders { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; }
.founder { background: #fff; border-radius: 26px; overflow: hidden; color: var(--ink); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; }
.founder .ph { aspect-ratio: 1 / 1; overflow: hidden; position: relative; }
.founder .ph img { width: 100%; height: 100%; object-fit: cover; }
.founder .ph .role { position: absolute; left: 14px; bottom: 14px; background: var(--navy); color: #fff; font-weight: 800; font-size: .78rem; padding: 6px 12px; border-radius: 999px; }
.founder .bd { padding: 20px 22px 24px; }
.founder h3 { margin: 0 0 6px; }
.founder p { margin: 0; color: var(--muted); font-size: .93rem; }
.founder:first-child .ph { aspect-ratio: 1 / .92; }

/* ---------- device mockup panels (EduOS) ---------- */
.os-hero { background:
  radial-gradient(50% 60% at 85% 20%, rgba(255,95,109,.18), transparent 70%),
  radial-gradient(45% 55% at 10% 80%, rgba(139,92,246,.16), transparent 70%),
  radial-gradient(40% 50% at 60% 100%, rgba(255,176,0,.18), transparent 70%), #fff; }
.os-hero .container { display: grid; grid-template-columns: .95fr 1.05fr; gap: 40px; align-items: center; }
.os-shot { border-radius: 28px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); }
.os-shot img { width: 100%; }
.os-shot.bare { box-shadow: none; background: transparent; border-radius: 0; }
.os-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.os-kpi { background: #fff; border-radius: 20px; padding: 18px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; }
.os-kpi b { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1; display: block; }
.os-kpi span { font-size: .8rem; color: var(--muted); font-weight: 700; line-height: 1.3; }
.chaos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.chaos div { background: #fff; border-radius: 16px; padding: 14px 10px; text-align: center; border: 1px solid var(--line); }
.chaos div b { display: block; font-size: .92rem; }
.chaos div span { font-size: .76rem; color: var(--muted); }
.banner-os { background: var(--os-grad); color: #fff; border-radius: 22px; padding: 18px 24px; display: flex; gap: 14px; align-items: center; font-weight: 800; font-size: 1.05rem; }
.module-list { display: grid; gap: 10px; margin: 18px 0 24px; }
.module-list > div, .module-list > a > div { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 16px; padding: 10px 14px; border: 1px solid var(--line); }
.module-list .ico { width: 40px; height: 40px; border-radius: 12px; }
.module-list b { display: block; font-size: .95rem; }
.module-list span { color: var(--muted); font-size: .84rem; }
.soon { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: #fff1e6; color: #c2410c; }

/* EduOS price cards */
.os-price { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.op { background: #fff; border-radius: 26px; padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; border: 2px solid transparent; position: relative; }
.op.feat { border-color: transparent; background: linear-gradient(#fff, #fff) padding-box, var(--os-grad) border-box; border: 2px solid transparent; }
.op h3 { margin: 0; font-size: 1.3rem; } .op h3 span { color: var(--os-b); }
.op .for { color: var(--muted); font-weight: 700; font-size: .9rem; margin: 0; }
.op .yr { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; line-height: 1; }
.op .yr small { font-size: .9rem; color: var(--muted); font-weight: 700; font-family: var(--font); }
.op .q { font-weight: 700; color: var(--ink-2); font-size: .9rem; }
.op table { width: 100%; font-size: .86rem; border-collapse: collapse; margin-top: 6px; }
.op td { padding: 8px 0; border-top: 1px dashed var(--line); }
.op td:last-child { text-align: right; font-weight: 800; }
.op .btn { width: 100%; justify-content: center; margin-top: auto; }
.op .lic { background: #fff4e5; border-radius: 12px; padding: 10px 12px; font-weight: 800; font-size: .88rem; color: #b45309; }

/* roadmap */
.roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.rm { border-radius: 22px; padding: 22px; background: #fff; border: 1px solid var(--line); }
.rm .v { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; }
.rm .when { font-size: .78rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.rm ul { margin: 10px 0 0; padding-left: 18px; font-size: .9rem; color: var(--ink-2); }
.rm.now { background: var(--os-grad); color: #fff; border: 0; } .rm.now .when, .rm.now ul { color: rgba(255,255,255,.92); }

/* ---------- Kids Lab ---------- */
.kl-hero { background: linear-gradient(180deg, #f3f4f8, #fff); overflow: hidden; }
.kl-stripes { display: grid; grid-template-rows: repeat(3, 1fr); width: 14px; height: 54px; border-radius: 3px; overflow: hidden; }
.kl-stripes i { display: block; } .kl-stripes i:nth-child(1) { background: var(--kl-yellow); } .kl-stripes i:nth-child(2) { background: var(--kl-teal); } .kl-stripes i:nth-child(3) { background: var(--kl-pink); }
.kl-words { display: grid; gap: 4px; font-style: italic; font-size: 1.4rem; color: var(--ink-2); }
.kl-dirs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kl-dir { border-radius: 22px; padding: 20px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.kl-dir .age { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; }
.kl-dir p { margin: 0; color: var(--muted); font-size: .9rem; }
.kl-dir.soon { background: repeating-linear-gradient(135deg, #fafafa 0 12px, #f3f3f7 12px 24px); }
.kl-packs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.mega-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.mega { border-radius: 24px; overflow: hidden; display: grid; grid-template-columns: 180px 1fr; box-shadow: var(--shadow); background: #fff; }
.mega .side { display: grid; place-items: center; text-align: center; padding: 18px; color: #fff; }
.mega .side b { font-family: var(--font-display); font-size: 1.9rem; font-weight: 900; display: block; line-height: 1; }
.mega .side b[class~="text-[26px]"] { font-size: 26px; }
.mega .side small { font-weight: 700; }
.mega .body { padding: 20px 22px; }
.mega .body h3 { margin: 0 0 6px; font-size: 1.1rem; }
.mega .body ul { margin: 0 0 10px; padding-left: 18px; color: var(--ink-2); font-size: .9rem; }
.mega .body .p { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; }
.mega.blue .side { background: linear-gradient(140deg, #6aa8ff, #2f68f5); }
.mega.sun .side { background: linear-gradient(140deg, #ffe46b, #f5b400); color: var(--ink); }

/* ---------- After School ---------- */
.as-hero { background: var(--amber-mesh); color: #fff; overflow: hidden; }
.as-hero h1 { color: #fff; }
.price-tag { display: inline-flex; flex-direction: column; background: #fff; color: var(--ink); border-radius: 22px; padding: 18px 22px; box-shadow: var(--shadow-lg); }
.price-tag b { font-family: var(--font-display); font-size: 2rem; font-weight: 800; line-height: 1.1; }
.price-tag small { color: var(--muted); font-weight: 700; }
.terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.terms.t4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1140px) { .terms.t4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .terms.t4 { grid-template-columns: 1fr; } }
.term { border-radius: 24px; padding: 24px; background: rgba(255,255,255,.95); color: var(--ink); }
.term .big { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: #e08600; line-height: 1; }
.resp { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.resp > div { border-radius: 24px; padding: 24px; background: #fff; border: 1px solid var(--line); }
.resp h3 { display: flex; gap: 12px; align-items: center; }

/* ---------- programs catalog ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip { padding: 10px 18px; border-radius: 999px; border: 2px solid var(--line); background: #fff; font-weight: 800; font-size: .9rem; color: var(--ink); transition: .15s; }
.chip:hover { border-color: var(--navy); }
.chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.prog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prog { border-radius: 26px; background: #fff; border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: .22s; }
.prog:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.prog.hidden { display: none; }
.prog-top { padding: 22px 22px 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.prog-age { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1; text-align: right; }
.prog-age small { display: block; font-family: var(--font); font-size: .74rem; color: var(--muted); font-weight: 700; }
.prog-body { padding: 16px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.prog-body .track { font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.prog-body h3 { margin: 0; }
.prog-body p { color: var(--muted); margin: 0; font-size: .95rem; }
.prog-tools { display: flex; flex-wrap: wrap; gap: 6px; }
.prog-tools span { font-size: .76rem; font-weight: 800; background: var(--surface); padding: 4px 10px; border-radius: 999px; }
.prog-goal { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .86rem; color: var(--ink-2); font-weight: 600; }
.prog-goal b { color: var(--navy); }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; transition: .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 800; font-size: 1.04rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 30px; height: 30px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; flex: none; transition: .2s; }
.faq summary .pm svg { width: 18px; height: 18px; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--yellow); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- CTA + forms ---------- */
.cta-band { border-radius: 36px; padding: 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; position: relative; overflow: hidden; }
.cta-band.mesh, .cta-band.amber { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); }
.cta-band .tri-a { right: -30px; top: -34px; width: 150px; transform: rotate(160deg); }
.cta-band .tri-b { left: 40%; bottom: -46px; width: 110px; transform: rotate(-40deg); }
.form { background: #fff; color: var(--ink); border-radius: 26px; padding: 28px; display: grid; gap: 14px; position: relative; z-index: 1; box-shadow: var(--shadow-lg); }
.form h3 { margin: 0 0 2px; }
.form label { font-size: .82rem; font-weight: 800; display: grid; gap: 6px; }
.form input, .form select, .form textarea { font: inherit; font-weight: 600; padding: 13px 15px; border-radius: 14px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--navy); background: #fff; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .seg { display: flex; gap: 6px; flex-wrap: wrap; }
.form .seg label { display: block; }
.form .seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.form .seg span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 2px solid var(--line); font-size: .85rem; cursor: pointer; }
.form .seg input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.form .seg input:focus-visible + span { outline: 3px solid var(--cyan); }
.form .note { font-size: .78rem; color: var(--muted); font-weight: 600; margin: 0; }
.form .btn { width: 100%; }
.form-ok { display: none; text-align: center; padding: 30px 10px; }
.form-ok .ico { margin: 0 auto 14px; }
.form.sent > :not(.form-ok) { display: none; }
.form.sent .form-ok { display: block; }

/* ---------- inner page hero ---------- */
.page-hero { padding: 60px 0 76px; position: relative; overflow: hidden; }
.page-hero .container { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.page-hero .brand-logo { height: 86px; width: auto; margin-bottom: 24px; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.7rem); }
.page-hero p.lead { font-size: 1.15rem; max-width: 600px; }
.mesh.page-hero p.lead { color: rgba(255,255,255,.92); }
.crumbs { font-size: .84rem; font-weight: 700; margin-bottom: 18px; display: flex; gap: 8px; opacity: .8; }
.audience-tag { display: inline-flex; gap: 8px; align-items: center; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.4); font-weight: 800; font-size: .84rem; margin-bottom: 18px; }
.light .audience-tag { background: #fff; border-color: var(--line); }
.decree { display: flex; gap: 14px; align-items: flex-start; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); border-radius: 18px; padding: 14px 16px; font-size: .86rem; font-weight: 600; max-width: 600px; }

/* contacts */
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.office { border-radius: 26px; padding: 26px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.office .top { display: flex; gap: 14px; align-items: center; }
.office h3 { margin: 0; }
.office .row { display: flex; gap: 12px; align-items: center; font-weight: 700; }
.office .row svg { width: 20px; height: 20px; color: var(--navy); flex: none; }
.office .row a:hover { color: var(--navy); text-decoration: underline; }
.map { border-radius: 26px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/7; background: var(--surface); }
.map iframe { width: 100%; height: 100%; border: 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.socials-row { display: flex; gap: 10px; flex-wrap: wrap; }
.soc { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-weight: 800; }
.soc svg { width: 20px; height: 20px; }
.soc:hover { border-color: var(--navy); }

/* footer */
.footer { background: var(--navy); color: #cfd1f7; padding: 72px 0 28px; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 32px; }
.footer img.f-logo { height: 66px; width: auto; margin-bottom: 18px; }
.footer h4 { font-family: var(--font); color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .95rem; }
.footer ul small { display: block; opacity: .7; font-size: .78rem; }
.footer a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.1); display: grid; place-items: center; transition: .2s; }
.socials a:hover { background: var(--yellow); color: var(--ink); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; }
.footer .tri-f { right: -40px; bottom: -40px; width: 200px; opacity: .16; transform: rotate(200deg); }

.fab { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.fab a { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-lg); transition: .2s; }
.fab a:hover { transform: scale(1.08); }
.fab svg { width: 26px; height: 26px; }
.fab .tg { background: #229ed9; color: #fff; }
.fab .call { background: var(--yellow); color: var(--ink); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1140px) {
  .nav, .topbar-msg { display: none; }
  .burger { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .eco-map { grid-template-columns: repeat(3, 1fr); }
  .eco-lines { display: none; }
  .routes, .cards.c4, .packs, .os-kpis, .roadmap, .kl-dirs { grid-template-columns: repeat(2, 1fr); }
  .cards.c6, .chaos { grid-template-columns: repeat(3, 1fr); }
  .kl-packs { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .method { grid-template-columns: repeat(3, 1fr); }
  .method div:nth-child(3)::after { display: none; }
}
@media (max-width: 900px) {
  body { font-size: 1rem; }
  .section { padding: 72px 0; }
  .hero .container, .page-hero .container, .os-hero .container, .split, .cta-band, .contact-grid, .offices { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .collage { height: 460px; max-width: 560px; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .cards, .prog-grid, .os-price, .founders, .perks, .terms, .resp { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 28px; } .flow::before { display: none; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .mega-row { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 28px; }
}
@media (max-width: 640px) {
  .topbar { display: none; }
  .header .container { height: 66px; }
  .logo img { height: 42px; }
  .header-cta .btn { display: none; }
  .hero { padding: 36px 0 100px; }
  .collage { height: 380px; }
  .collage .fr1 { height: 210px; } .collage .fr2 { height: 250px; } .collage .fr3 { height: 150px; } .collage .fr4 { height: 120px; }
  .chip-float { font-size: .8rem; padding: 9px 12px 9px 9px; } .chip-float .ico { width: 34px; height: 34px; }
  .eco-map, .routes, .cards, .cards.c2, .cards.c4, .packs, .prog-grid, .os-price, .founders, .perks, .terms, .resp, .roadmap, .kl-dirs, .kl-packs, .os-kpis { grid-template-columns: 1fr; }
  .cards.c6, .chaos { grid-template-columns: 1fr 1fr; }
  .eco-hub { flex-direction: column; text-align: center; padding: 20px; }
  .method { grid-template-columns: 1fr 1fr; } .method div::after { display: none; }
  .flow { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; } .gallery .frame, .gallery figure:nth-child(even) .frame { height: 240px; }
  .mega { grid-template-columns: 1fr; }
  .form .row2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 30px 18px; border-radius: 26px; }
  .form { padding: 20px; }
  .page-hero .brand-logo { height: 64px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .page-hero .tri, .hero .tri { display: none; }
  .stat-row { margin-top: -50px; }
}

/* ---------- v1-style light hero (home) ---------- */
.hero-light { background: #fff; color: var(--ink); padding: 64px 0 96px; overflow: hidden; }
.hero-light .hero-badge { background: var(--surface); border: 0; color: var(--ink); backdrop-filter: none; }
.hero-light .hero-badge span { background: var(--ink); color: var(--yellow); }
.hero-light p.lead { color: var(--ink-2); }
.hero-light .tri { opacity: 1; }
.age-picker { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: var(--shadow); max-width: 560px; }
.age-picker-label { font-weight: 800; font-size: .95rem; margin-bottom: 12px; }
.age-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.age-chip { border: 2px solid var(--line); border-radius: 14px; padding: 12px 8px; text-align: center; font-weight: 800; transition: .18s; background: #fff; font-family: var(--font-display); }
.age-chip small { display: block; font-family: var(--font); font-weight: 600; color: var(--muted); font-size: .74rem; margin-top: 2px; }
.age-chip:hover { border-color: var(--ink); transform: translateY(-2px); }
.age-chip:nth-child(1):hover { background: #fff9cc; } .age-chip:nth-child(2):hover { background: #e0fcff; } .age-chip:nth-child(3):hover { background: #ffe6f5; } .age-chip:nth-child(4):hover { background: var(--surface); }
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--ink); color: #fff; border-radius: var(--radius); padding: 32px 20px; }
.stats-bar > div { text-align: center; padding: 4px 12px; border-right: 1px solid rgba(255,255,255,.12); }
.stats-bar > div:last-child { border-right: 0; }
.stats-bar b { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 2.6rem); display: block; line-height: 1.1; }
.stats-bar > div:nth-child(1) b { color: var(--cyan); } .stats-bar > div:nth-child(2) b { color: var(--yellow); } .stats-bar > div:nth-child(3) b { color: var(--logo-pink); }
.stats-bar span { color: #b9bacb; font-size: .95rem; }
.ink-band { background: var(--ink); color: #fff; }
.ink-band h2 { color: #fff; }
.ink-band .card, .ink-band .form, .ink-band .stat.s-white, .amber .card, .mesh .card, .amber .banner-os { color: var(--ink); }

/* partner logos */
.logo-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); display: grid; gap: 14px; }
.logo-track { display: flex; gap: 14px; width: max-content; animation: marquee 48s linear infinite; }
.logo-track.rev { animation-direction: reverse; animation-duration: 54s; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.plogo { width: 180px; height: 96px; flex: none; background: #fff; border: 1px solid var(--line); border-radius: 18px; display: grid; place-items: center; padding: 14px 18px; }
.plogo img { width: auto; height: auto; max-width: 100%; max-height: 64px; object-fit: contain; }
.hero-light h1 { font-size: clamp(2rem, 3.5vw, 3.05rem); }
.partners-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.partners-grid .plogo { width: auto; }
@media (max-width: 900px) { .partners-grid { grid-template-columns: repeat(3, 1fr); } .age-chips { grid-template-columns: 1fr 1fr; } .stats-bar { grid-template-columns: 1fr 1fr; row-gap: 22px; } .stats-bar > div:nth-child(2) { border-right: 0; } }
@media (max-width: 640px) { .partners-grid { grid-template-columns: 1fr 1fr; } .plogo { width: 140px; height: 80px; } .plogo img { max-height: 52px; } .partners-grid .plogo { width: auto; } }

/* accreditations */
.accr-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; max-width: 1040px; margin-inline: auto; }
.accr-item { margin: 0; text-align: center; }
.accr-item .plogo { width: 100%; height: 110px; }
.accr-item .plogo img { max-height: 76px; }
.accr-item figcaption { margin-top: 8px; font-size: .8rem; font-weight: 700; color: var(--muted); }
@media (max-width: 900px) { .accr-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .accr-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- fluid device layouts ---------- */
@media (max-width: 900px) {
  /* The home hero grid is inline in its markup, so explicitly replace its desktop columns. */
  .hero-light > .container {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: clamp(24px, 4vw, 36px) !important;
  }
  .hero-light .collage { width: min(100%, 560px); margin-inline: auto; }
  .hero-light .container > *, .hero .container > *, .page-hero .container > *,
  .os-hero .container > *, .cards > *, .os-price > *, .footer-grid > *,
  .contact-grid > * { min-width: 0; }
  .fab { display: none; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 4.5rem; }
  body { font-size: 1rem; }
  .container { width: min(100% - 24px, var(--container)); }
  .section { padding: 54px 0; }
  .section-sm { padding: 40px 0; }
  .section-head { margin-bottom: 28px; }
  .section-head p { font-size: 1rem; }

  h1, .hero h1, .page-hero h1 { font-size: clamp(1.9rem, 7.4vw, 2.45rem); }
  h2 { font-size: clamp(1.55rem, 5.8vw, 2.1rem); }
  .hero-light { padding: 32px 0 48px; }
  .hero-light > .container { gap: 24px !important; }
  .hero-light h1 { font-size: clamp(1.8rem, 8vw, 2.25rem); }
  .hero-light .tri, .hero-light .chip-float { display: none; }
  .hero-light .collage { height: clamp(240px, 72vw, 320px); margin-top: 8px; }
  .collage .frame { border-width: 5px; border-radius: 22px; }
  .hero { padding: 32px 0 64px; }
  .page-hero { padding: 36px 0 48px; }
  .page-hero .brand-logo { height: clamp(52px, 13vw, 64px); margin-bottom: 16px; }
  .page-hero p.lead { font-size: 1rem; }

  .btn { min-height: 46px; padding: 13px 16px; font-size: .94rem; line-height: 1.2; white-space: normal; }
  .btn-sm { min-height: 42px; padding: 10px 14px; }
  .hero-actions .btn { width: 100%; }
  .age-picker { padding: 14px; }
  .age-chip { padding: 10px 6px; font-size: .9rem; }
  .card, .route, .perk, .office, .op { padding: 20px; }
  .juventus-card { gap: 12px; padding: 16px; }
  .juventus-card__logo { width: 60px; height: 60px; flex-basis: 60px; }
  .juventus-card__copy h3 { font-size: .98rem; }
  .cta-band { padding: 26px 16px; }
  .form { padding: 18px; }

}

@media (max-width: 360px) {
  .container { width: min(100% - 20px, var(--container)); }
  .card, .route, .perk, .office, .op { padding: 16px; }
  .age-picker { padding: 12px; }
  .hero-badge { gap: 8px; padding-right: 10px; font-size: .82rem; }
}

/* lead form states */
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.field-err { color: #d92d4f; font-weight: 700; font-size: .78rem; }
.form [aria-invalid="true"] { border-color: #ff5f7a; background: #fff5f7; }
.form-status { margin: 0; font-size: .86rem; font-weight: 700; }
.form-status.error { color: #d92d4f; background: #fff1f4; border-radius: 12px; padding: 10px 12px; }
.form .checks-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.form .checks-grid label { display: block; }
.form .checks-grid input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.form .checks-grid span { display: inline-block; padding: 8px 12px; border-radius: 999px; border: 2px solid var(--line); font-size: .82rem; cursor: pointer; font-weight: 700; }
.form .checks-grid input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.form .checks-grid input:focus-visible + span { outline: 3px solid var(--cyan); }
.form .opt { color: var(--muted); font-weight: 600; }
.btn .spin { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; display: inline-block; animation: spin .8s linear infinite; margin-right: 4px; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn:disabled { opacity: .75; cursor: progress; transform: none; }
.form-ok .btn { width: auto; margin-top: 10px; }
.form-ok .ok-tg { display: none; } .form.sent-tg .form-ok .ok-crm { display: none; } .form.sent-tg .form-ok .ok-tg { display: block; }
