/* ═══════════════════════════════════════════════════════════════
   Reconstruction on the Ropes — style.css  |  Production v4
   Paletă: Primary #1B365D · Secondary #F16B2D · Tertiary #475569 · Neutral #F5F7F9
═══════════════════════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --dark:        #1B365D; /* Primary */
  --dark-2:      #12243E; /* Darker Primary */
  --dark-3:      #475569; /* Tertiary - Slate */
  --mid:         #94A3B8;
  --light:       #CBD5E1;
  --off-white:   #F8FAFC; /* Neutral */
  --white:       #FFFFFF;
  --accent:      #F16B2D; /* Secondary - Orange */
  --accent-dim:  #D4561A;
  --accent-glow: rgba(241, 107, 45, .32);
  --logo-blue:   #1B365D;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;

  --r-sm:   6px;
  --r-md:   14px;
  --r-full: 9999px;

  --header-h: 70px;

  --ease: cubic-bezier(.4,0,.2,1);
  --t: .22s;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--off-white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
sup { font-size: .55em; vertical-align: super; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ════════════════════════════════
   BUTTONS
════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  transition: background var(--t) var(--ease),
  transform   var(--t) var(--ease),
  box-shadow  var(--t) var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  /* ─── EFECTUL NOU DE GLOW ─── */
  border: none; /* Ne asigurăm că nu are margini negre sau aspre */
  box-shadow: 0 4px 15px rgba(241, 107, 45, 0.4);
}
.btn:hover {
  box-shadow: 0 8px 25px rgba(241, 107, 45, 0.65); /* Strălucirea devine mai mare și mai intensă */
  transform: translateY(-2px); /* Se ridică 2 milimetri */
}
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn-icon { flex-shrink: 0; }

/* Header */
.btn--header {
  background: var(--accent);
  color: var(--white);
  padding: 10px 20px;
  font-size: .9rem;
}
.btn--header:hover { background: var(--accent-dim); transform: translateY(-1px); box-shadow: 0 4px 16px var(--accent-glow); }

/* Hero */
.btn--hero {
  background: var(--accent);
  color: var(--white);
  padding: 18px 36px;
  font-size: 1.2rem;
  box-shadow: 0 6px 28px var(--accent-glow);
}
.btn--hero:hover { background: var(--accent-dim); transform: translateY(-3px); box-shadow: 0 14px 40px var(--accent-glow); }
.btn--hero:active { transform: translateY(-1px); }

/* Mid */
.btn--mid {
  background: var(--white);
  color: var(--dark);
  padding: 14px 28px;
  font-size: 1rem;
  flex-shrink: 0;
}
.btn--mid:hover { background: var(--off-white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.3); }

/* Footer CTA */
.btn--footer-cta {
  background: var(--accent);
  color: var(--white);
  padding: 16px 32px;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.btn--footer-cta:hover { background: var(--accent-dim); transform: translateY(-2px); box-shadow: 0 8px 28px var(--accent-glow); }

/* Pulse ring on hero button */
.btn-pulse {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(241,107,45,.7);
  animation: pulseRing 2.4s ease-out infinite;
  opacity: 0;
  pointer-events: none;
}
@keyframes pulseRing {
  0%   { transform: scale(1);    opacity: .8; }
  100% { transform: scale(1.14); opacity: 0; }
}

/* ════════════════════════════════
   HEADER
════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 9999;

  /* ─── MAGIA FROSTED GLASS (STICLĂ ÎNGHEȚATĂ) ─── */
  background: rgba(27, 54, 93, 0.65); /* Același albastru al vostru, dar 65% opac */
  backdrop-filter: blur(16px); /* Creează efectul de ceață/îngheț în spate */
  -webkit-backdrop-filter: blur(16px); /* Esențial ca să meargă perfect și pe iPhone */

  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* O linie albă foarte fină la bază, ca marginea unei sticle */
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

/* Cortina solidă care blochează textul pe Safari iOS */
.site-header::before {
  content: '';
  position: absolute;
  bottom: 100%; /* Se agață deasupra headerului */
  left: 0;
  right: 0;
  height: 100vh; /* Se întinde mult în sus */
  background: #1B365D; /* Aceeași culoare solidă */
  pointer-events: none;
}
.site-header.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,.45); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  transition: opacity var(--t);
}
.logo:hover { opacity: .85; }
.logo-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex-shrink: 0;
  background: var(--white);
  border-radius: 50%;
  padding: 3px;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--off-white);
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}
.logo-name {
  display: block;
  white-space: nowrap;
}
.logo-text em {
  font-style: normal;
  font-size: .7em;
  font-weight: 400;
  color: var(--light);
  letter-spacing: .04em;
  white-space: nowrap;
  display: block;
}
.logo-score { color: var(--accent); }

/* ════════════════════════════════
   HERO & BACKGROUND GRADIENTS
════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: var(--header-h);
  overflow: hidden;
}

/* Hero Background — Photo */
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
/* Poza de fundal */
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('echipa-corzi.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}
/* Overlay întunecat peste poză — text lizibil + culoare brandului */
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
          linear-gradient(to right, rgba(10,20,40,.82) 0%, rgba(10,20,40,.55) 55%, rgba(10,20,40,.30) 100%),
          linear-gradient(to top, rgba(10,20,40,.90) 0%, transparent 50%);
}
.hero-mountains { display: none; }
.hero-shape { display: none; }

/* Inner content */
.hero-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 60px;
  padding-bottom: 60px;
  max-width: 820px;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(241,107,45,.1);
  border: 1px solid rgba(241,107,45,.28);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--r-full);
  margin-bottom: 22px;
  width: fit-content;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.2} }

/* Title */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8.5vw, 7rem);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.01em;
  color: var(--white);
  margin-bottom: 24px;
  min-height: 3em;
}
.hero-title em  { font-style: normal; color: var(--light); }
.title-accent {
  display: block;
  background: linear-gradient(95deg, #F16B2D 0%, #F5A623 55%, #FFD166 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtitle */
.hero-sub {
  font-size: clamp(.95rem, 2.2vw, 1.15rem);
  color: var(--light);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.75;
}
.hero-sub strong { color: var(--off-white); }

/* CTA group */
.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 56px;
}
.cta-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .83rem;
  color: var(--mid);
  letter-spacing: .03em;
}
.cta-note svg { color: var(--accent); flex-shrink: 0; }

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 20px;
}
.stat-item { display: flex; flex-direction: column; padding-right: 28px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: .74rem;
  color: var(--mid);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 4px;
}
.stat-divider {
  width: 1px; height: 44px;
  background: rgba(255,255,255,.08);
  margin-right: 28px;
  flex-shrink: 0;
}

/* ─── BANDA DE SIGURANȚĂ (HAZARD TAPE)  ─── */
.hero-tape-wrap {
  position: relative;
  z-index: 2;
  background: #F16B2D; /* Fundal portocaliu */
  overflow: hidden;
  white-space: nowrap;
  flex-shrink: 0;
}
/* Dungile diagonale */
.hero-tape-wrap::before, .hero-tape-wrap::after {
  content: ''; position: absolute; left: 0; right: 0; height: 6px;
  background: repeating-linear-gradient(
          -45deg,
          #1B365D, #1B365D 12px, /* Albastrul vostru */
          #F16B2D 12px, #F16B2D 24px
  );
  z-index: 10;
}

.hero-tape-wrap::before {
  top: 0;
  border-bottom: 2px solid #1B365D;
}
.hero-tape-wrap::after {
  bottom: 0;
  border-top: 2px solid #1B365D;
}

.hero-tape {
  display: inline-flex;
  animation: tapeScroll 22s linear infinite;
}
.hero-tape span, .hero-tape .tape-dot {
  display: inline-block; padding: 10px 14px;
  font-family: var(--font-display); font-size: 0.9rem;
  font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase;
  color: #FFFFFF; /* Text alb */
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}
.tape-dot { opacity: 0.8; }
@keyframes tapeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ════════════════════════════════
   SECTION SHARED STYLES
════════════════════════════════ */
.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 60px;
}
.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  padding: 0 30px;
  position: relative;
}
.section-tag::before,
.section-tag::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 20px; height: 1px;
  background: var(--accent);
}
.section-tag::before { right: 100%; margin-right: -26px; }
.section-tag::after  { left:  100%; margin-left:  -26px; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 14px;
}
.section-sub {
  color: var(--mid);
  font-size: 1rem;
  line-height: 1.75;
}

/* ════════════════════════════════
   AVANTAJE
════════════════════════════════ */
.avantaje {
  padding: 100px 0 110px;
  background: var(--dark-2);
  position: relative;
}
/* Gradient Divider */
.avantaje::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(241,107,45,.35), transparent);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  position: relative;
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--r-md);
  padding: 38px 30px 34px;
  overflow: hidden;
  transition: transform var(--t) var(--ease),
  border-color var(--t) var(--ease),
  box-shadow var(--t) var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(241,107,45,.28);
  box-shadow: 0 18px 50px rgba(0,0,0,.4), 0 0 0 1px rgba(241,107,45,.12);
}
.card--featured {
  border-color: rgba(241,107,45,.22);
  /* Gradient exact ca înainte: de la rece spre o umbră caldă */
  background: linear-gradient(145deg, var(--dark-3), #2B1E16);
}
.card--featured::after {
  content: 'Recomandat';
  position: absolute;
  top: 18px; right: -32px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 44px;
  transform: rotate(45deg);
  z-index: 2;
}
.card-icon-wrap {
  width: 56px; height: 56px;
  background: rgba(241,107,45,.1);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card-icon { color: var(--accent); }
.card-num {
  position: absolute;
  top: 22px; right: 26px;
  font-family: var(--font-display);
  font-size: 3.8rem;
  font-weight: 900;
  color: rgba(255,255,255,.06);
  line-height: 1;
  letter-spacing: -.02em;
}
.card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.2;
}
.card-text { color: var(--light); font-size: .95rem; line-height: 1.75; }
.card-text strong { color: var(--off-white); }
.card-accent {
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  /* Gradient accent */
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--t);
}
.card:hover .card-accent  { opacity: 1; }
.card--featured .card-accent { opacity: .45; }

/* ════════════════════════════════
   BEFORE & AFTER GALLERY (CAROUSEL)
════════════════════════════════ */
.galerie {
  padding: 100px 0 110px;
  background: var(--dark);
  position: relative;
}
/* Gradient Divider */
.galerie::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(241,107,45,.3), transparent);
}

.ba-carousel-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

/* ─── BUTOANE SĂGEȚI GALERIE (PREMIUM / FROSTED) ─── */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; /* Mai generoase */
  height: 52px;

  /* Sticlă sablată */
  background: rgba(27, 54, 93, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);

  color: var(--accent); /* Săgeată portocalie */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}
.carousel-arrow:hover {
  background: rgba(27, 54, 93, 0.75);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 12px 32px rgba(241,107,45,0.25);
}
.carousel-arrow--left { left: -26px; }
.carousel-arrow--right { right: -26px; }

.ba-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  padding: 20px 0; /* Spațiu pentru umbre */
  margin: 0;
  width: 100%;
}
.ba-grid::-webkit-scrollbar {
  display: none; /* Safari/Chrome */
}

/* Slider wrapper */
.ba-slider {
  flex: 0 0 calc(33.333% - 16px); /* <--- Asta îi dă lățimea corectă pe laptop */
  scroll-snap-align: center;
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: col-resize;
  user-select: none;
  -webkit-user-select: none;
  aspect-ratio: 3 / 4;
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
  margin: 0;
  transition: box-shadow var(--t), border-color var(--t);
}
.ba-slider:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,.5), 0 0 32px rgba(241,107,45,.25), 0 0 64px rgba(241,107,45,.10);
  border-color: rgba(241,107,45,.45);
  transform: translateY(-2px);
  transition: box-shadow .3s ease, border-color .3s ease, transform .3s ease;
}
.ba-slider:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }

/* After — full */
.ba-after { position: absolute; inset: 0; }
.ba-after img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  /* Placeholder Gradient adaptat noii palete */
  background: linear-gradient(160deg, #1B365D 0%, #12243E 100%);
}

/* Before — clipped */
.ba-before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 50%;
  overflow: hidden;
}
.ba-before-img-wrap {
  position: absolute; inset: 0;
}
.ba-before-img-wrap img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: left center;
  /* Placeholder Gradient adaptat noii palete */
  background: linear-gradient(160deg, #475569 0%, #1B365D 100%);
}

/* Labels */
.ba-label {
  position: absolute;
  bottom: 12px;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: var(--r-full);
  pointer-events: none;
  z-index: 4;
}
.ba-label--before {
  left: 10px; background: rgba(20,22,26,.82); color: var(--light);
  border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(4px);
}
.ba-label--after { right: 10px; background: var(--accent); color: var(--white); }

/* Handle */
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 48px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  cursor: col-resize;
  touch-action: none;
}
.ba-line {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px;
  transform: translateX(-50%); background: rgba(255,255,255,.9);
  box-shadow: 0 0 10px rgba(0,0,0,.5);
}
/* ─── MÂNER RACLETĂ (ÎNLOCUIRE BUTON ROTUND) ─── */
.ba-btn {
  /* Facem elementul principal să fie chiar dimensiunea maximă (lama portocalie) */
  width: 26px; height: 96px;
  background: var(--accent); /* Lama de cauciuc */
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 10px rgba(241,107,45,0.4);
  position: relative; z-index: 2; flex-shrink: 0;
  transition: transform 0.15s ease; /* Am scos filter-ul care dădea erori pe telefon */
  border: none;
}

.ba-slider:active .ba-btn, .ba-handle:focus .ba-btn {
  transform: scale(1.05); /* Păstrăm doar mărirea fină */
}

/* Ascundem săgețile clasice */
.ba-btn svg { display: none; }

/* Partea metalică a racletei  */
.ba-btn::before {
  content: ''; position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 20px; height: 90px;
  background: linear-gradient(90deg, #94A3B8, #CBD5E1, #94A3B8);
  border-radius: 3px; z-index: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Mânerul negru de care "ții" (cel mai mic element pus deasupra tuturor) */
.ba-btn::after {
  content: ''; position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 12px; height: 50px;
  background: var(--dark-3);
  border-radius: 2px; z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
/* Caption */
.ba-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(10,12,15,.88));
  color: var(--off-white); font-size: .8rem;
  padding: 36px 14px 12px; text-align: center; z-index: 5; pointer-events: none;
}

/* ════════════════════════════════
   PROCES
════════════════════════════════ */
.proces {
  padding: 100px 0 110px;
  background: var(--dark-2);
  position: relative;
}
/* Gradient Divider */
.proces::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(241,107,45,.35), transparent);
}
.proces-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
/* Gradient Linia Dintre Pași */
.proces-steps::before {
  content: '';
  position: absolute; top: 31px; left: calc(100% / 6); right: calc(100% / 6); height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(241,107,45,.15));
}
.step { text-align: center; padding: 0 20px; }
.step-num {
  width: 62px; height: 62px; background: var(--accent); color: var(--white);
  font-family: var(--font-display); font-size: 1.75rem; font-weight: 900;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px; position: relative; z-index: 1;
  box-shadow: 0 0 0 6px var(--dark-2), 0 0 0 8px rgba(241,107,45,.18);
}
.step-title {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 800;
  color: var(--white); margin-bottom: 10px;
}
.step-text { color: var(--mid); font-size: .93rem; line-height: 1.75; }

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
.site-footer {

  background: linear-gradient(to bottom, #0e1c30 0%, #080f1c 100%);
  position: relative;
  box-shadow: 0 50vh 0 #080f1c;
}


.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100%;
  background: none;
  pointer-events: none;
  z-index: 0;
}

.footer-cta-band {
  background: transparent;
  border-top: none;
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 10px;
}

.footer-cta-sub {
  color: var(--mid);
  font-size: 1rem;
  max-width: 440px;
  line-height: 1.6;
}


.footer-main--legal-start {
  border-top: 2px solid var(--accent);
}

/* ── CTA WIDGET ── */
.cta-widget {
  max-width: 700px;
  margin: 0 auto;
}
.cta-widget-inner {
  background: linear-gradient(140deg, #0e1e38 0%, #152d52 50%, #1a3660 100%);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 24px;
  padding: 56px 56px 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow:
          0 32px 80px rgba(0,0,0,.55),
          0 0 0 1px rgba(255,255,255,.04) inset,
          0 1px 0 rgba(255,255,255,.10) inset;
}
/* Glow portocaliu stânga-sus */
.cta-widget-inner::before {
  content: '';
  position: absolute;
  top: -80px; left: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(241,107,45,.20) 0%, transparent 65%);
  pointer-events: none;
}
/* Glow albastru dreapta-jos */
.cta-widget-inner::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(30,80,160,.25) 0%, transparent 65%);
  pointer-events: none;
}
.cta-widget-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 14px;
  position: relative; z-index: 1;
}
.cta-widget-sub {
  color: var(--light);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  position: relative; z-index: 1;
}
.btn--cta-widget {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: .05em;
  padding: 20px 56px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .18s, box-shadow .2s;
  text-decoration: none;
  position: relative; z-index: 1;
  box-shadow: 0 8px 28px rgba(241,107,45,.40), 0 2px 0 rgba(0,0,0,.2) inset;
}
.btn--cta-widget:hover {
  background: #e05e1e;
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(241,107,45,.50), 0 2px 0 rgba(0,0,0,.2) inset;
}
.btn--cta-widget:active {
  transform: translateY(0);
  box-shadow: 0 4px 16px rgba(241,107,45,.35);
}
.btn--cta-widget .btn-icon {
  flex-shrink: 0;
}

.footer-bottom {
  background: transparent; /* Continuăm fără întrerupere vizuală */
  border-top: none; /* Am șters linia despărțitoare */
  padding: 28px 0;
  position: relative;
  z-index: 1;
}

/* ════════════════════════════════
   FAQ
════════════════════════════════ */
.faq {
  padding: 100px 0 110px;
  background: var(--dark);
  position: relative;
}
/* Gradient Divider */
.faq::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(241,107,45,.35), transparent);
}

.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--dark-3); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r-md); overflow: hidden; transition: border-color var(--t) var(--ease);
}
.faq-item--open { border-color: rgba(241,107,45,.3); }

.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 28px; background: none; border: none; color: var(--off-white);
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; text-align: left;
  cursor: pointer; transition: color var(--t);
}
.faq-q:hover { color: var(--white); }
.faq-item--open .faq-q { color: var(--accent); }

.faq-icon { flex-shrink: 0; color: var(--mid); transition: transform var(--t) var(--ease), color var(--t); }
.faq-item--open .faq-icon { transform: rotate(180deg); color: var(--accent); }

.faq-a {
  padding: 0 28px 22px; color: var(--light); font-size: .95rem; line-height: 1.8;
  border-top: 1px solid rgba(255,255,255,.05); margin-top: -1px;
}
.faq-a p { padding-top: 18px; }
.faq-a strong { color: var(--off-white); }


/* ════════════════════════════════
   FOOTER — Multi-column layout
════════════════════════════════ */
.footer-main {
  padding: 64px 0 48px;
  border-top: 1px solid rgba(255,255,255,.08);
  position: relative; z-index: 1;
}
.footer-main-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.footer-col-title {
  font-family: var(--font-display);
  font-size: .7rem; font-weight: 800;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--mid); margin-bottom: 20px;
}
.footer-col-list { display: flex; flex-direction: column; gap: 10px; }
.footer-col-link { font-size: .9rem; color: var(--light); transition: color var(--t); }
.footer-col-link:hover { color: var(--accent); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { border-radius: 50%; background: var(--white); padding: 3px; flex-shrink: 0; }
.footer-brand-text {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 700;
  line-height: 1.2; color: var(--off-white);
  display: flex; flex-direction: column;
}
.footer-brand-name { display: block; }
.footer-brand-text small { font-size: .65em; font-weight: 400; color: var(--mid); letter-spacing: .03em; }
.footer-brand-desc { font-size: .88rem; color: var(--mid); line-height: 1.7; margin-bottom: 12px; max-width: 300px; }
.footer-brand-legal { font-size: .75rem; color: var(--mid); opacity: .6; }
.footer-address { font-style: normal; font-size: .9rem; color: var(--light); line-height: 1.8; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 20px 0; position: relative; z-index: 1;
}
.footer-bottom-bar {
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-copy { font-size: .78rem; color: var(--mid); opacity: .7; }
.footer-tagline { font-size: .78rem; color: var(--mid); opacity: .5; }
@media (max-width: 900px) {
  .footer-main-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-col--brand { grid-column: 1 / -1; }
}
@media (max-width: 580px) {
  .footer-main-inner { grid-template-columns: 1fr; }
  .footer-bottom-bar { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ════════════════════════════════
   OVERRIDES RESPONSIVE
════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.4,1);
}
.reveal.in-view          { opacity: 1; transform: translateY(0); }
.reveal-delay-1          { transition-delay: .12s; }
.reveal-delay-2          { transition-delay: .24s; }

/* ════════════════════════════════
   RESPONSIVE — TABLET  ≤ 960px
════════════════════════════════ */
@media (max-width: 960px) {
  .logo-text { font-size: 1rem; }
  .cards-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }

  .ba-slider { flex: 0 0 calc(50% - 12px); }
  .carousel-arrow--left { left: -10px; }
  .carousel-arrow--right { right: -10px; }

  .proces-steps { grid-template-columns: 1fr; gap: 44px; }
  .proces-steps::before { display: none; }
  .footer-cta-inner{ flex-direction: column; align-items: flex-start; }
  .btn--footer-cta  { align-self: flex-start; }
  .cta-widget-inner { padding: 44px 36px; }

}

/* ════════════════════════════════
   RESPONSIVE — MOBILE  ≤ 600px
════════════════════════════════ */
@media (max-width: 600px) {
  :root { --header-h: 60px; }
  .logo-name  { font-size: 1em; }
  .logo-img   { width: 34px; height: 34px; }
  .logo-text  { font-size: .78rem; }
  .logo-text em { display: block; font-size: .72em; }

  .btn--header { padding: 8px 12px; font-size: .85rem; gap: 6px; }
  .contact-main-label { display: inline; font-size: .85rem; }

  .hero-logo-mark img { width: 78px; height: 78px; }
  .hero-inner  { padding-top: 36px; padding-bottom: 48px; }
  .btn--hero   { padding: 15px 22px; font-size: 1rem; width: 100%; justify-content: center; }
  .hero-stats  { row-gap: 16px; }
  .stat-item   { padding-right: 18px; }
  .stat-divider{ margin-right: 18px; height: 36px; }
  .stat-num    { font-size: 1.9rem; }

  .avantaje, .galerie, .proces { padding: 72px 0 80px; }
  .section-header { margin-bottom: 44px; }
  .card { padding: 30px 22px 26px; }

  .ba-slider   { flex: 0 0 85%; }
  .ba-grid { gap: 16px; }
  .carousel-arrow { display: none; }

  .footer-cta-band { padding: 56px 0; }
  .btn--footer-cta  { width: 100%; justify-content: center; }
  .cta-widget-inner { padding: 36px 24px 32px; }
  .btn--cta-widget  { font-size: 1.1rem; padding: 18px 32px; }
  body { padding-bottom: 110px; }


  .faq-q { padding: 18px 20px; font-size: 1rem; }
  .faq-a { padding: 0 20px 18px; }
}

/* ════════════════════════════════
   DROPDOWN MENU CONTACT
════════════════════════════════ */
.dropdown-container {
  position: relative;
}

.btn--contact-main {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.contact-main-label {
  display: inline;
}

.dropdown-arrow {
  transition: transform .22s cubic-bezier(.4,0,.2,1);
  flex-shrink: 0;
}
.dropdown-container.is-open .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 215px;
  /* ─── MAGIA FROSTED GLASS PENTRU DROPDOWN ─── */
  background: rgba(27, 54, 93, 0.75) !important; /* Opacitate puțin mai mare (75%) ca să se citească bine textul */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15) !important; /* O margine fină de sticlă care să-l delimiteze */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* O umbră sub meniu ca să se ridice vizual de pe fundal */
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s var(--ease);
  z-index: 200;
  box-shadow: 0 16px 48px rgba(0,0,0,.55);
}

.dropdown-menu::before {
  content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px;
}

/* Deschide la hover DOAR pe dispozitivele cu mouse (Desktop) */
@media (hover: hover) {
  .dropdown-container:hover .dropdown-menu {
    opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
  }
}

/* Deschide din click (telefon sau forțat din desktop) */
.dropdown-container.is-open .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
}

.btn--menu-item {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 10px 14px; background: transparent; border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-sm); color: var(--off-white);
  font-family: var(--font-display); font-size: .83rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease);
}
.btn--menu-item:hover {
  background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.22);
  color: var(--white); transform: none; box-shadow: none;
}
.btn--menu-item .btn-icon { flex-shrink: 0; opacity: .65; transition: opacity .16s var(--ease); }
.btn--menu-item:hover .btn-icon { opacity: 1; }
/* ─── ASCUNDERE SCROLLBAR DEFAULT ─── */
::-webkit-scrollbar {
  display: none; /* Ascunde pe Chrome/Safari/Edge */
}
html, body {
  scrollbar-width: none; /* Ascunde pe Firefox */
  -ms-overflow-style: none; /* Ascunde pe Internet Explorer */
}

/* ════════════════════════════════
   NOISE / GRAIN TEXTURE
════════════════════════════════ */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  background-repeat: repeat;
}
/* Efect Cursor Mașină de scris */
.cursor {
  color: var(--accent);
  font-weight: 300;
  animation: blinkCursor 0.8s infinite;
}
@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
/* ─── 1. PRELOADER PREMIUM ─── */
#preloader {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.6s cubic-bezier(0.8, 0, 0.2, 1);
}
#preloader.loaded { transform: translateY(-100%); }
.preloader-content { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.preloader-bar { width: 140px; height: 2px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; }
.preloader-progress { width: 0%; height: 100%; background: var(--accent); animation: preloaderFill 1s ease-in-out forwards; }
@keyframes preloaderFill { to { width: 100%; } }

/* ─── 2. SMART AUTO-HIDE HEADER ─── */
.site-header { transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease; }
.site-header.hide { transform: translateY(-100%); }
/* ─── BARA DE SCROLL INTERACTIVĂ (ANSAMBLU COMPLET) ─── */
#rope-track {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 6px;
  z-index: 990;

  /* --- NOU: STARE INIȚIALĂ ASCUNSĂ (ÎN STÂNGA) --- */
  left: -50px; /* Ascuns complet în afara ecranului stâng */
  opacity: 0;
  visibility: hidden;

  /* Animație fluidă pentru poziție și transparență */
  transition: left 0.4s ease, opacity 0.4s ease, visibility 0.4s ease;
}

/* --- NOU: CLASA DE VIZIBILITATE (ACTIVATĂ DIN JS) --- */
#rope-track.visible {
  left: 10px; /* Alunecă pe ecran, la 10px de margine */
  opacity: 1;
  visibility: visible;
}

/* Sfoara continuă, fără tăieturi */
#rope-line {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: repeating-linear-gradient(
          -45deg,
          #F16B2D, #F16B2D 4px,
          #D4561A 4px, #D4561A 8px
  );
  box-shadow: inset 1px 0 4px rgba(0,0,0,0.5);
  border-radius: 3px;
}

/* ─── CARABINIERĂ REALISTĂ (D-SHAPE) ─── */
#carabiner-handle {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 42px;
  border: 4px solid #94A3B8;
  border-right: 4px solid var(--accent);
  border-radius: 12px 6px 6px 12px;
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 50%, rgba(0,0,0,0.1) 100%);
  box-shadow: 2px 4px 8px rgba(0,0,0,0.5), inset 1px 1px 2px rgba(255,255,255,0.8);
  cursor: grab;
  pointer-events: auto;
  touch-action: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
#carabiner-handle:hover {
  border-color: #CBD5E1;
  border-right-color: #F16B2D;
  transform: translateX(-50%) scale(1.1);
}
#carabiner-handle:active {
  cursor: grabbing;
  border-right-color: #fff;
  transform: translateX(-50%) scale(1.1);
}
#carabiner-handle::before {
  content: ''; position: absolute;
  bottom: -2px; right: -3px;
  width: 4px; height: 4px;
  background: #475569;
  border-radius: 50%;
}
/* ─── 4. EFECT DE UNDĂ (RIPPLE) PE BUTOANE ─── */
.ripple {
  position: absolute; border-radius: 50%;
  transform: scale(0); animation: ripple-anim 0.6s linear;
  background: rgba(255, 255, 255, 0.4); pointer-events: none;
}
@keyframes ripple-anim { to { transform: scale(4); opacity: 0; } }

/* ─── 5. VIBRAȚIE TELEFON (FOOTER CTA) ─── */
/* Facem receptorul de telefon să vibreze scurt la fiecare 4 secunde */
.btn--footer-cta .btn-icon { animation: vibrate-phone 4s infinite; }
@keyframes vibrate-phone {
  0%, 85%, 100% { transform: rotate(0) scale(1); }
  87% { transform: rotate(-15deg) scale(1.15); }
  89% { transform: rotate(15deg) scale(1.15); }
  91% { transform: rotate(-15deg) scale(1.15); }
  93% { transform: rotate(15deg) scale(1.15); }
  95% { transform: rotate(0) scale(1.15); }
}

/* ─── 6. ANIMAȚIE "GHID" GALERIE ─── */
.ba-slider.hint-anim .ba-handle { animation: slider-hint 2.5s ease-in-out; }
.ba-slider.hint-anim .ba-before { animation: before-hint 2.5s ease-in-out; }
@keyframes slider-hint { 0%, 100% { left: 50%; } 30% { left: 60%; } 70% { left: 40%; } }
@keyframes before-hint { 0%, 100% { width: 50%; } 30% { width: 60%; } 70% { width: 40%; } }


/* ─── 7. ICOANE CARE SE DESENEAZĂ SINGURE (Secțiunea "De ce noi") ─── */
/* 1. Ascundem temporar liniile iconițelor */
.card .card-icon path,
.card .card-icon circle,
.card .card-icon line,
.card .card-icon polyline {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset 2s cubic-bezier(0.4, 0, 0.2, 1); /* Animație super fluidă de 2 secunde */
}

/* 2. Când cardul intră pe ecran, desenăm liniile */
.card.in-view .card-icon path,
.card.in-view .card-icon circle,
.card.in-view .card-icon line,
.card.in-view .card-icon polyline {
  stroke-dashoffset: 0;
}

/* 3. Facem cardurile 2 și 3 să se deseneze pe rând (efect de cascadă) */
.card.reveal-delay-1 .card-icon * { transition-delay: 0.2s; }
.card.reveal-delay-2 .card-icon * { transition-delay: 0.4s; }

/* ─── 8. COMPORTAMENT DROPDOWN DOAR PENTRU LAPTOP ─── */
@media (min-width: 992px) {

  /* 1. Ascundem săgeata (chiar dacă apar efecte de click după ea) */
  .btn svg:last-of-type,
  .btn i:last-of-type,
  .btn path:last-of-type {
    display: none !important;
  }

  /* 2. Deschidem meniul la HOVER (trecerea mouse-ului) */
  .dropdown-container:hover .dropdown-menu,
  .header-contact-wrapper:hover .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }
}


/* ─── ALTIMETRU DIGITAL ─── */
#altimeter {
  position: absolute;
  left: 24px; /* Apare în dreapta carabinei */
  top: 50%;
  transform: translateY(-50%);
  background: rgba(27, 54, 93, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 6px 10px;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  pointer-events: none;
  white-space: nowrap;


}

/* Micul triunghi (indicatorul a fost întors) */
#altimeter::after {
  content: ''; position: absolute;
  left: -6px; top: 50%; transform: translateY(-50%);
  border-top: 6px solid transparent; border-bottom: 6px solid transparent;
  border-right: 6px solid rgba(27, 54, 93, 0.65);
}