/* BuildServ. Paletă pornită din logo: roșul e singurul accent. */

@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(fonts/barlow-condensed-600-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(fonts/barlow-condensed-600-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+2C60-2C7F; }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url(fonts/barlow-condensed-800-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url(fonts/barlow-condensed-800-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+2C60-2C7F; }
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url(fonts/inter-var-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url(fonts/inter-var-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+2C60-2C7F; }

/* Fallback cu metrici apropiate, ca textul să nu sară când se încarcă fonturile. */
@font-face { font-family: "Titlu Fallback"; src: local("Arial Narrow Bold"), local("Arial Bold"), local("Arial"); size-adjust: 84%; }
@font-face { font-family: "Text Fallback"; src: local("Arial"); size-adjust: 107%; }

:root {
  --rosu: #B2352A;        /* roșul din logo */
  --rosu-apasat: #8E2A21;
  --antracit: #1B1B1B;
  --beton: #F3F2EF;
  --gri: #8C8C8C;      /* numai detalii decorative și text pe antracit */
  --gri-text: #5C5C5C; /* text secundar pe fundal deschis (contrast AA) */
  --linie: #D8D6D1;
  --alb: #FFFFFF;
  --titlu: "Barlow Condensed", "Titlu Fallback", "Arial Narrow", Arial, sans-serif;
  --text: "Inter", "Text Fallback", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --gutter: 20px;
  --bara: 64px;
  --header: 68px;
  --focus: var(--antracit);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  padding-bottom: calc(var(--bara) + env(safe-area-inset-bottom));
  background: var(--beton);
  color: var(--antracit);
  font: 400 1rem/1.6 var(--text);
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; }
h1, h2, h3, h4, p, dl, dd, fieldset { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
address { font-style: normal; }

h1, h2, h3 { font-family: var(--titlu); font-weight: 800; line-height: 1; letter-spacing: -.005em; text-wrap: balance; }
h2 { font-size: clamp(2.5rem, 7vw, 4.5rem); }
h3 { font-size: 1.5rem; line-height: 1.1; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.dark { --focus: var(--alb); color: var(--alb); background: var(--antracit); }

.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.beton { background: var(--beton) url(images/textura-beton.webp); }
.alb { background: var(--alb); }
.section { padding-block: 64px; }
.section-head { max-width: 62ch; margin-bottom: 36px; }
.section-head p { margin-top: 14px; font-size: 1.0625rem; }
.beton .section-head p, .alb .section-head p { color: var(--gri-text); }
.dark .section-head p { color: #D6D6D6; }

.skip { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 12px 16px; background: var(--antracit); color: var(--alb); }
.skip:focus { top: 8px; --focus: var(--rosu); }

.nota { font-size: .9375rem; }

/* ---------- Butoane ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 20px;
  border: 2px solid transparent; border-radius: 0;
  background: none; color: inherit; cursor: pointer;
  font: 600 1rem/1.2 var(--text); text-align: center; text-decoration: none;
  transition: background-color .12s, color .12s, transform .06s, box-shadow .06s;
  touch-action: manipulation;
}
.btn .icon { flex: none; width: 20px; height: 20px; }
.btn:active { transform: translateY(3px); box-shadow: none; }
.btn--red { background: var(--rosu); color: var(--alb); box-shadow: 0 3px 0 var(--rosu-apasat); }
.btn--red:hover { background: var(--rosu-apasat); }
.btn--ghost { border-color: var(--alb); color: var(--alb); }
.btn--ghost:hover { background: var(--alb); color: var(--antracit); }
.btn--outline { border-color: var(--antracit); color: var(--antracit); }
.btn--outline:hover { background: var(--antracit); color: var(--alb); }
.btn--light { background: var(--alb); color: var(--antracit); }
.btn--lg { min-height: 56px; padding-inline: 26px; font-size: 1.0625rem; }
.btn--full { width: 100%; }
.btn--small { font-size: .9375rem; padding-inline: 14px; }
.btn--stack { flex-direction: column; gap: 4px; padding: 8px 4px; font-size: .875rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row > .btn { flex: 1 1 100%; }

/* ---------- Puncte și acoperiș: motive din logo ---------- */
.dots { display: inline-flex; gap: 6px; }
/* indexul fiecărui punct (fără stiluri inline, compatibil cu CSP strict) */
.dots i, .logo__discuri i { --i: 0; }
.dots i:nth-child(2), .logo__discuri i:nth-child(2) { --i: 1; }
.dots i:nth-child(3), .logo__discuri i:nth-child(3) { --i: 2; }
.dots i:nth-child(4), .logo__discuri i:nth-child(4) { --i: 3; }
.dots i:nth-child(5), .logo__discuri i:nth-child(5) { --i: 4; }
.dots i:nth-child(6), .logo__discuri i:nth-child(6) { --i: 5; }
.dots i:nth-child(7), .logo__discuri i:nth-child(7) { --i: 6; }
.sprite { position: absolute; }

/* Pe scurt despre Build Serv */
.pe-scurt { background: var(--alb); }
.pe-scurt__in { padding-block: 8px 56px; }
.pe-scurt h2 { font-size: clamp(1.75rem, 4.5vw, 2.5rem); }
.pe-scurt p { max-width: 70ch; margin-top: 12px; padding-left: 16px; border-left: 4px solid var(--rosu); font-size: 1.0625rem; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--rosu); }
.dots--load i { opacity: .25; animation: aprinde .22s calc(250ms + var(--i) * 110ms) ease-out forwards; }
@keyframes aprinde { to { opacity: 1; } }

.dots--progress { position: absolute; left: max(var(--gutter), calc((100% - 1320px) / 2 + var(--gutter))); bottom: -3px; gap: 4px; }
.dots--progress i { width: 6px; height: 6px; background: var(--linie); transition: background-color .15s; }
.dots--progress i.on { background: var(--rosu); }

.dots-rule { display: flex; align-items: center; gap: 6px; }
.dots-rule::after { content: ""; order: 1; flex: 1; height: 1px; margin-left: 10px; background: var(--linie); }
.dots-rule i { width: 7px; height: 7px; border-radius: 50%; background: var(--rosu); }

.roof-title { display: inline-block; max-width: 100%; }
.roof { width: 100%; height: clamp(22px, 4vw, 40px); margin-bottom: 14px; overflow: visible; }
.roof polyline { fill: none; stroke: var(--gri); stroke-width: 2px; }

/* ---------- Header ---------- */
/* Înălțimea e rezervată: headerul e randat din script.js și nu trebuie să împingă pagina. */
.site-header { position: sticky; top: 0; z-index: 50; min-height: calc(var(--header) + 1px); background: var(--alb); border-bottom: 1px solid var(--linie); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header); }
.logo { position: relative; display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.logo img { width: auto; height: 52px; }
.logo__discuri i {
  position: absolute; top: 59.2%; left: calc(7.6% + var(--i) * 6.67%);
  width: 4.6%; aspect-ratio: 1; border-radius: 50%; background: var(--alb);
  transform: translate(-50%, -50%);
  animation: stinge .22s calc(250ms + var(--i) * 110ms) ease-out forwards;
}
@keyframes stinge { to { opacity: 0; } }

.nav { display: none; }
.nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--alb); border-bottom: 1px solid var(--linie);
}
.nav a {
  display: flex; align-items: center; min-height: 52px; padding-inline: var(--gutter);
  border-top: 1px solid var(--linie);
  font: 600 1.375rem/1 var(--titlu); text-decoration: none;
}
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-right: -8px;
  border: 0; background: none; color: var(--antracit); cursor: pointer;
}
.nav-toggle .icon { width: 28px; height: 28px; }
.btn--header { display: none; }
html:not(.js) .nav-toggle { display: none; }
html:not(.js) .nav { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-left: auto; }
html:not(.js) .nav a { min-height: 48px; padding: 0; border: 0; font-size: 1.125rem; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; display: flex; align-items: flex-start; min-height: calc(100svh - var(--header) - var(--bara)); }
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(27,27,27,.66);
}
.hero__in { padding-block: 36px; }
.hero__dots { margin-bottom: 18px; min-height: 12px; }
.hero__dots .dots { gap: 8px; }
.hero__dots .dots i { width: 12px; height: 12px; }
.hero h1 { max-width: 12em; min-height: 2em; font-size: clamp(3.25rem, 13.5vw, 7.75rem); line-height: .94; }
.hero__sub { max-width: 34em; margin-top: 18px; font-size: 1.125rem; line-height: 1.5; }
.hero .btn-row { margin-top: 24px; max-width: 600px; }
.hero__dovezi { margin-top: 24px; display: grid; gap: 6px; font-weight: 600; font-size: .9375rem; }
.hero__dovezi li { display: flex; align-items: center; gap: 10px; }
.hero__dovezi li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--rosu); box-shadow: 0 0 0 2px var(--alb); }

/* ---------- Cifre ---------- */
.cifre { background: var(--alb); }
.cifre__grid { display: grid; }
.cifra { display: flex; flex-direction: column; justify-content: flex-end; padding-block: 28px; border-bottom: 1px solid var(--linie); }
.cifra:last-child { border-bottom: 0; }
.cifra__num { font: 800 clamp(6rem, 30vw, 13rem)/.85 var(--titlu); font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.01em; }
.cifra__text { display: flex; align-items: flex-end; min-height: 3rem; margin-bottom: 8px; }
.cifra__label { margin-top: 10px; font: 600 1.375rem/1.1 var(--titlu); color: var(--gri-text); }

/* ---------- Categorii ---------- */
.categorii { display: grid; gap: 14px; }
.card {
  display: grid; grid-template-columns: 112px 1fr; grid-template-areas: "img body" "btn btn"; gap: 12px 14px;
  padding: 12px; background: var(--alb); border: 1px solid var(--linie);
}
.card__img { grid-area: img; width: 112px; height: 112px; object-fit: cover; background: var(--linie); }
.card__body { grid-area: body; align-self: center; }
.card__body p { margin-top: 6px; font-size: .9375rem; line-height: 1.4; color: var(--gri-text); }
.card__btn { grid-area: btn; }
.card__body .card__desc { color: var(--antracit); }
.card__lista { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; font-size: .9375rem; color: var(--rosu-apasat); text-underline-offset: 3px; }

/* ---------- Întrebări frecvente ---------- */
.faq__list { max-width: 880px; border-top: 1px solid var(--linie); }
.faq__item { border-bottom: 1px solid var(--linie); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 14px 0; cursor: pointer; list-style: none;
  font: 600 1.375rem/1.2 var(--titlu);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; font: 800 1.75rem/1 var(--titlu); color: var(--rosu); }
.faq__item[open] summary::after { content: "–"; }
.faq__a { max-width: 68ch; padding-bottom: 18px; color: var(--gri-text); }
.faq__a a { color: var(--antracit); font-weight: 600; text-underline-offset: 3px; }

.card--extra { grid-template-columns: 1fr; grid-template-areas: "body" "btn"; padding: 20px; background: var(--antracit); border-color: var(--antracit); color: var(--alb); --focus: var(--alb); }
.card--extra h3 { font-size: 2rem; }
.card--extra p { color: #D6D6D6; font-size: 1rem; }

/* ---------- Instrumentul de listă ---------- */
.oferta__grid { display: grid; gap: 32px; }
.oferta__campuri { display: grid; gap: 32px; min-width: 0; }
.pas legend, .pas__titlu { display: flex; align-items: baseline; gap: 12px; width: 100%; padding: 0; margin-bottom: 14px; font: 600 1.625rem/1.1 var(--titlu); }
.pas__nr { flex: none; color: var(--gri); font-weight: 800; }
.ticks { display: grid; gap: 8px; }
.tick {
  position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 14px;
  border: 1px solid #5A5A5A; cursor: pointer; line-height: 1.25; font-size: .9375rem;
}
.tick:hover { border-color: var(--alb); }
.tick input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.tick__box { flex: none; position: relative; width: 22px; height: 22px; border: 2px solid var(--alb); }
.tick--radio .tick__box { border-radius: 50%; }
.tick:has(input:checked) { border-color: var(--alb); background: #2E2E2E; }
.tick input:checked + .tick__box { background: var(--rosu); border-color: var(--rosu); }
.tick input:checked + .tick__box::after {
  content: ""; position: absolute; left: 5px; top: 1px; width: 7px; height: 12px;
  border: solid var(--alb); border-width: 0 3px 3px 0; transform: rotate(45deg);
}
.tick--radio input:checked + .tick__box::after { left: 4px; top: 4px; width: 10px; height: 10px; border: 0; border-radius: 50%; background: var(--alb); transform: none; }
.tick input:focus-visible + .tick__box { outline: 3px solid var(--alb); outline-offset: 3px; }

textarea {
  display: block; width: 100%; padding: 14px;
  border: 1px solid var(--gri); border-radius: 0;
  background: #262626; color: var(--alb);
  font: 400 1rem/1.5 var(--text); resize: vertical;
}
textarea::placeholder { color: #BDBDBD; opacity: 1; }
.eroare { margin-top: 10px; font-weight: 600; }
.eroare:empty { display: none; }
.eroare:not(:empty)::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; background: var(--rosu); box-shadow: 0 0 0 2px var(--alb); }

.oferta__slip { display: grid; gap: 12px; align-content: start; min-width: 0; }
.slip {
  padding: 20px 20px 24px; margin-bottom: 4px;
  background-color: var(--alb); color: var(--antracit); --focus: var(--antracit);
}
.slip__dots { line-height: 0; margin-bottom: 12px; }
.slip h3 { margin-bottom: 12px; font-size: 1.625rem; }
.slip__text {
  min-height: 196px; font-size: .9375rem; line-height: 28px; white-space: pre-wrap; overflow-wrap: anywhere;
  background-image: repeating-linear-gradient(transparent 0 27px, #E7E5E0 27px 28px);
}
.slip__text.is-empty { color: var(--gri-text); }

/* ---------- Pentru cine ---------- */
.clienti { display: grid; gap: 36px; }
.client { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 18px; border-top: 3px solid var(--antracit); }
.client h3 { font-size: 1.875rem; }
.client p { flex: 1; color: var(--gri-text); }

/* ---------- De ce ---------- */
.dece { display: grid; gap: 32px; }
.dece__galerie { margin: 0; }
.dece__galerie ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.dece__galerie img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--linie); }
.dece__galerie figcaption { margin-top: 8px; font-size: .875rem; color: var(--gri-text); }
.piloni { display: grid; gap: 22px; margin-top: 28px; }
.pilon h3 { font-size: 1.625rem; }
.pilon p { margin-top: 6px; color: var(--gri-text); }
.livrare { display: grid; gap: 14px; justify-items: start; margin-top: 32px; padding: 20px; background: var(--beton); }
.livrare dl { display: grid; gap: 8px; }
.livrare dl div { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.livrare dt { font-weight: 600; }

/* ---------- Magazine ---------- */
.magazine { display: grid; gap: 20px; }
.store { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 20px; background: var(--alb); border: 1px solid var(--linie); }
.store__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.store h3 { font-size: 2.25rem; }
.store .store__btns { margin-top: auto; padding-top: 8px; }
.store address { font-size: 1.0625rem; }
.program { width: 100%; max-width: 340px; border-collapse: collapse; font-size: .9375rem; }
.program th { padding: 3px 12px 3px 0; text-align: left; font-weight: 400; }
.program td { padding: 3px 0; text-align: right; font-variant-numeric: tabular-nums; }
.program--compact { font-size: .875rem; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; font-size: .875rem; font-weight: 600; border: 1px solid var(--antracit); }
.badge::before { content: ""; width: 9px; height: 9px; border-radius: 50%; }
.badge--open { background: var(--antracit); color: var(--alb); }
.badge--open::before { background: var(--alb); }
.badge--closed::before { background: var(--gri); }
.store__tip { font: 600 1.125rem/1.1 var(--titlu); color: var(--gri-text); }
.store__nota { font-weight: 600; }
.store .program { margin-top: 4px; }
.store__btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.store__btns .btn { min-height: 60px; }

/* ---------- CTA final ---------- */
.cta { position: relative; overflow: hidden; padding-top: clamp(108px, 16vw, 200px); padding-bottom: 64px; }
.nowrap { white-space: nowrap; }
.cta__roof { position: absolute; left: 0; top: 28px; width: 100%; height: clamp(90px, 18vw, 240px); overflow: visible; }
.cta__roof polyline { fill: none; stroke: var(--rosu); stroke-width: 4px; }
.cta__in { position: relative; display: grid; justify-items: center; gap: 28px; text-align: center; }
.cta h2 { max-width: 16em; font-size: clamp(2.75rem, 9vw, 5.75rem); }
.btn-row--center { justify-content: center; width: 100%; max-width: 460px; }
.btn-row--center > .btn { flex: 1 1 160px; }
.cta__tel { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; font-weight: 600; }
.cta__tel a { display: inline-flex; align-items: center; min-height: 48px; color: var(--alb); text-underline-offset: 4px; }

/* ---------- Footer ---------- */
.site-footer { padding-block: 48px 32px; background: var(--alb); }
.site-footer .dots-rule { margin-bottom: 40px; }
.site-footer__logo { margin-bottom: 32px; }
.site-footer__grid { display: grid; gap: 32px; }
.site-footer p { font-size: .9375rem; margin-bottom: 6px; }
.site-footer a { min-height: 32px; text-underline-offset: 3px; }
.footer-h { font: 600 1.375rem/1.1 var(--titlu); margin-bottom: 10px; letter-spacing: 0; }
.footer-h--spaced { margin-top: 20px; }
.footer-sub { display: block; margin: 12px 0 2px; font: 600 .9375rem/1.4 var(--text); }
.footer-list li { margin-bottom: 6px; font-size: .9375rem; }
.footer-list--loc li { margin-bottom: 10px; }
.footer-list--loc .footer-sub { margin-top: 0; }
.footer-fb { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; }
.footer-fb .icon { width: 22px; height: 22px; }
.site-footer__logo img { width: auto; height: 96px; }
.site-footer__legal { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--linie); line-height: 2; color: var(--gri-text); }

/* ---------- Elemente fixe ---------- */
.wa-flotant { display: none; }
.bara-mobil {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  min-height: calc(var(--bara) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid #3A3A3A;
}
.bara-mobil__btns { display: grid; grid-template-columns: repeat(3, 1fr); }
.bara-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  height: var(--bara); border: 0; border-left: 1px solid #3A3A3A; background: none; color: var(--alb);
  font: 600 .8125rem/1.1 var(--text); text-decoration: none; cursor: pointer;
  touch-action: manipulation;
}
.bara-btn:first-child { border-left: 0; }
.bara-btn:active { background: #333; }
.bara-btn--red { background: var(--rosu); }
.bara-btn--red:active { background: var(--rosu-apasat); }
.bara-btn .icon { width: 24px; height: 24px; }
.bara-btn:focus-visible { outline-offset: -5px; }
.alege-magazin { display: grid; gap: 8px; padding: 14px var(--gutter); border-bottom: 1px solid #3A3A3A; }
.alege-magazin[hidden] { display: none; }
.alege-magazin p { font-weight: 600; font-size: .9375rem; }
.alege-magazin .btn { --focus: var(--alb); justify-content: flex-start; }

/* ---------- Pagini legale ---------- */
.legal { padding-block: 48px; }
.legal__in { max-width: 72ch; }
.legal h1 { font-size: clamp(2.5rem, 8vw, 4rem); margin-bottom: 24px; }
.legal h2 { font-size: 1.75rem; margin: 32px 0 10px; }
.legal p, .legal li { margin-bottom: 10px; }
.legal ul { list-style: disc; padding-left: 20px; }
.pagina-404__cod { margin-bottom: 4px; font: 800 clamp(5rem, 22vw, 9rem)/.9 var(--titlu); color: var(--rosu); }
.pagina-404__linkuri { margin: 16px 0 28px; }
.pagina-404__linkuri a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-underline-offset: 3px; }

/* ---------- Mișcare la scroll ---------- */
.anim .reveal { opacity: 0; transform: translateY(18px); transition: opacity .45s ease-out, transform .45s ease-out; }
.anim .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .dots--load i { animation: none; opacity: 1; }
  .logo__discuri { display: none; }
  .btn, .dots--progress i { transition: none; }
  .btn:active { transform: none; }
}

/* ========== Telefon mare / tabletă ========== */
@media (min-width: 600px) {
  :root { --gutter: 32px; }
  .btn-row > .btn { flex: 0 0 auto; }
  .btn-row--center > .btn { flex: 1 1 160px; }
  .hero__dovezi { display: flex; flex-wrap: wrap; gap: 8px 28px; }
  .categorii { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .card { grid-template-columns: 1fr; grid-template-areas: "img" "body" "btn"; grid-template-rows: auto 1fr auto; padding: 0 0 16px; }
  .card__img { width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .card__body { padding-inline: 16px; align-self: start; }
  .card__btn { margin-inline: 16px; }
  .card--extra { grid-column: span 2; padding: 24px 0 16px; grid-template-areas: "body" "btn"; grid-template-rows: 1fr auto; }
  .card--extra h3 { font-size: clamp(2.5rem, 5vw, 4rem); }
  .card--extra p { margin-top: 14px; font-size: 1.0625rem; }
  .ticks { grid-template-columns: repeat(2, 1fr); }
  .ticks--loc { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .btn--stack { flex-direction: row; gap: 8px; font-size: .9375rem; }
}

/* ========== Desktop ========== */
@media (min-width: 900px) {
  :root { --header: 80px; }
  body { padding-bottom: 0; }
  .section { padding-block: 104px; }
  .section-head { margin-bottom: 52px; }
  .bara-mobil { display: none; }
  .nav-toggle { display: none; }
  .logo img { height: 64px; }
  .site-footer__logo img { height: 112px; }
  .btn--header { display: inline-flex; }

  .nav { display: flex; gap: 8px; margin-left: auto; }
  .nav a { min-height: 48px; padding-inline: 14px; border: 0; font-size: 1.3125rem; position: relative; }
  .nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 2px; background: var(--rosu); transform: scaleX(0); transform-origin: left; transition: transform .15s; }
  .nav a:hover::after { transform: scaleX(1); }

  .hero { min-height: min(calc(100svh - var(--header)), 860px); }
  .hero::before { background: linear-gradient(90deg, rgba(27,27,27,.8), rgba(27,27,27,.5) 65%, rgba(27,27,27,.28)); }
  .hero__in { padding-block: clamp(56px, 12vh, 136px) 56px; }
  .hero__sub { font-size: 1.3125rem; }
  .hero .btn-row { margin-top: 32px; }
  .hero__dovezi { margin-top: 36px; font-size: 1rem; }

  .cifre__grid { grid-template-columns: 2.3fr 1fr 1.5fr; }
  .cifra { padding: 48px 40px; border-bottom: 0; border-left: 1px solid var(--linie); }
  .cifra:first-child { padding-left: 0; border-left: 0; }
  .cifra__label { font-size: 1.625rem; }

  .categorii { grid-template-columns: repeat(3, 1fr); gap: 22px; }

  .oferta__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
  .oferta__slip { position: sticky; top: calc(var(--header) + 24px); }
  .slip { padding: 28px 28px 32px; }

  .clienti { grid-template-columns: repeat(3, 1fr); gap: 40px; }

  .dece { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
  .dece__galerie { position: sticky; top: calc(var(--header) + 24px); }
  .piloni { grid-template-columns: repeat(2, 1fr); gap: 36px 40px; margin-top: 44px; }
  .livrare { grid-template-columns: 1fr auto; grid-template-areas: "t b" "d b"; align-items: center; column-gap: 32px; margin-top: 44px; padding: 28px; }
  .livrare h3 { grid-area: t; }
  .livrare dl { grid-area: d; }
  .livrare .btn { grid-area: b; }

  .magazine { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .store { padding: 28px; }
  .store h3 { font-size: 2.25rem; }
  .store__btns .btn { min-height: 52px; }
  .store .btn--stack { flex-direction: column; gap: 4px; padding-inline: 4px; font-size: .875rem; }

  .cta { padding-bottom: 104px; }

  .site-footer { padding-top: 64px; }
  .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }

  .wa-flotant {
    position: fixed; right: 24px; bottom: 24px; z-index: 60;
    display: flex; align-items: center; justify-content: center;
    width: 60px; height: 60px;
    background: var(--rosu); color: var(--alb); box-shadow: 0 3px 0 var(--rosu-apasat);
    transition: background-color .12s, transform .06s, box-shadow .06s;
    outline-color: var(--antracit);
  }
  .wa-flotant:hover { background: var(--rosu-apasat); }
  .wa-flotant:active { transform: translateY(3px); box-shadow: none; }
  .wa-flotant .icon { width: 30px; height: 30px; }
}

@media (min-width: 1200px) {
  .cifra { padding-inline: 56px; }
}

/* ========== Legături spre paginile de locație ========== */
.store__titlu { color: inherit; text-decoration: none; }
.store__titlu:hover { text-decoration: underline; text-underline-offset: 4px; }
.store__pagina { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; font-size: .9375rem; color: var(--rosu-apasat); text-underline-offset: 3px; }

/* ========== Paginile de locație ========== */
.loc-hero { padding-block: 28px 44px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; font-size: .9375rem; }
.breadcrumb li { display: flex; align-items: center; color: #D6D6D6; }
.breadcrumb li + li::before { content: "/"; margin-inline: 10px; color: var(--gri); }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 48px; color: var(--alb); text-underline-offset: 3px; }
.loc-hero__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 12px; }
.loc-hero .store__tip { color: #D6D6D6; }
.loc-hero .badge { border-color: var(--alb); }
.loc-hero .badge--open { background: var(--alb); color: var(--antracit); }
.loc-hero .badge--open::before { background: var(--antracit); }
.loc-hero h1 { max-width: 18em; margin-top: 12px; font-size: clamp(2.5rem, 8vw, 4.75rem); line-height: .98; }
.loc-hero__adresa { margin-top: 14px; font-size: 1.1875rem; }
.loc-hero .btn-row { margin-top: 24px; }

.loc-info { display: grid; gap: 36px; }
.loc-despre { max-width: 68ch; }
.loc-despre p { margin-top: 14px; }
.loc-despre h2, .loc-program h2 { font-size: clamp(2rem, 5vw, 3rem); }
.loc-program { align-self: start; padding: 24px; background: var(--beton); }
.loc-program .program { margin-top: 12px; max-width: none; font-size: 1rem; }
.loc-program .livrare { margin-top: 24px; padding: 20px 0 0; border-top: 1px solid var(--linie); background: none; }

.loc-categorii { display: grid; gap: 8px; }
.loc-categorii a {
  display: flex; align-items: center; min-height: 52px; padding: 10px 16px;
  background: var(--alb); border: 1px solid var(--linie); color: var(--antracit);
  font-weight: 600; text-decoration: none;
}
.loc-categorii a:hover { border-color: var(--antracit); }
.loc-categorii__mai, .loc-acasa { margin-top: 24px; }
.loc-categorii__mai a, .loc-acasa a { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; color: var(--rosu-apasat); text-underline-offset: 3px; }

@media (min-width: 600px) {
  .loc-categorii { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .loc-hero { padding-block: 32px 72px; }
  .loc-info { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; }
  .loc-program { position: sticky; top: calc(var(--header) + 24px); padding: 32px; }
  .loc-program .livrare { grid-template-columns: 1fr; grid-template-areas: none; margin-top: 24px; padding: 20px 0 0; }
  .loc-program .livrare > * { grid-area: auto; }
  .loc-categorii { grid-template-columns: repeat(4, 1fr); }
  .magazine--2 { grid-template-columns: repeat(2, 1fr); }
}
