/* On Oblic – pagina principală. Baza (culori, fonturi, spațieri) e în base.css.
   Mobile-first: regulile de bază sunt pentru telefon, apoi fiecare componentă adaugă treptele
   sm ≥ 561px · md ≥ 901px · lg ≥ 1025px · xl ≥ 1361px. */

:root { --header-h: 72px; }
@media (min-width: 1025px) { :root { --header-h: 84px; } }

/* iconițele (Bootstrap Icons, MIT) și filtrul pentru logo-uri, folosite prin <use> */
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Butoane ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--body-font); font-weight: 600; font-size: var(--fs-md); line-height: 1.3;
  padding: 16px 26px; border-radius: 4px; border: 1px solid transparent; cursor: pointer;
  transition: transform var(--dur-press) var(--ease-out), background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn .bi { font-size: 18px; transition: transform .25s var(--ease-out); }
@media (hover: hover) { .btn:hover .bi { transform: translateX(4px); } }
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
/* text bleumarin pe portocaliu: 6.3:1 (alb pe portocaliu avea doar 3:1) */
.btn-solid { background: var(--orange); color: var(--navy-deep); box-shadow: var(--shadow-btn); }
@media (hover: hover) { .btn-solid:hover { background: var(--orange-hover); } }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.04); }
@media (hover: hover) { .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); } }
.btn-navy { background: var(--navy); color: #fff; }
@media (hover: hover) { .btn-navy:hover { background: var(--navy-deep); } }
.btn-line { color: var(--navy); border-color: rgb(var(--navy-rgb) / .3); background: transparent; }
@media (hover: hover) { .btn-line:hover { border-color: var(--navy); background: #fff; } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s ease, box-shadow .3s ease;
}
.header.scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 2px rgb(var(--navy-deep-rgb) / .04), 0 6px 24px rgb(var(--navy-deep-rgb) / .06); }
.header-bar { height: var(--header-h); display: flex; align-items: center; gap: 24px; }

/* logo-ul (baza în base.css); varianta albă e pentru fundalurile închise */
.brand-lockup img { height: 46px; }
.footer .brand-lockup img { height: 60px; }

/* meniul principal și butoanele din dreapta apar de la lg; până atunci e meniul mobil */
.nav-links { display: none; align-items: center; gap: 18px; }
.nav-links a {
  position: relative; white-space: nowrap; font-weight: 500; font-size: var(--fs-md); color: var(--navy); padding: 6px 0;
  transition: color .2s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out);
}
.nav-links a.active { color: var(--orange-ink); }
.nav-links a.active::after { transform: scaleX(1); }
@media (hover: hover) {
  .nav-links a:hover { color: var(--orange-ink); }
  .nav-links a:hover::after { transform: scaleX(1); }
}
.nav-links a:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 2px; }
.nav-links a:active { opacity: .7; }

.header-cta { display: none; margin-left: auto; align-items: center; gap: 22px; }
.header-phone { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); font-size: var(--fs-md); white-space: nowrap; border-radius: 4px; transition: color .2s ease; }
.header-phone span { display: none; }   /* numărul scris apare doar de la xl; iconița rămâne */
.header-phone .phone-ic {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--tint); color: var(--orange-ink); font-size: var(--fs-base); transition: transform var(--dur-press) var(--ease-out);
}
@media (hover: hover) { .header-phone:hover { color: var(--orange-ink); } }
.header-phone:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.header-phone:active .phone-ic { transform: scale(.92); }
.header .btn { padding: 13px 22px; white-space: nowrap; }

.nav-toggle {
  display: grid; place-items: center; margin-left: auto; width: 46px; height: 46px; border-radius: 4px; border: 1px solid var(--line);
  background: #fff; color: var(--navy); font-size: 24px; cursor: pointer; transition: background-color .2s ease, transform var(--dur-press) var(--ease-out);
}
@media (hover: hover) { .nav-toggle:hover { background: var(--tint); } }
.nav-toggle:active { transform: scale(.94); }
.nav-toggle:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.mobile-nav { display: none; flex-direction: column; padding: 8px 0 20px; border-top: 1px solid var(--line); }
.mobile-nav.open { display: flex; animation: menuIn .2s var(--ease-out); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } }
.mobile-nav a { padding: 13px 0; font-weight: 500; color: var(--navy); border-bottom: 1px solid var(--line); transition: color .2s ease; }
@media (hover: hover) { .mobile-nav a:hover { color: var(--orange-ink); } }
.mobile-nav a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.mobile-nav a:active { opacity: .7; }
.mobile-nav a.active { color: var(--orange-ink); }
.mobile-nav .mobile-phone { display: flex; align-items: center; gap: 10px; }
@media (hover: hover) { .mobile-nav .btn:hover { color: var(--navy-deep); } }   /* butonul nu preia hover-ul portocaliu al linkurilor */
.mobile-nav .btn { margin-top: 18px; justify-content: center; border-bottom: 0; color: var(--navy-deep); }

@media (min-width: 1025px) {
  .brand-lockup img { height: 54px; }
  .nav-links, .header-cta { display: flex; }
  .nav-toggle { display: none; }
}
@media (min-width: 1361px) {
  .header-bar { gap: 40px; }
  .nav-links { gap: 30px; }
  .header-phone span { display: inline; }
}

/* ---------- Hero (carusel) ---------- */
.hero { position: relative; background: var(--navy-deep); color: #fff; overflow: hidden; isolation: isolate; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; z-index: 0; }
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s ease-out; }
.hero-slide.is-active img { transform: scale(1); }
.hero-slide picture { display: block; width: 100%; height: 100%; }
/* echipa: păstrăm vizibil logo-ul On Oblic de pe perete (partea dreaptă a pozei) */
.hero-slide--team img { object-position: 58% center; transform-origin: 58% center; }
.hero::before { /* tratare de culoare + gradient de lizibilitate */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg, rgb(var(--navy-deep-rgb) / .94) 0%, rgb(var(--navy-deep-rgb) / .88) 40%, rgb(var(--navy-deep-rgb) / .3) 66%, rgb(var(--navy-deep-rgb) / .18) 100%),
    linear-gradient(to top, rgba(0,0,0,.45), transparent 45%);
}
.hero::after { /* nuanță de brand */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(60% 80% at 85% 20%, rgb(var(--orange-rgb) / .22), transparent 60%), var(--navy);
  mix-blend-mode: multiply; opacity: .32;
}
/* Estompează fundalul din spatele textului (ecranul din poza echipei are text și logo-uri care se vedeau prin titlu).
   Pe ecranele înguste textul acoperă toată poza, deci estompăm tot, mai puțin. */
.hero-veil {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
}
.hero-inner { position: relative; z-index: 4; min-height: 560px; display: flex; align-items: center; padding-top: 56px; padding-bottom: 104px; }
.hero-copy { max-width: 620px; }
.hero-text { display: none; }
.hero-text.is-active { display: block; animation: heroIn .9s var(--ease-out) both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero h1, .hero h2 { margin: 0; color: #fff; font-weight: 700; font-size: clamp(2.3rem, 4.6vw, 3.9rem); line-height: 1.04; letter-spacing: -0.035em; }
.hero-lead { margin-top: 24px; font-size: var(--fs-lg); color: var(--on-dark-strong); max-width: 500px; }
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-actions .btn { width: 100%; justify-content: center; }
.hero .btn-solid { box-shadow: none; }  /* umbra portocalie arată ca o strălucire pe bleumarin */

/* Slash-urile oblice din simbolul On Oblic, la marginile hero-ului: doar pe ecranele late (xl), unde au loc */
.slash {
  display: none; position: absolute; z-index: 4; top: 50%; width: 10px; height: 120px; border-radius: 6px;
  background: var(--orange); transform: translateY(-50%) skewX(-28deg); opacity: .9; pointer-events: none;
}
.slash::after { content: ""; position: absolute; inset: 0; transform: translateX(-22px); background: inherit; border-radius: inherit; opacity: .45; }
.slash--l { left: 24px; }
.slash--r { right: 24px; }
.slash--r::after { transform: translateX(22px); }

.hero-dots { position: absolute; z-index: 5; left: 0; right: 0; bottom: 34px; }
.hero-dots .container-x { display: flex; align-items: center; gap: 18px; }
.hero-dot {
  width: 44px; height: 4px; padding: 0; border: 0; border-radius: 2px; background: rgba(255,255,255,.28);
  cursor: pointer; position: relative; overflow: hidden; transition: background-color .2s ease;
}
.hero-dot::before { content: ""; position: absolute; inset: -20px 0; } /* zonă de atingere de 44px înălțime */
.hero-dot span { position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.hero-dot.is-active span { animation: dotFill var(--autoplay, 7s) linear forwards; }
@media (hover: hover) { .hero-dot:hover { background: rgba(255,255,255,.5); } }
.hero-dot:active { background: rgba(255,255,255,.6); }
.hero-dot:focus-visible { outline: 2px solid #fff; outline-offset: 6px; }
@keyframes dotFill { to { transform: scaleX(1); } }
.hero-count { font-family: var(--heading-font); font-size: var(--fs-sm); color: var(--on-dark); letter-spacing: .08em; }
.hero-count b { color: #fff; font-weight: 600; }
.hero-pause {
  width: 44px; height: 44px; margin-left: 4px; display: grid; place-items: center; padding: 0; cursor: pointer;
  border: 1px solid var(--line-light); border-radius: 4px; background: transparent; color: #fff; font-size: 18px;
  transition: background-color .2s ease, border-color .2s ease, transform var(--dur-press) var(--ease-out);
}
@media (hover: hover) { .hero-pause:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); } }
.hero-pause:active { transform: scale(.92); }
.hero-pause:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
/* pauză: din buton (is-paused) sau cât timp mouse-ul/focusul e pe hero (is-held) */
.hero.is-paused .hero-dot.is-active span, .hero.is-held .hero-dot.is-active span { animation-play-state: paused; }

@media (min-width: 561px) {
  .hero-slide--team img { object-position: 100% center; transform-origin: 100% center; }
  .hero-actions .btn { width: auto; justify-content: normal; }
}
@media (min-width: 901px) {
  .hero-veil {
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 46%, transparent 64%);
            mask-image: linear-gradient(90deg, #000 0%, #000 46%, transparent 64%);
  }
  .hero-inner { min-height: 640px; padding-top: 72px; padding-bottom: 96px; }
}
@media (min-width: 1361px) { .slash { display: block; } }

/* ---------- Banda de încredere ---------- */
.trust { position: relative; background: var(--tint); }
.trust .container-x { z-index: 1; display: grid; grid-template-columns: 1fr; }
.trust-col { padding: 36px 0; }
.trust-col + .trust-col { border-top: 1px solid var(--line); }
.trust-label {
  font-family: var(--heading-font); font-weight: 500; font-size: var(--fs-lg); color: var(--navy);
  line-height: 1.3; margin-bottom: 28px;
}
.trust-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trust-stat strong { display: block; font-family: var(--heading-font); font-weight: 700; font-size: 2.1rem; line-height: 1; color: var(--navy); letter-spacing: -0.04em; }
.trust-stat .gt { font-size: .7em; color: var(--orange-ink); margin-right: 3px; letter-spacing: 0; vertical-align: .08em; }
.trust-stat strong small { font-size: .55em; color: var(--orange-ink); margin-left: 2px; letter-spacing: 0; }
.trust-stat > span { display: block; margin-top: 8px; font-size: var(--fs-sm); line-height: 1.4; color: var(--muted); }
/* Insigne statice (nu sunt linkuri): fără umbră, ridicare sau focus, ca să nu pară butoane */
.partner-pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.partner-pill {
  height: 52px; min-width: 0; padding: 0 8px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.7); border: 1px solid var(--tint-strong); border-radius: 4px;
  font-family: var(--heading-font); font-weight: 500; font-size: var(--fs-md); color: var(--navy); letter-spacing: -0.01em;
}
@media (min-width: 561px) {
  .trust-stat strong { font-size: 2.6rem; }
  .partner-pills { max-width: 480px; }
  .partner-pill { min-width: 104px; padding: 0 20px; font-size: var(--fs-base); }
}
@media (min-width: 901px) {
  .trust .container-x { grid-template-columns: 1fr 1fr; }
  .trust-col { padding: 44px 0 48px; }
  .trust-col:first-child { padding-right: var(--col-gap); }
  .trust-col + .trust-col { padding-left: var(--col-gap); border-top: 0; }
}

/* ---------- Titlurile secțiunilor ---------- */
.section-title { font-weight: 700; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1.05; letter-spacing: -0.04em; color: var(--navy); }
.section-intro { margin-top: 18px; color: var(--muted); max-width: 400px; }
/* titlu în stânga, introducere în dreapta (de la md) */
.section-head { display: grid; grid-template-columns: 1fr; gap: 18px; margin-bottom: 48px; }
.section-head .section-intro { margin: 0; max-width: 520px; }
.on-dark .section-title { color: #fff; }
@media (min-width: 901px) {
  .section-head { grid-template-columns: 1fr 1fr; gap: 0; align-items: end; margin-bottom: 64px; }
  .section-head .section-intro { padding-left: var(--col-gap); }
}

/* ---------- Etichetă cu bară oblică (din simbolul On Oblic) ---------- */
.label {
  display: inline-block; font-family: var(--heading-font); font-weight: 500; font-size: var(--fs-base); line-height: 1.3; color: var(--navy);
}
.label, .trust-label, .footer-cols h4 { position: relative; padding-left: 18px; }
.label::before, .trust-label::before, .footer-cols h4::before {
  content: ""; position: absolute; left: 3px; top: .18em; width: 3px; height: 1em; border-radius: 2px;
  background: var(--orange); transform: skewX(-22deg);
}
.on-dark .label, .label--light { color: #fff; }

/* ---------- Servicii (listă numerotată + panou) ---------- */
.services { position: relative; padding: var(--section-y) 0; background: #fff; }
.services .container-x { z-index: 1; display: grid; grid-template-columns: 1fr; }

.svc-list { list-style: none; margin: 48px 0 0; padding: 0; counter-reset: svc; }
.svc-group { margin: 30px 0 6px; font-size: var(--fs-2xs); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-ink); }
.svc-group:first-child { margin-top: 0; }
.svc-btn {
  counter-increment: svc; width: 100%; display: flex; align-items: baseline; gap: 18px; text-align: left; cursor: pointer;
  background: none; border: 0; border-bottom: 1px solid var(--line); padding: 15px 0; font-family: var(--body-font);
  font-size: var(--fs-lg); font-weight: 500; color: var(--muted); position: relative; transition: color .25s ease;
}
.svc-btn::before { content: counter(svc); font-family: var(--heading-font); font-size: var(--fs-sm); font-weight: 600; min-width: 14px; color: inherit; }
.svc-btn::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--orange);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
}
.svc-btn .bi { margin-left: auto; align-self: center; opacity: 0; transform: translateX(-8px); transition: opacity .2s ease, transform .25s var(--ease-out); color: var(--orange-ink); }
@media (hover: hover) { .svc-btn:hover { color: var(--navy); } }
@media (hover: hover) { .svc-btn:hover .bi { opacity: .6; transform: none; } }
.svc-btn[aria-selected="true"] { color: var(--navy); }
.svc-btn[aria-selected="true"]::after { transform: scaleX(1); }
.svc-btn[aria-selected="true"] .bi { opacity: 1; transform: none; }
.svc-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 2px; }
.svc-btn:active { opacity: .7; }
/* derulare automată: sublinierea filei active se umple în 7 s (ca bara din hero), apoi urmează fila următoare */
.svc-list.is-auto .svc-btn[aria-selected="true"]::after { animation: svcProgress var(--autoplay, 7s) linear both; }
.svc-list.is-auto.is-held .svc-btn[aria-selected="true"]::after { animation-play-state: paused; }
@keyframes svcProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.svc-auto-toggle { margin-top: 14px; }

/* toate panourile stau în aceeași celulă: zona are înălțimea celui mai înalt, deci conținutul de dedesubt nu sare la schimbarea filei */
.services-right { margin-top: 56px; display: grid; align-items: start; }
.svc-panel { grid-area: 1 / 1; animation: fadeIn .15s ease-out both; }
.svc-panel[hidden] { display: block; visibility: hidden; animation: none; }
@keyframes fadeIn { from { opacity: 0; } }
.svc-icon {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-size: 30px;
  color: var(--orange-ink); background: var(--tint); margin-bottom: 36px;
}
.svc-panel h3 { font-weight: 600; font-size: clamp(1.7rem, 2.6vw, 2.35rem); line-height: 1.22; letter-spacing: -0.03em; color: var(--navy); }
.svc-panel p { margin-top: 22px; color: var(--muted); max-width: 520px; }
.svc-panel .btn { margin-top: 36px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding: 0; list-style: none; }
.svc-tags li {
  font-size: var(--fs-sm); font-weight: 500; color: var(--navy); padding: 7px 14px; border: 1px solid var(--tint-strong);
  border-radius: 4px; background: #fff;
}
.svc-tags li.partners { background: var(--tint); border-color: var(--tint); }
.svc-tags li.partners b { font-weight: 600; }

@media (min-width: 901px) {
  .services .container-x { grid-template-columns: 1fr 1fr; }
  .services-left { padding-right: var(--col-gap); }
  .svc-list { max-width: 420px; }
  .services-right { margin-top: 0; padding-left: var(--col-gap); }
}

/* ---------- Despre noi (fundal închis) ---------- */
.about { position: relative; background: var(--navy-deep); color: var(--on-dark); padding: var(--section-y) 0; overflow: hidden; }
.about::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 60% at 10% 100%, rgb(var(--orange-rgb) / .16), transparent 70%), radial-gradient(40% 50% at 95% 0%, rgb(var(--navy-glow-rgb) / .25), transparent 70%);
}
.about .container-x { z-index: 1; display: grid; grid-template-columns: 1fr; }
.about-media { position: relative; margin: 0 0 72px; align-self: start; }
.about-media .frame { position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 16 / 11; }
.about-media picture { width: 100%; height: 100%; }
.about-media img { width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }
.about-media .frame::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(0,0,0,.6), transparent 55%); }
.about-media .frame::after { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--navy); mix-blend-mode: multiply; opacity: .35; }
.about-badge { position: absolute; z-index: 2; left: 28px; bottom: 26px; color: #fff; }
.about-badge strong { display: block; font-family: var(--heading-font); font-size: 3.4rem; line-height: 1; font-weight: 700; letter-spacing: -0.04em; }
.about-badge .gt { font-size: .7em; color: var(--orange); margin-right: 4px; letter-spacing: 0; vertical-align: .08em; }
.about-badge strong small { font-size: .5em; color: var(--orange); margin-left: 4px; letter-spacing: 0; }
.about-badge > span { font-size: var(--fs-sm); color: var(--on-dark); }
.about-slashes { position: absolute; z-index: 3; right: 8px; bottom: -36px; display: flex; gap: 12px; pointer-events: none; }
.about-slashes i { display: block; width: 14px; height: 96px; background: var(--orange); border-radius: 7px; transform: skewX(-28deg); }
.about-slashes i + i { opacity: .5; height: 70px; align-self: flex-end; }
.about-body .section-title { margin-bottom: 56px; }
.about-row { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 0 0 44px; }
.about-row + .about-row { padding-top: 44px; border-top: 1px solid var(--line-light); }
.about-row .label { align-self: start; }
.about-body .btn { margin-top: 12px; }
@media (min-width: 561px) { .about-row { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (min-width: 901px) {
  .about .container-x { grid-template-columns: 1fr 1fr; }
  .about-media { margin: 0 var(--col-gap) 0 0; }
  .about-media .frame { aspect-ratio: 4 / 5.2; }
  .about-slashes { right: -26px; bottom: -30px; }
  .about-body { padding-left: var(--col-gap); }
}

/* Fotografiile de la baza secțiunii */
.about .photo-strip-wrap { display: block; }   /* al doilea container din .about nu e grila cu două coloane */
.photo-strip { margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.photo-strip .ph { position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 16 / 10; }
.photo-strip .ph:nth-child(3) { display: none; }
.photo-strip picture { width: 100%; height: 100%; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; }
.photo-strip .ph::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(0,0,0,.45), transparent 60%); }
.photo-strip .ph::after { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--navy); mix-blend-mode: multiply; opacity: .25; }
@media (min-width: 561px) {
  .photo-strip { margin-top: 80px; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
  .photo-strip .ph:nth-child(3) { display: block; }
  .photo-strip .ph:nth-child(2) { transform: translateY(-40px); margin-bottom: -40px; }
}
@media (min-width: 901px) { .photo-strip { margin-top: 104px; } }

/* ---------- Domenii: registru pe rânduri, totul vizibil (fără file) ---------- */
.sectors { position: relative; padding: var(--section-y) 0; background: #fff; }
.sectors .container-x { z-index: 1; }
.sector-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sector { display: grid; grid-template-columns: 1fr; padding: 32px 0 34px; border-bottom: 1px solid var(--line); }
.sector-head { display: grid; grid-template-columns: 1fr; gap: 14px; align-items: start; }
.sector-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--orange-ink); font-size: 20px; }
.sector h3 { font-weight: 600; font-size: clamp(1.5rem, 2.2vw, 1.9rem); line-height: 1.15; letter-spacing: -0.03em; }
.sector-lead { margin-top: 12px; max-width: 440px; color: var(--muted); }
.sector-body { padding: 16px 0 0; max-width: 552px; }
.sector-clients-label { margin-top: 22px; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sector-clients { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; row-gap: 4px; font-weight: 500; color: var(--navy); }
/* separatorul stă după nume, ca la rândul următor să nu înceapă cu „/” */
.sector-clients li:not(:last-child)::after { content: "/"; margin: 0 10px; font-weight: 600; color: var(--orange-ink); }
@media (min-width: 561px) {
  .sector-head { grid-template-columns: 56px 1fr; gap: 24px; }
  .sector-icon { width: 56px; height: 56px; font-size: 24px; }
  .sector h3 { margin-top: 10px; }
  .sector-body { padding-left: 80px; }   /* textul începe sub titlu, nu sub iconiță */
}
@media (min-width: 901px) {
  .sector { grid-template-columns: 1fr 1fr; padding: 40px 0 42px; }
  .sector-head { padding-right: var(--col-gap); }
  .sector-body { padding: 10px 0 0 var(--col-gap); }
}

/* ---------- Testimoniale (card închis, ca „Featured case study”) ---------- */
.testi { position: relative; padding: 0 0 var(--section-y); background: #fff; }
.testi .container-x { z-index: 1; }
.testi-card {
  position: relative; display: grid; grid-template-columns: 1fr; background: var(--navy-deep); border-radius: 6px; overflow: hidden;
  box-shadow: 0 4px 10px rgb(var(--navy-deep-rgb) / .08), 0 30px 70px rgb(var(--navy-deep-rgb) / .18);
}
/* Panoul cu logo-ul clientului care vorbește */
.testi-media {
  position: relative; min-height: 260px; padding: 36px 0; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  background:
    radial-gradient(60% 55% at 20% 15%, rgba(255,255,255,.75), transparent 70%),
    radial-gradient(50% 50% at 90% 95%, rgb(var(--orange-rgb) / .12), transparent 70%),
    var(--tint);
}
.testi-bigquote {
  position: absolute; left: 12px; top: 0; font-size: 80px; line-height: 1;
  color: var(--navy); opacity: .08; pointer-events: none;
}
.testi-logo-card {
  position: relative; z-index: 1; width: min(78%, 360px); aspect-ratio: 360 / 190; display: grid; place-items: center;
  background: #fff; border-radius: 6px; box-shadow: 0 2px 6px rgb(var(--navy-deep-rgb) / .06), 0 24px 56px rgb(var(--navy-deep-rgb) / .14);
}
.testi-logo {
  grid-area: 1 / 1; width: 74%; height: 62%; object-fit: contain;
  opacity: 0; transform: translateY(6px) scale(.98); transition: opacity .25s ease, transform .3s var(--ease-out);
}
.testi-logo.is-active { opacity: 1; transform: none; }
.testi-client-tag { position: relative; z-index: 1; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.testi-slashes { display: none; position: absolute; left: 32px; bottom: 30px; gap: 10px; }
.testi-slashes i { display: block; width: 10px; height: 56px; border-radius: 5px; background: var(--orange); transform: skewX(-28deg); }
.testi-slashes i + i { opacity: .45; height: 40px; align-self: flex-end; }
.testi-body { padding: 36px 24px 32px; display: flex; flex-direction: column; color: var(--on-dark); }
.testi-slide { display: none; }
.testi-slide.is-active { display: block; animation: riseIn .28s var(--ease-out) both; }
@keyframes riseIn { from { opacity: 0; transform: translateY(6px); } }
.testi-company { font-family: var(--heading-font); font-weight: 700; font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1.05; letter-spacing: -0.035em; color: #fff; margin: 28px 0 22px; }
.testi-slide blockquote { margin: 0; font-size: var(--fs-lg); line-height: 1.7; color: var(--on-dark-strong); }
.testi-author { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.testi-author .avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--navy-deep); font-family: var(--heading-font); font-weight: 600; font-size: var(--fs-md); }
.testi-author strong { display: block; color: #fff; font-weight: 600; line-height: 1.3; }
.testi-author span { font-size: var(--fs-sm); }
.testi-nav { margin-top: auto; padding-top: 36px; display: flex; align-items: center; gap: 10px; }
.testi-btn {
  width: 46px; height: 46px; border-radius: 4px; border: 1px solid var(--line-light); background: transparent; color: #fff; font-size: 18px; cursor: pointer;
  display: grid; place-items: center; transition: background-color .2s ease, border-color .2s ease, transform var(--dur-press) var(--ease-out);
}
@media (hover: hover) { .testi-btn:hover { background: var(--orange); border-color: var(--orange); color: var(--navy-deep); } }
.testi-btn:active { transform: scale(.92); }
.testi-btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.testi-count { margin-left: 12px; font-family: var(--heading-font); font-size: var(--fs-sm); letter-spacing: .08em; color: var(--on-dark); }
.testi-count b { color: #fff; font-weight: 600; }
@media (min-width: 901px) {
  .testi-card { grid-template-columns: 1fr 1fr; }
  .testi-media { min-height: 520px; padding: 0; }
  .testi-bigquote { left: 24px; top: 8px; font-size: 120px; }
  .testi-slashes { display: flex; }
  .testi-body { padding: 56px 56px 48px; }
}

/* ---------- Cum lucrăm ---------- */
.process { position: relative; padding: var(--section-y) 0; background: #fff; }
.testi + .process { padding-top: 0; }
.process .container-x { z-index: 1; }
.steps { display: grid; grid-template-columns: 1fr; gap: 40px; counter-reset: step; }
.step { position: relative; padding: 36px 28px 0 0; border-top: 1px solid var(--line); }
.step::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out); }
.step.in::before { transform: scaleX(1); }
.step:nth-child(2)::before { transition-delay: .15s; } .step:nth-child(3)::before { transition-delay: .3s; } .step:nth-child(4)::before { transition-delay: .45s; }
.step-num { font-family: var(--heading-font); font-weight: 600; font-size: var(--fs-md); color: var(--orange-ink); letter-spacing: .06em; }
.step h3 { font-weight: 600; font-size: 1.45rem; margin: 18px 0 12px; letter-spacing: -0.02em; }
.step p { font-size: var(--fs-md); color: var(--muted); }
@media (min-width: 561px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 48px 0; }
  .step + .step { padding-left: 28px; }
  .step:nth-child(3) { padding-left: 0; }   /* începutul celui de-al doilea rând */
}
@media (min-width: 901px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .step:nth-child(3) { padding-left: 28px; }
}

/* ---------- Certificări (fundal închis) ---------- */
.certs { position: relative; background: var(--navy-deep); color: var(--on-dark); padding: var(--section-y) 0; overflow: hidden; }
.certs::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(45% 60% at 100% 100%, rgb(var(--orange-rgb) / .14), transparent 70%); }
.certs .container-x { z-index: 1; }
.certs .section-intro { color: var(--on-dark-muted); }
.cert-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.cert-card { position: relative; padding: 22px 18px; border: 1px solid var(--line-light); border-radius: 4px; background: var(--navy-raised); }
.cert-card .bi { font-size: 26px; color: var(--orange); }
.cert-count { position: absolute; top: 20px; right: 18px; font-family: var(--heading-font); font-size: var(--fs-xs); font-weight: 600; color: var(--on-dark-muted); }
.cert-card h3 { color: #fff; font-weight: 600; font-size: 1.35rem; margin: 18px 0 16px; letter-spacing: -0.02em; }
.cert-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cert-card li { position: relative; padding-left: 16px; font-size: var(--fs-sm); line-height: 1.5; color: var(--on-dark); }
.cert-card li::before { content: "/"; position: absolute; left: 0; top: 0; color: var(--orange); font-weight: 600; }
.cert-card li small { display: block; font-size: var(--fs-2xs); color: var(--on-dark-muted); }
@media (min-width: 561px) {
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-card { padding: 28px 24px 26px; }
  .cert-card--wide { grid-column: span 2; }
  .cert-card--wide ul { grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .cert-count { top: 26px; right: 24px; }
}
@media (min-width: 1025px) { .cert-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Clienți: două benzi de logo-uri care se derulează în sensuri opuse ---------- */
.clients { position: relative; padding: var(--section-y) 0; background: #fff; }
.clients .container-x { z-index: 1; }
/* mișcarea și tragerea sunt făcute din JS (vezi „Banda de clienți” în site.js), ca benzile să poată fi și trase cu mouse-ul / degetul */
.marquee {
  position: relative; z-index: 1; overflow: hidden; display: grid;
  cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee.is-dragging { cursor: grabbing; }
.marquee-track { display: flex; align-items: center; width: max-content; list-style: none; margin: 0; padding: 0; will-change: transform; }

/* logo-uri libere, fără casete: monocrom, color la hover, cu numele firmei dedesubt */
.client-logo { position: relative; flex: 0 0 auto; width: 144px; height: 88px; display: grid; place-items: center; }
.client-logo img {
  grid-area: 1 / 1; width: 112px; height: 40px; object-fit: contain; mix-blend-mode: multiply; -webkit-user-drag: none;
  transition: opacity .35s ease, transform .5s var(--ease-out);
}
/* tonuri de gri (#logo-mono): întâi aproape-albul devine alb (fundalurile unor fișiere nu sunt alb pur), apoi gamma
   închide culorile deschise; fundalurile nu apar ca niște casete, iar logo-urile palide (Bujor, Ursa Mare) se văd */
.client-logo .is-gray { filter: url(#logo-mono); opacity: .72; }
.client-logo .is-color { opacity: 0; }
.client-name {
  position: absolute; left: 8px; right: 8px; bottom: 8px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-size: var(--fs-2xs); line-height: 1.3; font-weight: 500; color: var(--muted);
  opacity: 0; transform: translateY(4px); transition: opacity .25s ease, transform .4s var(--ease-out);
}
@media (min-width: 561px) {
  .client-logo { width: 232px; height: 112px; }
  .client-logo img { width: 160px; height: 56px; }
  .client-name { bottom: 12px; }
}
/* varianta color o adaugă JS; fără JS rămâne logo-ul gri */
@media (hover: hover) {
  .client-logo:hover img { transform: translateY(-10px); }
  .js .client-logo:hover .is-gray { opacity: 0; }
  .js .client-logo:hover .is-color { opacity: 1; }
  .client-logo:hover .client-name { opacity: 1; transform: none; }
}
/* pe ecranele tactile nu există hover: arătăm direct logo-urile color */
@media (hover: none) { .js .client-logo .is-gray { opacity: 0; } .client-logo .is-color { opacity: 1; } }

.marquee-controls { display: flex; justify-content: flex-end; margin-top: 16px; }
/* buton discret, ca un link (oprește / pornește derularea) */
.toggle-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px; cursor: pointer;
  border: 0; background: none; color: var(--muted); font-size: var(--fs-xs); font-weight: 500;
  transition: color .2s ease, transform var(--dur-press) var(--ease-out);
}
.toggle-link[hidden] { display: none; }
.toggle-link .bi { font-size: var(--fs-md); }
@media (hover: hover) { .toggle-link:hover { color: var(--navy); } }
.toggle-link:active { transform: scale(.96); }
.toggle-link:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
/* cu „reduce motion” nimic nu se mișcă singur (benzile rămân doar de tras), deci nu e nevoie de butoanele de pauză */
@media (prefers-reduced-motion: reduce) { .marquee-controls, .hero-pause, .svc-auto-toggle { display: none; } }

/* ---------- FAQ ---------- */
.faq { position: relative; padding: 0 0 var(--section-y); background: #fff; }
.faq .container-x { z-index: 1; display: grid; grid-template-columns: 1fr; }
.faq-left { padding: 0 0 40px; }
.faq-left .btn { margin-top: 28px; }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; text-align: left; cursor: pointer;
  background: none; border: 0; padding: 24px 0; font-family: var(--heading-font); font-weight: 500; font-size: 1.08rem; line-height: 1.35; color: var(--navy);
  transition: color .2s ease;
}
@media (hover: hover) { .faq-q:hover { color: var(--orange-ink); } }
.faq-q:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
.faq-q:active { opacity: .75; }
.faq-q .pm { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: var(--tint); position: relative; transition: background-color .25s ease, transform .4s var(--ease-spring); }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--navy); border-radius: 1px; transition: transform .35s var(--ease-spring), background-color .25s ease; }
.faq-q .pm::after { transform: rotate(90deg); }
.faq-item.open .pm { background: var(--orange); transform: rotate(180deg); }
.faq-item.open .pm::before, .faq-item.open .pm::after { background: var(--navy-deep); }
.faq-item.open .pm::after { transform: rotate(0deg); }
/* deschiderea animă înălțimea prin grid-template-rows (0fr → 1fr) */
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease-out); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a .inner { padding: 0 0 26px; color: var(--muted); }
.faq-a ul { margin: 10px 0 0; padding-left: 20px; }
.faq-a li::marker { color: var(--orange-ink); }
@media (min-width: 901px) {
  .faq .container-x { grid-template-columns: 1fr 1fr; }
  .faq-left { padding: 0 var(--col-gap) 0 0; }
  .faq-list { padding-left: var(--col-gap); }
  .faq-a .inner { padding-right: 48px; }
  .faq-q { font-size: 1.2rem; }
}

/* ---------- CTA „[ / ]” ---------- */
.cta { position: relative; background: var(--tint); padding: var(--section-y) 0; overflow: hidden; }
.cta .container-x { z-index: 1; display: grid; grid-template-columns: 1fr; align-items: center; }
.cta .section-intro { max-width: 460px; }
.cta-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.cta-glyph { order: -1; justify-self: start; width: 180px; margin-bottom: 32px; }
.cta-glyph .glyph-bracket { fill: none; stroke: var(--navy); stroke-opacity: .2; stroke-width: 18; }
.cta-glyph .slash-path { fill: var(--orange); }
@media (min-width: 901px) {
  .cta .container-x { grid-template-columns: 1fr 1fr; }
  .cta-glyph { order: 0; justify-self: center; width: min(100%, 380px); margin-bottom: 0; }
}

/* ---------- Contact ---------- */
.contact { position: relative; padding: var(--section-y) 0; background: #fff; }
.contact .container-x { z-index: 1; }
.contact-grid { display: grid; grid-template-columns: 1fr; }
.contact-info { padding: 0 0 56px; }
.info-row { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.info-row:first-child { border-top: 1px solid var(--line); }
.info-row .ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--orange-ink); font-size: 20px; }
.info-row h3 { font-family: var(--body-font); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.info-row p, .info-row a { font-size: var(--fs-lg); color: var(--navy); font-weight: 500; line-height: 1.5; }
.info-row a { border-radius: 2px; transition: color .2s ease; }
@media (hover: hover) { .info-row a:hover { color: var(--orange-ink); } }
.info-row a:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.info-row a:active { opacity: .7; }
.contact-form h3 { font-weight: 600; font-size: 1.6rem; letter-spacing: -0.02em; }
.contact-form > p { color: var(--muted); margin: 8px 0 28px; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 20px 14px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid .btn { justify-self: start; width: 100%; justify-content: center; }
.form-field label { display: block; margin-bottom: 7px; font-size: var(--fs-sm); font-weight: 600; line-height: 1.3; color: var(--navy); }
.form-field label .opt { font-weight: 400; color: var(--muted); }
.field {
  width: 100%; font: inherit; font-size: var(--fs-md); color: var(--navy); background: #fff; border: 1px solid var(--tint-strong); border-radius: 4px; padding: 15px 16px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field::placeholder { color: var(--placeholder); opacity: 1; }
@media (hover: hover) { .field:hover { border-color: rgb(var(--navy-rgb) / .3); } }
.field:focus { outline: none; border-color: var(--orange-ink); box-shadow: 0 0 0 3px rgb(var(--orange-rgb) / .15); }
textarea.field { resize: vertical; min-height: 150px; }
.field[aria-invalid="true"], .field[aria-invalid="true"]:hover { border-color: var(--danger); }
.field[aria-invalid="true"]:focus { border-color: var(--danger); box-shadow: 0 0 0 3px rgb(var(--danger-rgb) / .14); }
.field-error { display: flex; align-items: flex-start; gap: 6px; margin-top: 7px; font-size: var(--fs-xs); line-height: 1.4; color: var(--danger); }
.field-error:empty { display: none; }
.field-error .bi { margin-top: 1px; }
.field-hint { margin-top: 6px; font-size: var(--fs-xs); line-height: 1.4; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.gdpr { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.gdpr input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--orange-ink); flex: 0 0 auto; }
.gdpr input[aria-invalid="true"] { outline: 2px solid var(--danger); outline-offset: 2px; }
#formStatus[data-kind="ok"] { color: var(--success); }
#formStatus[data-kind="err"] { color: var(--danger); }
#formStatus:empty { display: none; }
.captcha-box:empty { display: none; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#contactForm button[disabled] { opacity: .65; cursor: progress; transform: none; }
.form-note { font-size: var(--fs-xs); line-height: 1.55; color: var(--muted); }
/* linkurile din textele mici (formular, hartă) */
.form-note a, .map-note a { color: var(--orange-ink); text-decoration: underline; text-underline-offset: 2px; border-radius: 2px; transition: color .2s ease; }
@media (hover: hover) { .form-note a:hover, .map-note a:hover { color: var(--navy); } }
.form-note a:focus-visible, .map-note a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.form-note a:active, .map-note a:active { opacity: .7; }
@media (min-width: 561px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .btn { width: auto; justify-content: normal; }
}
@media (min-width: 901px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-info { padding: 0 var(--col-gap) 0 0; }
  .contact-form { padding-left: var(--col-gap); }
}

/* Harta: locația rămâne mereu vizibilă; harta Google se încarcă în zona ei doar la cerere (fără cookie-uri până atunci) */
.map-card {
  position: relative; z-index: 1; margin-top: 56px; display: grid; grid-template-columns: 1fr;
  min-height: 440px; overflow: hidden; border-radius: 6px; background: #fff; box-shadow: var(--shadow-float);
}
.map-info { display: flex; flex-direction: column; align-items: flex-start; padding: 28px 20px 24px; border-bottom: 1px solid var(--line); }
.map-pin { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--orange); color: var(--navy-deep); font-size: 1.25rem; margin-bottom: 22px; }
.map-info .label { margin: 0 0 12px; }
.map-address { font-family: var(--heading-font); font-weight: 600; font-size: 1.35rem; line-height: 1.3; letter-spacing: -0.02em; color: var(--navy); }
.map-city { color: var(--muted); }
.map-hours { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: var(--fs-md); color: var(--navy); }
.map-hours .bi { color: var(--orange-ink); }
.map-links { margin-top: auto; padding-top: 28px; display: grid; gap: 10px; width: 100%; }
.map-links .btn { justify-content: center; padding: 13px 18px; }
.map-view { position: relative; min-height: 340px; background: var(--tint); }
.map-view iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; }
.map-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-art .map-bg { fill: var(--tint); }
.map-art .map-grid { fill: none; stroke: var(--navy); stroke-opacity: .07; }
.map-art .map-road { fill: none; stroke: #fff; }
.map-art .map-route { fill: none; stroke: var(--orange); stroke-opacity: .3; }
.map-consent-box { position: relative; max-width: 360px; text-align: center; background: rgba(255,255,255,.95); padding: 22px 22px 18px; border-radius: 6px; box-shadow: var(--shadow-float); }
.map-note { margin-top: 12px; font-size: var(--fs-2xs); line-height: 1.5; color: var(--muted); }
@media (min-width: 901px) {
  .map-card { margin-top: 80px; grid-template-columns: minmax(300px, 380px) 1fr; }
  .map-info { padding: 36px 32px 32px; border-bottom: 0; border-right: 1px solid var(--line); }
  .map-view { min-height: 320px; }
}

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--navy-deep); color: var(--on-dark-muted); font-size: var(--fs-md); overflow: hidden; }
.footer .container-x { z-index: 1; }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 48px; padding: 88px 0 64px; }
.footer-brand { padding-right: var(--col-gap); }
.footer-brand p { margin-top: 22px; max-width: 360px; }
.social { display: flex; gap: 10px; margin-top: 26px; }
.social a { width: 42px; height: 42px; border-radius: 4px; display: grid; place-items: center; border: 1px solid var(--line-light); color: #fff; font-size: var(--fs-lg); transition: background-color .2s ease, border-color .2s ease, transform var(--dur-press) var(--ease-out); }
@media (hover: hover) { .social a:hover { background: var(--orange); border-color: var(--orange); color: var(--navy-deep); } }
.social a:active { transform: scale(.94); }
.social a:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 20px; }
.footer-cols > div:last-child { grid-column: 1 / -1; }
.footer-cols h4 { font-family: var(--heading-font); font-weight: 500; font-size: var(--fs-base); color: #fff; line-height: 1.2; margin-bottom: 20px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-cols a { border-radius: 2px; transition: color .2s ease; }
@media (hover: hover) { .footer-cols a:hover { color: var(--orange); } }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 24px 0 30px; border-top: 1px solid var(--line-light); font-size: var(--fs-xs); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-bottom a { transition: color .2s ease; }
@media (hover: hover) { .footer-bottom a:hover { color: #fff; } }
.footer-cols a:focus-visible, .footer-bottom a:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.footer-cols a:active, .footer-bottom a:active { opacity: .7; }
@media (min-width: 561px) {
  .footer-cols { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .footer-cols > div:last-child { grid-column: auto; }
}
@media (min-width: 1025px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 0; }
  .footer-cols { padding-left: var(--col-gap); }
}

/* Buton „sus” */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 46px; height: 46px; border-radius: 4px; display: grid; place-items: center;
  background: var(--orange); color: var(--navy-deep); font-size: 18px; box-shadow: var(--shadow-float);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s ease, transform .3s var(--ease-out), background-color .2s ease;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
@media (hover: hover) { .to-top:hover { background: var(--orange-hover); } }
.to-top:active { transform: scale(.94); }
.to-top:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }

/* ---------- Apariție la scroll ---------- */
/* conținutul se ascunde pentru animație doar dacă rulează JS (clasa .js e pusă în <head>); fără JS rămâne vizibil */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide img { transform: none; }
}
