/* Andy Popescu — v2: jurnal auto. Folie iridescentă (albastru care trece în piersică și roz), cerneală, plăcuțe AXL. */

:root {
  --paper: #eef0f4;
  --paper-2: #e2e6ee;
  --card: #f8f9fc;
  --ink: #0d0f14;
  --ink-2: #262a33;
  --muted: #5d6472;
  --line: rgba(13, 15, 20, .14);
  --line-2: rgba(13, 15, 20, .28);
  --accent: #1a7cff;
  --accent-ink: #0a5bd8;
  --peach: #ff8f66;
  /* folia: albastru electric care trece în piersică și roz, ca în lumină */
  --holo: linear-gradient(115deg, #1257ff 0%, #22a6ff 24%, #8fd8ff 36%, #ff9a73 50%, #ff6fa5 62%, #3ab4ff 80%, #1257ff 100%);
  /* varianta deschisă: text închis deasupra (butoane) */
  --holo-light: linear-gradient(115deg, #5fb4ff 0%, #9fdcff 28%, #ffc0a3 50%, #ff9fc4 64%, #8fd0ff 82%, #5fb4ff 100%);
  /* varianta închisă: text alb deasupra (fundaluri mari) */
  --holo-deep: linear-gradient(120deg, #0b3fe0 0%, #1a73ff 26%, #2ea6ff 42%, #ff7f5c 60%, #e9507e 74%, #1a5cff 100%);
  --asphalt: #0b0d12;
  --asphalt-2: #161a22;
  --on-dark: #eef0f4;
  --on-dark-muted: #9aa3b2;
  --line-dark: rgba(238, 240, 244, .14);
  --eu: #1d4fb8;

  --display: "Archivo", system-ui, sans-serif;
  --body: "Archivo", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; font-variation-settings: "wdth" 100; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 14px; background: var(--ink); color: var(--paper); }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- type ---------- */
.display { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 125; text-transform: uppercase; letter-spacing: -.015em; line-height: .92; }
.h1 { font-size: clamp(42px, 6.4vw, 108px); line-height: 1.02; }
.h2 { font-size: clamp(32px, 5vw, 68px); line-height: 1.06; }
.h3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.05; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); max-width: 56ch; }
.mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: .02em; text-transform: uppercase; }
.muted { color: var(--muted); }
.holo { color: var(--accent); background: var(--holo); background-size: 170% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: holo-shift 9s ease-in-out infinite alternate; }
.holo .ch, .holo .w { -webkit-text-fill-color: transparent; }
@keyframes holo-shift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--accent); }

/* ---------- plăcuța de înmatriculare ---------- */
.plate { display: inline-flex; align-items: stretch; height: 30px; border: 2px solid var(--ink); border-radius: 5px; background: #fff; color: var(--ink); font-family: var(--display); font-variation-settings: "wdth" 110; font-weight: 800; font-size: 15px; letter-spacing: .06em; line-height: 1; overflow: hidden; white-space: nowrap; }
.plate::before { content: "RO"; display: grid; place-items: end center; width: 18px; padding-bottom: 3px; background: var(--eu); color: #fff; font-size: 8px; letter-spacing: 0; font-variation-settings: "wdth" 100; }
.plate span { display: grid; place-items: center; padding: 0 9px 0 8px; }
.plate.lg { height: 46px; font-size: 24px; border-width: 3px; border-radius: 7px; }
.plate.lg::before { width: 26px; font-size: 11px; padding-bottom: 5px; }

/* ---------- butoane ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 15px; border: 2px solid var(--ink); background: var(--ink); color: var(--paper); transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); white-space: nowrap; }
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn.holo { background: var(--holo-light); background-size: 250% 100%; border-color: transparent; color: var(--ink); -webkit-text-fill-color: currentColor; animation: none; transition: background-position .6s var(--ease), transform .2s, box-shadow .3s; }
.btn.holo:hover { background-position: 100% 50%; box-shadow: 0 10px 30px rgba(34, 166, 255, .35); }

.btn.sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.on-dark .btn.ghost { color: var(--on-dark); border-color: var(--on-dark); }
.on-dark .btn.ghost:hover { background: var(--on-dark); color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.link-arrow:hover { color: var(--accent-ink); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(241, 238, 232, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand b { white-space: nowrap; font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 125; font-size: 18px; letter-spacing: -.01em; text-transform: uppercase; }
.nav { display: flex; gap: 4px; }
.nav a { white-space: nowrap; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: background .2s; }
.nav a:hover { background: var(--paper-2); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); place-items: center; }
.burger i { display: block; width: 18px; height: 2px; background: var(--ink); box-shadow: 0 6px 0 var(--ink), 0 -6px 0 var(--ink); }
.mobile-nav { display: none; }

@media (max-width: 1100px) { .header-cta { display: none; } }
@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: grid; }
  .mobile-nav { position: fixed; inset: var(--header-h) 0 0; z-index: 49; background: var(--paper); padding: 24px var(--gutter); display: flex; flex-direction: column; gap: 4px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
  .mobile-nav a { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 125; text-transform: uppercase; font-size: 30px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .mobile-nav .btn { margin-top: 18px; font-family: var(--body); font-size: 15px; text-transform: none; font-variation-settings: "wdth" 100; padding: 0 22px; border-bottom: 2px solid var(--accent); }
  .menu-open .mobile-nav { opacity: 1; transform: none; visibility: visible; }
  .menu-open { overflow: hidden; }
}

/* ---------- secțiuni ---------- */
.section { padding: clamp(56px, 7vw, 104px) 0; }
.section.tight { padding: clamp(40px, 5vw, 72px) 0; }
.section + .section:not(.dark):not(.alt) { border-top: 1px solid var(--line); }
.dark { background: var(--asphalt); color: var(--on-dark); }
.dark .muted, .dark .lead { color: var(--on-dark-muted); }
.dark .kicker { color: var(--on-dark-muted); }
.alt { background: var(--paper-2); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 3.6vw, 48px); }
.sec-head .display { margin-top: 14px; }
.sec-head .lead { margin-top: 16px; }

/* ---------- hero (prima pagină) ---------- */
.hero { padding: clamp(28px, 4vw, 56px) 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 { margin-top: 18px; }
.hero h1 .holo { display: block; }
.hero .lead { margin-top: 22px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-feature { position: relative; }
.hero-feature .tag { position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; gap: 8px; align-items: center; padding: 7px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }
.hero-feature .tag i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }

.stats { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: clamp(40px, 5vw, 64px); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.stat { padding: 18px 16px 18px 0; }
.stat + .stat { padding-left: 16px; border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 120; font-size: clamp(24px, 2.6vw, 36px); line-height: 1; letter-spacing: -.01em; }
.stat span { display: block; margin-top: 6px; font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(n) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .stat:nth-child(even) { border-left: 1px solid var(--line); padding-left: 16px; }
  .stat:nth-child(-n+2) { border-top: 0; }
}

/* ---------- video ---------- */
.video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--asphalt); color: #fff; cursor: pointer; }
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.video:hover img { transform: scale(1.035); }
.video .play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: transform .3s var(--ease); }
.video .play svg { width: 24px; height: 24px; fill: currentColor; stroke: none; margin-left: 3px; }
.video:hover .play { transform: scale(1.08); }
.video .dur { position: absolute; right: 10px; bottom: 10px; padding: 3px 7px; border-radius: 5px; background: rgba(0, 0, 0, .78); font-family: var(--mono); font-size: 12px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video.lg .play { width: 84px; height: 84px; }
.video.lg .play svg { width: 30px; height: 30px; }

.feature-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 14px; }
.feature-meta h2 { font-size: clamp(19px, 1.8vw, 24px); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-2); font-weight: 600; font-size: 14.5px; transition: background .2s, border-color .2s, color .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip small { margin-left: 4px; font-family: var(--mono); font-size: 11px; opacity: .6; }

.ep-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px) clamp(16px, 2vw, 28px); }
.ep { display: flex; flex-direction: column; }
.ep[hidden] { display: none; }
.ep .video { border-radius: 10px; }
.ep .video .play { width: 52px; height: 52px; opacity: 0; transform: scale(.85); transition: opacity .25s, transform .3s var(--ease); }
.ep:hover .video .play, .ep .video:focus-visible .play { opacity: 1; transform: none; }
.ep h3 { margin-top: 12px; font-size: 17.5px; font-weight: 700; line-height: 1.25; letter-spacing: -.005em; }
.ep .meta { display: flex; gap: 12px; margin-top: 6px; font-family: var(--mono); font-size: 12px; color: var(--muted); text-transform: uppercase; }
.ep .meta .cat { color: var(--accent-ink); }
.ep-more { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: clamp(32px, 4vw, 48px); }
@media (max-width: 900px) { .ep-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ep-grid { grid-template-columns: 1fr; } .ep .video .play { opacity: 1; transform: none; } }

/* clasice: listă numerotată */
.classics { counter-reset: c; border-top: 2px solid var(--on-dark); }
.classic { counter-increment: c; display: grid; grid-template-columns: 64px 200px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.classic::before { content: counter(c, decimal-leading-zero); font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 125; font-size: 34px; color: var(--accent); line-height: 1; }
.classic .video { border-radius: 8px; }
.classic .video .play { width: 40px; height: 40px; }
.classic .video .play svg { width: 16px; height: 16px; }
.classic h3 { font-size: clamp(18px, 1.8vw, 24px); font-weight: 800; line-height: 1.15; }
.classic .yr { margin-top: 6px; color: var(--on-dark-muted); }
.classic .views { text-align: right; }
.classic .views b { display: block; font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 120; font-size: clamp(22px, 2.4vw, 34px); line-height: 1; }
.classic .views span { color: var(--on-dark-muted); }
@media (max-width: 760px) {
  .classic { grid-template-columns: 40px 120px minmax(0, 1fr); gap: 14px; }
  .classic::before { font-size: 22px; }
  .classic .views { grid-column: 3; text-align: left; margin-top: -6px; }
  .classic .views b { display: inline; font-size: 18px; margin-right: 6px; }
}

/* ---------- garaj (supercar) ---------- */
.garage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.car { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: var(--asphalt-2); border: 1px solid var(--line-dark); transition: transform .35s var(--ease), border-color .25s; }
.car:hover { transform: translateY(-4px); border-color: rgba(26, 124, 255, .6); }
.car-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.car-img img { width: 100%; height: 100%; object-fit: cover; }
.car-img .plate { position: absolute; left: 14px; bottom: 14px; }
.car-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.car-body h3 { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 125; text-transform: uppercase; font-size: 24px; line-height: 1; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.specs div { padding-top: 12px; }
.specs div + div { padding-left: 12px; border-left: 1px solid var(--line-dark); }
.specs b { display: block; white-space: nowrap; font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 115; font-size: 20px; line-height: 1.05; }
.specs span { display: block; margin-top: 4px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; color: var(--on-dark-muted); }
.car-body .note { color: var(--on-dark-muted); font-size: 15px; }
.car-body .btn { margin-top: auto; }
@media (max-width: 900px) { .garage { grid-template-columns: 1fr; } .car { flex-direction: row; } .car-img { width: 42%; aspect-ratio: auto; } }
@media (max-width: 560px) { .car { flex-direction: column; } .car-img { width: 100%; aspect-ratio: 16 / 10; } }

/* light variant pentru pagina supercar */
.light .car { background: var(--card); border-color: var(--line); color: var(--ink); }
.light .car:hover { border-color: var(--accent); }
.light .specs { border-color: var(--line); }
.light .specs div + div { border-color: var(--line); }
.light .specs span, .light .car-body .note { color: var(--muted); }
.price s { color: var(--muted); font-weight: 600; margin-right: 6px; }

/* ---------- despre ---------- */
.about { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.about-photo { position: relative; }
.about-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.about-photo figcaption { margin-top: 10px; }
.about-photo .plate { position: absolute; right: -10px; top: 24px; rotate: 4deg; box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.about-text p + p { margin-top: 16px; }
.about-text .lead { color: var(--ink); font-size: clamp(19px, 1.8vw, 24px); line-height: 1.4; font-weight: 500; max-width: none; }
.timeline { margin-top: 36px; border-top: 2px solid var(--ink); }
.timeline li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.timeline b { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 125; font-size: 22px; line-height: 1.1; }
.timeline span { color: var(--ink-2); }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .about-photo { max-width: 460px; } }
@media (max-width: 520px) { .timeline li { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; } .timeline b { font-size: 18px; } }

/* ---------- carduri generice ---------- */
.cards { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.card { display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 2.4vw, 28px); border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.card h3 { font-size: 21px; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
.card p { color: var(--ink-2); }
.card .btn, .card .link-arrow { margin-top: auto; align-self: flex-start; }
.card.ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.card.ink p { color: var(--on-dark-muted); }
.card.holo { background: var(--holo-deep); background-size: 200% 200%; color: #fff; border-color: transparent; -webkit-text-fill-color: currentColor; animation: holo-shift 12s ease-in-out infinite alternate; }
.card.holo p { color: rgba(255, 255, 255, .88); }
.card .big { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 125; font-size: clamp(30px, 3.4vw, 44px); line-height: 1; text-transform: uppercase; }
.card .code { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 8px 12px; border: 2px dashed currentColor; border-radius: 10px; font-family: var(--mono); font-weight: 700; font-size: 16px; letter-spacing: .08em; }
.card img.logo { height: 28px; width: auto; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(min(var(--cols, 3), 2), minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* interviuri: rând orizontal */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
@media (max-width: 560px) { .rail { grid-auto-columns: 82%; } }

/* social */
.social { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.social a { display: flex; flex-direction: column; gap: 6px; padding: 22px 18px 22px 0; border-bottom: 1px solid var(--line); transition: color .2s; }
.social a + a { padding-left: 18px; border-left: 1px solid var(--line); }
.social a:hover { color: var(--accent-ink); }
.social b { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 120; font-size: clamp(26px, 3vw, 40px); line-height: 1; }
.social .net { display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.social .handle { font-family: var(--mono); font-size: 12px; color: var(--muted); }
@media (max-width: 760px) { .social { grid-template-columns: repeat(2, minmax(0, 1fr)); } .social a:nth-child(3) { border-left: 0; padding-left: 0; } }

/* ---------- pagini interioare ---------- */
.page-head { padding: clamp(36px, 5vw, 72px) 0 clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.crumbs { display: flex; gap: 8px; align-items: center; font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.page-head h1 { margin-top: 18px; }
.page-head .lead { margin-top: 20px; }
.page-head .hero-ctas { margin-top: 26px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: s; border-top: 2px solid var(--ink); }
.steps li { counter-increment: s; padding: 20px 20px 20px 0; }
.steps li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 125; font-size: 34px; color: var(--accent); line-height: 1; margin-bottom: 14px; }
.steps b { display: block; font-size: 18px; }
.steps span { display: block; margin-top: 6px; color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps li:nth-child(3) { border-left: 0; padding-left: 0; } .steps li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .steps li:nth-child(n) { border-left: 0; padding-left: 0; } .steps li + li { border-top: 1px solid var(--line); } }

.table-wrap { overflow-x: auto; border-top: 2px solid var(--ink); }
.compare { width: 100%; min-width: 620px; border-collapse: collapse; }
.compare th, .compare td { padding: 14px 12px 14px 0; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 120; text-transform: uppercase; font-size: 18px; }
.compare tbody th { font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: var(--muted); font-weight: 500; width: 150px; }

.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band .display { max-width: 16ch; }

/* contact */
.contact-list { border-top: 2px solid var(--ink); }
.contact-list a, .contact-list div { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-list a:hover b { color: var(--accent-ink); }
.contact-list .mono { color: var(--muted); }
.contact-list b { font-size: clamp(18px, 2vw, 24px); font-weight: 800; letter-spacing: -.01em; overflow-wrap: anywhere; }
.contact-list p { color: var(--muted); font-size: 15px; grid-column: 2; margin-top: -10px; }
@media (max-width: 640px) { .contact-list a, .contact-list div { grid-template-columns: minmax(0, 1fr) auto; } .contact-list .mono { grid-column: 1 / -1; } .contact-list p { grid-column: 1 / -1; margin-top: -8px; } }

/* legal */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.legal-nav { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.legal-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.legal-nav a[aria-current="page"] { color: var(--accent-ink); }
.prose { max-width: 72ch; color: var(--ink-2); font-size: 16px; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose h2, .prose h3 { margin: 1.6em 0 .6em; color: var(--ink); font-size: 20px; line-height: 1.2; }
.prose a { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
@media (max-width: 900px) { .legal { grid-template-columns: 1fr; } .legal-nav { position: static; } }

/* ---------- footer ---------- */
.site-footer { background: var(--asphalt); color: var(--on-dark); padding: clamp(48px, 6vw, 80px) 0 28px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-top h4 { font-family: var(--mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--on-dark-muted); margin-bottom: 14px; }
.footer-top nav a { display: block; padding: 5px 0; font-size: 15px; }
.footer-top nav a:hover { color: var(--accent); }
.footer-brand .display { font-size: clamp(30px, 3.4vw, 46px); }
.footer-brand p { margin-top: 14px; color: var(--on-dark-muted); max-width: 36ch; font-size: 15px; }
.footer-brand .plate { margin-top: 20px; }
.anpc { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.anpc img { height: 40px; width: auto; border-radius: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: 13px; color: var(--on-dark-muted); }
.footer-bottom a:hover { color: var(--on-dark); }
@media (max-width: 900px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }

/* ---------- modal video ---------- */
.player { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: var(--gutter); background: rgba(10, 10, 10, .88); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.player.open { opacity: 1; visibility: visible; }
.player-box { width: min(1100px, 100%); }
.player-box .video { cursor: default; border-radius: 12px; }
.player-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 12px; color: var(--on-dark); }
.player-bar h2 { font-size: 17px; font-weight: 700; line-height: 1.25; }
.player-close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--on-dark); color: var(--on-dark); flex: none; }
.player-close:hover { background: var(--accent); border-color: var(--accent); }

/* ---------- apariție la scroll ---------- */
.js [data-in] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-in].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-in] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; }
}

/* ---------- showroom 3D (pagina supercar) ---------- */
.sr-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; border: 1.5px solid var(--line-2); }
.seg button { min-height: 40px; padding: 0 16px; border-radius: 999px; font-weight: 700; font-size: 14.5px; color: var(--muted); transition: background .2s, color .2s; }
.seg button:hover { color: var(--ink); }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.sr-stage { position: relative; height: clamp(320px, 38vw, 520px); border-radius: 18px; overflow: hidden; isolation: isolate; background: radial-gradient(120% 90% at 50% 100%, #3a3733 0%, #1c1b1a 45%, #0f0f0f 100%); }
.sr-stage canvas { width: 100%; height: 100%; cursor: grab; touch-action: pan-y; opacity: 0; transition: opacity .8s; }
.sr-stage canvas:active { cursor: grabbing; }
.sr-stage.has-car canvas { opacity: 1; }
.sr-stage:fullscreen { height: 100%; border-radius: 0; }
.sr-stage:fullscreen canvas { touch-action: none; }
.sr-load { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 24px; text-align: center; font-size: 14px; color: var(--on-dark-muted); pointer-events: none; transition: opacity .4s; }
.sr-load b { color: var(--on-dark); }
.sr-stage.has-car .sr-load { background: rgba(15, 15, 15, .55); }
.sr-stage:not(.loading) .sr-load { opacity: 0; }
.sr-meter { width: 180px; height: 3px; border-radius: 999px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.sr-meter i { display: block; width: calc(var(--p, 0) * 100%); height: 100%; background: var(--accent); transition: width .2s; }
.sr-stage.failed .sr-meter { display: none; }
.sr-hint { position: absolute; left: 50%; bottom: 14px; translate: -50% 0; padding: 7px 13px; border-radius: 999px; background: rgba(15, 15, 15, .65); color: var(--on-dark); font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; pointer-events: none; transition: opacity .4s; }
.sr-stage.touched .sr-hint, .sr-stage:not(.has-car) .sr-hint { opacity: 0; }
.sr-full { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(15, 15, 15, .6); color: var(--on-dark); }
.sr-full:hover { background: var(--accent); }
.sr-stage .plate { position: absolute; top: 14px; left: 14px; }
.sr-credit { margin-top: 10px; font-size: 12px; color: var(--muted); }
@media (max-width: 640px) { .sr-top { flex-direction: column; align-items: stretch; } .seg { justify-content: space-between; } .seg button { flex: 1; padding: 0 10px; } .sr-stage { height: min(48vh, 360px); } }
@media (max-width: 1100px) and (min-width: 561px) { .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- realizări: filmul CURSA ---------- */
.film-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
/* titlul se calculează după lățimea coloanei, nu a ecranului: pe monitoare late coloana e limitată, iar ultimul A ieșea din ea */
.film-info { container-type: inline-size; }
.film-title { font-size: clamp(40px, 20cqi, 150px); line-height: .9; letter-spacing: .02em; color: var(--accent); background: var(--holo); background-size: 170% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: holo-shift 9s ease-in-out infinite alternate; }
.film-info .lead { margin-top: 18px; }
.film-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 28px 0 0; border-top: 2px solid var(--on-dark); }
.film-facts div { padding: 14px 14px 14px 0; border-bottom: 1px solid var(--line-dark); }
.film-facts div:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--line-dark); }
.film-facts dt { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--on-dark-muted); }
.film-facts dd { margin: 6px 0 0; font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 112; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.15; }
.film-credits { margin-top: 18px; font-size: 14px; color: var(--on-dark-muted); }
.film .hero-ctas { margin-top: 24px; }
@media (max-width: 900px) { .film-grid { grid-template-columns: 1fr; } }

/* ---------- afaceri ---------- */
.biz { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.biz-card { position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 420px; padding: clamp(22px, 3vw, 36px); border-radius: 18px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.biz-card h3 { font-size: clamp(34px, 4.2vw, 60px); line-height: 1; }
.biz-card > p:not(.mono), .biz-over > p:not(.mono) { color: var(--ink-2); max-width: 44ch; }
.biz-facts { display: flex; gap: 28px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: var(--muted); }
.biz-facts b { display: block; font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 120; font-size: 26px; line-height: 1; color: var(--ink); text-transform: none; margin-bottom: 4px; }
.biz-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.biz-card.ink { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.biz-card.ink > p:not(.mono) { color: var(--on-dark-muted); }
.biz-card.ink .mono { color: var(--accent); }
.biz-card.ink .biz-facts { border-color: var(--line-dark); color: var(--on-dark-muted); }
.biz-card.ink .biz-facts b { color: var(--paper); }
.biz-card.ink .btn.ghost { color: var(--paper); border-color: var(--paper); }
.biz-card.ink .btn.ghost:hover { background: var(--paper); color: var(--ink); }
.biz-card.holo { background: var(--holo-deep); background-size: 200% 200%; color: #fff; border-color: transparent; -webkit-text-fill-color: currentColor; animation: holo-shift 12s ease-in-out infinite alternate; }
.biz-card.holo > p:not(.mono) { color: rgba(255, 255, 255, .9); }
.biz-card.holo .biz-facts { border-color: rgba(255, 255, 255, .35); color: rgba(255, 255, 255, .8); }
.biz-card.holo .biz-facts b { color: #fff; }
.biz-card.holo .btn:hover { background: #fff; color: var(--ink); border-color: #fff; }
.biz-card.photo { padding: 0; border: 0; background: var(--asphalt); color: #fff; justify-content: flex-end; }
.biz-card.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.biz-card.photo:hover img { transform: scale(1.04); }
.biz-over { position: relative; display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 3vw, 36px); padding-top: 120px; background: linear-gradient(to top, rgba(12, 12, 12, .92) 30%, rgba(12, 12, 12, 0)); }
.biz-over > p:not(.mono) { color: rgba(255, 255, 255, .85); }
.biz-over .mono { color: var(--accent); }
@media (max-width: 760px) { .biz { grid-template-columns: 1fr; } .biz-card { min-height: 0; } .biz-card.photo { min-height: 440px; } }

.partners { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: baseline; margin-top: 28px; font-size: 15px; color: var(--ink-2); }
.code-inline { padding: 2px 8px; border: 1.5px dashed var(--ink); border-radius: 6px; font-family: var(--mono); font-weight: 700; font-size: 13px; }

/* =====================================================================
   Pagini individuale: efectele „wow” (hero imersiv, ticker, contoare,
   zid de miniaturi, titluri contur, pași lipiți, reveal la scroll)
   ===================================================================== */

/* hero imersiv, pe tot ecranul */
.mega { position: relative; min-height: calc(100svh - var(--header-h)); display: flex; align-items: flex-end; padding: clamp(40px, 6vw, 80px) 0; overflow: hidden; isolation: isolate; background: var(--asphalt); color: var(--on-dark); }
.mega-bg { position: absolute; inset: -8% 0; z-index: -2; }
.mega-bg img { width: 100%; height: 100%; object-fit: cover; }
.mega::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(12, 12, 12, .96) 8%, rgba(12, 12, 12, .55) 45%, rgba(12, 12, 12, .25)); }
.mega.spot::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(520px circle at var(--mx, 70%) var(--my, 30%), rgba(34, 166, 255, .26), transparent 60%); mix-blend-mode: screen; }
.mega .crumbs { color: var(--on-dark-muted); }
.mega .crumbs a:hover { color: var(--on-dark); }
.mega .lead { color: #d6d1c9; }
.mega-inner { position: relative; width: 100%; }
.mega-title { font-size: clamp(40px, 13vw, 220px); line-height: .95; letter-spacing: -.02em; margin-top: 18px; }
.mega-title.md { font-size: clamp(36px, 7.6vw, 128px); }
.mega-foot { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; margin-top: clamp(20px, 3vw, 36px); }
.mega-foot .lead { max-width: 52ch; }
.mega .hero-ctas { margin-top: 0; }
.mega.light { background: var(--paper); color: var(--ink); }
.mega.light::after { display: none; }
.mega.light .lead { color: var(--ink-2); }
.mega.light .crumbs { color: var(--muted); }
.mega.light .crumbs a:hover { color: var(--ink); }
.mega.holo-bg { background: var(--holo-deep); background-size: 220% 220%; color: #fff; animation: holo-shift 14s ease-in-out infinite alternate; }
.mega.holo-bg .display, .art-holo .art-big { text-shadow: 0 2px 30px rgba(10, 20, 60, .25); }
.mega.holo-bg::after { display: none; }
.mega.holo-bg .lead { color: rgba(255, 255, 255, .92); }
.mega.holo-bg .crumbs { color: rgba(255, 255, 255, .8); }
.mega.holo-bg .kicker { color: rgba(255, 255, 255, .85); }
.mega.holo-bg .kicker::before { background: #fff; }

/* litere care intră pe rând */
[data-split] .ch { display: inline-block; }
[data-split] .w { display: inline-block; white-space: nowrap; }
.js [data-split] .ch { transform: translateY(105%); opacity: 0; animation: ch-in .9s var(--ease) forwards; animation-delay: calc(.1s + var(--i) * .045s); }
[data-split] .ln { display: block; overflow: hidden; padding: .02em 0 .08em; margin-bottom: -.06em; }
@keyframes ch-in { to { transform: none; opacity: 1; } }

/* titlu contur, se umple la scroll (--p de la 0 la 1) */
.outline { color: transparent; -webkit-text-stroke: 2px currentColor; }
.fill-scroll { position: relative; color: transparent; -webkit-text-stroke: 2px var(--accent); background: linear-gradient(90deg, #1a7cff 0%, #22a6ff calc(var(--p, 0) * 45%), #ff9a73 calc(var(--p, 0) * 85%), #ff6fa5 calc(var(--p, 0) * 100%), transparent 0); -webkit-background-clip: text; background-clip: text; }

/* ticker infinit */
.marquee { overflow: hidden; border-block: 2px solid currentColor; padding: 14px 0; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 40px; padding-right: 40px; animation: marquee 32s linear infinite; font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 125; text-transform: uppercase; font-size: clamp(22px, 3vw, 40px); line-height: 1; }
.marquee-track span { display: inline-flex; align-items: center; gap: 40px; }
.marquee-track span::after { content: "✦"; color: var(--accent); font-size: .6em; }
.marquee.rev .marquee-track { animation-direction: reverse; }
.marquee.holo { background: var(--holo-deep); background-size: 300% 100%; color: #fff; border-color: transparent; -webkit-text-fill-color: currentColor; animation: holo-shift 10s linear infinite alternate; }
.marquee.holo .marquee-track span::after { color: #fff; }
.marquee.ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* zid de miniaturi în mișcare */
.thumb-wall { position: absolute; inset: -20% -10%; z-index: -2; display: flex; flex-direction: column; justify-content: center; gap: 14px; rotate: -8deg; opacity: .7; }
.thumb-row { display: flex; gap: 14px; width: max-content; animation: marquee 70s linear infinite; }
.thumb-row:nth-child(2) { animation-direction: reverse; animation-duration: 85s; }
.thumb-row:nth-child(3) { animation-duration: 95s; }
.thumb-row img { width: clamp(220px, 22vw, 340px); aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }

/* contoare */
.counters { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); border-top: 2px solid currentColor; }
.counter { padding: 26px 20px 26px 0; }
.counter + .counter { padding-left: 20px; border-left: 1px solid var(--line); }
.dark .counter + .counter, .mega .counter + .counter { border-color: var(--line-dark); }
.counter b { display: block; font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 125; font-size: clamp(38px, 5.4vw, 84px); line-height: .95; letter-spacing: -.02em; }
.counter b small { font-size: .45em; letter-spacing: 0; margin-left: 4px; }
.counter > span { display: block; margin-top: 10px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.dark .counter > span, .mega .counter > span { color: var(--on-dark-muted); }
@media (max-width: 760px) {
  .counters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .counter:nth-child(odd) { border-left: 0 !important; padding-left: 0 !important; }
  .counter:nth-child(n+3) { border-top: 1px solid var(--line); }
  .dark .counter:nth-child(n+3) { border-color: var(--line-dark); }
}

/* pași care se lipesc unul peste altul la scroll */
.stack { display: grid; gap: 24px; }
.stack-card { position: sticky; top: calc(var(--header-h) + 24px + var(--i, 0) * 22px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; min-height: 300px; padding: clamp(28px, 4vw, 56px); border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 -12px 40px rgba(0, 0, 0, .08); }
.stack-card:nth-child(2) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.stack-card:nth-child(2) p { color: var(--on-dark-muted); }
.stack-card:nth-child(3) { background: var(--holo-deep); background-size: 200% 200%; color: #fff; border-color: transparent; -webkit-text-fill-color: currentColor; animation: holo-shift 12s ease-in-out infinite alternate; }
.stack-card:nth-child(3) p { color: rgba(255, 255, 255, .9); }
.stack-card .num { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 125; font-size: clamp(90px, 14vw, 200px); line-height: .8; letter-spacing: -.04em; }
.stack-card h3 { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 125; text-transform: uppercase; font-size: clamp(30px, 4vw, 56px); line-height: 1; }
.stack-card p { margin-top: 14px; font-size: clamp(17px, 1.6vw, 21px); color: var(--ink-2); max-width: 40ch; }
@media (max-width: 640px) { .stack-card { grid-template-columns: 1fr; min-height: 0; gap: 8px; } }

/* imagini care se dezvăluie */
.js .reveal { clip-path: inset(12% 12% 12% 12% round 18px); transition: clip-path 1.1s var(--ease); }
.js .reveal.in { clip-path: inset(0 0 0 0 round 18px); }
.js .reveal img { scale: 1.15; transition: scale 1.4s var(--ease); }
.js .reveal.in img { scale: 1; }

/* rând orizontal mare (cronologie) */
.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 30%); gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; border-top: 2px solid currentColor; scrollbar-width: thin; }
.hscroll > * { scroll-snap-align: start; padding: 26px 28px 30px 0; border-right: 1px solid var(--line); }
.dark .hscroll > * { border-color: var(--line-dark); }
.hscroll > * + * { padding-left: 28px; }
.hscroll .when { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 125; font-size: clamp(34px, 4vw, 58px); line-height: 1; color: var(--accent); }
.hscroll h3 { margin-top: 14px; font-size: 21px; font-weight: 800; line-height: 1.2; }
.hscroll p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; }
.dark .hscroll p { color: var(--on-dark-muted); }
@media (max-width: 640px) { .hscroll { grid-auto-columns: 82%; } }

/* generic film (CURSA) */
.credits { text-align: center; max-width: 760px; margin: 0 auto; }
.credits dl { margin: 0; display: grid; gap: 26px; }
.credits dt { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
.credits dd { margin: 8px 0 0; font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 115; font-size: clamp(20px, 2.4vw, 30px); line-height: 1.2; }
.credits dd.big { font-weight: 800; font-size: clamp(34px, 5vw, 64px); color: var(--accent); text-transform: uppercase; font-variation-settings: "wdth" 125; }

/* citat mare */
.quote { font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 110; font-size: clamp(28px, 4vw, 58px); line-height: 1.08; letter-spacing: -.015em; max-width: 22ch; }
.quote::before { content: "„"; color: var(--accent); }
.quote::after { content: "”"; color: var(--accent); }

/* carduri de format (canalul) */
.formats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 2px solid currentColor; }
.format { display: flex; flex-direction: column; gap: 10px; padding: 24px 18px 26px 0; text-align: left; transition: color .2s; }
.format + .format { padding-left: 18px; border-left: 1px solid var(--line); }
.format b { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 125; font-size: clamp(44px, 5vw, 76px); line-height: .9; color: var(--accent); }
.format h3 { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 112; text-transform: uppercase; font-size: clamp(16px, 1.5vw, 21px); overflow-wrap: anywhere; }
.format p { color: var(--ink-2); font-size: 15px; }
.format:hover h3 { color: var(--accent-ink); }
@media (max-width: 900px) { .formats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .format:nth-child(odd) { border-left: 0; padding-left: 0; } .format:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* calculator rată */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.calc-in { display: grid; gap: 22px; align-content: start; }
.calc label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.calc label output { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 120; font-size: 22px; }
.calc input[type=range] { width: 100%; margin-top: 10px; accent-color: var(--accent); height: 28px; }
.calc-out { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: clamp(24px, 3vw, 36px); border-radius: 20px; background: var(--ink); color: var(--paper); }
.calc-out .big { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 125; font-size: clamp(54px, 7vw, 96px); line-height: .9; color: var(--accent); }
.calc-out dl { display: grid; gap: 8px; margin: 0; font-size: 15px; }
.calc-out dl div { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line-dark); padding-bottom: 8px; }
.calc-out dt { color: var(--on-dark-muted); }
.calc-out dd { margin: 0; font-weight: 700; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }

/* tur 3D / hartă încorporate */
.embed { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--asphalt); }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed-cover { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; color: #fff; text-align: center; padding: 24px; background: radial-gradient(circle at 50% 40%, #2b2926, #0f0f0f); }
.embed-cover .display { font-size: clamp(28px, 4vw, 52px); }

/* link mare de capitol, pe prima pagină */
.more-link { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 120; text-transform: uppercase; font-size: clamp(16px, 1.4vw, 19px); padding: 12px 0; border-bottom: 3px solid var(--accent); transition: gap .25s var(--ease), color .2s; }
.more-link:hover { gap: 18px; color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .marquee-track, .thumb-row { animation: none; }
  .js [data-split] .ch { transform: none; opacity: 1; }
  .js .reveal, .js .reveal img { clip-path: none; scale: 1; transition: none; }
}
.counter b { white-space: nowrap; }
.mega-title.sm { font-size: clamp(36px, 6.4vw, 108px); }

/* pagina Afaceri: index mare cu previzualizare care urmărește cursorul */
.biz-index { border-top: 2px solid currentColor; }
.biz-row { position: relative; display: grid; grid-template-columns: 70px minmax(0, 1fr) auto 40px; align-items: center; gap: 20px; padding: clamp(18px, 2.4vw, 30px) 0; border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: color .35s var(--ease), padding .35s var(--ease); }
.biz-row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--holo-deep); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); }
.biz-row .n { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.biz-row .t { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 125; text-transform: uppercase; font-size: clamp(30px, 6vw, 96px); line-height: .95; letter-spacing: -.02em; }
.biz-row .s { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.biz-row .i { width: 32px; height: 32px; transition: transform .35s var(--ease); }
.biz-row:hover, .biz-row:focus-visible { color: #fff; padding-inline: 20px; }
.biz-row:hover::before, .biz-row:focus-visible::before { transform: none; }
.biz-row:hover .n, .biz-row:hover .s, .biz-row:focus-visible .n, .biz-row:focus-visible .s { color: rgba(255, 255, 255, .85); }
.biz-row:hover .i { transform: rotate(-45deg); }
.biz-preview { position: fixed; left: 0; top: 0; z-index: 20; width: 340px; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; pointer-events: none; opacity: 0; scale: .7; rotate: -4deg; transition: opacity .3s, scale .4s var(--ease), rotate .4s var(--ease); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.biz-preview.on { opacity: 1; scale: 1; rotate: 3deg; }
.biz-preview img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .biz-row { grid-template-columns: 34px minmax(0, 1fr) 28px; } .biz-row .t { font-size: clamp(22px, 7vw, 40px); } .biz-row .s { display: none; } .biz-row .i { width: 24px; height: 24px; } }
@media (hover: none) { .biz-preview { display: none; } }

/* capitole (câte unul pe afacere) */
.chapter { padding: clamp(64px, 9vw, 140px) 0; }
.chapter.alt { background: var(--paper-2, #e8e4dc); }
.chapter-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.chapter-grid.flip > :first-child { order: 2; }
.chapter-art { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--asphalt); }
.chapter-art img { width: 100%; height: 100%; object-fit: cover; }
.art-holo { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: clamp(24px, 4vw, 48px); background: var(--holo-deep); background-size: 220% 220%; color: #fff; animation: holo-shift 12s ease-in-out infinite alternate; }
.art-big { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 125; text-transform: uppercase; font-size: clamp(48px, 7vw, 124px); line-height: .9; letter-spacing: -.03em; }
.chapter-text { position: relative; display: flex; flex-direction: column; gap: 18px; }
.chapter-text .biz-facts { margin-top: 6px; }
.chapter.dark .biz-facts { border-color: var(--line-dark); color: var(--on-dark-muted); }
.chapter.dark .biz-facts b { color: var(--paper); }
.chapter.dark .btn.ghost { color: var(--paper); border-color: var(--paper); }
.chapter-n { position: absolute; right: 0; top: -.35em; z-index: -1; font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 125; font-size: clamp(120px, 16vw, 260px); line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--accent); opacity: .35; }
.chapter-text { isolation: isolate; }
@media (max-width: 860px) { .chapter-grid { grid-template-columns: 1fr; } .chapter-grid.flip > :first-child { order: 0; } .chapter-n { font-size: 110px; } }

/* reflex de folie care trece peste fundalurile mari */
.mega.holo-bg::before, .art-holo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .28) 48%, transparent 60%); background-size: 250% 100%; animation: sheen 6s ease-in-out infinite; }
.mega.holo-bg::before { z-index: -1; }
.art-holo { position: relative; }
@keyframes sheen { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@media (prefers-reduced-motion: reduce) {
  .holo, .film-title, .btn.holo, .card.holo, .biz-card.holo, .stack-card, .mega.holo-bg, .marquee.holo, .art-holo { animation: none !important; }
  .mega.holo-bg::before, .art-holo::after { animation: none; opacity: 0; }
}

/* ================================================================
   Fundalul site-ului: folia iridescentă (albastru, cu pete piersică/roz și o dungă de lumină).
   Secțiunile deschise devin transparente și lasă folia să se vadă. Pe folie, accentul e cerneala;
   pe secțiunile întunecate și pe carduri, accentul rămâne albastru și textul „holo” rămâne gradient.
   ================================================================ */
:root {
  --muted: #0f1c3d;
  --ink-2: #0f1a33;
  --line: rgba(10, 20, 50, .2);
  --line-2: rgba(10, 20, 50, .38);
  --accent: var(--ink);
  --accent-ink: #0b1d52;
}
:is(.dark, .on-dark, .mega:not(.light), .site-footer, .player, .biz-card.ink, .biz-card.photo, .calc-out, .card.ink) { --accent: #3aa0ff; --accent-ink: #3aa0ff; }
:is(.card:not(.ink), .biz-card:not(.ink):not(.photo):not(.holo), .light .car, .mobile-nav) { --accent: #1a7cff; --accent-ink: #0a5bd8; --muted: #5d6472; --ink-2: #262a33; --line: rgba(13, 15, 20, .14); --line-2: rgba(13, 15, 20, .28); }

body { background: #3f9dff; }
body::before {
  content: ""; position: fixed; inset: -12%; z-index: -10; pointer-events: none;
  background:
    radial-gradient(48% 36% at 18% 26%, rgba(255, 150, 100, .95), rgba(255, 170, 130, .5) 45%, transparent 72%),
    radial-gradient(16% 44% at 64% 20%, rgba(255, 130, 170, .8), transparent 72%),
    radial-gradient(26% 34% at 84% 12%, rgba(255, 175, 140, .75), transparent 70%),
    radial-gradient(38% 24% at 26% 74%, rgba(255, 196, 120, .7), transparent 70%),
    radial-gradient(40% 44% at 88% 84%, rgba(150, 228, 255, .7), transparent 70%),
    linear-gradient(118deg, transparent 38%, rgba(255, 255, 255, .3) 46%, transparent 55%),
    linear-gradient(160deg, #3f9dff 0%, #5ab4ff 40%, #348cf7 75%, #2f86f5 100%);
  animation: foil-drift 26s ease-in-out infinite alternate;
}
@keyframes foil-drift {
  from { transform: translate3d(-3%, -2%, 0) rotate(-2deg) scale(1.02); }
  to { transform: translate3d(3%, 2%, 0) rotate(2deg) scale(1.08); }
}
.alt, .chapter.alt { background: rgba(255, 255, 255, .14); }
.mega.light { background: transparent; }
.site-header { background: rgba(255, 255, 255, .5); border-color: rgba(10, 20, 50, .15); }
.nav a:hover { background: rgba(255, 255, 255, .55); }

/* cuvintele „holo” pe folie: alb cu umbră de cerneală, ca un autocolant */
.holo:not(.btn, .marquee, .card, .biz-card, .mega, .stack-card, .chapter-art) { background: none; color: #fff; -webkit-text-fill-color: currentColor; text-shadow: .05em .05em 0 var(--ink); animation: none; }
.holo:not(.btn, .marquee, .card, .biz-card, .mega, .stack-card, .chapter-art) :is(.ch, .w) { -webkit-text-fill-color: currentColor; }
:is(.dark, .on-dark, .mega:not(.light), .site-footer, .card, .biz-card, .calc-out) .holo:not(.btn, .marquee, .card, .biz-card, .mega, .stack-card, .chapter-art) {
  color: var(--accent); background: var(--holo); background-size: 170% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: none; animation: holo-shift 9s ease-in-out infinite alternate;
}
:is(.dark, .on-dark, .mega:not(.light), .site-footer, .card, .biz-card, .calc-out) .holo:not(.btn, .marquee, .card, .biz-card, .mega, .stack-card, .chapter-art) :is(.ch, .w) { -webkit-text-fill-color: transparent; }

/* butoane: pe folie, cerneală; pe întuneric, folia deschisă */
.btn:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.holo { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: none; }
.btn.holo:hover { background: #fff; border-color: #fff; color: var(--ink); box-shadow: 0 10px 30px rgba(10, 20, 60, .25); }
:is(.dark, .on-dark, .mega:not(.light), .biz-card.ink, .biz-card.photo) .btn.holo { background: var(--holo-light); background-size: 250% 100%; border-color: transparent; color: var(--ink); }
:is(.dark, .on-dark, .mega:not(.light), .biz-card.ink, .biz-card.photo) .btn.holo:hover { background-position: 100% 50%; box-shadow: 0 10px 30px rgba(34, 166, 255, .35); }
:is(.dark, .on-dark, .mega:not(.light)) .btn:not(.ghost):not(.holo):hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* titlul care se umple la scroll: contur de cerneală, umplut cu alb */
.fill-scroll { -webkit-text-stroke: 2px var(--ink); background: linear-gradient(90deg, #fff calc(var(--p, 0) * 100%), transparent 0); -webkit-background-clip: text; background-clip: text; }

@media (prefers-reduced-motion: reduce) { body::before { animation: none; } }
.site-header { background: rgba(255, 255, 255, .9); }

/* cuvântul pe folie dintr-un titlu animat: păstrează intrarea (ch-in) și, după ea, mișcarea gradientului */
.js [data-split] .holo.ch.ch { animation: ch-in .9s var(--ease) forwards, holo-shift 9s ease-in-out infinite alternate; animation-delay: calc(.1s + var(--i) * .045s), 0s; }
@media (prefers-reduced-motion: reduce) { .js [data-split] .holo.ch.ch { animation: none; transform: none; opacity: 1; } }

/* carVertical: text + „bilet” cu codul de reducere */
.cv { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.cv-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px; border-top: 2px solid var(--ink); padding-top: 18px; }
.cv-stats b { display: block; font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 125; font-size: clamp(34px, 4vw, 56px); line-height: 1; }
.cv-stats span { display: block; margin-top: 6px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.cv-quote { margin-top: 26px; font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 110; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.25; max-width: 34ch; }
.cv-quote span { display: block; margin-top: 8px; font-family: var(--mono); font-weight: 500; font-size: 12px; text-transform: uppercase; color: var(--muted); }
.cv-ticket { --accent: #3aa0ff; position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(26px, 3.4vw, 40px); border-radius: 22px; background: var(--ink); color: var(--on-dark); box-shadow: 0 30px 70px rgba(10, 20, 60, .35); overflow: hidden; isolation: isolate; rotate: 1.5deg; transition: rotate .5s var(--ease); }
.cv-ticket:hover { rotate: 0deg; }
.cv-ticket > .mono { color: var(--on-dark-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.cv-off { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 125; font-size: clamp(64px, 7.4vw, 116px); line-height: .9; letter-spacing: -.04em; }
.cv-off .holo { color: var(--accent); background: var(--holo); background-size: 170% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: none; animation: holo-shift 9s ease-in-out infinite alternate; }
.cv-sub { color: var(--on-dark-muted); }
.cv-code { display: flex; align-items: center; gap: 14px; width: 100%; margin-top: 10px; padding: 14px 14px 14px 18px; border: 2px dashed rgba(238, 240, 244, .35); border-radius: 14px; }
.cv-code .mono { font-size: 11px; text-transform: uppercase; color: var(--on-dark-muted); }
.cv-code b { flex: 1; font-family: var(--mono); font-size: clamp(17px, 1.8vw, 22px); letter-spacing: .06em; overflow-wrap: anywhere; }
.cv-copy { min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--on-dark); color: var(--ink); font-weight: 700; font-size: 14px; transition: background .2s, color .2s; }
.cv-copy:hover { background: var(--accent); color: #fff; }
.cv-copy.done { background: #2fd17a; color: var(--ink); }
.cv-go { width: 100%; margin-top: 6px; }
.cv-ticket .btn.holo { background: var(--holo-light); background-size: 250% 100%; border-color: transparent; color: var(--ink); }
.cv-ticket .btn.holo:hover { background-position: 100% 50%; box-shadow: 0 10px 30px rgba(34, 166, 255, .35); }
.cv-note { font-size: 11px; color: var(--on-dark-muted); }
@media (max-width: 860px) { .cv { grid-template-columns: 1fr; } .cv-ticket { rotate: 0deg; } }
@media (max-width: 420px) { .cv-code { flex-wrap: wrap; } .cv-code b { flex-basis: 100%; order: -1; } }

/* hero cu afiș (filmul CURSA): imaginea se vede întreagă, nu tăiată sub bara de sus */
.mega.full-bg { min-height: min(calc(100svh - var(--header-h)), 56.25vw); }
.mega.full-bg .mega-bg { inset: 0; }
.mega.full-bg .mega-bg img { object-position: center top; }
.mega.full-bg::after { background: linear-gradient(to top, rgba(12, 12, 12, .95) 6%, rgba(12, 12, 12, .5) 38%, rgba(12, 12, 12, 0) 62%); }
@media (max-width: 760px) {
  /* pe telefon afișul stă deasupra, întreg, iar textul vine sub el */
  .mega.full-bg { display: block; min-height: 0; padding-top: 0; }
  .mega.full-bg .mega-bg { position: relative; inset: auto; z-index: 0; aspect-ratio: 16 / 9; margin-bottom: 18px; }
  .mega.full-bg .mega-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--asphalt) 0, transparent 18%); }
  .mega.full-bg::after { display: none; }
  .mega.full-bg .mega-inner { z-index: 1; }
}

/* pe hero-urile întunecate, eticheta de deasupra titlului rămâne deschisă (nu cerneala de pe folie) */
.mega:not(.light):not(.holo-bg) .kicker { color: var(--on-dark-muted); }

/* butoane contur pe fundalul de folie al amanetului: alb, la hover se umple */
.btn.ghost.on-holo { color: #fff; border-color: #fff; }
.btn.ghost.on-holo:hover { background: #fff; border-color: #fff; color: var(--ink); }
