/* ============================================================
   ServiceKIA.eu — foaie de stil
   Bază luminoasă (alb polar) + secțiuni „midnight", accent roșu
   folosit cu zgârcenie, motiv de colț teșit pe casete și butoane.
   Fonturi variabile locale: Space Grotesk (titluri) + Manrope (text).
   ============================================================ */

@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/grotesk-var.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-var.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --noapte:   #05141F;
  --noapte-2: #0B1F2E;
  --noapte-3: #12293A;
  --polar:    #F7F8FA;
  --hartie:   #ffffff;
  --rosu:     #C9202F;
  --rosu-2:   #A5121F;
  --rosu-clar: #E8455A;  /* roșu pentru TEXT pe fundal închis: 5.04:1 pe subsol, 4.82:1 pe midnight */
  --cerneala: #101E28;
  --gri:      #5C6A74;
  --gri-alb:  #9FB0BC;
  --linie:    #E2E7EB;
  --taie: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  --taie-mic: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
  --disp: 'Space Grotesk', system-ui, sans-serif;
  --text: 'Manrope', system-ui, sans-serif;
  --lat: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font: 400 1rem/1.65 var(--text);
  color: var(--cerneala);
  background: var(--polar);
  font-optical-sizing: auto;
}
body.blocat { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--disp);
  line-height: 1.14;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  font-weight: 600;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 650; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.15rem; }
p  { margin: 0 0 1em; }
.ic { width: 1.05em; height: 1.05em; fill: none; flex: none; vertical-align: -0.16em; }

.sprite { position: absolute; }
.salt { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--noapte); color: #fff; padding: .6rem 1rem; }
.salt:focus { left: 0; }

:focus-visible { outline: 3px solid var(--rosu); outline-offset: 2px; }

/* ── Eticheta mică deasupra titlurilor ──────────────────────── */
.eticheta {
  font: 600 .78rem/1.3 var(--disp);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gri);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.eticheta::before { content: ''; width: 26px; height: 2px; background: var(--rosu); flex: none; }
.eticheta--alba { color: var(--gri-alb); }
.eticheta--rosie { color: #E8AEB4; }

/* ── Butoane ────────────────────────────────────────────────── */
.bt {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font: 700 .95rem/1 var(--disp);
  padding: .95rem 1.5rem;
  text-decoration: none; border: 0; cursor: pointer;
  clip-path: var(--taie-mic);
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.bt:active { transform: translateY(1px); }
.bt--rosu { background: var(--rosu); color: #fff; }
.bt--rosu:hover { background: var(--rosu-2); }
.bt--negru { background: var(--noapte); color: #fff; }
.bt--negru:hover { background: #0e2635; }
.bt--contur { background: transparent; color: var(--cerneala); box-shadow: inset 0 0 0 2px var(--cerneala); }
.bt--contur:hover { background: var(--cerneala); color: #fff; }
.bt--contur-alb { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.5); }
.bt--contur-alb:hover { background: #fff; color: var(--noapte); }
.bt--mare { padding: 1.15rem 1.9rem; font-size: 1.02rem; }

/* ── Antet ──────────────────────────────────────────────────── */
.cap { position: sticky; top: 0; z-index: 90; }
.cap__strip { background: var(--noapte); color: #C5D2DB; font-size: .82rem; }
/* Conținutul antetului folosește exact aceeași lățime și același padding
   ca .sectie, ca să se alinieze la milimetru cu restul paginii. */
.cap__in {
  max-width: var(--lat); margin: 0 auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.cap__strip .cap__in { padding-block: .45rem; }
.cap__bar .cap__in { padding-block: .65rem; }
.cap__strip p { margin: 0; display: flex; align-items: center; gap: .45rem; }
.cap__strip a { display: flex; align-items: center; gap: .45rem; color: #fff; text-decoration: none; font-weight: 700; }
.cap__strip a:hover { color: #ffd7db; }

/* Fundal opac: backdrop-filter ar face din bară un bloc-container
   pentru elementele position:fixed, iar panoul de meniu mobil nu ar
   mai acoperi ecranul. Se păstrează opac intenționat. */
.cap__bar {
  background: var(--hartie);
  border-bottom: 1px solid var(--linie);
  transition: box-shadow .2s ease;
}
.cap.umbra .cap__bar { box-shadow: 0 8px 28px rgba(5,20,31,.09); }

.marca { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.marca__emb { flex: none; }
.marca__txt { display: flex; flex-direction: column; line-height: 1.15; }
.marca__txt strong { font: 650 1.22rem/1 var(--disp); letter-spacing: -.02em; color: var(--cerneala); }
.marca__txt strong em { font-style: normal; color: var(--rosu); }
.marca__txt small { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gri); margin-top: .25rem; }
.marca--alb .marca__txt strong { color: #fff; }
.marca--alb .marca__txt strong em { color: var(--rosu-clar); }
.marca--alb .marca__txt small { color: var(--gri-alb); }

.cap__act { display: flex; align-items: center; gap: .8rem; }
.burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 0 8px; }
.burger span { height: 2px; background: var(--cerneala); }

/* Meniu — desktop: în linie; mobil: panou peste tot ecranul */
.meniu__cap, .meniu__jos { display: none; }
.meniu__lista { list-style: none; margin: 0; padding: 0; display: flex; gap: .35rem; align-items: center; }
.meniu__lista > li { position: relative; }
.meniu__lista > li > a { display: block; padding: .55rem .85rem; text-decoration: none; font: 600 .95rem/1 var(--disp); color: var(--cerneala); }
.meniu__lista > li > a:hover, .meniu__lista > li > a.activ { color: var(--rosu); }
.meniu__grup { display: flex; align-items: center; }
.meniu__tog { background: none; border: 0; cursor: pointer; color: var(--gri);
  display: grid; place-items: center; min-width: 32px; min-height: 32px; padding: 0; }
.meniu__tog .ic { transform: rotate(90deg); width: .85em; height: .85em; }
.meniu__sub {
  list-style: none; margin: 0; padding: .55rem;
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 310px;
  background: var(--noapte); color: #fff;
  clip-path: var(--taie);
  opacity: 0; visibility: hidden; translate: 0 8px;
  transition: opacity .18s ease, translate .18s ease, visibility .18s;
}
.meniu__grup:hover .meniu__sub, .meniu__grup:focus-within .meniu__sub { opacity: 1; visibility: visible; translate: 0 0; }
.meniu__sub a { display: flex; align-items: center; gap: .7rem; padding: .62rem .8rem; text-decoration: none; font: 550 .92rem/1.3 var(--text); color: #DCE5EB; }
.meniu__sub .ic { color: var(--rosu); width: 1.15em; height: 1.15em; }
.meniu__sub a:hover, .meniu__sub a.activ { background: var(--noapte-2); color: #fff; }

@media (max-width: 1080px) { .cap__strip-loc { display: none; } }
/* Bara de sus se ascunde pe telefon: pe trei rânduri arăta prost, iar
   docul de jos oferă deja telefon și WhatsApp la un singur atins. */
@media (max-width: 900px) { .cap__strip { display: none; } }

@media (max-width: 1080px) {
  .burger { display: flex; }
  .cap__cta { display: none; }
  .meniu {
    position: fixed; inset: 0; z-index: 120;
    background: var(--noapte); color: #fff;
    display: flex; flex-direction: column;
    padding: 1rem clamp(1.2rem, 6vw, 3rem) 2rem;
    opacity: 0; visibility: hidden; translate: 0 -12px;
    transition: opacity .22s ease, translate .22s ease, visibility .22s;
    overflow-y: auto;
  }
  .meniu.deschis { opacity: 1; visibility: visible; translate: 0 0; }
  .meniu__cap {
    display: flex; justify-content: space-between; align-items: center;
    font: 600 .8rem/1 var(--disp); letter-spacing: .2em; text-transform: uppercase; color: var(--gri-alb);
    padding-bottom: 1rem; border-bottom: 1px solid var(--noapte-3); margin-bottom: 1.2rem;
  }
  .meniu__x { background: none; border: 0; color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; padding: .2rem .7rem; }
  .meniu__lista { flex-direction: column; align-items: stretch; gap: 0; }
  .meniu__lista > li { border-bottom: 1px solid var(--noapte-3); }
  .meniu__lista > li > a { color: #fff; font-size: 1.4rem; padding: .95rem 0; flex: 1; }
  .meniu__lista > li > a.activ { color: var(--rosu); }
  .meniu__grup { flex-wrap: wrap; }
  .meniu__tog { color: #fff; padding: .95rem 1rem; }
  .meniu__tog .ic { transition: transform .2s ease; }
  .meniu__grup.extins .meniu__tog .ic { transform: rotate(-90deg); }
  .meniu__sub {
    position: static; min-width: 0; width: 100%;
    clip-path: none; background: none; padding: 0 0 .7rem;
    opacity: 1; visibility: visible; translate: none; display: none;
  }
  .meniu__grup.extins .meniu__sub { display: block; }
  .meniu__sub a { padding: .6rem 0; font-size: 1rem; }
  .meniu__jos { display: block; margin-top: auto; padding-top: 1.6rem; }
  .meniu__jos .bt { width: 100%; margin-bottom: .7rem; }
  .meniu__jos p { color: var(--gri-alb); font-size: .9rem; text-align: center; margin: .6rem 0 0; }
  .meniu__jos p a { color: #fff; font-weight: 700; text-decoration: none; }
}

/* ── Secțiuni ───────────────────────────────────────────────── */
.sectie { max-width: var(--lat); margin: 0 auto; padding: clamp(3rem, 6.5vw, 5rem) clamp(1rem, 4vw, 2.5rem); }
.sectie__cap { max-width: 660px; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.sectie__cap p:last-child { color: var(--gri); margin-bottom: 0; }
.sectie__jos { margin: 1.8rem 0 0; }
.intunecat { background: var(--noapte); color: #E8EEF2; }
.intunecat h2, .intunecat h3 { color: #fff; }
.intunecat .sectie__cap p:last-child { color: var(--gri-alb); }

/* ── Erou ───────────────────────────────────────────────────── */
.erou { background: var(--hartie); border-bottom: 1px solid var(--linie); }
.erou__in {
  max-width: var(--lat); margin: 0 auto;
  padding: clamp(2.4rem, 5.5vw, 4.6rem) clamp(1rem, 4vw, 2.5rem);
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.erou h1 em { font-style: normal; color: var(--rosu); }
.erou__text > p { font-size: 1.08rem; color: var(--gri); max-width: 34em; }
.erou__act { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.7rem 0 1.9rem; }
.erou__fapte { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.erou__fapte li {
  font: 600 .82rem/1.3 var(--disp);
  padding: .55rem .8rem; background: var(--polar);
  border: 1px solid var(--linie); color: var(--gri);
  display: inline-flex; align-items: center; gap: .45rem;
}
.erou__fapte .ic { color: var(--rosu); }
@media (max-width: 900px) { .erou__in { grid-template-columns: 1fr; } }

/* ── Panou închis (erou + fișa de programare) ───────────────── */
.panou { background: var(--noapte); color: #E8EEF2; clip-path: var(--taie); padding: clamp(1.6rem, 3vw, 2.3rem); }
.panou h2 { font-size: 1.25rem; color: #fff; }
.panou > p { color: var(--gri-alb); font-size: .95rem; }
.panou__linii { list-style: none; margin: 1.2rem 0 1.5rem; padding: 0; }
.panou__linii li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: .65rem 0; border-bottom: 1px solid var(--noapte-3); font-size: .93rem;
}
.panou__linii li:first-child { border-top: 1px solid var(--noapte-3); }
.panou__linii span { color: var(--gri-alb); }
.panou__linii strong { font-family: var(--disp); font-weight: 600; color: #fff; text-align: right; }
.panou .bt { width: 100%; margin-bottom: .7rem; }
.panou__nota { font-size: .82rem; color: var(--gri-alb); margin: .4rem 0 0; text-align: center; }
.panou__nota a { color: #fff; }

/* ── Banda derulantă cu modele ──────────────────────────────── */
.banda { background: var(--noapte); color: #7E93A1; overflow: hidden; border-top: 1px solid var(--noapte-3); }
.banda__sir { display: flex; width: max-content; animation: defileaza 40s linear infinite; }
.banda__sir ul { display: flex; list-style: none; margin: 0; padding: .8rem 0; }
.banda__sir li { font: 550 .86rem/1 var(--disp); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; padding: 0 1.1rem; display: flex; align-items: center; gap: 2.2rem; }
.banda__sir li::after { content: ''; width: 5px; height: 5px; background: var(--rosu); transform: rotate(45deg); }
@keyframes defileaza { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .banda__sir { animation: none; } }

/* ── Carduri de serviciu ────────────────────────────────────── */
.carduri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--hartie); border: 1px solid var(--linie);
  padding: 1.7rem 1.5rem 1.5rem; text-decoration: none;
  clip-path: var(--taie);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.card::after {
  content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--rosu); transform: scaleX(0); transform-origin: left;
  transition: transform .28s ease;
}
.card:hover { transform: translateY(-5px); border-color: #CFD8DE; }
.card:hover::after { transform: scaleX(1); }
.card__ic {
  width: 54px; height: 54px; display: grid; place-items: center;
  background: var(--noapte); color: #fff; margin-bottom: 1.15rem;
  clip-path: var(--taie-mic); transition: background .22s ease;
}
.card__ic .ic { width: 1.7rem; height: 1.7rem; stroke: currentColor; }
.card:hover .card__ic { background: var(--rosu); }
.card__tag { font: 600 .7rem/1 var(--disp); letter-spacing: .16em; text-transform: uppercase; color: var(--gri); margin: 0 0 .5rem; }
.card h3 { margin: 0 0 .6rem; font-size: 1.16rem; }
.card__txt { color: var(--gri); font-size: .92rem; line-height: 1.55; margin: 0; flex: 1; }
.card__mai { display: inline-flex; align-items: center; gap: .5rem; font: 700 .85rem/1 var(--disp); color: var(--rosu); margin-top: 1.2rem; }
.card:hover .card__mai .ic { transform: translateX(4px); }
.card__mai .ic { stroke: currentColor; transition: transform .22s ease; }
@media (max-width: 1000px) { .carduri { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .carduri { grid-template-columns: 1fr; } }

/* ── Pași (proces) ──────────────────────────────────────────── */
.pasi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--noapte-3); counter-reset: pas; }
.pasi article { background: var(--noapte); padding: 1.6rem 1.4rem; counter-increment: pas; }
.pasi article::before {
  content: '0' counter(pas);
  font: 650 2.6rem/1 var(--disp);
  color: transparent; -webkit-text-stroke: 1px #3D5568;
  display: block; margin-bottom: 1rem;
}
.pasi h3 { font-size: 1.05rem; }
.pasi p { font-size: .9rem; color: var(--gri-alb); margin: 0; }
@media (max-width: 980px) { .pasi { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .pasi { grid-template-columns: 1fr; } }

/* ── De ce noi ──────────────────────────────────────────────── */
.motive { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.motive__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.motive__lista li {
  background: var(--hartie); border: 1px solid var(--linie);
  padding: 1rem 1.2rem; display: flex; gap: .85rem; align-items: flex-start;
  clip-path: var(--taie-mic);
}
.motive__lista .ic { color: var(--rosu); stroke: currentColor; margin-top: .22rem; }
.motive__lista strong { font-family: var(--disp); font-weight: 600; display: block; }
.motive__lista span { color: var(--gri); font-size: .92rem; }
@media (max-width: 860px) { .motive { grid-template-columns: 1fr; } }

/* ── Grila de fotografii (fără derulare orizontală) ─────────── */
.grila { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.grila figure { margin: 0; cursor: zoom-in; }
.grila img { aspect-ratio: 4/3; object-fit: cover; width: 100%; clip-path: var(--taie); transition: opacity .2s ease; }
.grila figure:hover img { opacity: .88; }
.grila figcaption { font: 550 .84rem/1.35 var(--disp); color: var(--gri); padding-top: .55rem; }
@media (max-width: 900px) { .grila { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grila { grid-template-columns: 1fr; } }

/* ── Recenzii ───────────────────────────────────────────────── */
.pareri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.pareri figure {
  margin: 0; background: var(--hartie); border: 1px solid var(--linie);
  padding: 1.6rem 1.5rem 1.4rem; clip-path: var(--taie);
  display: flex; flex-direction: column; gap: 1rem;
}
.pareri blockquote { margin: 0; font-size: .97rem; line-height: 1.6; }
.pareri blockquote::before { content: '”'; display: block; font: 700 3rem/0.6 var(--disp); color: var(--rosu); margin-bottom: .6rem; }
.pareri figcaption { margin-top: auto; font: 600 .88rem/1.4 var(--disp); }
.pareri figcaption span { display: block; font: 500 .8rem/1.4 var(--text); color: var(--gri); }
@media (max-width: 980px) { .pareri { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .pareri { grid-template-columns: 1fr; } }

/* ── Apelul final ───────────────────────────────────────────── */
.apel { background: linear-gradient(135deg, var(--noapte) 55%, #081C2B); color: #E8EEF2; }
.apel__in { max-width: 900px; margin: 0 auto; padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 4vw, 2.5rem); text-align: center; }
.apel h2 { color: #fff; }
.apel .eticheta { justify-content: center; }
.apel__act { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin: 1.9rem 0 1.1rem; }
.apel__tel { color: var(--gri-alb); font-size: .95rem; }
.apel__tel a { color: #fff; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--rosu); }

/* ── Subsol ─────────────────────────────────────────────────── */
.talpa { background: #030E16; color: #B9C6CF; }
.talpa__sus {
  max-width: var(--lat); margin: 0 auto;
  padding: clamp(2.8rem, 6vw, 4.2rem) clamp(1rem, 4vw, 2.5rem) 2rem;
  display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 3fr)); gap: clamp(1.6rem, 4vw, 3rem);
  font-size: .92rem;
}
.talpa__id > p { margin-top: 1.2rem; }
.talpa__soc { display: flex; flex-wrap: wrap; gap: .5rem; }
.talpa__soc a { font: 600 .78rem/1 var(--disp); text-decoration: none; color: #DCE5EB; padding: .5rem .8rem; border: 1px solid var(--noapte-3); }
.talpa__soc a:hover { border-color: var(--rosu); color: #fff; }
.talpa__col > p { font: 600 .78rem/1 var(--disp); letter-spacing: .18em; text-transform: uppercase; color: #6E8291; margin-bottom: 1.1rem; }
.talpa__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.talpa__col a { text-decoration: none; }
.talpa__col a:hover { color: #fff; }
.talpa__date li { display: flex; gap: .6rem; align-items: baseline; }
.talpa__date .ic { color: var(--rosu); stroke: currentColor; }
.talpa__legal { border-top: 1px solid var(--noapte-3); }
.talpa__legal p { max-width: var(--lat); margin: 0 auto; padding: 1.2rem clamp(1rem, 4vw, 2.5rem); font-size: .78rem; color: #6E8291; }
@media (max-width: 980px) { .talpa__sus { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .talpa__sus { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .talpa__col ul { gap: .15rem; }
  .talpa__col li a { display: inline-block; padding: .55rem 0; }
  .talpa__date li { align-items: center; padding: .2rem 0; }
  .talpa__soc { gap: .6rem; }
  .talpa__soc a { padding: .75rem 1rem; }
}

/* ── Docul mobil ────────────────────────────────────────────── */
.doc { display: none; }
@media (max-width: 860px) {
  body { padding-bottom: 64px; }
  .doc {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    display: grid; grid-template-columns: 1fr 1fr 1.4fr;
    background: var(--hartie); border-top: 1px solid var(--linie);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .doc a { display: flex; align-items: center; justify-content: center; gap: .45rem; padding: 1rem .5rem; text-decoration: none; font: 700 .85rem/1 var(--disp); color: var(--cerneala); }
  .doc a + a { border-left: 1px solid var(--linie); }
  .doc .ic { stroke: currentColor; }
  .doc__cta { background: var(--rosu); color: #fff !important; }
}

/* ── Capul paginilor interioare ─────────────────────────────── */
.frunte { background: var(--hartie); border-bottom: 1px solid var(--linie); }
.frunte__in { max-width: var(--lat); margin: 0 auto; padding: clamp(2.2rem, 5vw, 3.8rem) clamp(1rem, 4vw, 2.5rem); }
.frunte h1 { max-width: 22em; }
.frunte__vorba { font-size: 1.06rem; color: var(--gri); max-width: 40em; margin: 0; }
.frunte__duo { display: flex; gap: clamp(1.2rem, 3vw, 2rem); align-items: flex-start; }
.frunte__emb {
  width: 76px; height: 76px; flex: none; display: grid; place-items: center;
  background: var(--noapte); color: #fff; clip-path: var(--taie-mic);
}
.frunte__emb .ic { width: 2.3rem; height: 2.3rem; stroke: currentColor; }
.frunte__copy { min-width: 0; }
@media (max-width: 600px) {
  .frunte__duo { flex-direction: column; gap: 1.1rem; }
  .frunte__emb { width: 60px; height: 60px; }
  .frunte__emb .ic { width: 1.8rem; height: 1.8rem; }
}

.fir { font: 550 .8rem/1.5 var(--disp); margin-bottom: 1.4rem; color: var(--gri); }
.fir a { color: inherit; text-decoration: none; }
.fir a:hover { color: var(--rosu); }
.fir span:last-child { color: var(--cerneala); }

/* ── Două coloane: articol + șină laterală ──────────────────── */
.duo {
  max-width: var(--lat); margin: 0 auto;
  padding: clamp(2.4rem, 5.5vw, 4rem) clamp(1rem, 4vw, 2.5rem);
  display: grid; grid-template-columns: minmax(0, 1fr) 330px;
  gap: clamp(2rem, 4.5vw, 3.4rem);
  align-items: stretch;   /* șina trebuie să aibă înălțimea rândului, altfel sticky nu are unde să se lipească */
}
.duo__text { min-width: 0; }
.duo__text > h2 { margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--linie); }
.duo__text > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.duo__text p { color: #2C3B46; }
.duo__text .lead { font-size: 1.09rem; line-height: 1.62; color: var(--cerneala); }
@media (max-width: 1000px) { .duo { grid-template-columns: 1fr; } }

.sina { min-width: 0; align-self: stretch; }
.sina__lipici { display: grid; gap: 1.1rem; }
@media (min-width: 1001px) { .sina__lipici { position: sticky; top: 110px; } }
.sina__cutie { background: var(--hartie); border: 1px solid var(--linie); padding: 1.4rem 1.35rem; clip-path: var(--taie-mic); }
.sina__cutie h2 { font-size: 1.05rem; margin: 0 0 .7rem; }
.sina__cutie > p { font-size: .9rem; color: var(--gri); margin: 0 0 1rem; }
.sina__cutie--dark { background: var(--noapte); border-color: var(--noapte); color: #E8EEF2; }
.sina__cutie--dark h2 { color: #fff; }
.sina__cutie--dark > p { color: var(--gri-alb); }
.sina__cutie--dark .bt { width: 100%; margin-bottom: .6rem; }
.sina__tel { display: flex; align-items: center; gap: .5rem; margin: .9rem 0 0; font: 700 1rem/1 var(--disp); }
.sina__tel a { display: inline-flex; align-items: center; min-height: 34px; }
.sina__tel .ic { color: var(--rosu); fill: currentColor; }
.sina__tel a { color: #fff; text-decoration: none; }
.sina__lista, .sina__date { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.sina__lista a {
  display: flex; align-items: center; gap: .7rem; padding: .6rem .2rem;
  text-decoration: none; font: 550 .92rem/1.35 var(--text); color: var(--cerneala);
  border-bottom: 1px solid var(--linie);
}
.sina__lista li:last-child a { border-bottom: 0; }
.sina__lista .ic { color: var(--rosu); stroke: currentColor; width: 1.25em; height: 1.25em; }
.sina__lista a:hover { color: var(--rosu); }
.sina__date { gap: .7rem; }
.sina__date li { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--gri); }
.sina__date .ic { color: var(--rosu); stroke: currentColor; margin-top: .18rem; }
.sina__date a { color: var(--gri); }

/* ── Componente din articol ─────────────────────────────────── */
.incisiv {
  margin: 2.4rem 0; background: var(--noapte); color: #E8EEF2;
  clip-path: var(--taie); padding: 1.6rem 1.6rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem;
}
.incisiv p { margin: 0; font-size: .99rem; color: var(--gri-alb) !important; max-width: 30em; }
.incisiv strong { color: #fff; font-family: var(--disp); }
.incisiv .bt { flex: none; }

.semne { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.semne li {
  background: var(--hartie); border: 1px solid var(--linie); border-left: 3px solid var(--rosu);
  padding: .9rem 1.05rem; font-size: .92rem; line-height: 1.5;
  display: flex; gap: .65rem; align-items: flex-start;
}
.semne .ic { color: var(--rosu); stroke: currentColor; margin-top: .2rem; }
@media (max-width: 700px) { .semne { grid-template-columns: 1fr; } }

.tabel { margin: 1.4rem 0 0; border: 1px solid var(--linie); background: var(--hartie); }
.tabel__cap, .tabel__rand { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 1rem; padding: .9rem 1.15rem; }
.tabel__cap { background: var(--noapte); color: #fff; font: 600 .78rem/1.3 var(--disp); letter-spacing: .12em; text-transform: uppercase; }
.tabel__rand { border-top: 1px solid var(--linie); }
.tabel__rand:nth-child(even) { background: #FBFCFD; }
.tabel__op strong { font: 550 .95rem/1.4 var(--text); }
.tabel__op small { display: block; color: var(--gri); font-size: .82rem; margin-top: .15rem; }
.tabel__val { font: 600 .93rem/1.4 var(--disp); align-self: start; }
@media (max-width: 560px) {
  .tabel__cap { display: none; }
  .tabel__rand { grid-template-columns: 1fr; gap: .3rem; }
  .tabel__val { color: var(--rosu); }
}

.nota { display: flex; gap: .65rem; align-items: flex-start; margin-top: 1rem; font-size: .88rem; color: var(--gri) !important; }
.nota .ic { color: var(--rosu); stroke: currentColor; margin-top: .18rem; }

.faq { margin-top: 1.2rem; }
.faq details { border: 1px solid var(--linie); background: var(--hartie); margin-bottom: .7rem; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.2rem; font: 600 .98rem/1.4 var(--disp); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 500 1.5rem/1 var(--disp); color: var(--rosu); flex: none; }
.faq details[open] summary::after { content: '–'; }
.faq details > p { padding: 0 1.2rem 1.1rem; margin: 0; font-size: .95rem; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; max-width: var(--lat); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem) clamp(2.6rem, 6vw, 4rem); }
.pager a { border: 1px solid var(--linie); background: var(--hartie); text-decoration: none; padding: 1.2rem 1.3rem; clip-path: var(--taie-mic); transition: border-color .16s ease; }
.pager a:hover { border-color: var(--rosu); }
.pager small { font: 600 .72rem/1 var(--disp); letter-spacing: .16em; text-transform: uppercase; color: var(--gri); display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; }
.pager .ic { stroke: currentColor; }
.pager__inv { transform: rotate(180deg); }
.pager strong { font: 600 1.02rem/1.3 var(--disp); }
.pager a:last-child { text-align: right; }
.pager a:last-child small { justify-content: flex-end; }
@media (max-width: 640px) { .pager { grid-template-columns: 1fr; } .pager a:last-child { text-align: left; } .pager a:last-child small { justify-content: flex-start; } }

/* ── Despre noi: split, fișe, trio, mozaic ──────────────────── */
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.split__text .lead { font-size: 1.09rem; line-height: 1.62; }
.split__text p { color: #2C3B46; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.fise { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fisa-mica { background: var(--hartie); border: 1px solid var(--linie); padding: 1.3rem 1.2rem; clip-path: var(--taie-mic); }
.fisa-mica strong { display: block; font: 650 clamp(1.5rem, 3vw, 2rem)/1.05 var(--disp); color: var(--cerneala); margin-bottom: .45rem; }
.fisa-mica span { font-size: .87rem; color: var(--gri); line-height: 1.45; display: block; }
.fisa-mica--rosu { background: var(--rosu); border-color: var(--rosu); }
.fisa-mica--rosu strong { color: #fff; }
.fisa-mica--rosu span { color: #FBE3E6; }
@media (max-width: 420px) { .fise { grid-template-columns: 1fr; } }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
@media (max-width: 900px) { .trio { grid-template-columns: 1fr; } }
.trio__box { background: var(--noapte-2); border: 1px solid var(--noapte-3); padding: 1.6rem 1.4rem; clip-path: var(--taie); }
.trio__ic { width: 48px; height: 48px; display: grid; place-items: center; background: var(--rosu); color: #fff; clip-path: var(--taie-mic); margin-bottom: 1.1rem; }
.trio__ic .ic { width: 1.5rem; height: 1.5rem; stroke: currentColor; }
.trio__box h3 { font-size: 1.08rem; }
.trio__box p { color: var(--gri-alb); font-size: .92rem; margin: 0; }

.cutie-num { position: relative; background: var(--hartie); border: 1px solid var(--linie); padding: 1.6rem 1.4rem; clip-path: var(--taie); overflow: hidden; }
.cutie-num__nr {
  position: absolute; right: .7rem; top: .1rem;
  font: 650 4.6rem/1 var(--disp); color: transparent;
  -webkit-text-stroke: 1.5px #E7EBEF; pointer-events: none; user-select: none;
}
.cutie-num h3 { font-size: 1.06rem; position: relative; }
.cutie-num p { color: var(--gri); font-size: .92rem; margin: 0; position: relative; }

.mozaic { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.mozaic li { background: var(--hartie); border: 1px solid var(--linie); padding: 1.3rem 1.25rem; display: flex; gap: .9rem; align-items: flex-start; clip-path: var(--taie-mic); }
.mozaic .ic { color: var(--rosu); stroke: currentColor; width: 1.5rem; height: 1.5rem; margin-top: .1rem; }
.mozaic strong { display: block; font: 600 1rem/1.3 var(--disp); margin-bottom: .3rem; }
.mozaic span { color: var(--gri); font-size: .89rem; line-height: 1.5; }
@media (max-width: 980px) { .mozaic { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .mozaic { grid-template-columns: 1fr; } }

/* ── Fișa de programare ─────────────────────────────────────── */
.fisa { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .fisa { grid-template-columns: 1fr; } }
.fisa form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.camp { display: flex; flex-direction: column; gap: .4rem; }
.camp--lat { grid-column: 1 / -1; }
.camp label { font: 600 .86rem/1.3 var(--disp); }
.camp label small { color: var(--gri); font-weight: 500; }
.camp input, .camp select, .camp textarea {
  font: 500 .98rem/1.4 var(--text); color: var(--cerneala);
  padding: .8rem .95rem; border: 1px solid #CBD4DA; background: var(--hartie);
  border-radius: 0; width: 100%;
}
.camp input:focus, .camp select:focus, .camp textarea:focus { outline: 2px solid var(--rosu); outline-offset: -1px; border-color: var(--rosu); }
.camp textarea { min-height: 130px; resize: vertical; }
.camp .gres { color: var(--rosu); font-size: .84rem; margin: 0; }
.camp.eroare input, .camp.eroare select, .camp.eroare textarea { border-color: var(--rosu); }
.momeala { position: absolute; left: -5000px; top: -5000px; width: 1px; height: 1px; overflow: hidden; }
.fisa button[type=submit] { grid-column: 1 / -1; justify-self: start; }
.confirmare { grid-column: 1 / -1; background: #EAF7EE; border: 1px solid #BEE3C9; color: #1E5B31; padding: 1.1rem 1.3rem; font-weight: 600; }
.alerta { grid-column: 1 / -1; background: #FBECEE; border: 1px solid #F0C3C9; color: var(--rosu-2); padding: 1rem 1.2rem; font-size: .94rem; }
@media (max-width: 560px) { .fisa form { grid-template-columns: 1fr; } }

/* ── Contact ────────────────────────────────────────────────── */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact__date { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: 1rem; }
.contact__date li { display: flex; gap: .8rem; align-items: flex-start; }
.contact__date .ic { color: var(--rosu); stroke: currentColor; margin-top: .25rem; }
.contact__date strong { font-family: var(--disp); font-weight: 600; display: block; }
.contact__date a { color: inherit; }
.harta { clip-path: var(--taie); }
.harta iframe { width: 100%; height: 460px; border: 0; display: block; }

/* ── Cutia de lumină ────────────────────────────────────────── */
.lumina {
  position: fixed; inset: 0; z-index: 150; margin: 0;
  background: rgba(3, 14, 22, .95);
  display: none; align-items: center; justify-content: center; flex-direction: column; gap: .8rem;
  padding: 2.5rem 1rem;
}
.lumina.activ { display: flex; }
.lumina img { max-width: min(1080px, 94vw); max-height: 78vh; object-fit: contain; }
.lumina figcaption { color: #C5D2DB; font: 550 .9rem/1.4 var(--disp); }
.lumina button {
  position: absolute; background: rgba(5,20,31,.6); border: 1px solid rgba(255,255,255,.3); color: #fff;
  width: 48px; height: 48px; font-size: 1.5rem; cursor: pointer; display: grid; place-items: center;
}
.lumina button:hover { border-color: var(--rosu); background: var(--rosu); }
.lumina__x { top: 1rem; right: 1rem; }
.lumina__ante { left: 1rem; top: 50%; translate: 0 -50%; }
.lumina__post { right: 1rem; top: 50%; translate: 0 -50%; }

/* ── Apariția la derulare ───────────────────────────────────── */
.io { opacity: 0; translate: 0 20px; transition: opacity .5s ease, translate .5s ease; }
.io.vazut { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { .io { opacity: 1; translate: none; } }

/* ── 404 ────────────────────────────────────────────────────── */
.pierdut { text-align: center; padding: clamp(3.5rem, 11vw, 7rem) 1rem; }
.pierdut h1 { font-size: clamp(4rem, 14vw, 8rem); }
.pierdut h1 em { font-style: normal; color: var(--rosu); }
.pierdut .eticheta { justify-content: center; }
.pierdut__txt { max-width: 34em; margin: 0 auto 1.8rem; color: var(--gri); }
.pierdut__act { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.bloc { display: block; }
.contact__h2 { margin-top: 2.2rem; }
.confirmare__t { margin: 0 0 .4rem; }
.confirmare__p { margin: 0; font-weight: 500; }

/* ── Ținte de atingere pe telefon ────────────────────────────── */
@media (max-width: 860px) {
  .contact__date a { display: inline-block; padding: .4rem 0; }
  .fir { line-height: 2.1; }
  .fir a { display: inline-block; padding: .35rem 0; }
  .sina__lista a { padding: .8rem .2rem; }
  .sina__date li { padding: .25rem 0; }
  .sina__date a { display: inline-block; padding: .35rem 0; }
}

/* ── Panou de ajutor (finalul paginii de servicii) ───────────── */
.ajutor {
  position: relative;
  background: var(--hartie); border: 1px solid var(--linie);
  border-left: 4px solid var(--rosu);
  clip-path: var(--taie);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(1.6rem, 4vw, 3rem); align-items: center;
}
.ajutor__txt h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); margin-bottom: .7rem; }
.ajutor__txt p:last-child { color: var(--gri); margin: 0; font-size: .96rem; }
.ajutor__act { display: grid; gap: .7rem; }
.ajutor__act .bt { width: 100%; }
.ajutor__nota {
  display: flex; gap: .55rem; align-items: flex-start;
  margin: .4rem 0 0; font-size: .84rem; color: var(--gri);
}
.ajutor__nota .ic { color: var(--rosu); stroke: currentColor; margin-top: .2rem; }
@media (max-width: 860px) { .ajutor { grid-template-columns: 1fr; } }
