/* ==========================================================================
   TEHNOLOGIC GRUP — Sisteme de protecție solară
   Design system & global styles
   Brand: deep indigo #231B84 (preserved from legacy site) + warm brass accent
   Type: Fraunces (display serif) + Hanken Grotesk (UI / body)
   ========================================================================== */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..700;1,9..144,300..600&family=Hanken+Grotesk:wght@400;500;600;700&display=swap');

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --brand:        #231B84;
  --brand-700:    #1B1566;
  --brand-800:    #15104E;
  --brand-600:    #322AA1;
  --brand-400:    #6661C9;
  --brand-50:     #EEEDF8;
  --steel:        #4E76A8;
  --steel-50:     #EAF0F7;

  /* Warm "sun" accent */
  --sun:          #BE8638;
  --sun-600:      #A06F28;
  --sun-soft:     #E7D2A8;

  /* Ink & text */
  --ink:          #16142C;   /* headings */
  --body:         #3C3B4B;   /* body copy */
  --muted:        #6B6979;   /* secondary */

  /* Neutrals (warm) */
  --bg:           #FBFAF6;
  --surface:      #FFFFFF;
  --sand:         #F4F1E9;
  --sand-2:       #ECE6D9;
  --line:         #E7E2D6;
  --line-2:       #D8D2C3;

  /* Effects */
  --shadow-sm:  0 1px 2px rgba(22,20,44,.05), 0 2px 8px rgba(22,20,44,.04);
  --shadow-md:  0 8px 24px -8px rgba(22,20,44,.16), 0 4px 10px -6px rgba(22,20,44,.10);
  --shadow-lg:  0 30px 60px -22px rgba(22,20,44,.28), 0 12px 28px -18px rgba(22,20,44,.18);
  --shadow-brand: 0 18px 40px -14px rgba(35,27,132,.45);

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --container: 1200px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }
input, textarea, select, button { font-family: inherit; font-size: inherit; }

::selection { background: var(--brand); color: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.012em;
  font-optical-sizing: auto;
}
.display {
  font-size: clamp(2.7rem, 1.6rem + 4.6vw, 5.2rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.3rem, 1.5rem + 3vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 1.35rem + 2.2vw, 3rem); }
h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); }
h4 { font-size: 1.15rem; }
p { text-wrap: pretty; }
strong { font-weight: 600; color: var(--ink); }

.eyebrow {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sun-600);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1.5px;
  background: var(--sun);
  display: inline-block;
}
.eyebrow.center::after {
  content: "";
  width: 26px; height: 1.5px;
  background: var(--sun);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--sun-soft); }
.eyebrow.on-dark::before, .eyebrow.on-dark.center::after { background: var(--sun-soft); }

.lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); color: var(--muted); line-height: 1.6; }
.serif-accent { font-style: italic; font-family: 'Fraunces', serif; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: 1360px; }
.container-narrow { max-width: 820px; }
.section { padding-block: var(--section-y); }
.section-tight { padding-block: clamp(3rem, 6vw, 5rem); }
.bg-sand { background: var(--sand); }
.bg-surface { background: var(--surface); }
.bg-brand { background: var(--brand); color: #fff; }
.bg-mist { background: linear-gradient(180deg, var(--steel-50), var(--bg)); }

.section-head { max-width: 640px; margin-bottom: clamp(2.2rem, 4vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 1rem; }
.section-head p { margin-top: 1rem; }

.grid { display: grid; gap: clamp(1.1rem, 2.4vw, 2rem); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .92em 1.6em;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: .96rem; letter-spacing: .01em;
  border-radius: 100px;
  border: 1.5px solid transparent;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .25s, color .25s, border-color .25s;
  will-change: transform;
  position: relative;
  cursor: pointer;
}
.btn svg { width: 1.05em; height: 1.05em; transition: transform .35s var(--ease-out); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-brand); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--brand-400); outline-offset: 3px; }

.btn-sun { --btn-bg: var(--sun); box-shadow: 0 14px 30px -12px rgba(190,134,56,.6); }
.btn-sun:hover { --btn-bg: var(--sun-600); box-shadow: 0 18px 36px -12px rgba(160,111,40,.7); }

.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { --btn-bg: var(--ink); --btn-fg: #fff; box-shadow: var(--shadow-md); border-color: var(--ink); }

.btn-light { --btn-bg: #fff; --btn-fg: var(--brand); }
.btn-light:hover { box-shadow: 0 16px 34px -14px rgba(0,0,0,.5); }

.btn-outline-light { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { --btn-bg: #fff; --btn-fg: var(--brand); border-color: #fff; }

.btn-lg { padding: 1.05em 2em; font-size: 1.02rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 600; color: var(--brand);
  position: relative;
}
.link-arrow svg { width: 1.05em; height: 1.05em; transition: transform .35s var(--ease-out); }
.link-arrow::after { content:""; position:absolute; left:0; right:1.6em; bottom:-3px; height:1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out); }
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.topbar {
  background: var(--brand-800); color: rgba(255,255,255,.85);
  font-size: .82rem;
  transition: margin-top .4s var(--ease);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; padding-block: .35rem; }
.topbar a { color: inherit; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar-left { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; }
.topbar .ico { display: inline-flex; align-items: center; gap: .45rem; }
.topbar-left svg { width: 15px; height: 15px; color: var(--sun-soft); }
.topbar-right { display: flex; gap: 1rem; align-items: center; }
.topbar-right svg { width: 16px; height: 16px; }
@media (max-width: 760px) { .topbar .container { justify-content: center; } .topbar-left .hide-sm { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(251,250,246,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .4s var(--ease), border-color .4s, background .4s;
}
.site-header.scrolled { box-shadow: 0 8px 30px -18px rgba(22,20,44,.35); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); transition: height .35s var(--ease); }
.site-header.scrolled .nav { height: 66px; }

.brand-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo img { height: 40px; width: auto; transition: height .35s var(--ease); }
.site-header.scrolled .brand-logo img { height: 34px; }

.nav-menu { display: flex; align-items: center; gap: .35rem; }
.nav-link {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .55rem .85rem; border-radius: 100px;
  font-weight: 500; font-size: .96rem; color: var(--ink);
  position: relative; transition: color .2s, background .25s;
}
.nav-link .chev { width: 14px; height: 14px; transition: transform .3s var(--ease); opacity:.6; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--brand); }
.nav-link[aria-current="page"]::after {
  content:""; position:absolute; left:.85rem; right:.85rem; bottom:.28rem; height:2px;
  background: var(--sun); border-radius: 2px;
}
.nav-actions { display: flex; align-items: center; gap: .6rem; }
.nav-phone { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--ink); padding: .5rem .7rem; border-radius: 100px; transition: background .25s; }
.nav-phone:hover { background: var(--brand-50); color: var(--brand); }
.nav-phone svg { width: 18px; height: 18px; color: var(--brand); }

/* Mega menu */
.has-mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: min(720px, 86vw);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.1rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: .4rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s var(--ease), transform .35s var(--ease), visibility .3s;
}
/* invisible "bridge" that fills the gap between the trigger and the panel,
   so moving the cursor down to click keeps the menu open */
.mega::before {
  content: "";
  position: absolute;
  top: -20px; left: 0; right: 0; height: 22px;
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.has-mega:hover .chev { transform: rotate(180deg); }
.mega-item { display: flex; gap: .85rem; padding: .8rem .9rem; border-radius: var(--radius); transition: background .25s; align-items: flex-start; }
.mega-item:hover { background: var(--sand); }
.mega-ico { flex-shrink: 0; width: 42px; height: 42px; border-radius: 11px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; transition: background .25s, color .25s; }
.mega-item:hover .mega-ico { background: var(--brand); color: #fff; }
.mega-ico svg { width: 22px; height: 22px; }
.mega-item h4 { font-family: 'Hanken Grotesk', sans-serif; font-size: .98rem; font-weight: 600; color: var(--ink); margin-bottom: .12rem; }
.mega-item p { font-size: .83rem; color: var(--muted); line-height: 1.4; }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; align-items: center; justify-content: center; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: 0 0 0 auto; width: min(420px, 88vw); z-index: 1200;
  background: var(--surface); box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform .45s var(--ease-out);
  display: flex; flex-direction: column; padding: 1.4rem; overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.4rem; }
.mobile-nav-head img { height: 34px; }
.mobile-close { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: var(--ink); }
.mobile-close svg { width: 26px; height: 26px; }
.mobile-nav a.m-link { display: block; padding: .95rem .4rem; font-size: 1.1rem; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-nav a.m-link.sub { font-size: .98rem; padding-left: 1.4rem; color: var(--body); font-weight: 400; }
.mobile-nav .m-group-label { font-family:'Hanken Grotesk'; font-size:.74rem; letter-spacing:.16em; text-transform:uppercase; color: var(--muted); padding:1rem .4rem .3rem; }
.mobile-cta { margin-top: 1.4rem; display: grid; gap: .7rem; }
.scrim { position: fixed; inset: 0; background: rgba(20,18,40,.5); opacity: 0; visibility: hidden; z-index: 1100; transition: opacity .4s; backdrop-filter: blur(2px); }
.scrim.show { opacity: 1; visibility: visible; }
body.no-scroll { overflow: hidden; }

@media (max-width: 940px) {
  .nav-menu, .nav-phone, .nav-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: var(--brand-800); }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: heroZoom 18s var(--ease-out) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-media::after {
  content:""; position:absolute; inset:0;
  background:
    linear-gradient(90deg, rgba(21,16,78,.86) 0%, rgba(21,16,78,.55) 42%, rgba(21,16,78,.12) 75%, rgba(21,16,78,.30) 100%),
    linear-gradient(0deg, rgba(15,12,55,.55), rgba(15,12,55,0) 40%);
}
.hero-inner { position: relative; z-index: 2; padding-block: clamp(5.5rem, 14vh, 9rem); min-height: clamp(560px, 86vh, 860px); display: flex; flex-direction: column; justify-content: center; }
.hero-content { max-width: 660px; color: #fff; }
.hero .eyebrow { color: var(--sun-soft); margin-bottom: 1.3rem; }
.hero .eyebrow::before { background: var(--sun-soft); }
.hero h1 { color: #fff; font-weight: 400; margin-bottom: 1.3rem; }
.hero h1 em { font-style: italic; color: var(--sun-soft); }
.hero p { color: rgba(255,255,255,.86); font-size: clamp(1.05rem, 1rem + .4vw, 1.28rem); max-width: 540px; margin-bottom: 2.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-stats { display: flex; gap: clamp(1.5rem,4vw,3rem); margin-top: clamp(2.5rem, 5vw, 3.6rem); flex-wrap: wrap; }
.hero-stat .num { font-family: 'Fraunces', serif; font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.7rem); font-weight: 500; color: #fff; line-height: 1; }
.hero-stat .lbl { font-size: .86rem; color: rgba(255,255,255,.7); margin-top: .35rem; letter-spacing:.02em; }
.hero-stat .num span { color: var(--sun-soft); }

.hero-scroll { position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); z-index: 3; color: rgba(255,255,255,.75); display: flex; flex-direction: column; align-items: center; gap: .4rem; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; }
.hero-scroll .mouse { width: 22px; height: 36px; border: 1.5px solid rgba(255,255,255,.5); border-radius: 12px; position: relative; }
.hero-scroll .mouse::after { content:""; position:absolute; left:50%; top:7px; width:3px; height:7px; background:#fff; border-radius:3px; transform: translateX(-50%); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 80%{opacity:0;transform:translate(-50%,10px)} 100%{opacity:0} }

/* Trust strip */
.trust { border-block: 1px solid var(--line); background: var(--surface); }
.trust .container { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; padding-block: 1.3rem; }
.trust-item { display: flex; align-items: center; gap: .65rem; color: var(--body); font-weight: 500; font-size: .94rem; }
.trust-item svg { width: 22px; height: 22px; color: var(--brand); flex-shrink: 0; }

/* ==========================================================================
   CARDS — product categories
   ========================================================================== */
.cat-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--ink); min-height: 360px; display: flex; align-items: flex-end;
  box-shadow: var(--shadow-sm); isolation: isolate;
}
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease-out); }
.cat-card::after { content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(0deg, rgba(15,12,55,.92) 0%, rgba(15,12,55,.45) 45%, rgba(15,12,55,.05) 100%); transition: opacity .4s; }
.cat-card:hover img { transform: scale(1.07); }
.cat-card-body { padding: clamp(1.3rem, 2.5vw, 1.9rem); color: #fff; position: relative; z-index: 1; width: 100%; }
.cat-card .kicker { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sun-soft); font-weight: 600; }
.cat-card h3 { color: #fff; margin: .5rem 0 .55rem; }
.cat-card p { color: rgba(255,255,255,.82); font-size: .92rem; margin-bottom: 1rem; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.cat-card:hover p, .cat-card:focus-within p { max-height: 120px; opacity: 1; }
.cat-card .link-arrow { color: #fff; }
.cat-card .tags { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .2rem; }
.cat-card .tag { font-size: .74rem; padding: .25rem .6rem; border: 1px solid rgba(255,255,255,.3); border-radius: 100px; color: rgba(255,255,255,.85); }
.cat-card.tall { min-height: 100%; }
.cat-card.feature { min-height: 460px; }

/* generic feature card */
.feature-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.6vw, 2rem); transition: transform .4s var(--ease-out), box-shadow .4s, border-color .3s;
  height: 100%;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.feature-ico { width: 54px; height: 54px; border-radius: 14px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; margin-bottom: 1.2rem; transition: background .35s, color .35s, transform .35s var(--ease-out); }
.feature-card:hover .feature-ico { background: var(--brand); color: #fff; transform: rotate(-6deg); }
.feature-ico svg { width: 26px; height: 26px; }
.feature-card h3 { margin-bottom: .6rem; }
.feature-card p { font-size: .96rem; color: var(--muted); }

/* ==========================================================================
   SPLIT / showcase
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split.reverse .split-media { order: 2; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: 0; } }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.split-media .badge-float {
  position: absolute; background: var(--surface); border-radius: var(--radius); padding: 1rem 1.2rem;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: .8rem;
}
.split-media .badge-float.br { right: -14px; bottom: 28px; }
.split-media .badge-float.tl { left: -14px; top: 28px; }
.badge-float .b-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--sun); color: #fff; display: grid; place-items: center; }
.badge-float .b-ico svg { width: 20px; height: 20px; }
.badge-float .b-num { font-family: 'Fraunces', serif; font-weight: 600; color: var(--ink); font-size: 1.25rem; line-height: 1; }
.badge-float .b-lbl { font-size: .78rem; color: var(--muted); }
@media (max-width: 540px){ .split-media .badge-float.br{ right:8px; } .split-media .badge-float.tl{ left:8px; } }

.checklist { display: grid; gap: .85rem; margin: 1.6rem 0; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; }
.checklist .ck { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; margin-top: 2px; }
.checklist .ck svg { width: 14px; height: 14px; }
.checklist span { color: var(--body); }

/* ==========================================================================
   STATS band
   ========================================================================== */
.stats-band { background: var(--brand); color: #fff; position: relative; overflow: hidden; }
.stats-band::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 15% 20%, rgba(110,99,201,.35), transparent 45%), radial-gradient(circle at 85% 80%, rgba(78,118,168,.3), transparent 45%); }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; text-align: center; }
@media (max-width: 720px){ .stats-grid { grid-template-columns: repeat(2,1fr); gap: 2.2rem 1rem; } }
.stat .num { font-family: 'Fraunces', serif; font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.6rem); font-weight: 500; line-height: 1; }
.stat .num span { color: var(--sun-soft); }
.stat .lbl { margin-top: .6rem; color: rgba(255,255,255,.78); font-size: .92rem; }

/* ==========================================================================
   PROCESS steps
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(1.2rem,2.5vw,2rem); counter-reset: step; }
@media (max-width: 900px){ .steps { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px){ .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 1.4rem; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: 'Fraunces', serif; font-size: 1.05rem; font-weight: 600; color: var(--sun-600);
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--sun-soft); background: var(--surface); margin-bottom: 1rem;
}
.step h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.step p { font-size: .94rem; color: var(--muted); }
.step .connector { position: absolute; top: calc(1.4rem + 23px); left: 56px; right: -10px; height: 1.5px; background: linear-gradient(90deg, var(--line-2), transparent); }
@media (max-width: 900px){ .step .connector { display: none; } }

/* ==========================================================================
   MARQUEE (partners)
   ========================================================================== */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: clamp(2.5rem, 6vw, 5rem); width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-item { font-family: 'Fraunces', serif; font-size: clamp(1.3rem, 1rem + 1.4vw, 2rem); font-weight: 600; color: var(--line-2); letter-spacing: .02em; display: flex; align-items: center; gap: .5rem; white-space: nowrap; transition: color .3s; }
.marquee-item:hover { color: var(--brand); }
@media (prefers-reduced-motion: reduce){ .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; } }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.quote-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem,3vw,2.2rem); height: 100%; display: flex; flex-direction: column; transition: transform .4s var(--ease-out), box-shadow .4s; }
.quote-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.quote-mark { font-family: 'Fraunces', serif; font-size: 3.4rem; line-height: .6; color: var(--sun-soft); margin-bottom: .4rem; }
.stars { display: flex; gap: 2px; color: var(--sun); margin-bottom: .9rem; }
.stars svg { width: 17px; height: 17px; }
.quote-card blockquote { font-size: 1.04rem; color: var(--body); line-height: 1.6; margin-bottom: 1.4rem; flex: 1; }
.quote-author { display: flex; align-items: center; gap: .8rem; }
.q-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-family: 'Fraunces', serif; font-weight: 600; }
.quote-author .qn { font-weight: 600; color: var(--ink); font-size: .96rem; }
.quote-author .ql { font-size: .84rem; color: var(--muted); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { position: relative; overflow: hidden; background: var(--brand-700); color: #fff; border-radius: clamp(20px, 4vw, 36px); padding: clamp(2.4rem, 5vw, 4.5rem); }
.cta-band::before { content:""; position:absolute; right:-60px; top:-60px; width:340px; height:340px; border-radius:50%; background: radial-gradient(circle, rgba(190,134,56,.45), transparent 65%); }
.cta-band::after { content:""; position:absolute; left:-40px; bottom:-80px; width:300px; height:300px; border-radius:50%; background: radial-gradient(circle, rgba(78,118,168,.4), transparent 65%); }
.cta-band .inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; max-width: 620px; }
.cta-band p { color: rgba(255,255,255,.82); margin-top: .8rem; max-width: 520px; }
.cta-band .actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--brand-800); color: rgba(255,255,255,.72); padding-top: clamp(3.5rem,7vw,5.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: clamp(1.8rem, 3vw, 3rem); padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (max-width: 900px){ .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.4rem 1.5rem; } }
@media (max-width: 560px){ .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .f-logo { font-family: 'Fraunces', serif; font-size: 1.55rem; font-weight: 600; color: #fff; letter-spacing: .01em; }
.footer-brand .f-tag { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sun-soft); margin-top: .2rem; }
.footer-brand p { margin-top: 1rem; font-size: .94rem; max-width: 320px; }
.footer-col h4 { font-family: 'Hanken Grotesk', sans-serif; color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: .65rem; }
.footer-col a { font-size: .95rem; transition: color .2s, padding-left .25s; }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.f-contact li { display: flex; gap: .65rem; align-items: flex-start; font-size: .94rem; margin-bottom: .8rem; }
.f-contact svg { width: 18px; height: 18px; color: var(--sun-soft); flex-shrink: 0; margin-top: 2px; }
.f-contact a:hover { color: #fff; }
.f-social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.f-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; transition: background .25s, border-color .25s, transform .25s; }
.f-social a:hover { background: var(--sun); border-color: var(--sun); transform: translateY(-3px); }
.f-social svg { width: 19px; height: 19px; color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.6rem; font-size: .85rem; }
.footer-bottom .partners { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-bottom .partners a:hover { color:#fff; }

/* ==========================================================================
   PAGE HEADER (interior pages)
   ========================================================================== */
.page-hero { position: relative; background: var(--brand-800); color: #fff; overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.page-hero::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(21,16,78,.5), rgba(21,16,78,.85)); }
.page-hero-inner { position: relative; z-index: 2; padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.page-hero h1 { color: #fff; max-width: 760px; margin-top: .8rem; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 560px; margin-top: 1.1rem; font-size: 1.12rem; }
/* "în lucru" markers for the ranges that are not presented yet */
.wip-tag { display: inline-block; font-family: inherit; font-size: .62rem; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--sun-600); background: #F6EBD9; border-radius: 100px; padding: .08rem .5rem; margin-left: .35rem; vertical-align: middle; white-space: nowrap; }
.mega-item.mega-main { background: var(--brand-50); }
.mega-item.mega-main:hover { background: #E3E1F5; }
.wip-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 3rem); text-align: center; box-shadow: var(--shadow-sm); }
.wip-card .wip-tag { margin: 0 0 1rem; font-size: .72rem; padding: .2rem .8rem; }
.wip-card p { color: var(--muted); max-width: 52ch; margin: .9rem auto 0; }
.wip-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.8rem; }
.wip-chips { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.wip-chip { display: inline-flex; align-items: center; border: 1px solid var(--line); background: var(--surface); border-radius: 100px; padding: .5rem 1rem; font-size: .92rem; color: var(--body); transition: border-color .25s, color .25s; }
.wip-chip:hover { border-color: var(--brand-400); color: var(--brand); }
/* Google rating summary (home) */
.rating-card { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.2rem); flex-wrap: wrap; justify-content: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3.5vw, 2.6rem); box-shadow: var(--shadow-sm); }
.rating-card .r-score { font-family: 'Fraunces', serif; font-weight: 600; font-size: clamp(3.2rem, 2rem + 4vw, 4.6rem); line-height: 1; color: var(--ink); }
.rating-card .r-text { flex: 1 1 240px; }
.rating-card .r-text p { color: var(--muted); margin-top: .35rem; }
.g-stars { font-size: 1.7rem; letter-spacing: .1em; line-height: 1; background: linear-gradient(90deg, var(--sun) 90%, #D9D4C7 90%); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
.reviews-grid .quote-card { padding: 1.5rem; }
.reviews-grid blockquote { font-size: .98rem; }
/* hub hero (Jaluzele 50 mm): the two material cards sit inside the hero, no scroll needed */
.hub-hero .page-hero-inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding-block: clamp(2rem, 4vw, 3.2rem); }
.hub-hero h1 { font-size: clamp(1.9rem, 1.2rem + 2vw, 2.9rem); }
.hub-hero .hub-text p { font-size: 1.02rem; }
.hub-cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.8rem, 1.6vw, 1.3rem); }
.hub-hero .cat-card { min-height: clamp(300px, 52vh, 440px); box-shadow: var(--shadow-lg); outline: 1px solid rgba(255,255,255,.14); }
.hub-hero .cat-card img { opacity: 1; }
.hub-hero .cat-card::after { background: linear-gradient(0deg, rgba(15,12,55,.9) 0%, rgba(15,12,55,.3) 42%, rgba(15,12,55,0) 70%); }
.hub-hero .cat-card h3 { font-size: clamp(1.15rem, .9rem + .8vw, 1.5rem); }
@media (max-width: 900px) {
  .hub-hero .page-hero-inner { grid-template-columns: 1fr; gap: 1.3rem; padding-block: 1.5rem 1.8rem; }
  .hub-hero .hub-text p { display: none; }
  .hub-hero .cat-card { min-height: clamp(210px, 38vh, 320px); }
  .hub-hero .cat-card-body { padding: .9rem; }
  .hub-hero .cat-card .kicker { font-size: .66rem; letter-spacing: .1em; }
}
.breadcrumb { display: flex; gap: .5rem; align-items: center; font-size: .85rem; color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 14px; height: 14px; opacity: .6; }

/* ==========================================================================
   PRODUCT detail rows
   ========================================================================== */
.product-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem,4vw,4rem); align-items: center; }
.product-row + .product-row { margin-top: clamp(3rem, 6vw, 5.5rem); }
.product-row.reverse .pr-media { order: 2; }
@media (max-width: 860px){ .product-row { grid-template-columns: 1fr; } .product-row.reverse .pr-media { order: 0; } }
.pr-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.pr-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .8s var(--ease-out); }
.pr-media:hover img { transform: scale(1.05); }
.pr-num { font-family:'Fraunces',serif; font-size: .95rem; color: var(--sun-600); font-weight: 600; letter-spacing:.1em; }
.pr-body h2 { margin: .5rem 0 1rem; }
.feat-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.3rem; }
.feat-pill { font-size: .85rem; padding: .45rem .9rem; background: var(--surface); border: 1px solid var(--line); border-radius: 100px; color: var(--body); display:inline-flex; align-items:center; gap:.4rem; }
.feat-pill svg { width: 15px; height: 15px; color: var(--brand); }

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery-filter { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2.4rem; }
.filter-btn { padding: .55rem 1.2rem; border-radius: 100px; border: 1.5px solid var(--line-2); font-weight: 500; font-size: .9rem; color: var(--body); transition: all .25s; }
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.gallery-grid { columns: 3; column-gap: clamp(.8rem, 2vw, 1.4rem); }
@media (max-width: 900px){ .gallery-grid { columns: 2; } }
@media (max-width: 560px){ .gallery-grid { columns: 1; } }
.gallery-item { break-inside: avoid; margin-bottom: clamp(.8rem,2vw,1.4rem); border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer; box-shadow: var(--shadow-sm); }
.gallery-item img { width: 100%; transition: transform .7s var(--ease-out); }
.gallery-item::after { content:""; position:absolute; inset:0; background: linear-gradient(0deg, rgba(15,12,55,.55), transparent 50%); opacity:0; transition: opacity .35s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item .gcap { position:absolute; left:1rem; bottom:.85rem; color:#fff; font-weight:500; z-index:1; opacity:0; transform: translateY(8px); transition: all .35s; }
.gallery-item:hover .gcap { opacity:1; transform: translateY(0); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(15,12,40,.94); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .3s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 82vh; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lb-close, .lb-prev, .lb-next { position: absolute; color: #fff; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); transition: background .2s; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.2); }
.lb-close { top: 1.4rem; right: 1.4rem; }
.lb-prev { left: 1.4rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.4rem; top: 50%; transform: translateY(-50%); }
.lb-close svg, .lb-prev svg, .lb-next svg { width: 26px; height: 26px; }

/* ==========================================================================
   FORMS
   ========================================================================== */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3.5vw, 2.6rem); box-shadow: var(--shadow-md); }
.field { position: relative; margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 500; font-size: .9rem; color: var(--ink); margin-bottom: .45rem; }
.field label .req { color: var(--sun-600); }
.field input, .field textarea, .field select {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm);
  background: var(--bg); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); background: #fff; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .7; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px){ .field-row { grid-template-columns: 1fr; } }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: .6rem; }
.choice {
  position: relative; border: 1.5px solid var(--line-2); border-radius: var(--radius); padding: .9rem; cursor: pointer;
  display: flex; gap: .65rem; align-items: center; transition: border-color .2s, background .2s; font-size: .92rem; font-weight: 500; color: var(--body);
}
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice .c-ico { width: 36px; height: 36px; border-radius: 9px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; transition: background .2s, color .2s; }
.choice .c-ico svg { width: 20px; height: 20px; }
.choice:hover { border-color: var(--brand-400); }
.choice:has(input:checked) { border-color: var(--brand); background: var(--brand-50); color: var(--brand); }
.choice:has(input:checked) .c-ico { background: var(--brand); color: #fff; }
.choice:has(input:focus-visible) { box-shadow: 0 0 0 4px var(--brand-50); }
/* consent checkbox: a real, visible tick box; the whole row is clickable */
.consent { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.3rem; padding: .35rem 0; cursor: pointer; font-size: .95rem; color: var(--body); line-height: 1.45; position: relative; }
.consent input { position: absolute; opacity: 0; width: 26px; height: 26px; left: 0; top: 50%; transform: translateY(-50%); margin: 0; cursor: pointer; }
.consent .box { flex-shrink: 0; width: 26px; height: 26px; border-radius: 7px; border: 2px solid var(--brand-400); background: var(--surface); color: #fff; display: grid; place-items: center; transition: background .2s, border-color .2s, box-shadow .2s; }
.consent .box svg { width: 16px; height: 16px; opacity: 0; transform: scale(.6); transition: opacity .15s, transform .2s var(--ease-out); }
.consent:hover .box { border-color: var(--brand); }
.consent input:checked + .box { background: var(--brand); border-color: var(--brand); }
.consent input:checked + .box svg { opacity: 1; transform: scale(1); }
.consent input:focus-visible + .box { box-shadow: 0 0 0 4px var(--brand-50); }
.form-success { display: none; text-align: center; padding: 2rem 1rem; }
.form-success.show { display: block; }
.form-success .s-ico { width: 70px; height: 70px; border-radius: 50%; background: #E7F4EC; color: #1E8E4E; display: grid; place-items: center; margin: 0 auto 1.2rem; }
.form-success .s-ico svg { width: 36px; height: 36px; }

/* Contact info cards */
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; display: flex; gap: 1rem; align-items: flex-start; transition: transform .35s var(--ease-out), box-shadow .35s; }
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.info-ico { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.info-ico svg { width: 24px; height: 24px; }
.info-card h4 { font-family:'Hanken Grotesk'; font-size: .82rem; letter-spacing:.12em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; font-weight:600; }
.info-card a, .info-card p { color: var(--ink); font-weight: 500; }
.info-card a:hover { color: var(--brand); }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.map-wrap iframe { display:block; width:100%; height: 420px; border:0; filter: grayscale(.2) contrast(1.02); }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem 0; text-align: left; font-family: 'Fraunces', serif; font-size: 1.15rem; color: var(--ink); }
.faq-q .pm { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: background .25s, color .25s, transform .3s; }
.faq-q .pm svg { width: 16px; height: 16px; transition: transform .3s; }
.faq-item.open .pm { background: var(--brand); color: #fff; border-color: var(--brand); }
.faq-item.open .pm svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding-bottom: 1.3rem; color: var(--muted); max-width: 70ch; }

/* ==========================================================================
   Reveal animations
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal].in { transform: none; }
[data-delay="1"]{ transition-delay: .08s; }
[data-delay="2"]{ transition-delay: .16s; }
[data-delay="3"]{ transition-delay: .24s; }
[data-delay="4"]{ transition-delay: .32s; }
[data-delay="5"]{ transition-delay: .4s; }
@media (prefers-reduced-motion: reduce){
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-media img { animation: none; transform: none; }
}

/* Utilities */
.text-center { text-align: center; }
.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}
.mb-0{margin-bottom:0}
.maxw-60{max-width:60ch}
.flex-center { display:flex; align-items:center; gap:.6rem; }
.hr-soft { height:1px; background: var(--line); border:0; }
.pill-note { display:inline-flex; align-items:center; gap:.5rem; background: var(--brand-50); color: var(--brand); padding:.5rem 1rem; border-radius:100px; font-weight:600; font-size:.85rem; }
.pill-note svg{ width:16px;height:16px; }

/* ==========================================================================
   Split ratio modifiers (collapse correctly on mobile — no inline overrides)
   ========================================================================== */
.split.split-wide { grid-template-columns: 1.55fr 1fr; align-items: flex-start; }
.split.split-top  { align-items: flex-start; }
@media (max-width: 880px){ .split.split-wide { grid-template-columns: 1fr; } }

/* ==========================================================================
   WOOD BLINDS CONFIGURATOR
   ========================================================================== */
.configurator { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 900px){ .configurator { grid-template-columns: 1fr; } }
.cfg-stage { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--sand); aspect-ratio: 11/6; }
.cfg-stage img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s var(--ease); }
.cfg-badge { position: absolute; left: 1rem; top: 1rem; background: rgba(255,255,255,.92); backdrop-filter: blur(4px); border-radius: 100px; padding: .4rem .9rem; font-size: .8rem; font-weight: 600; color: var(--brand); box-shadow: var(--shadow-sm); }
.cfg-note { font-size: .82rem; color: var(--muted); margin-top: .7rem; }
.config-options h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.config-options .sub { color: var(--muted); font-size: .92rem; margin-bottom: 1.1rem; }
.cfg-selected { display: inline-flex; align-items: center; gap: .5rem; background: var(--brand-50); color: var(--brand); font-weight: 600; padding: .45rem 1rem; border-radius: 100px; font-size: .92rem; margin-bottom: 1.4rem; }
.cfg-selected .dot { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(82px, 1fr)); gap: .6rem; margin-bottom: 1.9rem; }
.swatch { cursor: pointer; border: 2px solid var(--line); border-radius: 12px; padding: 4px; background: var(--surface); transition: border-color .2s, transform .2s, box-shadow .2s; text-align: center; }
.swatch:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.swatch:focus-visible { outline: 3px solid var(--brand-400); outline-offset: 2px; }
.swatch .chip { height: 44px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.10); }
.swatch .sw-name { display: block; font-size: .72rem; color: var(--body); margin-top: .4rem; line-height: 1.2; }
.swatch.active { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); }
.swatch.active .sw-name { color: var(--brand); font-weight: 600; }
.cfg-specs { display: grid; gap: 0; margin: .4rem 0 1.8rem; }
.cfg-specs li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed var(--line); padding: .7rem 0; font-size: .95rem; }
.cfg-specs li span:first-child { color: var(--muted); }
.cfg-specs li span:last-child { color: var(--ink); font-weight: 600; text-align: right; }
.cfg-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.cfg-warn { color: #B42318; background: #FEF3F2; border: 1px solid #FECDCA; border-radius: 10px; padding: .7rem .95rem; font-size: .9rem; margin-bottom: 1rem; }
.field input.field-error { border-color: #D92D20; box-shadow: 0 0 0 4px rgba(217,45,32,.12); background: #fff; }
/* Segmented control (Acționare: Manual / Motorizat) */
.seg { display: inline-flex; gap: .35rem; background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 100px; padding: 4px; margin-bottom: 1.7rem; }
.seg-btn { display: inline-flex; align-items: center; gap: .45rem; padding: .58rem 1.15rem; border-radius: 100px; font-weight: 600; font-size: .92rem; color: var(--body); transition: background .25s, color .25s; }
.seg-btn svg { width: 17px; height: 17px; }
.seg-btn.active { background: var(--brand); color: #fff; }
.seg-btn:focus-visible { outline: 3px solid var(--brand-400); outline-offset: 2px; }

/* Configurator recap on the quote form */
.config-recap { border: 1.5px solid var(--brand); background: var(--brand-50); border-radius: var(--radius); padding: 1.1rem 1.2rem; margin-bottom: 1.5rem; }
.cr-head { display: flex; align-items: center; gap: .8rem; margin-bottom: .9rem; }
.cr-ico { width: 42px; height: 42px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.cr-ico svg { width: 22px; height: 22px; }
.cr-head strong { display: block; color: var(--ink); font-size: 1.02rem; }
.cr-head > div span { font-size: .83rem; color: var(--muted); }
.cr-edit { margin-left: auto; font-size: .85rem; font-weight: 600; color: var(--brand); white-space: nowrap; }
.cr-edit:hover { text-decoration: underline; }
.cr-list { display: grid; gap: 0; }
.cr-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-top: 1px dashed var(--line-2); font-size: .94rem; }
.cr-list li span:first-child { color: var(--muted); }
.cr-list li span:last-child { color: var(--ink); font-weight: 600; text-align: right; }
