/* Minibus Luxury by Cristi — redesign
   Paletă: grafit (deschidere), fildeș cald (portofoliu), auriu de logo folosit cu măsură. */
:root {
  --graphite: #1c1d1f;
  --graphite-2: #26282b;
  --graphite-3: #34373b;
  --ivory: #f3ede2;
  --ivory-2: #e8dfcf;
  --paper: #faf7f1;
  --ink: #1c1d1f;
  --on-dark: #efe8da;
  --on-dark-muted: #b6ae9f;   /* 8.3:1 pe grafit */
  --muted: #5b554b;           /* 6.6:1 pe fildeș */
  --gold: #c2a063;            /* auriu logo — doar decorativ/pe grafit (7:1) */
  --gold-ink: #7a5a24;        /* auriu text pe fildeș (5.6:1) */
  --visiniu: #6e1f2b;
  --line-dark: rgba(239, 232, 218, .16);
  --line-light: rgba(28, 29, 31, .14);
  --f-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --f-text: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --header-h: 72px;
  --radius: 2px;
  --ease-door: cubic-bezier(.7, 0, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--f-text); font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--ivory); overflow-x: clip; }
body.theme-graphite { background: var(--ivory); }
img { max-width: 100%; display: block; }
picture { display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.02; letter-spacing: .005em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.theme-ivory :focus-visible, .works :focus-visible, .routes :focus-visible, main :focus-visible { outline-color: var(--gold-ink); }
.hero :focus-visible, .band :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--graphite); padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- butoane ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: var(--radius);
  font: 600 15px/1.2 var(--f-text); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; text-align: center; }
.btn--gold { background: var(--gold); color: var(--graphite); }
.btn--gold:hover { background: #d4b479; }
.btn--ghost-light { border-color: rgba(239, 232, 218, .5); color: var(--on-dark); background: transparent; }
.btn--ghost-light:hover { border-color: var(--on-dark); background: rgba(239, 232, 218, .06); }
.btn--ghost { border-color: rgba(28, 29, 31, .4); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--lg { min-height: 54px; padding: 14px 28px; font-size: 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow::after { content: ' →'; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--gold-ink); text-decoration: underline; cursor: pointer; }
.eyebrow { font: 600 13px/1.3 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 14px; }
.eyebrow--gold { color: var(--gold); }
.section-title { font-size: clamp(32px, 4.2vw, 56px); }
.section-head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 820px; }

/* ---------- antet: spațiu propriu la orice lățime ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--graphite); color: var(--on-dark); border-bottom: 1px solid var(--line-dark); }
.site-header__in { height: var(--header-h); display: flex; align-items: center; gap: 24px; padding: 0 var(--gutter); max-width: 1600px; margin: 0 auto; }
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand__img { height: 54px; width: auto; }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__word strong { font: 700 22px/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark); }
.brand__word span { font: 500 12px/1.3 var(--f-text); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.nav__list { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.nav__list a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 0; border-bottom: 2px solid transparent; color: var(--on-dark); }
.nav__list a:hover, .nav__list a[aria-current="page"] { border-bottom-color: var(--gold); }
.nav__cta { min-height: 42px; padding: 10px 18px; }
.nav__more { display: none; }
.menu-btn { display: none; }

@media (max-width: 960px) {
  :root { --header-h: 60px; }
  .brand__img { height: 44px; }
  .menu-btn { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; min-height: 44px; padding: 0 4px; color: var(--on-dark); text-decoration: none; font-weight: 600; font-size: 15px; background: none; border: 0; cursor: pointer; }
  .menu-btn__bars { width: 20px; height: 12px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; position: relative; }
  .menu-btn__bars::after { content: ''; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }
  .nav { display: none; }
  .js .nav { display: flex; position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 32px; background: var(--graphite); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility 0s .2s; }
  .js .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; font: 600 30px/1.1 var(--f-display); padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
  .nav__list a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--line-dark); }
  .nav__cta { margin-top: 24px; min-height: 52px; }
  .nav__more { display: block; margin-top: 28px; color: var(--on-dark-muted); }
  .nav__more-title { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
  .nav__more ul { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
  .nav__more a { color: var(--on-dark); text-decoration: none; display: inline-block; padding: 8px 0; }
  body.menu-open { overflow: hidden; }
}

/* ---------- PRIMUL ECRAN: dublă pagină de revistă ---------- */
.hero { background: var(--graphite); color: var(--on-dark); display: grid;
  grid-template-columns: minmax(320px, 1fr) 2fr; grid-template-rows: 1fr auto;
  grid-template-areas: 'head media' 'lead media';
  min-height: calc(100svh - var(--header-h)); max-height: 1100px; }
.hero__head { grid-area: head; align-self: end; padding: clamp(32px, 5vw, 72px) clamp(24px, 3.4vw, 56px) 0 max(var(--gutter), 3.4vw); }
.hero__lead { grid-area: lead; padding: 24px clamp(24px, 3.4vw, 56px) clamp(32px, 5vw, 64px) max(var(--gutter), 3.4vw); }
.hero__title { font-size: clamp(48px, 5.4vw, 92px); font-weight: 600; line-height: .96; color: var(--on-dark); max-width: 9ch; }
.hero__text { color: var(--on-dark-muted); font-size: 18px; max-width: 34ch; margin-bottom: 28px; }
.hero__media { grid-area: media; display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.hero__frame { position: relative; flex: 1; min-height: 420px; overflow: hidden; background: var(--graphite-2); isolation: isolate; }
.layer { position: absolute; inset: 0; }
.layer picture, .layer .ph, .layer img { width: 100%; height: 100%; }
.layer img { object-fit: cover; object-position: var(--pos); }
.layer.is-entering { z-index: 2; animation: door-reveal .72s var(--ease-door) both; }
.layer.is-entering::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: var(--gold); z-index: 3; opacity: .9; animation: door-edge .72s var(--ease-door) both; }
@keyframes door-reveal { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes door-edge { from { left: 100%; } to { left: 0; opacity: 0; } }
.layer:not(.is-active):not(.is-entering) { visibility: hidden; }
.hero__bar { display: flex; align-items: center; gap: 24px 32px; flex-wrap: wrap; padding: 16px clamp(16px, 2.4vw, 32px); background: var(--graphite); border-top: 1px solid var(--line-dark); }
.hero__caption { margin: 0; color: var(--on-dark-muted); font-size: 15px; }

.swatches { border: 0; padding: 0; margin: 0; display: flex; align-items: center; gap: 8px; }
.swatches__legend { float: left; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); margin-right: 10px; padding: 0; }
.swatch { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 16px 6px 8px; border: 1px solid var(--line-dark); border-radius: 999px; cursor: pointer; color: var(--on-dark); font-weight: 500; font-size: 15px; transition: border-color .2s, background-color .2s; }
.swatch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.swatch__chip { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.swatch__chip--visiniu { background: radial-gradient(circle at 35% 30%, #93333f, var(--visiniu) 60%, #4a1219); }
.swatch__chip--gri { background: linear-gradient(135deg, #a4a7aa 0 50%, #5d6064 50% 100%); }
.swatch:hover { border-color: rgba(239,232,218,.45); }
.swatch:has(input:checked) { border-color: var(--gold); background: rgba(194,160,99,.12); }
.swatch:has(input:checked) .swatch__label::after { content: ' ✓'; color: var(--gold); }
.swatch:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 3px; }

@media (max-width: 900px) {
  .hero { display: flex; flex-direction: column; min-height: 0; max-height: none; }
  .hero__head { padding: 20px var(--gutter) 14px; order: 1; align-self: stretch; }
  .hero__title { font-size: clamp(38px, 10.6vw, 56px); max-width: 14ch; }
  .eyebrow { font-size: 12px; margin-bottom: 10px; }
  .hero__media { order: 2; }
  .hero__frame { flex: none; aspect-ratio: 4 / 3.3; min-height: 0; max-height: 52svh; width: 100%; }
  .layer img { object-position: var(--pos-m); }
  .hero__bar { padding: 10px var(--gutter); gap: 8px 16px; }
  .hero__caption { font-size: 13px; flex-basis: 100%; }
  .hero__lead { order: 3; padding: 14px var(--gutter) 32px; }
  .hero__text { font-size: 16px; margin-bottom: 16px; }
  .hero__lead .actions .btn { flex: 1 1 140px; }
}
@media (max-width: 380px) { .swatches__legend { display: none; } }

/* ---------- cadru substitut (fotografie încă nedescărcată) ---------- */
.ph { position: relative; display: flex; align-items: flex-end; min-height: 220px; width: 100%; height: 100%; color: var(--on-dark-muted);
  background: repeating-linear-gradient(115deg, #2b2d31 0 2px, #25272a 2px 22px); }
.ph__label { margin: 16px; font-size: 13px; line-height: 1.4; background: rgba(28,29,31,.86); padding: 8px 12px; border-left: 3px solid var(--gold); }
.ph__label small { opacity: .8; word-break: break-all; }
.thumb .ph__label small { display: none; }
.thumb .ph__label { font-size: 12px; margin: 10px; }

/* ---------- PORTOFOLIU (fildeș) ---------- */
.works { background: var(--ivory); padding: clamp(56px, 8vw, 112px) 0 clamp(48px, 6vw, 88px); }
.works__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 2.6vw, 40px); align-items: start; }
.work { min-width: 0; }
.work__link { display: block; text-decoration: none; color: inherit; }
.work__media { overflow: hidden; background: var(--ivory-2); }
.work__media img, .work__media .ph { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos); transition: transform .6s ease; }
.work__link:hover .work__media img { transform: scale(1.025); }
.work__body { padding-top: 16px; }
.work__code { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 6px; }
.work__title { font-size: clamp(26px, 2.4vw, 36px); margin-bottom: 8px; }
.work__detail { color: var(--muted); max-width: 46ch; margin-bottom: 10px; }
.work__more { font-weight: 600; font-size: 15px; border-bottom: 1px solid currentColor; }
.work__more::after { content: ' →'; }
.work--lg { grid-column: 1 / span 8; }
.work--lg .work__media { aspect-ratio: 4 / 3.1; }
.work--lg .work__title { font-size: clamp(32px, 3.4vw, 52px); }
.work--sm { grid-column: 9 / span 4; margin-top: clamp(40px, 9vw, 140px); }
.work--sm .work__media { aspect-ratio: 4 / 5; }
.work--md { grid-column: 4 / span 7; margin-top: clamp(16px, 3vw, 48px); }
.work--md .work__link { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: end; }
.work--md .work__media { aspect-ratio: 3 / 2; }
.works__all { margin: clamp(32px, 4vw, 56px) 0 0; }
@media (max-width: 900px) {
  .works__grid { grid-template-columns: 1fr 1fr; }
  .work--lg { grid-column: 1 / -1; grid-row: auto; }
  .work--sm { grid-column: 1; }
  .work--sm { margin-top: 0; }
  .work--md { grid-column: 2; margin-top: 48px; }
  .work--md .work__link { display: block; }
  .work--sm .work__media, .work--md .work__media { aspect-ratio: 4 / 5; }
}
@media (max-width: 560px) {
  .works__grid { grid-template-columns: 1fr; }
  .work--sm, .work--md { grid-column: 1; margin-top: 8px; }
  .work--sm .work__media { aspect-ratio: 4 / 4; }
  .work--md .work__media { aspect-ratio: 3 / 2; }
}

/* ---------- trasee ---------- */
.routes { background: var(--paper); padding: clamp(56px, 7vw, 104px) 0; border-top: 1px solid var(--line-light); }
.routes__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-light); }
.route { display: flex; flex-direction: column; padding: 28px 28px 32px 0; margin-right: 28px; text-decoration: none; color: inherit; border-bottom: 1px solid var(--line-light); }
.route__title { font-size: 30px; margin-bottom: 12px; }
.route p { color: var(--muted); flex: 1; }
.route:hover .route__title { color: var(--gold-ink); }
@media (max-width: 900px) { .routes__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .routes__grid { grid-template-columns: 1fr; } .route { margin-right: 0; padding-right: 0; } }

.atelier-strip { padding: clamp(48px, 6vw, 88px) 0; background: var(--ivory); }
.atelier-strip__in { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: end; }
.atelier-strip__addr { font-size: 17px; line-height: 1.8; }
.atelier-strip .section-title { margin-bottom: 16px; }
@media (max-width: 760px) { .atelier-strip__in { grid-template-columns: 1fr; } }

/* ---------- bandă de acțiune (grafit) ---------- */
.band { background: var(--graphite); color: var(--on-dark); padding: clamp(44px, 6vw, 80px) 0; }
.band__in { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.band__title { font-size: clamp(30px, 3.6vw, 48px); margin-bottom: 8px; color: var(--on-dark); }
.band p { color: var(--on-dark-muted); margin: 0; max-width: 56ch; }

/* ---------- antet de pagină ---------- */
.page-head { padding: clamp(36px, 6vw, 88px) 0 clamp(28px, 4vw, 48px); }
.page-head__title { font-size: clamp(42px, 6vw, 84px); margin-bottom: 18px; max-width: 18ch; }
.page-head__lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 62ch; margin-bottom: 26px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 28px; padding: 0; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: .6; }
.crumbs a { text-decoration: none; border-bottom: 1px solid var(--line-light); }

/* ---------- fișă de proiect ---------- */
.project { padding-bottom: clamp(48px, 6vw, 96px); }
.project__lead { margin: 0 calc(var(--gutter) * -1) clamp(32px, 4vw, 56px); }
@media (min-width: 900px) { .project__lead { margin-inline: 0; } }
.project__lead img, .project__lead .ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: var(--pos); min-height: 260px; }
@media (max-width: 600px) { .project__lead img, .project__lead .ph { aspect-ratio: 4 / 3; object-position: var(--pos-m); } }
.specs { display: grid; grid-template-columns: 1fr 3fr; gap: 24px; padding: 32px 0; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); margin-bottom: clamp(40px, 6vw, 80px); }
.specs__title { font-size: 28px; }
.specs__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px 32px; margin: 0; }
.specs__list dt { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.specs__list dd { margin: 0; font: 600 24px/1.15 var(--f-display); }
.specs__list--compact dd { font-size: 20px; }
@media (max-width: 700px) { .specs { grid-template-columns: 1fr; } .specs__list { grid-template-columns: 1fr 1fr; gap: 16px 20px; } }

/* alternanța ansamblu / detaliu (reper: broșura Carlex) */
.feature { display: grid; gap: clamp(20px, 3vw, 48px); align-items: end; margin-bottom: clamp(48px, 7vw, 104px); }
.feature--overview { grid-template-columns: 2.4fr 1fr; }
.feature:first-child, .project > .feature--overview:first-child { margin-bottom: clamp(32px, 4vw, 56px); }
.feature--detail { grid-template-columns: 1fr 1.5fr; }
.feature--detail .feature__media { order: 2; }
.feature--detail .feature__text { align-self: start; padding-top: clamp(0px, 8vw, 120px); }
.feature__media img, .feature__media .ph { width: 100%; height: auto; }
.feature--overview .feature__media .ph { aspect-ratio: 16 / 10; }
.feature--detail .feature__media .ph { aspect-ratio: 4 / 5; }
.feature--overview .feature__media img { aspect-ratio: 16 / 10; object-fit: cover; object-position: var(--pos); }
.feature--detail .feature__media img { aspect-ratio: 4 / 5; object-fit: cover; object-position: var(--pos); }
.feature__title { font-size: clamp(30px, 3vw, 44px); margin-bottom: 12px; }
.feature__text p { color: var(--muted); }
@media (max-width: 800px) {
  .feature--overview, .feature--detail { grid-template-columns: 1fr; }
  .feature--detail .feature__media { order: 0; }
  .feature--detail .feature__text { padding-top: 0; }
  .feature--detail .feature__media img, .feature--detail .feature__media .ph { aspect-ratio: 4 / 3; }
}

.gallery { margin-bottom: 48px; }
.gallery .section-title { font-size: clamp(28px, 3vw, 40px); margin-bottom: 24px; }
.gallery__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 46%), 1fr)); gap: 12px; }
.thumb { display: block; width: 100%; padding: 0; border: 0; background: var(--ivory-2); cursor: zoom-in; overflow: hidden; }
.thumb img, .thumb .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: var(--pos); min-height: 0; transition: transform .4s; }
.thumb:hover img { transform: scale(1.03); }

.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lightbox::backdrop { background: rgba(16, 16, 17, .94); }
.lightbox__in { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 16px 24px; }
.lightbox__img { max-width: min(1600px, 100%); max-height: calc(100vh - 140px); object-fit: contain; }
.lightbox__cap { color: var(--on-dark-muted); font-size: 14px; margin: 12px 0 0; text-align: center; max-width: 70ch; }
.lightbox__close { position: absolute; top: 12px; right: 12px; min-height: 44px; padding: 8px 16px; background: var(--graphite-2); color: var(--on-dark); border: 1px solid var(--line-dark); font: 600 15px var(--f-text); cursor: pointer; }
.lightbox__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; background: rgba(38,40,43,.85); color: var(--on-dark); border: 1px solid var(--line-dark); font-size: 30px; line-height: 1; cursor: pointer; }
.lightbox__prev { left: 12px; } .lightbox__next { right: 12px; }
.lightbox :focus-visible { outline-color: var(--gold); }

/* ---------- carduri / filtre ---------- */
.filters { display: flex; flex-wrap: wrap; align-items: end; gap: 16px 40px; padding: 20px 0 28px; border-top: 1px solid var(--line-light); margin-bottom: 32px; }
.filters__group { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.filters__group legend { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; padding: 0; }
.chip { min-height: 44px; padding: 8px 16px; border: 1px solid rgba(28,29,31,.3); background: transparent; border-radius: 999px; font: 500 15px var(--f-text); color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--graphite); color: var(--on-dark); border-color: var(--graphite); }
.filters__count { margin: 0 0 10px auto; color: var(--muted); font-size: 15px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 40px 28px; margin-bottom: 48px; }
.work--card .work__media { aspect-ratio: 4 / 3; }
.cards__empty { color: var(--muted); }
.lead-empty { margin-bottom: 32px; }

.class-grid { list-style: none; margin: 0 0 64px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.class-card { display: flex; flex-direction: column; height: 100%; padding: 28px 24px; background: var(--graphite); color: var(--on-dark); text-decoration: none; min-height: 260px; }
.class-card__k { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.class-card__name { font-size: 46px; margin-bottom: 14px; color: var(--on-dark); }
.class-card p { color: var(--on-dark-muted); }
.class-card__n { margin-top: auto; margin-bottom: 0; font-size: 14px; }
.class-card:hover .class-card__name { color: var(--gold); }
@media (max-width: 1000px) { .class-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .class-grid { grid-template-columns: 1fr; } .class-card { min-height: 0; } }
.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px 48px; padding: 40px 0; border-top: 1px solid var(--line-light); }
.split p { color: var(--muted); max-width: 60ch; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

.empty { max-width: 680px; padding: 32px 0 48px; }
.empty .section-title { font-size: 36px; margin-bottom: 12px; }
.sales { display: grid; gap: 32px; margin-bottom: 48px; }
.sale { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; border-top: 1px solid var(--line-light); padding-top: 28px; }
.sale__title { font-size: 34px; margin-bottom: 16px; }
.sale__price { font-weight: 600; margin: 20px 0; }
@media (max-width: 760px) { .sale { grid-template-columns: 1fr; } }

/* ---------- de completat ---------- */
.todo { border: 1px dashed var(--gold-ink); background: rgba(194,160,99,.1); padding: 16px 20px; margin: 24px 0 48px; font-size: 15px; max-width: 820px; }
.todo__title { font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 8px; }
.todo ul { margin: 0; padding-left: 20px; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 72px; }
.contact__card { background: var(--paper); padding: 28px; border: 1px solid var(--line-light); }
.contact__h { font-size: 26px; margin-bottom: 14px; }
.contact__big { font: 600 30px/1.1 var(--f-display); }
.contact__big a { text-decoration: none; }
.contact .todo { grid-column: 1 / -1; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* ---------- cerere de ofertă ---------- */
.quote { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; padding-bottom: 80px; }
.form__group { border: 0; padding: 0; margin: 0 0 32px; }
.form__legend { font: 600 26px/1.1 var(--f-display); margin-bottom: 14px; padding: 0; }
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice { position: relative; display: flex; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { flex: 1; display: flex; align-items: center; min-height: 64px; padding: 14px 18px 14px 48px; border: 1px solid rgba(28,29,31,.3); background: var(--paper); font-weight: 600; cursor: pointer; position: relative; }
.choice span::before { content: ''; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; border: 2px solid var(--muted); }
.choice input:checked + span { border-color: var(--graphite); box-shadow: inset 0 0 0 1px var(--graphite); }
.choice input:checked + span::before { border-color: var(--graphite); background: radial-gradient(circle, var(--graphite) 0 4px, transparent 5px); }
.choice input:focus-visible + span { outline: 3px solid var(--gold-ink); outline-offset: 2px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field__label { font-size: 15px; font-weight: 600; }
.field__label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: 400 17px/1.4 var(--f-text); color: var(--ink); background: var(--paper); border: 1px solid rgba(28,29,31,.38); border-radius: var(--radius); padding: 12px 14px; min-height: 50px; width: 100%; }
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--gold-ink); outline-offset: 1px; border-color: var(--graphite); }
.field input[aria-invalid="true"] { border-color: #a3271e; }
.field__err { color: #a3271e; font-size: 14px; min-height: 0; }
.seg { display: flex; border: 1px solid rgba(28,29,31,.38); border-radius: var(--radius); background: var(--paper); }
.seg label { flex: 1; position: relative; display: flex; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 48px; font-size: 15px; font-weight: 500; cursor: pointer; padding: 0 6px; }
.seg label + label span { border-left: 1px solid rgba(28,29,31,.2); }
.seg input:checked + span { background: var(--graphite); color: var(--on-dark); }
.seg input:focus-visible + span { outline: 3px solid var(--gold-ink); outline-offset: -3px; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.form__alt { margin: 0; color: var(--muted); }
.form__status:not(:empty) { margin-top: 20px; padding: 16px 18px; background: var(--paper); border-left: 3px solid var(--gold-ink); }
.preview { position: sticky; top: calc(var(--header-h) + 24px); background: var(--graphite); color: var(--on-dark); padding: 24px; }
.preview__title { font-size: 24px; margin-bottom: 14px; color: var(--on-dark); }
.preview__msg { white-space: pre-wrap; word-break: break-word; font: 400 15px/1.55 var(--f-text); margin: 0 0 16px; padding: 16px; background: var(--graphite-2); border-left: 3px solid var(--gold); min-height: 120px; }
.preview__note { font-size: 14px; color: var(--on-dark-muted); margin: 0; }
@media (max-width: 900px) { .quote { grid-template-columns: 1fr; } .preview { position: static; order: 2; } }
@media (max-width: 560px) { .grid-2, .choice-row { grid-template-columns: 1fr; } .form__actions .btn { width: 100%; } }

/* ---------- subsol ---------- */
.site-footer { background: var(--graphite); color: var(--on-dark-muted); padding: 64px 0 0; border-top: 1px solid var(--line-dark); font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 48px; }
.site-footer__name { font: 600 28px/1.1 var(--f-display); color: var(--on-dark); }
.site-footer__h { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-block; padding: 5px 0; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .btn--gold { color: var(--graphite); }
.site-footer__base { border-top: 1px solid var(--line-dark); padding-top: 20px; padding-bottom: 28px; font-size: 14px; }
.site-footer__base p { margin: 0; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; animation-delay: 0s !important; transition-duration: 0s !important; }
  .layer.is-entering::before { display: none; }
}

/* ---------- arhivă, dotări, subnav, FAQ ---------- */
.archive-title { font-size: clamp(28px, 3vw, 40px); margin: 16px 0 20px; padding-top: 32px; border-top: 1px solid var(--line-light); }
.cards--rows { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 0 28px; }
.work--row .work__link { padding: 16px 0 18px; border-bottom: 1px solid var(--line-light); height: 100%; }
.work--row .work__title { font-size: 24px; margin-bottom: 4px; }
.work--row .work__detail { font-size: 14px; margin: 0; }
.work--row .work__link:hover .work__title { color: var(--gold-ink); }
.equip { margin-bottom: clamp(48px, 6vw, 88px); }
.equip .section-title { font-size: clamp(28px, 3vw, 40px); margin-bottom: 20px; }
.equip__list { list-style: none; margin: 0; padding: 0; columns: 2 300px; column-gap: 40px; }
.equip__list li { break-inside: avoid; padding: 10px 0 10px 22px; border-bottom: 1px solid var(--line-light); position: relative; }
.equip__list li::before { content: ''; position: absolute; left: 0; top: 19px; width: 10px; height: 2px; background: var(--gold-ink); }
.equip__list--one { columns: 1; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 56px; margin-bottom: 32px; }
.two-col .section-title { font-size: clamp(28px, 3vw, 40px); margin-bottom: 16px; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.vip-note { max-width: 70ch; margin-bottom: 56px; }
.subnav { margin-bottom: 36px; }
.subnav__k { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip--link { display: inline-flex; align-items: center; text-decoration: none; }
.chip--link:hover { background: var(--graphite); color: var(--on-dark); }
.link-grid { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 0 28px; }
.link-grid a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line-light); font: 600 22px/1.15 var(--f-display); text-decoration: none; }
.link-grid a:hover { color: var(--gold-ink); }
.faq { max-width: 820px; margin: 56px 0 72px; }
.faq .section-title { font-size: clamp(28px, 3vw, 40px); margin-bottom: 12px; }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; min-height: 44px; }
.faq details p { color: var(--muted); }
.class-card { padding: 0; }
.class-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--graphite-2); }
.class-card__media img, .class-card__media .ph { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.class-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.class-card__name { font-size: 40px; }
.work__media picture, .class-card__media picture { width: 100%; height: 100%; }
.thumb img { height: auto; }
.sale__media img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: var(--pos); }
