/* Cognitab Dev: foaia de stil comună
   Direcția: structura din referința „Playbit” (titluri mari, butoane-pastilă, panou gri cald,
   text-fantomă) cu atmosfera din „Laven” (anii '70, foto pe tot ecranul, dungi, subsol maro).
   Contrastele de lângă variabile sunt calculate cu contrast.py (WCAG 2.1), 27.10.2026. */

@import url("/fonts/fonts.css");

:root {
  --cream: #fdf8ee;
  --ink: #2b0d06;        /* 17,06:1 pe --cream · 14,17:1 pe --panel */
  --muted: #6b4636;      /*  7,77:1 pe --cream ·  6,45:1 pe --panel */
  --accent: #b4410c;     /*  5,36:1 pe --cream (linkuri, etichete) */
  --btn: #c2410c;        /*  alb pe --btn: 5,18:1 */
  --orange: #f2620f;     /*  doar grafic: dungi, puncte */
  --panel: #efe2d2;      /*  panoul gri cald, mai deschis (27.10.2026; înainte #c1b5ac) */
  /* Nuanțe deschise din culorile brandului, pentru fundaluri; cerneala --ink are peste 14:1 pe toate */
  --t-apricot: #fde4d0;  /* din portocaliu · --ink 14,78:1 */
  --t-sage: #e1ecd9;     /* din verde · --ink 14,79:1 */
  --t-butter: #fcefc4;   /* din galben · --ink 15,72:1 */
  --t-blush: #f6e0d6;    /* din cărămiziu · --ink 14,23:1 */
  --t-sand: #f2e7d8;     /* din crem · --ink 14,79:1 */
  --cocoa: #4a2a1e;      /* maro mai cald și mai deschis, pentru hero-ul de pe Produse */
  --accent-deep: #a03a0a; /* etichete mici pe nuanțe: minim 5,31:1 (pe --panel) */
  --green: #1f4d2b;      /*  9,21:1 pe --cream */
  --brown: #2b0d06;      /*  fundalul subsolului */
  --on-brown: #d8c3b4;   /* 10,65:1 pe --brown */
  --yellow: #ffe600;     /* 14,25:1 pe --brown; peste video doar cu scrim (vezi .hero) */
  --link-on-brown: #f59a5f; /* 8,32:1 pe --brown */

  --display: "Bebas Neue", "Arial Narrow", sans-serif;
  --groovy: "Shrikhand", Georgia, serif;
  --tech: "Audiowide", "Arial Black", sans-serif;
  --mono: "Space Mono", ui-monospace, Menlo, monospace;
  --body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max: 76rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

a { color: var(--accent); text-underline-offset: 0.18em; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
img, video { display: block; max-width: 100%; height: auto; }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 50;
  background: var(--ink); color: var(--cream); padding: 0.75rem 1rem;
}
.skip:focus { left: 1rem; top: 1rem; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Antet: grup de pastile (Playbit) + marcă ---------- */

.site-header { position: relative; z-index: 5; }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 5.5rem;
}

.pills {
  display: flex; align-items: center; gap: 0.25rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: rgba(43, 13, 6, 0.06);
}
.pills a {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 1.1rem; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-size: 0.95rem; font-weight: 500;
}
.pills a[aria-current="page"] { background: var(--cream); box-shadow: 0 1px 2px rgba(43, 13, 6, 0.12); }
.pills a:hover { background: rgba(253, 248, 238, 0.7); }

.brand {
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px;
  color: var(--ink); text-decoration: none;
}
.brand-mark { width: 2rem; height: 2rem; flex: none; }
.brand-name { font-family: var(--tech); font-size: 1.15rem; letter-spacing: 0.22em; }

.lang { display: flex; gap: 0.15rem; }
.lang a, .lang span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; font-family: var(--mono); font-size: 0.85rem;
}
.lang span { font-weight: 700; }
.lang a { color: inherit; }

/* Antetul peste video */
.site-header.on-video { position: absolute; inset: 0 0 auto 0; }
/* Pastilele stau peste fereastra luminoasă din video: fundal închis 0,45 peste scrimul de sus (0,30).
   Măsurat cu contrast_media.py pe 12 cadre: cel mai defavorabil cadru dă 3,95:1 fără fundal, vezi README. */
.on-video .pills { background: rgba(20, 6, 2, 0.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.on-video .pills a, .on-video .brand, .on-video .lang a, .on-video .lang span { color: #fff; }
.on-video .pills a[aria-current="page"] { background: var(--cream); color: var(--ink); }
/* RO/EN cade peste ecranul televizorului pe telefon: fără fundal, 3,48:1; cu fundal 0,45 peste scrim, peste minimul de 0,35 măsurat */
.on-video .lang { padding: 0 0.25rem; border-radius: 999px; background: rgba(20, 6, 2, 0.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.on-video .pills a:hover { background: rgba(253, 248, 238, 0.22); }

/* ---------- Hero cu video (Laven) ---------- */

.hero {
  position: relative;
  min-height: 34rem;
  height: 100svh;
  max-height: 60rem;
  overflow: hidden;
  background: #3a1a10;
  color: #fff;
}
.hero video, .hero .hero-poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
/* Scrimul nu depinde de temă: imaginea de sub text e la fel în orice mod.
   Contrastul măsurat pe cadrele video e notat în README. */
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 6, 2, 0.55) 0%, rgba(20, 6, 2, 0) 22%),
    linear-gradient(0deg, rgba(20, 6, 2, 0.82) 0%, rgba(20, 6, 2, 0.45) 30%, rgba(20, 6, 2, 0) 55%);
}
.hero-content {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 3.25rem;
}
.hero-content .wrap {
  max-width: none;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.wordmark {
  margin: 0;
  font-family: var(--groovy); font-weight: 400;
  font-size: clamp(3.4rem, 13vw, 10.5rem);
  line-height: 0.9; letter-spacing: -0.01em;
  color: var(--yellow);
}
.hero-side { max-width: 26rem; text-align: right; }
.hero-tagline {
  margin: 0 0 0.6rem;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 0.95; letter-spacing: 0.01em;
}
.hero-link {
  display: inline-block; padding: 0.6rem 0;
  font-family: var(--mono); font-size: 0.95rem; color: #fff; text-decoration: none;
}
.hero-link:hover { text-decoration: underline; }
.hero-note {
  position: absolute; z-index: 2; right: var(--gutter); top: 6.25rem;
  margin: 0; font-family: var(--mono); font-size: 0.75rem; color: rgba(255, 255, 255, 0.85);
}

/* Pe ecranele în portret rulează hero-mobil.mp4 (decupaj 4:5 care urmărește copilul și televizorul),
   iar hero-ul are exact proporția lui, ca să nu se mai taie nimic. */
@media (orientation: portrait) {
  .hero { height: auto; min-height: 0; max-height: none; aspect-ratio: 4 / 5; }
  .hero-content { bottom: 1.5rem; }
}

/* Dungile de sub hero */
.stripes {
  height: 3.5rem;
  background: repeating-linear-gradient(180deg,
    var(--cream) 0 4px, #7a3214 4px 10px, var(--cream) 10px 13px, #a24a1c 13px 20px);
}

/* ---------- Secțiuni ---------- */

section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }

.kicker {
  display: inline-block; margin: 0 0 1rem;
  font-family: var(--tech); font-size: 1rem; color: var(--accent); letter-spacing: 0.04em;
}
.kicker::before { content: "/ "; }

.display {
  margin: 0;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.6rem, 6.4vw, 4.75rem); line-height: 0.95; letter-spacing: 0.005em;
}
.mono { font-family: var(--mono); }
.display, h1, h2, h3 { text-wrap: balance; }

/* Introducere: titlu stânga, text dreapta (Laven „Crafted with care”) */
.intro-grid {
  display: grid; gap: 2rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: end;
}
.intro-grid p { margin: 0; font-size: 1.125rem; color: var(--muted); max-width: 32rem; }

/* Carduri (Laven: imagine + legendă monospace) */
.cards {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(2.5rem, 6vw, 4rem);
}
.card { margin: 0; }
.card img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  background: var(--panel);
}
.card:nth-child(2) { margin-top: 3rem; }
.card figcaption { padding-top: 1rem; }
.card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--mono); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.01em;
}
.tag {
  display: inline-block; margin-bottom: 0.6rem; padding: 0.15rem 0.6rem;
  border: 1px solid rgba(43, 13, 6, 0.35); border-radius: 999px;
  font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em;
}
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.card-link { display: inline-block; margin-top: 0.4rem; padding: 0.7rem 0; font-family: var(--mono); font-size: 0.9rem; }
.card-link::after { content: " →"; }

/* Panoul gri cald (Playbit) */
.panel-section { padding-top: 0; }
.panel {
  position: relative; overflow: hidden;
  border-radius: clamp(1.5rem, 3vw, 2.75rem);
  background: var(--panel);
  padding: clamp(2rem, 5vw, 4rem);
  min-height: 34rem;
}
.ghost {
  position: absolute; left: clamp(1rem, 3vw, 3rem); top: clamp(1.5rem, 4vw, 3rem);
  margin: 0; font-family: var(--tech); font-size: clamp(4rem, 15vw, 12rem); line-height: 1;
  color: rgba(43, 13, 6, 0.07); white-space: nowrap; pointer-events: none;
}
.panel-grid {
  position: relative; z-index: 1;
  display: grid; gap: 2rem; align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  margin-top: clamp(4rem, 11vw, 10rem);
}
.panel .kicker { color: var(--ink); }
.panel h2 {
  margin: 0 0 1.25rem;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.4rem, 5.4vw, 4.25rem); line-height: 1; text-transform: uppercase;
}
.panel p { margin: 0 0 1.75rem; max-width: 30rem; }
/* Consola plutește: mișcare lentă sus-jos cu o ușoară rotire, fără umbră */
.panel-art { position: relative; display: flex; flex-direction: column; align-items: center; }
.float { width: 100%; max-width: 30rem; animation: plutire 6s ease-in-out infinite; }
.float img { width: 100%; }
@keyframes plutire {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-1.25rem) rotate(2deg); }
}

.panel-outline {
  position: absolute; z-index: 0; right: -0.5rem; bottom: 1.25rem;
  margin: 0; font-family: var(--tech); font-size: clamp(4.5rem, 14vw, 11rem); line-height: 0.8;
  color: rgba(194, 65, 12, 0.16); pointer-events: none;
}

/* Butoane-pastilă */
.actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.5rem; padding: 0 2.25rem; border-radius: 999px;
  font-family: var(--tech); font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary { background: var(--btn); color: #fff; box-shadow: 0 10px 24px rgba(194, 65, 12, 0.32); }
.btn-ghost { background: #fff; color: var(--accent); } /* 5,67:1 */
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Datele firmei (Laven „Best sellers”) */
.facts-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
}
.facts-grid p { color: var(--muted); }
.facts { border-top: 1px solid rgba(43, 13, 6, 0.2); margin: 0; }
.facts div {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 1rem;
  padding: 0.9rem 0; border-bottom: 1px solid rgba(43, 13, 6, 0.2);
}
.facts dt { font-family: var(--mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); padding-top: 0.15rem; }
.facts dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }

/* Contact */
.contact { background: var(--green); color: var(--cream); }
.contact .kicker { color: var(--yellow); }
.contact .display { color: var(--cream); }
.contact p { max-width: 34rem; color: var(--cream); }
.contact-mail {
  display: inline-block; margin-top: 1rem; padding: 0.5rem 0;
  font-family: var(--display); font-size: clamp(2rem, 6vw, 3.75rem); line-height: 1;
  color: var(--yellow); text-decoration-thickness: 2px;
}
/* --yellow pe --green: 7,69:1 · --cream pe --green: 9,21:1 */

/* ---------- Pagini de text (confidențialitate) ---------- */

.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 1rem; }
.page-head .display { max-width: 48rem; }
.updated { margin: 1rem 0 0; font-family: var(--mono); font-size: 0.9rem; color: var(--muted); }
.prose { max-width: 46rem; padding: 1.5rem var(--gutter) 5rem; margin: 0 auto 0 max(0px, calc((100% - var(--max)) / 2)); }
.prose h2 {
  margin: 2.75rem 0 0.75rem;
  font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1.05; letter-spacing: 0.01em;
}
.prose p { margin: 0 0 1rem; }

/* ---------- Subsol maro (Laven) ---------- */

.site-footer {
  position: relative; overflow: hidden;
  background: var(--brown); color: var(--on-brown);
  padding: clamp(3rem, 6vw, 4.5rem) 0 0;
  font-family: var(--mono); font-size: 0.9rem;
}
.footer-grid {
  display: grid; gap: 2rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  padding-bottom: 2.5rem; border-bottom: 1px solid rgba(216, 195, 180, 0.2);
}
.footer-logo { margin: 0 0 1rem; font-family: var(--groovy); font-size: 2rem; line-height: 1; color: var(--yellow); }
.site-footer h2 { margin: 0 0 0.75rem; font-family: var(--mono); font-weight: 400; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--on-brown); opacity: 0.8; }
.site-footer p { margin: 0 0 0.4rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-block; padding: 0.65rem 0; color: var(--link-on-brown); }
.footer-giant {
  margin: 0; padding: 1rem var(--gutter) 0;
  font-family: var(--groovy); font-size: clamp(4.5rem, 21vw, 19rem); line-height: 0.8;
  color: rgba(216, 195, 180, 0.08); white-space: nowrap; text-align: center;
  transform: translateY(12%);
  pointer-events: none;
}
.footer-bottom {
  position: absolute; left: 0; right: 0; bottom: 0;
}
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-bottom: 1.25rem; }

/* ---------- Pagini interioare ---------- */

.page-lead { margin: 1.25rem 0 0; font-size: 1.15rem; color: var(--muted); max-width: 42rem; }

/* Servicii: titlul grupei în stânga, lista în dreapta (ca „Datele firmei”) */
.svc-group { border-top: 1px solid rgba(43, 13, 6, 0.15); }
.svc-group:first-of-type { border-top: 0; }
.svc-grid { display: grid; gap: 2rem; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; }
.svc-grid > div:first-child { position: sticky; top: 1.5rem; }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(43, 13, 6, 0.2); }
.svc { padding: 1.4rem 0; border-bottom: 1px solid rgba(43, 13, 6, 0.2); }
.svc h3 { margin: 0 0 0.3rem; font-family: var(--display); font-weight: 400; font-size: 1.85rem; line-height: 1.05; letter-spacing: 0.01em; }
.svc-tech { margin: 0 0 0.6rem; font-family: var(--mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--accent); }
.svc p:last-child { margin: 0; color: var(--muted); }

/* Produse: grilă de carduri cu fotografie (Laven) */
.prod-group { padding-bottom: 0; }
.prod-group:last-of-type { padding-bottom: clamp(3.5rem, 8vw, 6.5rem); }
.prod-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 0.75rem 2rem; margin-bottom: 2rem; }
.prod-head p { margin: 0; max-width: 30rem; color: var(--muted); }
.pgrid { display: grid; gap: 2.75rem 1.5rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pcard { display: block; color: var(--ink); text-decoration: none; }
.pcard figure { margin: 0 0 1rem; overflow: hidden; border-radius: 1rem; background: var(--panel); }
.pcard img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.4s ease; }
.pcard:hover img { transform: scale(1.03); }
.pcard h3 { margin: 0.55rem 0 0.35rem; font-family: var(--mono); font-weight: 700; font-size: 1.05rem; }
.pcard p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.pcard:hover h3 { text-decoration: underline; text-underline-offset: 0.18em; }

/* Pagina de produs */
.crumbs { padding-top: 1rem; font-family: var(--mono); font-size: 0.85rem; color: var(--muted); }
.crumbs a { display: inline-block; padding: 0.7rem 0; }
.prod-hero { padding: 0.5rem 0 clamp(2.5rem, 5vw, 4rem); }
.prod-hero-grid { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; }
.prod-img { margin: 0; }
.prod-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: clamp(1rem, 2vw, 1.75rem); }
.prod-hero h1 { margin: 0.75rem 0 0; }
.prod-hero .actions { margin-top: 2rem; }
.prod-details { padding: clamp(3rem, 6vw, 5rem) 0; }
.pcols { display: grid; gap: 2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pbox { border-top: 3px solid var(--ink); padding-top: 1.25rem; }
.pbox h2 { margin: 0 0 1rem; font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1.05; }
.steps { margin: 0; padding-left: 1.5rem; }
.steps li { margin-bottom: 0.7rem; padding-left: 0.25rem; }
.steps li::marker { font-family: var(--mono); font-weight: 700; color: var(--accent); }
.pnote { margin: 1rem 0 0; padding-left: 1rem; border-left: 3px solid var(--orange); color: var(--muted); }
.pair-section { padding-top: 0; }
.panel.pair { min-height: 0; display: grid; gap: 2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pair .kicker { color: var(--ink); }
.pair-off { margin: 0; font-family: var(--mono); font-size: 1rem; }
.pair-plain { margin: 0; font-family: var(--display); font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.05; }
.prevnext { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: clamp(3rem, 6vw, 5rem); }
.prevnext a {
  display: block; padding: 1.25rem 1.5rem; border: 1px solid rgba(43, 13, 6, 0.2); border-radius: 1rem;
  color: var(--ink); text-decoration: none; font-family: var(--display); font-size: 1.6rem; line-height: 1.1;
}
.prevnext a:last-child { text-align: right; }
.prevnext a:hover { border-color: var(--accent); }
.prevnext .mono { display: block; margin-bottom: 0.35rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }

/* Cum lucrăm */
.step-grid { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step-card { background: #fff; border-radius: 1.5rem; padding: 2rem 1.75rem; }
.step-no { font-family: var(--tech); font-size: 2.5rem; line-height: 1; color: var(--accent); } /* 5,67:1 pe alb */
.step-card h3 { margin: 0.9rem 0 0.5rem; font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1.05; }
.step-card p { margin: 0; color: var(--muted); }
.two-col .panel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.two-col .ghost { font-size: clamp(3rem, 9.5vw, 8.5rem); }
.no-list { margin: 0; padding-left: 1.2rem; }
.no-list li { margin-bottom: 0.6rem; }

/* Despre */
.about-hero { padding: clamp(2rem, 5vw, 4rem) 0 clamp(2.5rem, 5vw, 4rem); }
.about-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); align-items: center; }
.portrait { position: relative; margin: 0; max-width: 24rem; }
.portrait img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: clamp(1.25rem, 3vw, 2.25rem); }
.portrait::after { content: ""; position: absolute; left: 1.25rem; right: 1.25rem; bottom: -0.6rem; height: 0.6rem; border-radius: 0 0 0.6rem 0.6rem; background: var(--orange); }
.about-hero .tag { margin-top: 1rem; }
.about-why p { margin: 0 0 1rem; font-size: 1.125rem; color: var(--muted); }
.about-why { align-items: start; }
.rule-panel { min-height: 0; }
.rule-text { position: relative; z-index: 1; margin-top: clamp(5rem, 13vw, 12.5rem); max-width: 52rem; }
.rule { margin: 0; font-family: var(--display); font-size: clamp(2rem, 4.6vw, 3.75rem); line-height: 1.02; text-transform: uppercase; }
.clients { padding-top: 0; }
.chips { list-style: none; margin: 1.75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.chip { display: inline-flex; align-items: center; min-height: 3rem; padding: 0 1.4rem; border-radius: 999px; background: #fff; font-family: var(--mono); font-size: 0.95rem; }

/* Contact */
.contact-grid { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: start; }
.topics { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.topic {
  display: inline-flex; align-items: center; min-height: 3rem; padding: 0 1.4rem; border-radius: 999px;
  border: 1.5px solid var(--ink); color: var(--ink); text-decoration: none; font-weight: 500;
}
.topic:hover { background: var(--ink); color: var(--cream); }
.contact-card { background: var(--green); color: var(--cream); border-radius: 1.75rem; padding: clamp(1.5rem, 4vw, 2.5rem); }
.contact-card p { margin: 0; }
.contact-card .contact-mail { font-size: clamp(1.75rem, 3.2vw, 2.6rem); overflow-wrap: anywhere; margin: 0.25rem 0 0; }
.contact-card .mono { margin: 1.25rem 0 1.75rem; font-size: 0.85rem; line-height: 1.7; }

/* Bandă de îndemn la final de pagină */
.cta-band { background: var(--panel); padding: clamp(2.5rem, 6vw, 4rem) 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band .display { margin: 0; max-width: 40rem; font-size: clamp(2rem, 4.4vw, 3.25rem); }

/* ---------- Produse, în stilul paginilor de produs Apple ---------- */

.prod-hero-dark { background: radial-gradient(120% 80% at 50% 0%, #6a3a26 0%, var(--cocoa) 55%); color: var(--cream); text-align: center; padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 4.5rem); overflow: hidden; }
.prod-hero-dark .kicker { color: #ffd45c; }                         /* 9,03:1 pe --cocoa */
.hero-big { margin: 0 auto; max-width: 14ch; font-family: var(--display); font-weight: 400; font-size: clamp(3.2rem, 9vw, 7.5rem); line-height: 0.92; }
.hero-sub { max-width: 38rem; margin: 1.5rem auto 0; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #e8d5c8; } /* 9,01:1 pe --cocoa */
.hero-devices { margin-top: clamp(2.5rem, 6vw, 4rem); animation: urca 1.1s cubic-bezier(.2, .7, .2, 1) both 0.15s; }
@keyframes urca { from { opacity: 0; transform: translateY(4rem); } to { opacity: 1; transform: none; } }
.tile-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.tile-actions.center, .tile .tile-actions { justify-content: center; }
.btn-line { border: 1.5px solid currentColor; background: transparent; color: var(--ink); }
.btn-line.light { color: var(--cream); }

/* Secțiunile de produs: text centrat sus, dispozitivul dedesubt */
.tile { display: grid; justify-items: center; text-align: center; padding: clamp(3.5rem, 7vw, 5.5rem) var(--gutter) 0; overflow: hidden; }
.tile-text { max-width: 44rem; }
.tile-eyebrow { margin: 0 0 0.5rem; font-family: var(--mono); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }
.tile-name { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(3rem, 8vw, 6rem); line-height: 0.95; }
.tile-lead { max-width: 36rem; margin: 1rem auto 0; font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.tile-art { width: 100%; margin-top: clamp(2rem, 5vw, 3.5rem); padding-bottom: clamp(3rem, 6vw, 4.5rem); }
/* Pagina Produse: două culori din brand, crem și caisă, care trec una în alta pe toată lungimea vitrinei */
.flux { background: linear-gradient(180deg, var(--cream) 0%, var(--t-apricot) 25%, var(--cream) 50%, var(--t-apricot) 75%, var(--cream) 100%); }
.t-flux { background: transparent; }
.t-flux .tile-eyebrow { color: var(--accent-deep); }               /* 5,54:1 pe caisă · 6,39:1 pe crem */
.flux .tile-grid { background: transparent; }
.flux .tile-half { background: rgba(253, 248, 238, 0.55); }
.t-cream { background: var(--cream); }
.t-apricot { background: var(--t-apricot); }
.t-sage { background: var(--t-sage); }
.t-butter { background: var(--t-butter); }
.t-blush { background: var(--t-blush); }
.t-sand { background: var(--t-sand); }
.t-apricot .tile-eyebrow, .t-butter .tile-eyebrow, .t-blush .tile-eyebrow, .t-sand .tile-eyebrow { color: var(--accent-deep); }
.t-sage .tile-eyebrow { color: var(--green); }                     /* 7,98:1 */
.t-cream .tile-eyebrow { color: var(--accent); }                   /* 5,36:1 */
.t-panel { background: var(--panel); }
.t-panel .tile-eyebrow { color: var(--ink); }                      /* 9,01:1 */
.t-green { background: var(--green); color: var(--cream); }        /* 9,21:1 */
.t-green .tile-eyebrow { color: var(--yellow); }                   /* 7,69:1 */
.t-green .btn-line, .t-dark .btn-line { color: var(--cream); }
.t-dark { background: var(--brown); color: var(--cream); }         /* 17,06:1 */
.t-dark .tile-eyebrow { color: var(--yellow); }
.tile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; padding: 0.75rem; background: var(--cream); }
.tile-half { border-radius: 1.75rem; }
.tile-half .tile-name { font-size: clamp(2.6rem, 5vw, 4rem); }

/* Telefon: ramă desenată în CSS, captura reală pe ecran */
.phone {
  --w: 15rem;
  position: relative; flex: none; width: var(--w); aspect-ratio: 600 / 1304;
  padding: calc(var(--w) * 0.035); border-radius: calc(var(--w) * 0.17);
  background: linear-gradient(145deg, #3a3a3c, #0d0d0e);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 28px 50px -18px rgba(20, 6, 2, 0.55);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: calc(var(--w) * 0.14); background: #fff; }

.dev-adjudeco { position: relative; max-width: 62rem; margin: 0 auto; }
.dev-adjudeco .mac { width: 100%; filter: drop-shadow(0 30px 45px rgba(20, 6, 2, 0.35)); }
.dev-adjudeco .phone { --w: clamp(5.5rem, 15vw, 11rem); position: absolute; right: 3%; bottom: -3%; }

.dev-mac { max-width: 62rem; margin: 0 auto; }
.dev-mac .mac { width: 100%; filter: drop-shadow(0 30px 45px rgba(20, 6, 2, 0.35)); }
/* Albireo: telefonul în spate, cele două ceasuri plutind în față */
.dev-albireo { display: flex; justify-content: center; align-items: flex-end; }
.dev-albireo .alb-phone { width: 34%; max-width: 13rem; margin-right: -6%; filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.4)); }
.dev-albireo .alb-watch { width: 36%; max-width: 14rem; filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.45)); }
.dev-albireo .late { margin-left: -8%; animation-delay: -3s; }
.dev-fan { display: flex; justify-content: center; align-items: flex-end; }
.dev-fan .phone { --w: clamp(8rem, 18vw, 14rem); }
.dev-fan .front { z-index: 1; }
.dev-fan .side.l { margin-right: calc(var(--w) * -0.3); transform: translateY(7%) rotate(-7deg) scale(0.86); }
.dev-fan .side.r { margin-left: calc(var(--w) * -0.3); transform: translateY(7%) rotate(7deg) scale(0.86); }
.dev-one .phone { --w: clamp(10rem, 22vw, 15rem); margin: 0 auto; }
.dev-pair { display: flex; justify-content: center; align-items: flex-start; }
.dev-pair img { width: 50%; max-width: 20rem; }
.dev-pair .late { margin: 8% 0 0 -6%; animation-delay: -3s; }

/* Gama: restul produselor, carduri pe gradientul vitrinei */
.gama-head { text-align: center; padding-top: clamp(1rem, 3vw, 2rem); }
.gama-head .kicker { color: var(--accent-deep); }
.gama-title { color: var(--ink); max-width: 16ch; }
.gama-sub { color: var(--muted); }                                  /* 6,73:1 pe caisă */
.gama-sub a { color: var(--accent-deep); }
.lgroup { margin-top: clamp(3rem, 6vw, 4.5rem); }
.lgroup-title { margin: 0 0 1.25rem; font-family: var(--body); font-weight: 400; font-size: 1rem; color: var(--muted); text-align: center; }
.lgroup-title span { display: inline-block; margin-right: 0.5rem; padding: 0.35rem 1rem; border-radius: 999px; background: var(--ink); color: var(--cream); font-family: var(--mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.lgrid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
.lgrid > .lcard { flex: 0 1 calc((100% - 2.5rem) / 3); min-width: 0; }
.lcard {
  display: flex; flex-direction: column; text-align: center;
  padding: 1.25rem 1.25rem 1.5rem; border-radius: 1.75rem;
  background: rgba(253, 248, 238, 0.7); border: 1px solid rgba(43, 13, 6, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.lcard:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(43, 13, 6, 0.35); }
.lcard-img { display: block; overflow: hidden; border-radius: 1.25rem; margin-bottom: 1.1rem; }
.lcard-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.6s ease; }
.lcard:hover .lcard-img img { transform: scale(1.06); }
.lcard .tile-eyebrow { color: var(--accent-deep); margin-bottom: 0.35rem; }
.lcard-name { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 2.6vw, 2.4rem); line-height: 1; }
.lcard-lead { margin: 0.7rem 0 0; color: var(--muted); font-size: 0.98rem; flex: 1; }
.lcard-links { display: flex; justify-content: center; gap: 1.5rem; margin: 1rem 0 0; }
.lcard-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent-deep); font-weight: 600; text-decoration: none; }
.lcard-links a::after { content: " ›"; margin-left: 0.25rem; }
.lcard-links a:hover { text-decoration: underline; }

/* Toată gama */
.gama { padding-bottom: 0; }
.gama .page-lead { margin-top: 1rem; }
.prod-head h3.display { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
.capt-note { padding-top: 2.5rem; padding-bottom: 2.5rem; font-family: var(--mono); font-size: 0.8rem; color: var(--muted); }

/* Pagina unui produs cu machetă */
.prod-dev .dev-fan .phone { --w: clamp(7rem, 13vw, 11rem); }
.prod-dev .dev-one .phone { --w: clamp(10rem, 18vw, 14rem); }
.prod-dev .dev-adjudeco .phone { --w: clamp(4.5rem, 9vw, 7rem); }

/* Apariția la derulare, doar unde browserul o știe și mișcarea nu e redusă */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: apare linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
  }
}
@keyframes apare { from { opacity: 0; transform: translateY(2.5rem) scale(0.98); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lgrid > .lcard { flex-basis: calc((100% - 1.25rem) / 2); } }

/* ---------- Meniul de pe telefon (<details>, fără JavaScript) ---------- */

.mnav { display: none; position: relative; }
.mnav summary {
  display: flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border-radius: 999px; cursor: pointer; list-style: none;
  background: rgba(43, 13, 6, 0.06); color: var(--ink);
}
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.on-video .mnav summary { background: rgba(20, 6, 2, 0.45); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
/* trei linii, care devin X când meniul e deschis */
.mnav-icon, .mnav-icon::before, .mnav-icon::after {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform 0.2s ease, background 0.2s ease;
}
.mnav-icon { position: relative; }
.mnav-icon::before, .mnav-icon::after { content: ""; position: absolute; left: 0; }
.mnav-icon::before { top: -6px; }
.mnav-icon::after { top: 6px; }
.mnav[open] .mnav-icon { background: transparent; }
.mnav[open] .mnav-icon::before { top: 0; transform: rotate(45deg); }
.mnav[open] .mnav-icon::after { top: 0; transform: rotate(-45deg); }
.mnav-panel {
  position: absolute; right: 0; top: calc(100% + 0.5rem); z-index: 30;
  min-width: 15rem; padding: 0.5rem; border-radius: 1.25rem;
  background: var(--cream); color: var(--ink);
  box-shadow: 0 24px 48px -12px rgba(20, 6, 2, 0.45);
}
.mnav-panel nav { display: flex; flex-direction: column; }
.mnav-panel a, .mnav-panel span {
  display: flex; align-items: center; min-height: 48px; padding: 0 1rem; border-radius: 0.85rem;
  color: var(--ink); text-decoration: none; font-weight: 500;                 /* 17,06:1 pe --cream */
}
.mnav-panel a:hover { background: var(--panel); }
.mnav-panel nav:first-child a[aria-current="page"] { background: var(--panel); font-weight: 700; }
.mnav-lang { flex-direction: row !important; gap: 0.25rem; margin-top: 0.35rem; padding-top: 0.35rem; border-top: 1px solid rgba(43, 13, 6, 0.12); }
.mnav-lang a, .mnav-lang span { flex: 1; justify-content: center; font-family: var(--mono); font-size: 0.9rem; }
.mnav-lang span { background: var(--ink); color: var(--cream); }              /* limba curentă */

/* ---------- Telefon ---------- */

@media (max-width: 860px) {
  /* Pe telefon: sigla cu numele în stânga, butonul de meniu în dreapta; meniul și RO/EN stau în panou */
  .site-header .wrap { flex-wrap: nowrap; padding-top: 0.6rem; padding-bottom: 0.6rem; min-height: 0; }
  .pills, .lang { display: none; }
  .mnav { display: block; }
  .intro-grid, .panel-grid, .facts-grid, .footer-grid, .svc-grid, .prod-hero-grid, .pcols, .panel.pair,
  .step-grid, .contact-grid, .two-col .panel-grid, .about-grid { grid-template-columns: minmax(0, 1fr); }
  .portrait { max-width: 16rem; }
  .pgrid { grid-template-columns: minmax(0, 1fr); }
  .lgrid > .lcard { flex-basis: 100%; }
  .svc-grid > div:first-child { position: static; }
  .tile-grid { grid-template-columns: minmax(0, 1fr); }
  .dev-fan .phone { --w: 8.5rem; }
  .dev-adjudeco .phone { --w: 4.2rem; right: 1%; }
  .prevnext a { font-size: 1.3rem; padding: 1rem; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .card:nth-child(2) { margin-top: 0; }
  .card img { aspect-ratio: 4 / 3; }
  .hero-side { text-align: left; }
  .hero-note { display: none; }
  .panel { min-height: 0; }
  .panel-grid { margin-top: 4.5rem; }
  .float { max-width: 20rem; }
  .panel-outline { display: none; }
  .facts div { grid-template-columns: minmax(0, 1fr); gap: 0.15rem; }
  .footer-bottom { position: static; }
  .footer-giant { transform: none; padding-bottom: 0.5rem; }
}



@media (prefers-reduced-motion: reduce) {
  .hero video { display: none; } /* rămâne cadrul static de dedesubt */
  .float, .hero-devices { animation: none; }
  .mnav-icon, .mnav-icon::before, .mnav-icon::after { transition: none; }
  .btn, .pcard img, .lcard, .lcard-img img { transition: none; }
  .lcard:hover, .lcard:hover .lcard-img img { transform: none; }
  .pcard:hover img { transform: none; }
  .btn:hover { transform: none; }
}

.page-head .actions { margin-top: 2rem; }
