/* ==========================================================================
   Evola · fereastraevola.ro
   Foaie de stiluri unică, fără dependențe. Structură:
   1. Fonturi și variabile   2. Bază   3. Layout   4. Antet și meniu
   5. Componente comune (colțuri drepte peste tot; emblema și fragmentele din logo ca semn grafic)      6. Prima pagină      7. Pagini de produs
   8. Uși (configurator)     9. Informații        10. Ofertă
   11. Portofoliu și lightbox 12. Contact         13. Subsol   14. Diverse
   ========================================================================== */

/* 1. Fonturi și variabile ------------------------------------------------ */
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* culorile din logo: roșu + petrol; auriul este accentul site-ului */
  --petrol: #00546b;
  --petrol-700: #06475a;
  --petrol-900: #0a2e3a;
  --gold: #c5b05a;
  --gold-600: #a9953f;
  --gold-700: #75651f;
  --gold-100: #f6f1dd;
  --red: #da251d;
  --ink: #18242a;
  --text: #36444c;
  --muted: #65737b;
  --bg: #faf9f5;
  --surface: #ffffff;
  --sand: #f1efe7;
  --line: #e2dfd4;
  --shadow-sm: 0 1px 2px rgba(10, 46, 58, .06), 0 4px 14px -6px rgba(10, 46, 58, .12);
  --shadow: 0 1px 2px rgba(10, 46, 58, .05), 0 18px 40px -18px rgba(10, 46, 58, .28);
  --container: 1180px;
  --gutter: clamp(18px, 4vw, 32px);
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

/* 2. Bază ---------------------------------------------------------------- */
/* colțuri drepte peste tot: regula anulează și rotunjirile implicite ale browserului (câmpuri, liste, butoane) */
*, *::before, *::after { box-sizing: border-box; border-radius: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 116px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; letter-spacing: -.022em; margin: 0 0 .5em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); letter-spacing: -.015em; }
h4 { font-size: 1.05rem; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
a { color: var(--petrol); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--petrol-900); }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
strong { color: var(--ink); font-weight: 700; }
button, input, select, textarea { font: inherit; color: inherit; border-radius: 0; }
input[type="search"], input[type="text"], input[type="email"], input[type="tel"], input[type="number"], textarea, select { -webkit-appearance: none; appearance: none; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--ink); }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 200; }
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 3. Layout -------------------------------------------------------------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(36px, 5vw, 64px); }
.section--sand { background: var(--sand); }
.section--dark { position: relative; overflow: hidden; background: var(--petrol-900); color: #c9d6da; }
.section--dark::after { content: ""; position: absolute; top: 0; right: max(calc((100vw - var(--container)) / 2 - 70px), -36px); width: clamp(200px, 36vw, 480px); aspect-ratio: 350 / 138; background: url("../img/brand/fragmente-inchis.svg") right top / contain no-repeat; pointer-events: none; }
.section--dark > .container { position: relative; z-index: 1; }
.section--dark h2, .section--dark h3, .section--dark strong { color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { font-size: 1.12rem; color: var(--muted); margin: 0; }
.section--dark .section-head p { color: #a9bcc2; }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
/* copiii unui grid nu au voie să lățească pagina (taburi derulabile, tabele, imagini) */
.split > *, .grid > *, .offer > *, .door > *, .feature > *, .security > *, .hero .container > *, .cta-band > *, .footer__grid > * { min-width: 0; }
@media (min-width: 720px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.25fr 1fr; }
  .split--wide-right { grid-template-columns: 1fr 1.35fr; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .sticky { position: sticky; top: 122px; }
}

/* 4. Antet și meniu ------------------------------------------------------ */
.topbar { background: var(--petrol-900); color: #b9c9ce; font-size: .84rem; }
.topbar .container { display: flex; gap: 22px; justify-content: space-between; align-items: center; min-height: 38px; }
.topbar a { color: #e6eef0; text-decoration: none; }
.topbar a:hover { color: var(--gold); }
.topbar__contact { display: flex; gap: 22px; }
@media (max-width: 719px) { .topbar__place { display: none; } .topbar .container { justify-content: center; } }

.header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 80px; }
@media (min-width: 1040px) { .header .container { min-height: 98px; } }
.logo { --logo-w: 168px; position: relative; display: block; flex: none; width: var(--logo-w); line-height: 1; text-decoration: none; }
.logo img { width: 100%; height: auto; }
/* „PRIMA ALEGERE” stă sub cuvântul evola, în dreapta emblemei, ca în logo-ul original */
.logo span { position: absolute; left: 44%; top: 67%; font-size: calc(var(--logo-w) * .05); letter-spacing: .19em; text-transform: uppercase; white-space: nowrap; color: #8a8880; font-weight: 600; }
@media (min-width: 1040px) { .logo { --logo-w: 212px; } }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 13px; font-size: .95rem; font-weight: 600; color: var(--ink); text-decoration: none; background: none; border: 0; }
.nav__link:hover, .nav__item--open > .nav__link { background: var(--sand); color: var(--ink); }
.nav__link[aria-current="page"], .nav__link.is-active { color: var(--petrol); box-shadow: inset 0 -2px 0 var(--gold); }
.nav__caret { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .6; }
.nav__item { position: relative; }
.nav__sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 10px); left: -8px; min-width: 230px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .16s, transform .16s, visibility .16s; }
.nav__sub::before { content: ""; position: absolute; inset: -12px 0 auto 0; height: 12px; }
.nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub, .nav__item--open > .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: flex; flex-direction: column; padding: 9px 12px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
.nav__sub a small { font-weight: 500; color: var(--muted); font-size: .8rem; }
.nav__sub a:hover { background: var(--sand); }
.nav__cta { margin-left: 10px; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: var(--surface); align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1039px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 12px var(--gutter) 22px; flex-direction: column; align-items: stretch; max-height: calc(100dvh - 80px); overflow: auto; }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { width: 100%; justify-content: space-between; padding: 14px 6px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__link[aria-current="page"], .nav__link.is-active { box-shadow: none; }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 8px 12px; display: none; min-width: 0; }
  .nav__item--open > .nav__sub { display: block; }
  .nav__item:hover > .nav__sub { display: none; }
  .nav__item--open:hover > .nav__sub { display: block; }
  .nav__cta { margin: 16px 0 0; }
  .nav__cta .btn { width: 100%; }
}

/* 5. Componente comune --------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border: 1.5px solid transparent; background: var(--gold); color: var(--ink); font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; transition: transform .15s, background .15s, box-shadow .15s, border-color .15s; }
.btn:hover { background: #d3bf6c; color: var(--ink); transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgba(117, 101, 31, .8); }
.btn:active { transform: none; }
.btn--dark { background: var(--petrol-900); color: #fff; }
.btn--dark:hover { background: var(--petrol); color: #fff; box-shadow: 0 10px 22px -12px rgba(10, 46, 58, .8); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { background: var(--surface); border-color: var(--ink); box-shadow: none; }
.section--dark .btn--ghost, .cta-band .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .28); }
.section--dark .btn--ghost:hover, .cta-band .btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: #fff; color: #fff; }
.btn--sm { padding: 10px 18px; font-size: .92rem; }
.btn .arrow, .link-arrow .arrow { display: inline-block; transition: transform .2s; }
.btn:hover .arrow, .link-arrow:hover .arrow, .card:hover .arrow { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; text-decoration: none; color: var(--petrol); }

/* supratitlu marcat cu emblema Evola */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-700); margin-bottom: 16px; }
.eyebrow::before { content: ""; flex: none; width: 25px; height: 19px; background: url("../img/brand/evola-emblema.svg") center / contain no-repeat; }
.section--dark .eyebrow { color: var(--gold); }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.6; color: var(--text); }
.muted { color: var(--muted); }
.note { font-size: .92rem; color: var(--muted); border-left: 3px solid var(--gold); padding: 4px 0 4px 14px; margin: 0 0 1.1em; }

.card { background: var(--surface); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; }
a.card { text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: inherit; }
.card__media { aspect-ratio: 4 / 3; background: var(--sand); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card__media--contain { background: linear-gradient(160deg, #f6f5f0, #e6e3d9); padding: 18px; }
.card__media--contain img { object-fit: contain; }
a.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__body h3 { margin: 0; }
.card__body p { margin: 0; color: var(--muted); font-size: .98rem; }
.card__body .link-arrow { margin-top: auto; padding-top: 10px; }

.panel { background: var(--surface); border: 1px solid var(--line); padding: clamp(22px, 3vw, 34px); }
.panel > :last-child { margin-bottom: 0; }
.panel--sand { background: var(--sand); border-color: transparent; }
.panel--dark { background: var(--petrol-900); border-color: transparent; color: #c9d6da; }
.panel--dark h2, .panel--dark h3, .panel--dark strong { color: #fff; }
.panel--dark a:not(.btn) { color: var(--gold); }
.section--dark .panel--dark { background: #103b49; }

.checklist { list-style: none; padding: 0; margin: 0 0 1.1em; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; }
/* punctele de listă sunt mici fragmente din logo */
.checklist li::before { content: ""; position: absolute; left: 5px; top: .48em; width: 10px; height: 12px; background: var(--petrol); transform: skewX(-30deg); }
.panel--dark .checklist li::before, .section--dark .checklist li::before { background: var(--gold); }
@media (min-width: 720px) { .checklist--cols { grid-template-columns: 1fr 1fr; column-gap: 32px; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1.1em; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; background: var(--surface); border: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--ink); text-decoration: none; }
a.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip--gold { background: var(--gold-100); border-color: transparent; color: var(--gold-700); }

.figures { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); overflow: hidden; }
.figure { background: var(--surface); padding: 22px 22px 20px; }
.figure b { display: block; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.03em; color: var(--ink); line-height: 1.05; }
.figure b small { font-size: .5em; font-weight: 700; letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.figure span { display: block; margin-top: 8px; font-size: .9rem; color: var(--muted); line-height: 1.4; }
@media (min-width: 880px) { .figures--4 { grid-template-columns: repeat(4, 1fr); } }

.page-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sand), var(--bg)); padding-block: clamp(36px, 6vw, 76px) clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.page-hero::after { content: ""; position: absolute; top: 0; right: max(calc((100vw - var(--container)) / 2 - 70px), -36px); width: clamp(190px, 36vw, 470px); aspect-ratio: 350 / 138; background: url("../img/brand/fragmente.svg") right top / contain no-repeat; pointer-events: none; }
@media (max-width: 719px) { .page-hero::after { right: -6px; width: 168px; } }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); max-width: 18ch; }
.page-hero h1 em { font-style: normal; color: var(--petrol); }
.page-hero .lead { max-width: 62ch; margin-bottom: 0; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 22px; font-size: .86rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }

.tabs__list { display: flex; gap: 6px; overflow-x: auto; padding: 5px; margin: 0 0 24px; background: var(--sand); width: fit-content; max-width: 100%; scrollbar-width: none; }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__tab { flex: none; padding: 10px 18px; border: 0; background: transparent; font-weight: 700; font-size: .93rem; color: var(--muted); white-space: nowrap; }
.tabs__tab:hover { color: var(--ink); }
.tabs__tab[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.tabs__panel[hidden] { display: none; }
.section--sand .tabs__list, .panel--sand .tabs__list { background: #e3e0d4; }

.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.thumb { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); font-size: .84rem; font-weight: 600; line-height: 1.3; }
.thumb__img { aspect-ratio: 1; overflow: hidden; background: var(--sand); border: 1px solid var(--line); }
.thumb__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.thumb:hover .thumb__img img { transform: scale(1.06); }
.thumb:hover { color: var(--petrol); }
.thumbs--wide { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.thumbs--wide .thumb__img { aspect-ratio: 5 / 4; }

.table-wrap { overflow-x: auto; margin: 0 0 1.3em; border: 1px solid var(--line); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--sand); color: var(--ink); font-weight: 700; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }

.cta-band { background: var(--petrol-900); color: #c9d6da; padding: clamp(28px, 5vw, 56px); display: grid; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -10px; top: 0; width: 190px; aspect-ratio: 350 / 138; background: url("../img/brand/fragmente-inchis.svg") right top / contain no-repeat; pointer-events: none; }
.cta-band h2 { color: #fff; margin: 0 0 10px; max-width: 22ch; }
.cta-band p { margin: 0; max-width: 56ch; }
.cta-band > * { position: relative; z-index: 1; }
@media (max-width: 879px) { .cta-band { padding-top: 86px; } }
@media (min-width: 880px) { .cta-band { grid-template-columns: 1fr auto; padding-right: clamp(215px, 23vw, 290px); } .cta-band::after { width: clamp(230px, 24vw, 300px); } }

/* 6. Prima pagină -------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 7vw, 88px) clamp(28px, 4vw, 48px); background: radial-gradient(1200px 520px at 85% -10%, #efe9d2 0%, rgba(239, 233, 210, 0) 60%), var(--bg); }
.hero .container { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--petrol); }
.hero .lead { max-width: 54ch; margin-bottom: 1.6em; }
.hero__visual { position: relative; }
.hero__shards { position: absolute; z-index: 2; top: clamp(-66px, -5vw, -34px); right: clamp(-40px, -3vw, -14px); width: min(70%, 380px); height: auto; pointer-events: none; }
.window-frame { position: relative; z-index: 1; background: #fff; padding: clamp(8px, 1.2vw, 14px); box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.window-frame img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: 35% 50%; }
.hero__chip { z-index: 3; position: absolute; left: clamp(-8px, -1vw, -18px); bottom: 10%; background: var(--petrol-900); color: #fff; padding: 14px 18px; box-shadow: var(--shadow); display: grid; gap: 2px; }
.hero__chip b { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: var(--gold); }
.hero__chip span { font-size: .8rem; color: #b9c9ce; }
@media (min-width: 960px) { .hero .container { grid-template-columns: 1.05fr .95fr; } }

.system { position: relative; display: grid; gap: 22px; }
.system__tag { display: inline-flex; align-items: baseline; gap: 2px; font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.6rem); letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.system__tag i { font-style: normal; color: var(--red); }
.section--dark .system__tag, .panel--dark .system__tag { color: #fff; }
.system dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin: 0; }
.system dt { font-size: .8rem; color: var(--muted); letter-spacing: .02em; }
.system dd { margin: 2px 0 0; font-weight: 800; color: var(--ink); font-size: 1.12rem; letter-spacing: -.01em; }
.panel--dark.system dt, .panel--dark .system dt { color: #9fb3ba; }
.panel--dark.system dd, .panel--dark .system dd { color: #fff; }
.panel--dark.system .btn { justify-self: start; }

.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; list-style: none; padding: 0; margin: 0; }
.partner { display: grid; place-items: center; height: 74px; padding: 10px 12px; background: #fff; border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.partner img { max-height: 46px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.partner:hover { border-color: var(--ink); transform: translateY(-2px); }
@media (min-width: 880px) { .partners--row { grid-template-columns: repeat(9, 1fr); } }

.mosaic { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.mosaic a { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mosaic a:hover img { transform: scale(1.05); }
@media (min-width: 720px) { .mosaic { grid-template-columns: repeat(3, 1fr); } }

/* 7. Pagini de produs ---------------------------------------------------- */
.product-shot { background: linear-gradient(160deg, #f4f3ee, #dedbd0); padding: clamp(18px, 3vw, 34px); display: grid; place-items: center; position: relative; }
.product-shot img { box-shadow: var(--shadow); max-height: 460px; width: auto; }
.shot-switch { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.shot-switch button { border: 1px solid var(--line); background: var(--surface); padding: 8px 16px; font-weight: 700; font-size: .88rem; color: var(--muted); }
.shot-switch button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.quicklinks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.quicklinks a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 16px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .96rem; }
.quicklinks a:hover { border-color: var(--ink); }
.quicklinks a::after { content: "→"; color: var(--gold-600); font-weight: 800; }
.quicklinks a[target="_blank"]::after { content: "↗"; }

.security { display: grid; gap: 24px; align-items: center; }
.security__diagram { background: var(--sand); padding: 20px; display: grid; place-items: center; }
.security__diagram svg { width: min(100%, 240px); margin-inline: auto; }
.section--sand .security__diagram { background: var(--surface); }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 14px 0 0; font-size: .85rem; color: var(--muted); justify-content: center; }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 11px; height: 11px; transform: rotate(45deg); background: var(--gold); }
.legend i.is-safe { background: var(--red); }
@media (min-width: 760px) { .security { grid-template-columns: 280px 1fr; } }

.feature { display: grid; gap: clamp(20px, 4vw, 48px); align-items: center; padding-block: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; padding-top: 0; }
.feature__media { display: grid; gap: 10px; }
.feature__media > a:first-child, .feature__media > img:first-child { overflow: hidden; background: var(--sand); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__main { aspect-ratio: 4 / 3; display: block; overflow: hidden; background: var(--sand); }
.feature__main--tall { aspect-ratio: 4 / 4.4; }
.feature__minis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feature__minis a { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand); }
.feature h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
@media (min-width: 880px) {
  .feature { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .feature:nth-of-type(even) .feature__media { order: 2; }
  .feature:nth-of-type(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}
.sizes { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 1.1em; }
.sizes li { padding: 5px 11px; background: var(--sand); font-size: .88rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }

/* 8. Uși (configurator) -------------------------------------------------- */
.door { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); }
.door__stage { background: linear-gradient(165deg, #f5f4ef 0%, #dcd9cd 100%); padding: clamp(18px, 3vw, 30px); text-align: center; }
.door__stage img { margin-inline: auto; height: min(62vh, 520px); width: auto; filter: drop-shadow(0 22px 22px rgba(10, 46, 58, .28)); }
.door__name { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; font-weight: 800; color: var(--ink); font-size: 1.1rem; }
.door__name small { font-weight: 600; color: var(--muted); font-size: .86rem; }
.models { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 10px; }
.model { border: 1.5px solid var(--line); background: var(--surface); padding: 8px 6px 6px; display: grid; gap: 6px; justify-items: center; font-size: .78rem; font-weight: 700; color: var(--muted); transition: border-color .15s, transform .15s; }
.model img { height: 92px; width: auto; }
.model:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.model[aria-pressed="true"] { border-color: var(--gold-600); background: var(--gold-100); color: var(--ink); box-shadow: inset 0 0 0 1px var(--gold-600); }
.swatches { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 0 0 1.1em; }
.swatch { display: grid; gap: 6px; justify-items: center; text-decoration: none; color: var(--ink); font-size: .8rem; font-weight: 600; width: 84px; text-align: center; line-height: 1.25; }
.swatch img { width: 68px; height: 68px; object-fit: cover; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); transition: transform .2s; }
.swatch:hover img { transform: scale(1.08); }
@media (min-width: 960px) { .door { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); align-items: start; } }

/* 9. Informații ---------------------------------------------------------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: #d3cfbf; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 700; color: var(--ink); position: relative; font-size: 1.04rem; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--gold-600); border-bottom: 2px solid var(--gold-600); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:hover { background: #fdfcf9; }
.faq__body { padding: 2px 22px 22px; }
.faq__body > :last-child { margin-bottom: 0; }
.toc { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; font-size: .93rem; }
.toc a { display: block; padding: 8px 12px; text-decoration: none; color: var(--text); border-left: 2px solid var(--line); }
.toc a:hover { background: var(--surface); border-left-color: var(--gold); color: var(--ink); }
.prose h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; font-size: 1.12rem; }
.prose h4 { margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }
.prose { max-width: 78ch; }
.prose li { margin-bottom: .4em; }
.glass-row { display: grid; gap: 16px; align-items: start; margin-bottom: 1.2em; }
.glass-row img { border: 1px solid var(--line); background: #fff; }
@media (min-width: 640px) { .glass-row { grid-template-columns: 212px 1fr; } .glass-row--wide { grid-template-columns: minmax(0, 300px) 1fr; } }
@media (min-width: 960px) { .split--toc { grid-template-columns: 280px minmax(0, 1fr); } }
.tri { display: grid; gap: 14px; margin-bottom: 1.2em; }
.tri figure { margin: 0; background: var(--surface); border: 1px solid var(--line); padding: 14px; font-size: .9rem; }
.tri figure img { margin: 0 auto 10px; }
.tri figure p { margin: 0 0 .3em; }
@media (min-width: 720px) { .tri { grid-template-columns: repeat(3, 1fr); } }

/* 10. Ofertă ------------------------------------------------------------- */
.offer { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 4vw, 44px); }
@media (min-width: 1040px) { .offer { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; } }
.steps { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; counter-reset: step; padding: 0; margin: 0 0 26px; font-size: .92rem; font-weight: 600; color: var(--muted); }
.steps li { counter-increment: step; display: inline-flex; align-items: center; gap: 9px; }
.steps li::before { content: counter(step); width: 26px; height: 26px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 800; }
.subtabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.subtabs button { border: 1px solid var(--line); background: var(--surface); padding: 8px 15px; font-weight: 700; font-size: .86rem; color: var(--muted); }
.subtabs button:hover { border-color: var(--ink); color: var(--ink); }
.subtabs button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.types { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 14px; }
.type { background: var(--surface); border: 1.5px solid var(--line); padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 12px; text-align: left; transition: border-color .15s, transform .15s, box-shadow .15s; }
.type:hover { border-color: var(--gold-600); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.type__img { background: #fff; height: 150px; display: grid; place-items: center; }
.type__img img { max-height: 150px; width: auto; max-width: 100%; mix-blend-mode: multiply; }
.type__title { font-weight: 700; color: var(--ink); font-size: .93rem; line-height: 1.3; }
.type__add { margin-top: auto; font-size: .82rem; font-weight: 700; color: var(--gold-700); display: inline-flex; gap: 6px; align-items: center; }
.type__add::before { content: "+"; width: 20px; height: 20px; background: var(--gold-100); display: grid; place-items: center; font-size: 1rem; line-height: 1; }

.cart { background: var(--surface); border: 1px solid var(--line); padding: clamp(20px, 2.6vw, 28px); }
.cart h2 { font-size: 1.3rem; margin-bottom: 4px; }
.cart__empty { color: var(--muted); font-size: .95rem; background: var(--sand); padding: 16px; margin: 14px 0 0; }
.cart__list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.cart__item { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: start; padding: 12px; border: 1px solid var(--line); }
.cart__item img { width: 54px; height: 54px; object-fit: contain; mix-blend-mode: multiply; }
.cart__item b { display: block; color: var(--ink); font-size: .93rem; line-height: 1.3; }
.cart__item small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.45; margin-top: 3px; }
.cart__actions { display: grid; gap: 4px; justify-items: end; }
.icon-btn { border: 0; background: none; padding: 4px 6px; font-size: .8rem; font-weight: 700; color: var(--petrol); }
.icon-btn:hover { background: var(--sand); }
.icon-btn--danger { color: #a8201a; }
.form { display: grid; gap: 14px; margin-top: 20px; }
.field { display: grid; gap: 6px; }
.field > span, .field > label { font-size: .84rem; font-weight: 700; color: var(--ink); }
.field i { font-style: normal; color: var(--red); }
.input, .select, .textarea { width: 100%; border: 1.5px solid var(--line); background: #fff; padding: 12px 14px; font-size: 1rem; line-height: 1.3; transition: border-color .15s, box-shadow .15s; }
.select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--petrol); box-shadow: 0 0 0 4px rgba(0, 84, 107, .14); }
.input[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 4px rgba(218, 37, 29, .12); }
.textarea { min-height: 96px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--ink); font-size: .95rem; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border: 1.5px solid #b9b5a6; background: #fff; display: grid; place-content: center; cursor: pointer; }
.check input::before { content: ""; width: 12px; height: 12px; background: var(--petrol); transform: scale(0); transition: transform .12s; }
.check input:checked { border-color: var(--petrol); }
.check input:checked::before { transform: scale(1); }
.form__error { color: #a8201a; font-size: .9rem; font-weight: 600; margin: 0; }
.form__hint { font-size: .84rem; color: var(--muted); margin: 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.dialog { border: 0; padding: 0; width: min(760px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); background: var(--surface); color: var(--text); box-shadow: 0 40px 100px -20px rgba(10, 46, 58, .55); }
.dialog::backdrop { background: rgba(10, 46, 58, .55); backdrop-filter: blur(4px); }
.dialog__inner { display: grid; gap: 0; }
.dialog__head { display: flex; justify-content: space-between; align-items: start; gap: 16px; padding: 22px 24px 0; }
.dialog__head h2 { font-size: 1.35rem; margin: 0; }
.dialog__head p { margin: 4px 0 0; font-size: .88rem; color: var(--muted); }
.dialog__close { flex: none; width: 40px; height: 40px; border: 1px solid var(--line); background: var(--surface); font-size: 1.3rem; line-height: 1; color: var(--ink); }
.dialog__close:hover { background: var(--sand); }
.dialog__body { padding: 18px 24px 8px; display: grid; gap: 20px; }
.dialog__sketch { background: #fff; border: 1px solid var(--line); display: grid; place-items: center; padding: 12px; }
.dialog__sketch img { max-height: 250px; width: auto; }
.dialog__fields { display: grid; gap: 12px; align-content: start; }
.dims { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 10px; }
.dialog__foot { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; padding: 14px 24px 22px; position: sticky; bottom: 0; background: linear-gradient(rgba(255, 255, 255, 0), #fff 30%); }
@media (min-width: 680px) { .dialog__body { grid-template-columns: 240px 1fr; } }

/* 11. Portofoliu și lightbox --------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; list-style: none; padding: 0; margin: 0; }
.gallery a { display: block; position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.05); }
.gallery figcaption, .gallery span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; color: #fff; font-weight: 700; font-size: .92rem; background: linear-gradient(transparent, rgba(10, 46, 58, .82)); }
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1040px) { .gallery { grid-template-columns: repeat(4, 1fr); } }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100dvh; width: 100vw; height: 100dvh; display: none; place-items: center; }
.lightbox[open] { display: grid; }
.lightbox::backdrop { background: rgba(8, 28, 36, .9); }
.lightbox figure { margin: 0; display: grid; gap: 12px; justify-items: center; padding: 56px 16px 24px; max-width: 100vw; }
.lightbox img { max-width: min(1100px, calc(100vw - 32px)); max-height: calc(100dvh - 150px); width: auto; height: auto; background: #fff; }
.lightbox figcaption { color: #fff; font-weight: 600; text-align: center; font-size: .98rem; }
.lightbox button { position: fixed; border: 0; width: 48px; height: 48px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.4rem; line-height: 1; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255, 255, 255, .28); }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox button[hidden] { display: none; }

/* 12. Contact ------------------------------------------------------------ */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.contact-list .ico { width: 44px; height: 44px; background: var(--gold-100); display: grid; place-items: center; color: var(--gold-700); }
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: .8rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; font-weight: 700; }
.contact-list a, .contact-list b { font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1.05rem; }
.contact-list a:hover { color: var(--petrol); text-decoration: underline; }
.map { position: relative; overflow: hidden; background: var(--sand); border: 1px solid var(--line); min-height: 340px; display: grid; place-items: center; text-align: center; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__placeholder { padding: 28px; display: grid; gap: 14px; justify-items: center; background: repeating-linear-gradient(0deg, transparent 0 39px, rgba(0, 84, 107, .07) 39px 40px), repeating-linear-gradient(90deg, transparent 0 39px, rgba(0, 84, 107, .07) 39px 40px); width: 100%; height: 100%; align-content: center; }
.map__pin { width: 64px; height: auto; filter: drop-shadow(0 8px 10px rgba(10, 46, 58, .28)); }
.people { display: grid; gap: 14px; }
@media (min-width: 640px) { .people { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .people { grid-template-columns: repeat(3, 1fr); } }
.person { background: var(--surface); border: 1px solid var(--line); padding: 18px 20px; display: grid; gap: 4px; align-content: start; }
.person b { color: var(--ink); font-size: 1.02rem; }
.person span { color: var(--muted); font-size: .88rem; }
.person__links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; font-size: .93rem; font-weight: 700; }
.person__links a { text-decoration: none; }
.person__links a:hover { text-decoration: underline; }
.dept { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-700); margin: 28px 0 12px; }
.dept:first-child { margin-top: 0; }

/* 13. Subsol ------------------------------------------------------------- */
.footer { position: relative; overflow: hidden; background: var(--petrol-900); color: #a9bcc2; padding-block: clamp(44px, 6vw, 72px) 26px; font-size: .95rem; margin-top: clamp(56px, 8vw, 104px); }
.footer::before { content: ""; position: absolute; right: -56px; bottom: -56px; width: min(40vw, 360px); aspect-ratio: 95 / 72; background: url("../img/brand/evola-emblema.svg") center / contain no-repeat; opacity: .09; pointer-events: none; }
.footer > .container { position: relative; z-index: 1; }
.footer a { color: #dfe8ea; text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer__grid { display: grid; gap: 34px; }
.footer__brand .logo-chip { display: inline-block; background: #fff; padding: 12px 16px; margin-bottom: 16px; }
.footer__brand .logo-chip img { width: 190px; }
.footer h2 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; font-weight: 700; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; font-size: .86rem; }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.ce { display: inline-flex; align-items: center; gap: 8px; }
.ce b { font-family: Arial, Helvetica, sans-serif; font-weight: 400; font-size: 1.05rem; letter-spacing: .08em; color: #fff; border: 1px solid rgba(255, 255, 255, .3); padding: 1px 7px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; } }

/* 14. Diverse ------------------------------------------------------------ */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; margin-inline: auto; max-width: 720px; background: var(--ink); color: #dbe4e7; padding: 16px 18px; display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: space-between; box-shadow: var(--shadow); font-size: .9rem; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; flex: 1 1 300px; }
.cookie a { color: var(--gold); }
.cookie__actions { display: flex; gap: 10px; align-items: center; }

.thanks { text-align: center; max-width: 640px; margin-inline: auto; padding-block: clamp(48px, 8vw, 110px); }
.thanks__mark { width: 132px; height: auto; margin: 0 auto 30px; }
.thanks .btn-row { justify-content: center; margin-top: 26px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .topbar, .header, .footer, .cookie, .cta-band, .nav-toggle { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .reveal { opacity: 1; transform: none; }
}
