/* On Oblic – stilurile tuturor paginilor, mai puțin politicile (doc.css). 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[aria-current="page"] { color: var(--orange-ink); }
.nav-links a[aria-current="page"]::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; }

/* Submeniul Servicii: deschis la click (JS), la hover cu mouse-ul sau când focusul e în el */
.nav-drop { position: relative; }
.nav-drop-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; border: 0; background: none; cursor: pointer;
  font-weight: 500; font-size: var(--fs-md); color: var(--navy); white-space: nowrap; transition: color .2s ease;
}
.nav-drop-btn .bi { font-size: 12px; transition: transform .3s var(--ease-out); }
.nav-drop.is-current .nav-drop-btn { color: var(--orange-ink); }
.nav-drop-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 2px; }
.nav-drop-btn:active { opacity: .7; }
.nav-drop-panel {
  position: absolute; top: calc(100% + 14px); left: -20px; width: 400px; padding: 10px; display: grid; gap: 2px;
  background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow-float);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .25s var(--ease-out), visibility 0s linear .25s;
}
.nav-drop-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }  /* punte pentru mouse între buton și panou */
.nav-drop.open .nav-drop-panel, .nav-drop:focus-within .nav-drop-panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav-drop.open .nav-drop-btn .bi { transform: rotate(180deg); }
@media (hover: hover) {
  .nav-drop-btn:hover { color: var(--orange-ink); }
  .nav-drop:hover .nav-drop-panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-drop:hover .nav-drop-btn .bi { transform: rotate(180deg); }
}
.drop-item { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: 4px; transition: background-color .2s ease; }
.drop-item strong { display: block; font-family: var(--heading-font); font-weight: 500; font-size: var(--fs-md); line-height: 1.3; color: var(--navy); }
.drop-item small { display: block; margin-top: 2px; font-size: var(--fs-xs); line-height: 1.4; color: var(--muted); }
.drop-item[aria-current="page"] strong { color: var(--orange-ink); }
.drop-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--orange-ink); font-size: 17px; transition: background-color .2s ease, color .2s ease; }
@media (hover: hover) {
  .drop-item:hover { background: var(--tint); }
  .drop-item:hover .drop-ic { background: var(--orange); color: var(--navy-deep); }
}
.drop-item:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.drop-item: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[aria-current="page"] { color: var(--orange-ink); }
.mobile-group { margin: 18px 0 2px; font-size: var(--fs-2xs); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-ink); }
.mobile-nav .mobile-sub { padding-left: 16px; }
.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 (pagina principală) ---------- */
.hero { position: relative; background: var(--navy-deep); color: #fff; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg picture { display: block; width: 100%; height: 100%; }
/* păstrăm vizibil logo-ul On Oblic de pe perete (partea dreaptă a pozei) */
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; animation: heroZoom 7s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.08); } }
.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) 45%, rgb(var(--navy-deep-rgb) / .3) 70%, 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: 600px; display: flex; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.hero-copy { max-width: 680px; animation: heroIn .9s var(--ease-out) both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero h1 { margin: 0; color: #fff; font-weight: 700; font-size: clamp(2.2rem, 4.4vw, 3.7rem); line-height: 1.05; letter-spacing: -0.035em; }
/* a doua propoziție a titlului: mai mică, ca un subtitlu */
.h1-sub { display: block; margin-top: 14px; font-weight: 500; font-size: .52em; line-height: 1.25; letter-spacing: -0.02em; color: var(--on-dark-strong); }
.hero-lead { margin-top: 22px; font-size: var(--fs-lg); color: var(--on-dark-strong); max-width: 560px; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-actions .btn { width: 100%; justify-content: center; }
.hero .btn-solid, .page-hero .btn-solid { box-shadow: none; }  /* umbra portocalie arată ca o strălucire pe bleumarin */

/* Eticheta de deasupra titlului și rândul de garanții de sub butoane (hero-ul principal și cele ale paginilor) */
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; padding: 7px 14px 7px 12px; border-radius: 4px;
  font-size: var(--fs-xs); font-weight: 600; line-height: 1.4; color: #fff;
  background: rgb(var(--orange-rgb) / .14); border: 1px solid rgb(var(--orange-rgb) / .35);
}
.hero-badge::before { content: ""; flex: none; width: 3px; height: 1em; border-radius: 2px; background: var(--orange); transform: skewX(-22deg); }
.hero-trust { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: var(--fs-sm); color: var(--on-dark); }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .bi { color: var(--orange); font-size: 16px; }
.hero-trust a { color: #fff; font-weight: 600; border-radius: 2px; text-decoration: underline; text-decoration-color: rgb(var(--orange-rgb) / .6); text-underline-offset: 3px; transition: color .2s ease; }
@media (hover: hover) { .hero-trust a:hover { color: var(--orange); } }
.hero-trust a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.hero-trust a:active { opacity: .7; }

/* 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); }

@media (min-width: 561px) {
  .hero-bg img { object-position: 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 50%, transparent 68%);
            mask-image: linear-gradient(90deg, #000 0%, #000 50%, transparent 68%);
  }
  .hero-inner { min-height: 680px; padding-top: 72px; padding-bottom: 80px; }
}
@media (min-width: 1361px) { .slash { display: block; } }

/* ---------- Hero-ul paginilor interioare ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate; color: var(--on-dark); padding: 28px 0 72px;
  background:
    radial-gradient(55% 70% at 100% 0%, rgb(var(--orange-rgb) / .2), transparent 70%),
    radial-gradient(45% 60% at 0% 100%, rgb(var(--navy-glow-rgb) / .3), transparent 70%),
    var(--navy-deep);
}
.page-hero .container-x { z-index: 1; }
.page-hero-copy { max-width: 760px; margin-top: 48px; animation: heroIn .9s var(--ease-out) both; }
.page-hero h1 { color: #fff; font-weight: 700; font-size: clamp(2.1rem, 4.2vw, 3.5rem); line-height: 1.06; letter-spacing: -0.035em; }
.page-hero .hero-lead { max-width: 640px; }
.page-hero .hero-actions .btn { width: 100%; justify-content: center; }
/* două bare oblice mari în dreapta (simbolul On Oblic), doar unde au loc */
.page-hero-slashes { display: none; position: absolute; right: 7%; top: 50%; transform: translateY(-50%); gap: 34px; pointer-events: none; }
.page-hero-slashes i { display: block; width: 46px; height: 300px; border-radius: 24px; background: var(--orange); transform: skewX(-24deg); opacity: .9; }
.page-hero-slashes i + i { height: 210px; align-self: flex-end; opacity: .35; }

/* firul de navigare (Acasă / Servicii / …) */
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: var(--fs-xs); color: var(--on-dark-muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin: 0 10px; color: var(--orange); font-weight: 600; }
.crumbs a { border-radius: 2px; transition: color .2s ease; }
@media (hover: hover) { .crumbs a:hover { color: #fff; } }
.crumbs a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.crumbs a:active { opacity: .7; }
.crumbs [aria-current] { color: var(--on-dark-strong); }
@media (min-width: 561px) { .page-hero .hero-actions .btn { width: auto; justify-content: normal; } }
@media (min-width: 901px) { .page-hero { padding: 32px 0 104px; } .page-hero-copy { margin-top: 72px; } }
@media (min-width: 1361px) { .page-hero-slashes { display: flex; } }

/* ---------- 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: patru carduri, fiecare duce la pagina lui ---------- */
.svc-overview { position: relative; padding: var(--section-y) 0; background: #fff; }
.svc-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
/* întregul card e clicabil: linkul din titlu se întinde peste el (.stretched) */
.svc-card {
  position: relative; display: flex; flex-direction: column; padding: 28px 24px 26px; border: 1px solid var(--tint-strong); border-radius: 6px; background: #fff;
  box-shadow: 0 1px 2px rgb(var(--navy-deep-rgb) / .04);
  transition: border-color .25s ease, box-shadow .3s ease, transform .35s var(--ease-out);
}
.svc-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.svc-card-num { font-family: var(--heading-font); font-weight: 600; font-size: var(--fs-sm); letter-spacing: .06em; color: var(--muted); }
.svc-card h3 { font-weight: 600; font-size: 1.45rem; line-height: 1.2; letter-spacing: -0.025em; }
.svc-card p { margin-top: 14px; font-size: var(--fs-md); color: var(--muted); }
.svc-card .check-list { margin-top: 20px; }
.svc-card-more { margin-top: auto; padding-top: 24px; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: var(--fs-md); color: var(--orange-ink); }
.svc-card-more .bi { transition: transform .25s var(--ease-out); }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.stretched:focus-visible { outline: none; }
.svc-card:has(.stretched:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
@media (hover: hover) {
  .svc-card:hover { border-color: rgb(var(--orange-rgb) / .5); box-shadow: var(--shadow-float); transform: translateY(-4px); }
  .svc-card:hover .svc-card-more .bi { transform: translateX(4px); }
  .svc-card:hover .feature-ic { background: var(--orange); color: var(--navy-deep); }
}
.svc-card:active { transform: scale(.99); }
@media (min-width: 901px) { .svc-grid { grid-template-columns: 1fr 1fr; gap: 24px; } .svc-card { padding: 36px 34px 32px; } }


/* listă cu bifă (carduri, industrii) */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check-list li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: var(--fs-sm); line-height: 1.5; color: var(--navy); font-weight: 500; }
.check-list .bi { margin-top: 3px; color: var(--orange-ink); }

/* iconiță rotundă (carduri, liste de servicii) */
.feature-ic {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 24px;
  color: var(--orange-ink); background: var(--tint); transition: background-color .25s ease, color .25s ease;
}

/* ---------- 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; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-top: 24px; }
.marquee-controls--end { justify-content: flex-end; }   /* doar butonul, fără link (pagina Portofoliu) */
/* 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) { #marqueeToggle { 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 > 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; }
/* butoanele de pe paginile de servicii duc la /contact/?serviciu=…#formular: titlul formularului rămâne sub antet vizibil */
#formular { scroll-margin-top: calc(var(--header-h) + 24px); }
/* lista derulantă: săgeata proprie în locul celei a browserului */
select.field {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%231b1464' stroke-width='1.6' d='m3 6 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center / 14px;
}
.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-bg img { animation: none; }
}

/* =====================================================================
   Componentele paginilor interioare (servicii, industrii, portofoliu, contact)
   ===================================================================== */

/* link de text cu săgeată (sub banda de clienți) */
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; font-size: var(--fs-md); color: var(--orange-ink); border-radius: 2px; transition: color .2s ease; }
.text-link .bi { transition: transform .25s var(--ease-out); }
@media (hover: hover) { .text-link:hover { color: var(--navy); } .text-link:hover .bi { transform: translateX(4px); } }
.text-link:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.text-link:active { opacity: .7; }

/* ---------- Industrii (pe Acasă): cinci plăci care duc la pagina Industrii ---------- */
.ind-teaser { position: relative; padding: var(--section-y) 0; background: var(--tint); }
.ind-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.ind-tile {
  position: relative; display: grid; grid-template-columns: 48px 1fr 18px; gap: 16px; align-items: center; padding: 18px 20px;
  background: #fff; border: 1px solid transparent; border-radius: 6px; box-shadow: 0 1px 2px rgb(var(--navy-deep-rgb) / .05);
  transition: border-color .25s ease, box-shadow .3s ease, transform .35s var(--ease-out);
}
.ind-tile .sector-icon { background: var(--tint); transition: background-color .25s ease, color .25s ease; }
.ind-tile strong { display: block; font-family: var(--heading-font); font-weight: 600; font-size: 1.15rem; line-height: 1.25; color: var(--navy); letter-spacing: -0.02em; }
.ind-tile small { display: block; margin-top: 4px; font-size: var(--fs-sm); line-height: 1.45; color: var(--muted); }
.ind-tile-arrow { color: var(--orange-ink); transition: transform .25s var(--ease-out); }
@media (hover: hover) {
  .ind-tile:hover { border-color: rgb(var(--orange-rgb) / .45); box-shadow: var(--shadow-float); transform: translateY(-3px); }
  .ind-tile:hover .sector-icon { background: var(--orange); color: var(--navy-deep); }
  .ind-tile:hover .ind-tile-arrow { transform: translateX(4px); }
}
.ind-tile:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.ind-tile:active { transform: scale(.99); }
@media (min-width: 901px) { .ind-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } .ind-tile { padding: 22px 24px; } }
@media (min-width: 1361px) { .ind-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Problema (prima secțiune a paginilor de servicii) ---------- */
.problem { position: relative; padding: var(--section-y) 0; background: #fff; }
.problem .container-x { display: grid; grid-template-columns: 1fr; gap: 28px; }
.problem-title { font-weight: 700; font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1.12; letter-spacing: -0.035em; max-width: 560px; }
.problem-body p { color: var(--muted); font-size: var(--fs-lg); }
.problem-body p + p { margin-top: 18px; }
/* ideea principală, scoasă în evidență */
.problem-aside {
  position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 16px; margin-top: 32px; padding: 22px 22px 22px 20px;
  background: var(--tint); border-radius: 6px; border-left: 3px solid var(--orange);
}
.problem-aside .bi { font-size: 24px; color: var(--orange-ink); margin-top: 2px; }
.problem-body .problem-aside p { margin: 0; color: var(--navy); font-size: var(--fs-base); font-weight: 500; }
@media (min-width: 901px) {
  .problem .container-x { grid-template-columns: 1fr 1fr; gap: 0; }
  .problem-title { padding-right: var(--col-gap); }
  .problem-body { padding-left: var(--col-gap); }
}

/* ---------- Ce include (carduri cu iconiță) ---------- */
.features { position: relative; padding: var(--section-y) 0; background: var(--tint); scroll-margin-top: var(--header-h); }
.features .section-title { font-size: clamp(2rem, 3.4vw, 3rem); }
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.feature {
  padding: 28px 24px 30px; background: #fff; border-radius: 6px;
  box-shadow: 0 1px 2px rgb(var(--navy-deep-rgb) / .05), 0 10px 30px rgb(var(--navy-deep-rgb) / .05);
}
.feature h3 { margin-top: 24px; font-weight: 600; font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.02em; }
.feature p { margin-top: 12px; font-size: var(--fs-md); color: var(--muted); }
@media (min-width: 901px) { .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } .feature { padding: 34px 32px 36px; } }
@media (min-width: 1025px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Avantaje (fundal închis, rânduri numerotate) ---------- */
.benefits { position: relative; padding: var(--section-y) 0; background: var(--navy-deep); color: var(--on-dark); overflow: hidden; }
.benefits::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(45% 60% at 0% 0%, rgb(var(--orange-rgb) / .14), transparent 70%), radial-gradient(40% 50% at 100% 100%, rgb(var(--navy-glow-rgb) / .25), transparent 70%); }
.benefits .container-x { z-index: 1; }
.benefits .section-title { font-size: clamp(2rem, 3.4vw, 3rem); max-width: 720px; margin-bottom: 48px; }
.benefit-list { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-light); }
.benefit { padding: 30px 0; border-bottom: 1px solid var(--line-light); }
.benefit-num { font-family: var(--heading-font); font-weight: 600; font-size: var(--fs-md); letter-spacing: .06em; color: var(--orange); }
.benefit h3 { margin: 14px 0 10px; color: #fff; font-weight: 600; font-size: 1.45rem; letter-spacing: -0.02em; }
.benefit p { color: var(--on-dark); max-width: 420px; }
@media (min-width: 901px) {
  .benefits .section-title { margin-bottom: 64px; }
  .benefit-list { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line-light); }
  .benefit { padding: 40px 32px 44px 0; border-bottom: 0; }
  .benefit + .benefit { padding-left: 32px; border-left: 1px solid var(--line-light); }
}

/* trei pași în loc de patru */
@media (min-width: 901px) { .steps--3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Banda cu partenerii (rețelistică) ---------- */
.partners-band { position: relative; padding: 56px 0; background: var(--tint); }
.partners-band .trust-label { margin-bottom: 22px; }
.partner-pills--row { display: flex; flex-wrap: wrap; gap: 10px; max-width: none; }
.partner-pills--row .partner-pill { min-width: 0; padding: 0 20px; }

/* ---------- Întrebări frecvente pe paginile de servicii ---------- */
.faq--page { padding-top: var(--section-y); }

/* ---------- Alte servicii ---------- */
.related { position: relative; padding: 0 0 var(--section-y); background: #fff; }
.related-title { font-weight: 600; font-size: 1.5rem; letter-spacing: -0.02em; margin-bottom: 24px; padding-top: 48px; border-top: 1px solid var(--line); }
.related-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.related-card {
  display: grid; grid-template-columns: 40px 1fr 18px; gap: 14px; align-items: center; padding: 18px 18px;
  border: 1px solid var(--tint-strong); border-radius: 6px; background: #fff;
  transition: border-color .25s ease, box-shadow .3s ease, transform .35s var(--ease-out);
}
.related-card strong { display: block; font-family: var(--heading-font); font-weight: 600; font-size: 1.05rem; line-height: 1.3; color: var(--navy); }
.related-card small { display: block; margin-top: 2px; font-size: var(--fs-xs); color: var(--muted); }
.related-arrow { color: var(--orange-ink); transition: transform .25s var(--ease-out); }
@media (hover: hover) {
  .related-card:hover { border-color: rgb(var(--orange-rgb) / .5); box-shadow: var(--shadow-float); transform: translateY(-3px); }
  .related-card:hover .drop-ic { background: var(--orange); color: var(--navy-deep); }
  .related-card:hover .related-arrow { transform: translateX(4px); }
}
.related-card:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.related-card:active { transform: scale(.99); }
@media (min-width: 901px) { .related-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
/* pagina 404: lista vine imediat după hero (fără linie deasupra), cu toate cele 4 servicii în 2 coloane */
.related--first { padding-top: var(--section-y); }
.related--first .related-title { padding-top: 0; border-top: 0; }
@media (min-width: 561px) { .related-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 901px) { .related-grid--4 { grid-template-columns: repeat(2, 1fr); } }
.related-more { margin-top: 24px; color: var(--muted); }

/* ---------- Industrii: un bloc pe domeniu ---------- */
.industry { position: relative; padding: var(--section-y) 0; background: #fff; scroll-margin-top: var(--header-h); }
.industry--tint { background: var(--tint); }
.industry .container-x { display: grid; grid-template-columns: 1fr; gap: 28px; }
.industry-head .sector-icon { width: 64px; height: 64px; font-size: 28px; margin-bottom: 26px; }
.industry--tint .sector-icon { background: #fff; }
.industry-head h2 { margin-top: 14px; font-weight: 700; font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1.12; letter-spacing: -0.035em; max-width: 520px; }
.industry-body > p:first-child { font-size: var(--fs-lg); color: var(--muted); }
.industry-body .check-list { margin-top: 26px; }
.industry-body .check-list li { font-size: var(--fs-md); }
@media (min-width: 901px) {
  .industry .container-x { grid-template-columns: 1fr 1fr; gap: 0; }
  .industry-head { padding-right: var(--col-gap); }
  .industry-body { padding-left: var(--col-gap); padding-top: 90px; }
}

.others { position: relative; padding: var(--section-y) 0; background: #fff; }
.other-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.other-card {
  padding: 30px 26px 30px; border: 1px solid var(--tint-strong); border-radius: 6px; background: #fff; scroll-margin-top: calc(var(--header-h) + 24px);
  box-shadow: 0 1px 2px rgb(var(--navy-deep-rgb) / .04), 0 10px 30px rgb(var(--navy-deep-rgb) / .04);
}
.other-card h3 { margin-top: 22px; font-weight: 600; font-size: 1.4rem; letter-spacing: -0.02em; }
.other-card-sub { margin-top: 4px; font-size: var(--fs-sm); color: var(--orange-ink); font-weight: 500; }
.other-card > p:not([class]) { margin-top: 14px; font-size: var(--fs-md); color: var(--muted); }
@media (min-width: 1025px) { .other-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* ---------- Contact ---------- */
.contact .form-title { font-weight: 600; font-size: 1.6rem; letter-spacing: -0.02em; }
