/* Mediatop — sample (hero + services). Direction: docs/design-direction.md */

:root {
  --night: #17082A;
  --night-2: #24103D;
  --purple: #3F036C;
  --indigo: #4B0082;
  --violet: #5D21A2;
  --yellow: #F1E200;
  --white: #FFFFFF;
  --text: #C9BEDA;            /* body text on night (8.9:1) */
  --line: rgba(255, 255, 255, .10);
  --line-2: rgba(255, 255, 255, .22);

  --pad: 80px;
  --maxw: 1280px;
  --gap: 24px;
  --section: 112px;

  --ease-ui: cubic-bezier(.2, .8, .2, 1);
  --ease-hero: cubic-bezier(.22, 1, .36, 1);
}
@media (max-width: 1199px) { :root { --pad: 48px; --section: 96px; } }
@media (max-width: 767px)  { :root { --pad: 24px; --gap: 12px; --section: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--night); color: var(--text);
  font-family: "Ubuntu Sans", system-ui, sans-serif; font-size: 17px; line-height: 1.65;
  overflow-x: hidden;
}
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--yellow); color: var(--purple); padding: 8px 16px; font-weight: 800; border-radius: 100px; }
.skip:focus { left: 8px; }

.wrap { width: min(var(--maxw), 100% - 2 * var(--pad)); margin-inline: auto; }

.page { position: relative; isolation: isolate; background: var(--night); }

/* ---------- Type ---------- */
.h-hero {
  color: var(--white); font-weight: 300; font-size: clamp(36px, 4.1vw, 58px); line-height: 1.12;
  letter-spacing: -.02em; margin: 24px 0 24px; max-width: 15em;
}
.h-sec {
  color: var(--white); font-weight: 300; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.18;
  letter-spacing: -.015em; margin-top: 20px; max-width: 15em;
}
.h-hero strong, .h-sec strong { font-weight: 700; color: var(--yellow); }
.h-card { color: var(--white); font-size: 22px; line-height: 1.3; font-weight: 600; margin: 28px 0 12px; }
.lead { font-size: 19px; line-height: 1.6; font-weight: 300; max-width: 37em; }
.muted { color: var(--text); }

/* Eyebrow in a pill with a hairline border */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 12px; border: 1px solid var(--line-2); border-radius: 100px;
  color: var(--white); font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }

/* ---------- Buttons (pill, Artistics shape) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px;
  padding: 8px 28px; border-radius: 100px; border: 1px solid transparent;
  font: inherit; font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: transform 150ms var(--ease-ui), background-color 150ms var(--ease-ui), border-color 150ms var(--ease-ui), color 150ms var(--ease-ui);
}
.btn--yellow { background: var(--yellow); color: var(--purple); padding-right: 8px; }
.btn--line { border-color: var(--line-2); color: var(--white); }
.btn--sm { min-height: 44px; padding: 6px 20px; font-size: 15px; }
.btn-ico {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--purple); color: var(--yellow);
}
.btn-ico svg { width: 18px; height: 18px; transition: transform 180ms var(--ease-ui); }
.btn:active { transform: translateY(1px) scale(.985); transition-duration: 90ms; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; gap: 32px; min-height: 88px; }
.brand img { width: 130px; height: 40px; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 32px; }
.nav a {
  color: var(--white); text-decoration: none; font-weight: 500; font-size: 16px; padding-block: 6px;
  background: linear-gradient(var(--yellow), var(--yellow)) 0 100% / 0 2px no-repeat;
  transition: background-size 260ms var(--ease-ui);
}
.menu { display: none; margin-left: auto; position: relative; }
.menu > summary {
  list-style: none; cursor: pointer; color: var(--white); font-weight: 700;
  width: 48px; height: 48px; display: grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: 50%;
}
.burger { position: relative; display: block; width: 20px; height: 14px; }
.burger i {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform 220ms var(--ease-ui), opacity 160ms var(--ease-ui), top 220ms var(--ease-ui);
}
.burger i:nth-child(1) { top: 0; }
.burger i:nth-child(2) { top: 6px; }
.burger i:nth-child(3) { top: 12px; }
.menu[open] .burger i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu[open] .burger i:nth-child(2) { opacity: 0; }
.menu[open] .burger i:nth-child(3) { top: 6px; transform: rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .burger i { transition: none; } }
.menu > summary::-webkit-details-marker { display: none; }
.menu[open] > summary { border-color: var(--yellow); color: var(--yellow); }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 12px); width: min(320px, calc(100vw - 2 * var(--pad)));
  background: var(--night-2); border: 1px solid var(--line); border-radius: 20px; padding: 16px 24px 24px;
}
.menu-panel a:not(.btn) { display: block; color: var(--white); text-decoration: none; font-size: 18px; font-weight: 500; padding: 10px 0; }
.menu-panel .btn { margin-top: 12px; }
@media (max-width: 1023px) {
  .nav, .head-cta { display: none; }
  .menu { display: block; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow-x: clip; min-height: calc(100svh - 88px); display: flex; align-items: center; padding-block: 24px 72px; }
.hero::before { /* soft grid (MaxReach mood), faded out to the edges */
  content: ""; position: absolute; left: 0; right: 0; top: -88px; bottom: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse 62% 58% at 50% 52%, #000 25%, transparent 78%);
          mask-image: radial-gradient(ellipse 62% 58% at 50% 52%, #000 25%, transparent 78%);
}
.hero-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center;
}
.hero-text { grid-column: 1 / span 7; }
.hero-visual { grid-column: 8 / span 5; position: relative; }
.hero-visual::before { /* soft purple glow behind the photo */
  content: ""; position: absolute; inset: -30%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(93, 33, 162, .55), rgba(75, 0, 130, .22) 55%, transparent);
}

.hero-circle {
  aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 1px solid var(--line-2); outline: 12px solid rgba(255, 255, 255, .04); outline-offset: 0;
  background: var(--night-2);
}
.hero-circle img { width: 100%; height: 100%; object-fit: cover; object-position: 77% 50%; }

.badge {
  position: absolute; display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 20px 8px 8px; border-radius: 100px;
  background: rgba(36, 16, 61, .86); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--white); font-weight: 600; font-size: 15px; white-space: nowrap;
}
.badge--a { top: 9%; left: -12%; }
.badge--b { top: 52%; right: -8%; }
.badge--year {
  bottom: 2%; left: 2%; padding: 14px 20px; border-radius: 20px; gap: 14px;
  background: var(--yellow); border-color: var(--yellow); color: var(--purple); font-size: 14px; line-height: 1.25;
  flex-direction: row-reverse;
}
.badge--year .year { font-size: 36px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }

.ico-circle {
  display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--yellow); color: var(--purple);
}
.ico-circle svg { width: 20px; height: 20px; }
.ico-circle--lg { width: 60px; height: 60px; }
.ico-circle--lg svg { width: 26px; height: 26px; }

/* ---------- Services ---------- */
.section { padding-block: var(--section); }
.svc-head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 24px;
  align-items: end; margin-bottom: 56px;
}
.svc-head > div:first-child { grid-column: 1 / span 7; }
.svc-head-side { grid-column: 9 / span 4; display: grid; gap: 20px; justify-items: start; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.cards > li { display: flex; }
.card {
  display: flex; flex-direction: column; width: 100%;
  padding: 32px 30px 30px; border: 1px solid var(--line); border-radius: 20px;
  background: rgba(255, 255, 255, .02); text-decoration: none;
  transition: transform 120ms var(--ease-ui), border-color 120ms var(--ease-ui), background-color 120ms var(--ease-ui), box-shadow 120ms var(--ease-ui);
}
.card p { flex: 1; }
.card-more {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 28px;
  color: var(--white); font-weight: 700; font-size: 15px;
}
.mini-arr {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line-2); color: var(--yellow);
  transition: background-color 180ms var(--ease-ui), color 180ms var(--ease-ui), border-color 180ms var(--ease-ui);
}
.mini-arr svg { width: 16px; height: 16px; transition: transform 180ms var(--ease-ui); }

/* ---------- Light (white) sections ----------
   Grounds alternate down the page: hero night → white → night → white … */
.g-light { background: var(--white); color: #5E4D72; }
.g-light :focus-visible { outline-color: var(--violet); }
.g-light .h-sec, .g-light .h-card { color: #1E0A36; }
.g-light .muted, .g-light .card p { color: #5E4D72; }
.g-light .pill { color: #1E0A36; border-color: #E3D8EE; }
.g-light .btn--line { border-color: var(--indigo); color: var(--indigo); }
.g-light .card { background: #F5F0FA; border-color: #E3D8EE; }
.g-light .card-more { color: #1E0A36; }
.g-light .mini-arr { border-color: #8A6FA8; color: var(--indigo); }
/* Accent word on white (Nicos chose version B, 2026-12-03): ink, bold, yellow highlighter on the lower half.
   Yellow is never text on white. */
.g-light .h-sec strong {
  color: #1E0A36;
  background: linear-gradient(transparent 55%, var(--yellow) 55%, var(--yellow) 90%, transparent 90%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-inline: .06em;
}


/* ---------- Dark sections (night) ---------- */
.g-dark { background: var(--night); color: var(--text); }

/* ---------- Ποιοι είμαστε: text left, photo right ---------- */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }
.split-text { grid-column: 1 / span 6; display: grid; gap: 20px; justify-items: start; }
.split-text .h-sec { margin-top: 0; }
.split-media { grid-column: 8 / span 5; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.split-media img { width: 100%; height: auto; }
.stats { display: flex; gap: 48px; margin: 12px 0 8px; }
.stats div { display: grid; gap: 4px; padding-left: 20px; border-left: 2px solid var(--yellow); }
.stats dt { order: 2; font-size: 14px; color: var(--text); }
.stats dd { order: 1; margin: 0; color: var(--white); font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }

/* ---------- CTA bar (purple band) ---------- */
.cta-bar { background: var(--purple); color: var(--white); padding-block: 64px; }
.cta-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-bar-text { font-size: clamp(24px, 2.4vw, 32px); font-weight: 300; line-height: 1.3; max-width: 26em; }
.cta-bar-text strong { font-weight: 700; color: var(--yellow); }

/* ---------- Work cards ---------- */
.work-card { padding: 12px 12px 28px; }
.work-media { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; margin-bottom: 20px; background: #E3D8EE; }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease-ui); }
.work-card .work-tag, .work-card .h-card, .work-card > p:last-child { padding-inline: 16px; }
.work-tag { flex: none; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--violet); }
.work-card .h-card { margin: 8px 0 8px; }
.work-card > p:last-child { flex: 1; }

/* ---------- Steps 01–04 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); padding: 0; margin: 0; list-style: none; }
.step { padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 255, 255, .02); }
.step-num { display: block; color: var(--yellow); font-size: 44px; font-weight: 300; line-height: 1; letter-spacing: -.02em; }
.step .h-card { margin: 24px 0 10px; }

/* ---------- FAQ (accordion on <details>, works without JS) ---------- */
.faq-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; align-items: start; }
.faq-head { grid-column: 1 / span 5; display: grid; gap: 20px; justify-items: start; }
.faq-head .h-sec { margin-top: 0; }
.faq { grid-column: 7 / span 6; display: grid; gap: 12px; }
.faq details { background: #F5F0FA; border: 1px solid #E3D8EE; border-radius: 20px; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 24px; color: #1E0A36; font-size: 18px; font-weight: 600; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--yellow); color: var(--purple); font-size: 22px; font-weight: 500; line-height: 1;
  transition: transform 180ms var(--ease-ui);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 24px; color: #5E4D72; }
.link-ink { color: var(--indigo); font-weight: 700; text-underline-offset: 3px; }

/* ---------- Close + footer ---------- */
.close { padding-top: 0; overflow: hidden; }
.marquee { border-block: 1px solid var(--line); padding-block: 28px; overflow: hidden; }
.marquee-track { display: flex; align-items: center; gap: 40px; width: max-content; }
.marquee span { color: var(--white); font-size: clamp(40px, 6vw, 88px); font-weight: 300; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.marquee span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .55); }
.marquee i { font-style: normal; color: var(--yellow); font-size: clamp(24px, 3vw, 44px); }
.close-cta { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 28px; align-items: end; padding-block: 96px 80px; border-bottom: 1px solid var(--line); }
.close-cta > div:first-child { grid-column: 1 / span 7; }
.close-side { grid-column: 8 / span 5; display: grid; gap: 24px; }
.h-close { font-size: clamp(34px, 4vw, 54px); }
.pill--yellow { border-color: var(--yellow); color: var(--yellow); }
.foot { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; padding-block: 64px 48px; }
.foot-brand { grid-column: 1 / span 4; display: grid; gap: 20px; align-content: start; justify-items: start; }
.foot-col { grid-column: span 2; }
.foot-col:nth-of-type(2) { grid-column: span 4; } /* Επικοινωνία column wider */
.foot h3 { color: var(--white); font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.foot ul { display: grid; gap: 10px; }
.foot a, .foot-bottom a { color: var(--text); text-decoration: none; background: linear-gradient(var(--yellow), var(--yellow)) 0 100% / 0 1px no-repeat; transition: background-size 260ms var(--ease-ui), color 150ms var(--ease-ui); }
.foot address { font-style: normal; line-height: 1.75; }
.social { display: flex !important; flex-wrap: wrap; gap: 12px !important; }
.foot .social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--white); background: none; transition: background-color 150ms var(--ease-ui), color 150ms var(--ease-ui), border-color 150ms var(--ease-ui); }
.foot .social a:hover, .foot .social a:focus-visible { background: var(--yellow); border-color: var(--yellow); color: var(--purple); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 24px 40px; border-top: 1px solid var(--line); font-size: 14px; }
.foot-bottom ul { display: flex; gap: 24px; }

/* ---------- Hover (fine pointers only) ---------- */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); }
  .btn:active { transform: translateY(1px) scale(.985); transition-duration: 90ms; }
  .btn:hover .btn-ico svg { transform: translateX(3px); }
  .btn--line:hover { border-color: var(--yellow); color: var(--yellow); }
  .nav a:hover { background-size: 100% 2px; }
  .card:hover { transform: translateY(-2px); border-color: rgba(241, 226, 0, .45); background: rgba(255, 255, 255, .04); transition-duration: 180ms; }
  .card:hover .mini-arr { background: var(--yellow); border-color: var(--yellow); color: var(--purple); }
  .card:hover .mini-arr svg { transform: translateX(3px); }
  .g-light .btn--line:hover { border-color: var(--indigo); color: var(--white); background: var(--indigo); }
  .g-light .card:hover { border-color: #E3D8EE; background: #F5F0FA; box-shadow: 0 1px 2px rgba(30, 10, 54, .05), 0 10px 28px rgba(30, 10, 54, .08); }
  .g-light .card:hover .mini-arr { color: var(--purple); }
  .work-card:hover .work-media img { transform: scale(1.03); transition-duration: 600ms; }
  .foot a:hover, .foot-bottom a:hover { color: var(--white); background-size: 100% 1px; }
  .faq summary:hover { color: var(--indigo); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1279px) {
  .badge--a { left: -6%; }
  .badge--b { right: -4%; }
}
@media (max-width: 1023px) {
  .hero-text { grid-column: 1 / span 7; }
  .hero-visual { grid-column: 8 / span 5; }
  .badge--a { left: -14%; top: 4%; }
  .badge--b { right: -2%; top: 58%; }
  .badge { font-size: 14px; }
  .badge--year .year { font-size: 28px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-head > div:first-child { grid-column: 1 / -1; }
  .svc-head-side { grid-column: 1 / span 8; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-head, .faq { grid-column: 1 / -1; }
  .close-cta > div:first-child, .close-side { grid-column: 1 / -1; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-col, .foot-col:nth-of-type(2) { grid-column: span 4; }
}
@media (max-width: 899px) {
  .hero { padding-block: 24px 64px; }
  .hero-text, .hero-visual { grid-column: 1 / -1; }
  .hero-visual { width: min(440px, 78%); margin: 48px auto 0; }
  .badge--a { left: -16%; }
  .badge--b { right: -14%; }
  .svc-head-side { grid-column: 1 / -1; }
  .split-text, .split-media { grid-column: 1 / -1; }
  .split-media { margin-top: 48px; }
  .cta-bar-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  .site-header .wrap { min-height: 72px; }
  .hero { min-height: calc(100svh - 72px); }
  .brand img { width: 110px; height: auto; }
  .h-hero { font-size: 34px; margin: 20px 0; }
  .lead { font-size: 17px; }
  .btns .btn { width: 100%; justify-content: space-between; }
  .btns .btn--line { justify-content: center; }
  .hero-visual { width: 64%; margin-top: 36px; }
  .pill { font-size: 13px; letter-spacing: .06em; padding: 6px 14px 6px 10px; }
  .h-hero { font-size: 32px; }
  .badge { font-size: 13px; padding: 6px 14px 6px 6px; gap: 8px; }
  .badge .ico-circle { width: 30px; height: 30px; }
  .badge .ico-circle svg { width: 15px; height: 15px; }
  .badge--a { left: -14%; top: 2%; }
  .badge--b { right: -14%; top: 60%; }
  .badge--year { left: -6%; bottom: -2%; padding: 10px 14px; font-size: 13px; }
  .badge--year .year { font-size: 24px; }
  .cards { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .svc-head { margin-bottom: 32px; }
  .steps { grid-template-columns: 1fr; }
  .step { padding: 24px; }
  .stats { gap: 32px; }
  .stats dd { font-size: 36px; }
  .cta-bar { padding-block: 48px; }
  .cta-bar .btn { width: 100%; justify-content: space-between; }
  .faq summary { padding: 18px 20px; font-size: 17px; }
  .faq details p { padding: 0 20px 20px; }
  .close-cta { padding-block: 64px 56px; }
  .foot { padding-block: 48px 32px; }
  .foot-col, .foot-col:nth-of-type(2) { grid-column: 1 / -1; }
}

/* ---------- Motion: hero entrance once on load ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .h-hero .ch { display: inline-block; opacity: 0; transform: translateY(.4em); animation: rise 520ms var(--ease-hero) forwards; animation-delay: calc(var(--i) * 11ms + 80ms); }
  .fade { animation: fadeUp 600ms var(--ease-hero) both; animation-delay: 650ms; }
  .hero-text .pill.fade { animation-delay: 0ms; }
  .hero-circle img { animation: settle 1100ms var(--ease-hero) both; }
  .badge { animation: fadeUp 600ms var(--ease-hero) both, bob 6s ease-in-out 1.2s infinite; }
  .badge--a { animation-delay: 700ms, 1.3s; }
  .badge--b { animation-delay: 820ms, 2.4s; }
  .badge--year { animation-delay: 940ms, 3.1s; }
}
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 40s linear infinite; }
}
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.05); } to { transform: none; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.h-hero .w { display: inline-block; white-space: nowrap; }

/* =====================================================================
   Multi-page components (master v3, 2026-12-04)
   ===================================================================== */

/* ---------- Header: more links + Services dropdown ---------- */
.nav ul { gap: 26px; align-items: center; }
.nav a { font-size: 15px; }
.nav a[aria-current="page"] { background-size: 100% 2px; }
.has-sub { position: relative; }
.has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-3px) rotate(45deg); }
.sub {
  position: absolute; left: -20px; top: 100%; z-index: 20; display: grid !important; gap: 0 !important; min-width: 260px;
  padding: 12px; margin-top: 12px; background: var(--night-2); border: 1px solid var(--line); border-radius: 16px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 150ms var(--ease-ui), transform 150ms var(--ease-ui), visibility 0s linear 150ms;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.sub a { display: block; padding: 10px 12px; border-radius: 10px; background: none; white-space: nowrap; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu-panel .menu-sub a:not(.btn) { font-size: 16px; padding: 7px 0 7px 16px; color: var(--text); }
.menu-panel { max-height: calc(100svh - 110px); overflow-y: auto; }
@media (max-width: 1199px) {
  .nav, .head-cta { display: none; }
  .menu { display: block; }
}

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow-x: clip; padding-block: 40px 96px; }
.page-hero::before {
  content: ""; position: absolute; left: 0; right: 0; top: -88px; bottom: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 40% 50% at 80% 45%, rgba(93, 33, 162, .45), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, #000 30%, transparent 85%);
          mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, #000 30%, transparent 85%);
}
.page-hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 48px; align-items: center; }
.page-hero-text { grid-column: 1 / span 7; }
.page-hero--wide .page-hero-text { grid-column: 1 / span 9; }
.page-hero-media { grid-column: 9 / span 4; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); aspect-ratio: 4 / 5; background: var(--night-2); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .h-hero { max-width: 17em; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; font-size: 14px; color: var(--text); }
.crumbs a { color: var(--text); text-underline-offset: 3px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.hero-note { margin-top: 20px; font-size: 15px; color: var(--text); }

/* ---------- Section heads and text ---------- */
.sec-head { display: grid; gap: 20px; justify-items: start; max-width: 760px; margin-bottom: 48px; }
.sec-head .h-sec { margin-top: 0; }
.sec-head--row { max-width: none; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.sec-head--row > :first-child { grid-column: 1 / span 7; display: grid; gap: 20px; justify-items: start; }
.sec-head--row > :last-child { grid-column: 9 / span 4; }
.text-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.text-block { display: grid; gap: 16px; align-content: start; padding-top: 24px; border-top: 2px solid var(--yellow); }
.text-block .h-card { margin: 0; }
.g-light .text-block { border-top-color: var(--indigo); }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.features > li { display: flex; }
.feature { width: 100%; padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 255, 255, .02); }
.feature .h-card { margin: 20px 0 10px; }
.g-light .feature { background: #F5F0FA; border-color: #E3D8EE; }
.g-light .feature p { color: #5E4D72; }
.feature-num { display: block; color: var(--indigo); font-size: 15px; font-weight: 800; letter-spacing: .1em; }
.g-dark .feature-num { color: var(--yellow); }

/* ---------- Pricing cards ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); align-items: stretch; }
.pricing--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pricing > li { display: flex; }
.price-card {
  position: relative; display: flex; flex-direction: column; width: 100%; padding: 32px 28px 28px;
  border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 255, 255, .03);
}
.price-card.is-featured { border: 2px solid var(--yellow); background: rgba(241, 226, 0, .04); }
.price-flag {
  position: absolute; top: -14px; left: 28px; padding: 4px 14px; border-radius: 100px;
  background: var(--yellow); color: var(--purple); font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.price-name { color: var(--white); font-size: 16px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 16px 0 6px; color: var(--white); }
.price strong { font-size: 48px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.price span { font-size: 15px; color: var(--text); }
.price-vat { font-size: 13px; color: var(--text); }
.price-desc { margin: 20px 0 0; }
.price-list { display: grid; gap: 10px; margin: 24px 0 28px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.5; flex: 1; align-content: start; }
.price-list li { position: relative; padding-left: 28px; }
.price-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%233F036C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.price-list strong { color: var(--white); }
.price-card .btn { justify-content: space-between; }
.price-card .btn--line { justify-content: center; }
.price-small { margin-top: 12px; font-size: 14px; }
.pricing-note { margin-top: 32px; max-width: 880px; font-size: 15px; }
.pricing-note + .pricing-note { margin-top: 12px; }
.cross { margin-top: 24px; font-weight: 600; }
.cross a { color: var(--yellow); text-underline-offset: 3px; }
.g-light .cross a { color: var(--indigo); }

.g-light .price-card { background: #F5F0FA; border-color: #E3D8EE; }
.g-light .price-card.is-featured { border-color: var(--indigo); background: var(--white); box-shadow: 0 1px 2px rgba(30, 10, 54, .06), 0 8px 24px rgba(30, 10, 54, .08); }
.g-light .price-flag { background: var(--indigo); color: var(--white); }
.g-light .price-name, .g-light .price, .g-light .price-list strong { color: #1E0A36; }
.g-light .price span, .g-light .price-vat { color: #5E4D72; }
.g-light .price-list { border-top-color: #E3D8EE; }
.g-light .price-list li::before { background-color: var(--indigo); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23FFFFFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.g-light .btn--yellow { box-shadow: inset 0 0 0 1px rgba(63, 3, 108, .12); }

/* ---------- Comparison table ---------- */
.compare-wrap { margin-top: 56px; }
.compare-wrap .h-card { margin: 0 0 20px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.compare th, .compare td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tr:last-child > * { border-bottom: 0; }
.compare thead th { color: var(--white); font-weight: 800; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; background: rgba(255, 255, 255, .04); }
.compare thead th span { display: block; margin-top: 4px; font-size: 20px; letter-spacing: 0; text-transform: none; font-weight: 700; }
.compare tbody th { color: var(--white); font-weight: 500; width: 36%; }
.compare td { color: var(--text); width: 21%; }
.compare .is-featured { background: rgba(241, 226, 0, .06); }
.compare thead .is-featured { color: var(--yellow); }
.compare-hint { display: none; margin-top: 10px; font-size: 13px; }
.g-light .table-wrap { border-color: #E3D8EE; }
.g-light .compare th, .g-light .compare td { border-bottom-color: #E3D8EE; }
.g-light .compare thead th { color: #1E0A36; background: #F5F0FA; }
.g-light .compare tbody th { color: #1E0A36; }
.g-light .compare td { color: #5E4D72; }
.g-light .compare .is-featured { background: rgba(75, 0, 130, .05); }
.g-light .compare thead .is-featured { color: var(--indigo); }

/* ---------- Offer panel (Online Restart) ---------- */
.offer {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 32px; align-items: center;
  padding: 56px; border-radius: 20px; background: var(--purple); color: #E6DCF2; position: relative; overflow: hidden; isolation: isolate;
}
.offer::before { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; z-index: -1; background: radial-gradient(closest-side, rgba(241, 226, 0, .16), transparent); }
.offer-text { grid-column: 1 / span 7; display: grid; gap: 20px; justify-items: start; }
.offer-text .h-sec { margin-top: 0; color: var(--white); }
.offer-text .h-sec strong { color: var(--yellow); background: none; padding: 0; }
.offer-text .pill { color: var(--white); border-color: rgba(255, 255, 255, .3); }
.offer-price { grid-column: 9 / span 4; display: grid; gap: 20px; justify-items: start; padding-left: 32px; border-left: 1px solid rgba(255, 255, 255, .2); }
.offer-price .price { margin: 0; color: var(--white); }
.offer-price .price span { color: #E6DCF2; }
.offer-price .price strong { font-size: 56px; }
.offer :focus-visible { outline-color: var(--yellow); }
.included { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px var(--gap); }
.included li { position: relative; padding-left: 32px; }
.included li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%233F036C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.offer .included { grid-column: 1 / -1; color: var(--white); }

/* ---------- Mini cards (e-commerce, website care) ---------- */
.mini-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.mini-cards > li { display: flex; }
.mini-card { width: 100%; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 255, 255, .02); display: grid; gap: 10px; align-content: start; }
.mini-card .h-card { margin: 0; }
.mini-price { color: var(--white); font-size: 32px; font-weight: 700; line-height: 1.1; letter-spacing: -.01em; }
.mini-price span { font-size: 15px; font-weight: 400; color: var(--text); letter-spacing: 0; }
.wide-card { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 16px; align-items: center; padding: 36px; margin-bottom: 64px; border: 1px solid var(--line-2); border-radius: 20px; }
.wide-card > div:first-child { grid-column: 1 / span 8; display: grid; gap: 10px; }
.wide-card > div:last-child { grid-column: 9 / span 4; justify-self: end; text-align: right; display: grid; gap: 16px; justify-items: end; }
.wide-card .h-card { margin: 0; }

/* ---------- Home cards: one featured ---------- */
.card.is-featured { border-color: rgba(241, 226, 0, .55); background: rgba(241, 226, 0, .05); }
.card-flag { align-self: flex-start; margin-bottom: 16px; padding: 3px 12px; border-radius: 100px; background: var(--yellow); color: var(--purple); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.card .h-card:first-child, .card .card-flag + .h-card { margin-top: 0; }
.card-icon-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }

/* ---------- Prose (articles, legal) ---------- */
.prose { max-width: 760px; color: #3A2A4F; }
.prose > * + * { margin-top: 20px; }
.prose h2 { color: #1E0A36; font-size: 26px; line-height: 1.25; font-weight: 700; margin-top: 44px; }
.prose h3 { color: #1E0A36; font-size: 20px; line-height: 1.3; font-weight: 600; margin-top: 32px; }
.prose ul { list-style: disc; padding-left: 22px; display: grid; gap: 8px; }
.prose a { color: var(--indigo); font-weight: 600; text-underline-offset: 3px; }
.prose strong { color: #1E0A36; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--text); font-size: 15px; margin-top: 4px; }
.article-cover { max-width: 960px; margin-bottom: 56px; border-radius: 20px; overflow: hidden; border: 1px solid #E3D8EE; }
.article-cover img { width: 100%; height: auto; }
.legal-note { max-width: 760px; margin-bottom: 40px; padding: 20px 24px; border-radius: 10px; background: #F5F0FA; border: 1px solid #E3D8EE; color: #5E4D72; font-size: 15px; }
.post-card { padding: 12px 12px 28px; }
.post-card .work-media { aspect-ratio: 16 / 9; }
.post-card .work-tag, .post-card .h-card, .post-card > p { padding-inline: 16px; }

/* ---------- Our Work ---------- */
.filters { display: none; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.js .filters { display: flex; }
.filter {
  font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; min-height: 44px; padding: 8px 20px; border-radius: 100px;
  border: 1px solid #8A6FA8; background: transparent; color: #1E0A36; transition: background-color 150ms var(--ease-ui), color 150ms var(--ease-ui);
}
.filter[aria-pressed="true"] { background: var(--indigo); border-color: var(--indigo); color: var(--white); }
.project { display: flex; flex-direction: column; width: 100%; padding: 12px 12px 28px; border: 1px solid #E3D8EE; border-radius: 20px; background: #F5F0FA; }
.project .work-tag, .project .h-card, .project-body { padding-inline: 16px; }
.project .h-card { margin: 8px 0 12px; }
.project-body { display: grid; gap: 16px; flex: 1; align-content: space-between; }
.project-list { display: grid; gap: 6px; font-size: 15px; color: #5E4D72; }
.project-list li { padding-left: 16px; position: relative; }
.project-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--indigo); }
.work-link { display: inline-flex; align-items: center; gap: 8px; color: var(--indigo); font-weight: 700; font-size: 15px; text-decoration: none; }
.work-link svg { width: 16px; height: 16px; transition: transform 180ms var(--ease-ui); }
.cards > li[hidden] { display: none; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 48px; align-items: start; }
.contact-info { grid-column: 1 / span 4; display: grid; gap: 28px; }
.contact-info h2 { color: #1E0A36; font-size: 15px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.contact-info address { font-style: normal; }
.contact-info a { color: var(--indigo); font-weight: 600; text-underline-offset: 3px; }
.form { grid-column: 6 / span 7; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px var(--gap); padding: 40px; border-radius: 20px; background: #F5F0FA; border: 1px solid #E3D8EE; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .form legend { color: #1E0A36; font-weight: 600; font-size: 15px; }
.field label span { font-weight: 400; color: #5E4D72; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: #1E0A36; width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid #8A6FA8; border-radius: 4px; background: var(--white);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.check { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: #5E4D72; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--indigo); }
.form-note { grid-column: 1 / -1; font-size: 14px; color: #5E4D72; }
.form-note a { color: var(--indigo); font-weight: 600; }
.form .btn { justify-self: start; border: 0; cursor: pointer; }
.form .btn[disabled] { opacity: .55; cursor: not-allowed; }
.gap { display: inline-block; padding: 2px 8px; border-radius: 4px; background: #FFF6A6; color: #3F036C; font-weight: 700; font-size: 14px; }

@media (hover: hover) and (pointer: fine) {
  .sub a:hover { background: rgba(255, 255, 255, .06); }
  .crumbs a:hover { color: var(--white); }
  .filter:hover { border-color: var(--indigo); }
  .project:hover .work-media img { transform: scale(1.03); transition-duration: 600ms; }
  .work-link:hover svg { transform: translateX(3px); }
  .cross a:hover { text-decoration-thickness: 2px; }
}

@media (max-width: 1279px) {
  .pricing--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .page-hero-text, .page-hero--wide .page-hero-text { grid-column: 1 / span 8; }
  .page-hero-media { grid-column: 9 / span 4; }
  .sec-head--row > :first-child, .sec-head--row > :last-child { grid-column: 1 / -1; }
  .pricing { grid-template-columns: 1fr; max-width: 620px; }
  .pricing--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
  .features, .text-cols, .mini-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer { padding: 40px; }
  .offer-text, .offer-price { grid-column: 1 / -1; }
  .offer-price { padding-left: 0; padding-top: 28px; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .2); }
  .contact-info, .form { grid-column: 1 / -1; }
  .wide-card > div:first-child, .wide-card > div:last-child { grid-column: 1 / -1; justify-self: start; text-align: left; justify-items: start; }
}
@media (max-width: 899px) {
  .page-hero-text, .page-hero--wide .page-hero-text, .page-hero-media { grid-column: 1 / -1; }
  .page-hero-media { width: min(420px, 100%); aspect-ratio: 4 / 3; }
}
@media (max-width: 767px) {
  .page-hero { padding-block: 24px 64px; }
  .sec-head { margin-bottom: 32px; }
  .pricing--4, .features, .text-cols, .mini-cards, .included { grid-template-columns: 1fr; }
  .price-card { padding: 28px 22px 22px; }
  .price strong { font-size: 42px; }
  .offer { padding: 28px 22px; }
  .offer-price .price strong { font-size: 46px; }
  .offer .btn { width: 100%; justify-content: space-between; }
  .price-card .btn { width: 100%; }
  .compare-hint { display: block; }
  .compare th, .compare td { padding: 14px 16px; }
  .compare tbody th { position: sticky; left: 0; background: var(--night); z-index: 1; }
  .g-light .compare tbody th { background: var(--white); }
  .feature, .mini-card { padding: 24px; }
  .wide-card { padding: 24px; }
  .form { grid-template-columns: 1fr; padding: 24px; }
  .form .btn { width: 100%; justify-content: space-between; }
  .prose h2 { font-size: 23px; }
}
.split-text--right { grid-column: 7 / span 6; }
@media (max-width: 899px) { .split-text--right { grid-column: 1 / -1; margin-top: 24px; } }
.price-card .btn { white-space: normal; text-align: left; }

/* 2026-12-04: warm ground, explanation sections, overview cards */
.g-warm { background: var(--warm, #F6F1E9); }
.g-warm .card, .g-warm .price-card { background: #FFFFFF; }
.nowrap { white-space: nowrap; }
.explain-text p { color: #3A2A4F; }
.explain-text .h-card { margin: 12px 0 0; }
.explain-more { margin-top: 48px; }
.text-cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cards--5 > li { grid-column: span 2; }
.cards--5 > li:nth-child(n+4) { grid-column: span 3; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1023px) {
  .cards--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards--5 > li, .cards--5 > li:nth-child(n+4) { grid-column: auto; }
  .cards--5 > li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .cards--5, .cards--2, .text-cols--2 { grid-template-columns: 1fr; }
  .cards--5 > li:last-child { grid-column: auto; }
}
@media (max-width: 479px) { .btn { white-space: normal; text-align: left; } }
@media (max-width: 359px) { .nowrap { white-space: normal; } }

/* Copy master 2027 (2026-12-04) */
.hero-sub { margin-top: 16px; max-width: 560px; color: var(--text); font-size: 17px; line-height: 1.6; }
.stats-caption { margin-top: 4px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; }
.stats { flex-wrap: wrap; }
.foot-slogan { margin-top: 4px; color: var(--yellow); font-weight: 800; letter-spacing: .12em; font-size: 13px; }
.project-body p { color: #5E4D72; }
.g-dark .explain-text p { color: var(--text); }
.g-dark .explain-text .lead { color: var(--white); }
.g-dark .explain-text .stats dt { color: var(--text); }
.explain-text .stats { gap: 28px; flex-wrap: nowrap; }
.explain-text .stats dd { font-size: 38px; }
@media (max-width: 599px) { .explain-text .stats { flex-wrap: wrap; gap: 24px; } }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin-left: auto;
  background: var(--night-2); color: var(--text); border: 1px solid var(--line-2); border-radius: 20px;
  padding: 20px 24px; box-shadow: 0 12px 40px rgba(0,0,0,.35); font-size: 15px; line-height: 1.55;
}
.cookie[hidden] { display: none; }
.cookie a { color: var(--white); }
.cookie-btns { display: flex; gap: 12px; justify-content: flex-end; margin-top: 16px; flex-wrap: wrap; }
.cookie .cookie-yes { padding-right: 20px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; }
