/* ==========================================================================
   ATV Sinaia — stylesheet global
   Direcție: adrenalină off-road. Portocaliu incandescent pe stâncă închisă.
   ========================================================================== */

:root {
  /* Paletă */
  --stone-900: #14100c;   /* stâncă foarte închisă — fundal principal */
  --stone-800: #1e1813;   /* panouri */
  --stone-700: #2b2219;   /* carduri */
  --stone-600: #3a2e21;   /* borduri */
  --sand-200:  #e8dccb;   /* text principal pe închis */
  --sand-400:  #b6a48c;   /* text secundar */
  --ember-500: #ff6a1a;   /* portocaliu adrenalină — accent principal */
  --ember-600: #e8560c;   /* hover */
  --ember-300: #ff9455;   /* accent deschis */
  --pine-600:  #2f5d3f;   /* verde traseu — nivel ușor */
  --pine-500:  #3d7a52;
  --clay-500:  #c2410c;   /* nivel mediu */
  --rock-500:  #7c2d12;   /* nivel greu */
  --white:     #fdfbf7;

  /* Tipografie */
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Ritm */
  --maxw: 1180px;
  --gap: clamp(1rem, 3vw, 2rem);
  --radius: 4px;
  --shadow: 0 10px 40px -12px rgba(0,0,0,.6);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

html, body { max-width: 100%; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--stone-900);
  color: var(--sand-200);
  line-height: 1.65;
  font-size: 17px;
}

/* Nimic nu depășește lățimea ecranului */
.container { width: 100%; }
img, table, iframe, .cta-band, .map-embed { max-width: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ember-300); text-decoration: none; }
a:hover { color: var(--ember-500); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 0 0 .4em;
  color: var(--white);
}

h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h3 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); }

p { margin: 0 0 1rem; }

.container { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gap); }

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--alt { background: var(--stone-800); }

.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ember-500);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 30px; height: 2px;
  background: var(--ember-500);
  display: inline-block;
}

.lead { font-size: 1.15rem; color: var(--sand-400); max-width: 62ch; }

/* -------- Butoane -------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
  font-size: 1.05rem;
  padding: .85rem 1.6rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--ember-500); color: #1a0f06; }
.btn--primary:hover { background: var(--ember-600); color: #1a0f06; }
.btn--ghost { border-color: var(--sand-400); color: var(--sand-200); }
.btn--ghost:hover { border-color: var(--ember-500); color: var(--ember-500); }
.btn--wa { background: #25d366; color: #073d1c; }
.btn--wa:hover { background: #1fb857; color: #073d1c; }
/* Buton verde de rezervare — duce în site, la formular, nu direct în WhatsApp */
.btn--rezerva { background: #25d366; color: #073d1c; }
.btn--rezerva:hover { background: #1fb857; color: #073d1c; }

/* -------- Header -------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(20,16,12,.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stone-600);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: .8rem;
}
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; color: var(--white); letter-spacing: .02em; }
.brand:hover { color: var(--white); }
.logo { display: block; width: auto; }
.logo--header { height: 58px; }
.logo--footer { height: 48px; }
@media (max-width: 400px) { .logo--header { height: 64px; } }
.brand .mark {
  width: 38px; height: 38px; flex: none;
  background: var(--ember-500); color: #1a0f06;
  display: grid; place-items: center; border-radius: 6px;
  font-size: 1.2rem; font-weight: 700;
  transform: rotate(-4deg);
}
.brand small { display:block; font-family: var(--font-body); font-size:.6rem; letter-spacing:.28em; color: var(--ember-300); text-transform: uppercase; font-weight:600; margin-top:2px;}
.nav-links { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-links a { color: var(--sand-200); font-weight: 500; font-size: .96rem; white-space: nowrap; }
/* Între 901 și 1300px meniul nu mai încape pe un rând: strângem și ascundem telefonul */
@media (min-width: 901px) and (max-width: 1300px) {
  .nav-links { gap: .9rem; }
  .nav-links a { font-size: .88rem; }
  .nav-cta { gap: .45rem; }
  .nav-cta .btn--ghost { display: none; }
  .nav-cta .btn--primary { padding: .6rem 1rem; font-size: .82rem; }
  .lang-switch { padding: .4rem .55rem; font-size: .82rem; }
  .logo--header { height: 46px; }
}
@media (min-width: 1301px) and (max-width: 1500px) {
  .nav-links { gap: 1.1rem; }
  .nav-links a { font-size: .92rem; }
}
.nav-links a:hover, .nav-links a.active { color: var(--ember-500); }
.nav-cta { display: flex; gap: .6rem; align-items: center; }
.nav-cta .btn { white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); cursor: pointer; padding: .4rem; }
.nav-toggle svg { width: 30px; height: 30px; }

/* Comutator de limbă cu steag */
.lang-switch {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .45rem .7rem; border: 1px solid var(--stone-600);
  border-radius: var(--radius); color: var(--sand-200);
  font-family: var(--font-display); text-transform: uppercase;
  font-size: .9rem; font-weight: 600; letter-spacing: .04em;
  transition: border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.lang-switch:hover { border-color: var(--ember-500); color: var(--ember-500); }
.lang-switch svg { width: 22px; height: 15px; border-radius: 2px; flex: none; display: block; }
@media (max-width: 900px) {
  .lang-switch { margin-left: auto; }
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed; inset: 64px 0 auto 0;
    flex-direction: column; align-items: stretch;
    background: var(--stone-800); border-bottom: 1px solid var(--stone-600);
    padding: 1rem var(--gap); gap: 0;
    transform: translateY(-120%); transition: transform .3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { border-bottom: 1px solid var(--stone-700); }
  .nav-links a { display: block; padding: .9rem 0; }
  .nav-toggle { display: block; }
  .nav-cta .btn--ghost { display: none; }
  .nav-cta { gap: .3rem; margin-left: auto; }
  .nav-cta .btn--primary { padding: .48rem .7rem; font-size: .72rem; letter-spacing: .03em; border-radius: 8px; }
  .nav-cta .lang-switch { padding: .3rem .45rem; }
  .nav-toggle { padding: .4rem 0 .4rem .35rem; }
  .nav { gap: .35rem; }
  .brand { margin-right: auto; }
  .logo--header { height: 72px; }
}

/* -------- Hero -------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex; align-items: flex-end;
  padding-block: 4rem;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  object-fit: cover; width: 100%; height: 100%;
  filter: saturate(1.05) contrast(1.05);
}
/* Video de fundal în hero — se încarcă doar pe desktop, prin JS */
.hero__video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
  opacity: 0;
  transition: opacity .9s ease;
  pointer-events: none;
}
.hero__video.is-playing { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(20,16,12,.35) 0%, rgba(20,16,12,.15) 40%, rgba(20,16,12,.92) 100%),
    linear-gradient(90deg, rgba(20,16,12,.6) 0%, rgba(20,16,12,0) 60%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero h1 { max-width: 15ch; }
.hero h1 .accent { color: var(--ember-500); display:block; }
.hero__sub { font-size: 1.2rem; color: var(--sand-200); max-width: 48ch; margin-bottom: 1.8rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__badge {
  position: absolute; top: 2rem; right: 0; z-index: 2;
  background: var(--ember-500); color:#1a0f06;
  font-family: var(--font-display); text-transform: uppercase;
  font-weight: 700; padding: .5rem 1rem; border-radius: var(--radius);
  letter-spacing: .05em; transform: rotate(3deg);
  box-shadow: var(--shadow);
}

/* placeholder pentru imagini lipsă */
.img-ph {
  position: relative;
  background:
    repeating-linear-gradient(45deg, var(--stone-700) 0 14px, var(--stone-800) 14px 28px);
  display: grid; place-items: center;
  color: var(--sand-400); text-align: center;
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: .08em; font-size: .9rem;
  border: 1px dashed var(--stone-600);
  min-height: 100%;
  padding: 1rem;
}
.img-ph span { max-width: 22ch; }
.hero .img-ph { position: absolute; inset: 0; z-index: 0; border: 0; }

/* -------- Grid utilitare -------- */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: center; }
.split--rev { grid-template-columns: .9fr 1.1fr; }
@media (max-width: 820px) { .split, .split--rev { grid-template-columns: 1fr; } }

/* -------- Carduri avantaje -------- */
.feature {
  background: var(--stone-700);
  border: 1px solid var(--stone-600);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: transform .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-4px); border-color: var(--ember-500); }
.feature .ico { width: 44px; height: 44px; color: var(--ember-500); margin-bottom: 1rem; }
.feature h3 { font-size: 1.3rem; }
.feature p { color: var(--sand-400); margin: 0; font-size: .98rem; }

/* -------- Card traseu -------- */
.route-card {
  background: var(--stone-700);
  border: 1px solid var(--stone-600);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, border-color .2s ease;
}
.route-card:hover { transform: translateY(-4px); border-color: var(--ember-500); }
.route-card__media { aspect-ratio: 16/10; position: relative; overflow: hidden; }
@media (max-width: 700px) { .route-card__media { aspect-ratio: 16/10; } }
.route-card__media img { width:100%; height:100%; object-fit: cover; }
.route-card__num {
  position: absolute; top: .7rem; left: .7rem;
  background: var(--stone-900); color: var(--ember-500);
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 6px; border: 1px solid var(--ember-500);
}
.route-card__body { padding: 1.3rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.route-card__body h3 { margin: 0; font-size: 1.4rem; }
.route-meta { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .82rem; color: var(--sand-400); }
.route-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.route-card__body p { color: var(--sand-400); font-size: .95rem; margin: 0; flex: 1; }
.route-card__foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: .4rem; }
.price-tag { font-family: var(--font-display); font-size: 1.5rem; color: var(--white); font-weight: 700; }
.price-tag small { font-size: .8rem; color: var(--sand-400); font-weight: 500; }

/* badge nivel */
.level {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: .72rem; font-weight: 600; letter-spacing: .06em;
  padding: .2rem .55rem; border-radius: 3px; white-space: nowrap;
}
.level--easy { background: rgba(61,122,82,.25); color: #7fd39a; border: 1px solid var(--pine-500); }
.level--med  { background: rgba(194,65,12,.2); color: #f6a870; border: 1px solid var(--clay-500); }
.level--hard { background: rgba(124,45,18,.3); color: #e88a63; border: 1px solid #b5502e; }

/* -------- Flotă card -------- */
.atv-card { background: var(--stone-700); border: 1px solid var(--stone-600); border-radius: var(--radius); overflow: hidden; }
.atv-card__media { aspect-ratio: 4/3; }
.atv-card__media img { width:100%; height:100%; object-fit: cover;}
.atv-card__body { padding: 1.3rem; }
.atv-card__body h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.spec-list { list-style: none; padding: 0; margin: .8rem 0; display: grid; gap: .35rem; }
.spec-list li { display: flex; justify-content: space-between; gap: 1.5rem; font-size: .92rem; border-bottom: 1px dashed var(--stone-600); padding-bottom: .45rem; }
.spec-list li span:first-child { flex: 0 0 auto; }
.spec-list li span:last-child { text-align: right; }
@media (max-width: 420px) { .spec-list li { flex-direction: column; gap: .15rem; } .spec-list li span:last-child { text-align: left; } }
.spec-list li span:first-child { color: var(--sand-400); }
.spec-list li span:last-child { color: var(--sand-200); font-weight: 600; }

/* -------- Tabel prețuri -------- */
.price-table-wrap { overflow-x: auto; border: 1px solid var(--stone-600); border-radius: var(--radius); }
table.pricing { width: 100%; border-collapse: collapse; min-width: 640px; }
table.pricing th, table.pricing td { padding: 1rem 1.1rem; text-align: left; border-bottom: 1px solid var(--stone-600); }
table.pricing thead th {
  background: var(--stone-800); color: var(--ember-500);
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .05em;
  font-size: .95rem;
}
table.pricing tbody tr:hover { background: var(--stone-700); }
table.pricing td .price-tag { font-size: 1.25rem; }
table.pricing tr:last-child td { border-bottom: 0; }

/* -------- Pagina rezervare -------- */
.booking-embed { min-height: 480px; }
.booking-placeholder {
  border: 2px dashed var(--stone-600); border-radius: var(--radius);
  background: var(--stone-800); padding: clamp(2rem,5vw,3.5rem);
  display: grid; place-items: center; text-align: center;
}
.booking-placeholder .bp-inner { max-width: 640px; }
.bp-ico { font-size: 3rem; display: block; margin-bottom: .5rem; }
.bp-steps { display: grid; gap: .6rem; margin: 1.5rem 0; text-align: left; }
.bp-step { display: flex; align-items: center; gap: .8rem; background: var(--stone-700); border: 1px solid var(--stone-600); border-radius: var(--radius); padding: .8rem 1rem; font-size: .95rem; }
.bp-step b { flex: none; width: 30px; height: 30px; display: grid; place-items: center; background: var(--ember-500); color: #1a0f06; border-radius: 50%; font-family: var(--font-display); }
.bp-fallback { margin-top: 1.5rem; color: var(--sand-400); }
.booking-note { margin-top: 1.5rem; padding: 1rem 1.2rem; background: var(--stone-800); border-left: 3px solid var(--ember-500); border-radius: var(--radius); }
.booking-note p { margin: 0; font-size: .92rem; color: var(--sand-400); }
.booking-note strong { color: var(--sand-200); }

/* -------- Tabel prețuri: 8 coloane, carduri pe mobil -------- */
table.pricing--fleet { min-width: 900px; }
table.pricing--fleet th, table.pricing--fleet td { padding: .85rem .8rem; }
table.pricing--fleet thead th small { display:block; font-size:.72rem; opacity:.75; font-weight:400; letter-spacing:0; }
table.pricing--fleet td .price-tag { font-size: 1.05rem; white-space: nowrap; }

@media (max-width: 900px) {
  .price-table-wrap { overflow: visible; border: 0; }
  table.pricing { min-width: 0 !important; border-collapse: separate; border-spacing: 0; }
  table.pricing thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.pricing tr {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: .55rem .9rem; align-items: center;
    background: var(--stone-700); border: 1px solid var(--stone-600);
    border-radius: var(--radius); padding: 1.1rem; margin-bottom: .9rem;
  }
  table.pricing td { border: 0 !important; padding: 0; }
  /* eticheta fiecărei celule, luată din data-label */
  table.pricing td::before {
    content: attr(data-label); display: block;
    color: var(--sand-400); font-size: .75rem;
    text-transform: uppercase; letter-spacing: .04em; margin-bottom: .15rem;
  }
  /* numele traseului — pe tot rândul, fără etichetă */
  table.pricing td:first-child { grid-column: 1 / -1; font-size: 1.1rem; }
  table.pricing td:first-child::before { display: none; }
  table.pricing td:first-child a { font-size: 1.1rem !important; }
  /* durata și nivelul — fără etichetă redundantă, pe același rând */
  table.pricing td:nth-child(2)::before { content: attr(data-label); }
  table.pricing td:nth-child(2) { font-size: .95rem; color: var(--sand-400); }
  table.pricing--fleet td:nth-child(7) { grid-column: 2; }
  /* butonul de rezervare — lățime completă, jos */
  table.pricing td:last-child { grid-column: 1 / -1; margin-top: .4rem; }
  table.pricing td:last-child::before { display: none; }
  table.pricing td:last-child a { width: 100%; justify-content: center; }
}

/* -------- Galerie -------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; }
.gallery figure.tall { aspect-ratio: 3/4; }
.gallery figure.wide { grid-column: span 2; aspect-ratio: 16/10; }
.gallery img { width:100%; height:100%; object-fit: cover; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.06); }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery figure.wide { grid-column: span 2; aspect-ratio: 16/10; } .gallery figure.tall { aspect-ratio: 3/4; } }

/* Galerie de traseu — poze verticale */
.route-gallery { grid-template-columns: repeat(4, 1fr); }
.route-gallery figure { aspect-ratio: 3/4; grid-row: auto !important; grid-column: auto !important; }
@media (max-width: 900px) { .route-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .route-gallery { grid-template-columns: repeat(2, 1fr); } }

/* -------- Pași rezervare -------- */
.steps { counter-reset: step; display: grid; gap: 1.4rem; }
.step { display: flex; gap: 1.2rem; align-items: flex-start; }
.step__num {
  counter-increment: step; flex: none;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--ember-500); color: #1a0f06;
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
  display: grid; place-items: center;
}
.step__num::before { content: counter(step); }
.step h3 { font-size: 1.25rem; margin-bottom: .2rem; }
.step p { color: var(--sand-400); margin: 0; }

/* -------- Recenzii -------- */
.review { background: var(--stone-700); border: 1px solid var(--stone-600); border-radius: var(--radius); padding: 1.5rem; }
.stars { color: var(--ember-500); font-size: 1.1rem; letter-spacing: .1em; margin-bottom: .6rem; }
.review p { font-style: italic; color: var(--sand-200); }
.review .who { display: flex; align-items: center; gap: .6rem; margin-top: 1rem; font-size: .9rem; }
.review .who .av { width: 38px; height: 38px; border-radius: 50%; background: var(--ember-500); color:#1a0f06; display: grid; place-items: center; font-weight: 700; font-family: var(--font-display); }
.review .who b { color: var(--white); }
.review .who small { color: var(--sand-400); display:block; }

/* -------- FAQ -------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details {
  border: 1px solid var(--stone-600); border-radius: var(--radius);
  margin-bottom: .8rem; background: var(--stone-700); overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: 1.1rem 1.3rem; font-family: var(--font-display);
  font-size: 1.2rem; text-transform: uppercase; color: var(--white);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ember-500); font-size: 1.6rem; flex: none; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.3rem 1.2rem; margin: 0; color: var(--sand-400); }

/* -------- CTA band -------- */
.cta-band {
  background: linear-gradient(120deg, var(--ember-600), var(--ember-500));
  color: #1a0f06; border-radius: var(--radius); overflow: hidden;
  padding: clamp(2rem, 5vw, 3.5rem); text-align: center;
  position: relative;
}
.cta-band h2 { color: #1a0f06; }
.cta-band p { color: #3a1e08; font-weight: 500; max-width: 52ch; margin-inline: auto; }
.cta-band .btn--dark { background: var(--stone-900); color: var(--white); }
.cta-band .btn--dark:hover { background: #000; color: var(--white); }
.cta-band .cta-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.4rem; }

/* -------- Contact -------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
@media (max-width: 820px){ .contact-grid { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.4rem; }
.contact-item .ico { width: 40px; height: 40px; flex: none; color: var(--ember-500); }
.contact-item h4 { font-family: var(--font-display); text-transform: uppercase; margin: 0 0 .2rem; color: var(--white); }
.contact-item a, .contact-item p { color: var(--sand-200); margin: 0; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--stone-600); min-height: 340px; }
.map-embed iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

form.booking { display: grid; gap: 1rem; width: 100%; max-width: 100%; }
form.booking label { font-size: .9rem; color: var(--sand-400); display: grid; gap: .35rem; min-width: 0; }
form.booking input, form.booking select, form.booking textarea {
  background: var(--stone-800); border: 1px solid var(--stone-600); color: var(--sand-200);
  padding: .75rem .9rem; border-radius: var(--radius); font: inherit; font-size: .95rem;
  width: 100%; max-width: 100%; box-sizing: border-box;
}
form.booking .btn { width: 100%; }
form.booking input:focus, form.booking select:focus, form.booking textarea:focus { outline: 2px solid var(--ember-500); border-color: var(--ember-500); }

/* -------- Footer -------- */
.site-footer { background: #0d0a07; border-top: 1px solid var(--stone-600); padding-block: 3rem 1.5rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; margin-bottom: 2rem; }
@media (max-width: 820px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--font-display); text-transform: uppercase; color: var(--white); font-size: 1.1rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer a { color: var(--sand-400); font-size: .93rem; }
.site-footer a:hover { color: var(--ember-500); }
.footer-legal { border-top: 1px solid var(--stone-700); padding-top: 1.5rem; font-size: .82rem; color: var(--sand-400); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; }

/* Bannere ANPC / SAL + SOL */
.footer-anpc {
  display: flex; flex-wrap: nowrap; gap: .6rem;
  justify-content: center; align-items: center;
  padding: 1.5rem 0;
  border-top: 1px solid var(--stone-700);
}
.footer-anpc a { display: inline-flex; line-height: 0; flex: 0 1 auto; min-width: 0; }
.footer-anpc img {
  width: 200px; height: 40px; max-width: 100%;
  border-radius: 6px; transition: transform .25s ease;
}
.footer-anpc a:hover img { transform: scale(1.02); }
@media (max-width: 480px) {
  .footer-anpc { gap: .5rem; }
  .footer-anpc img { width: 100%; height: auto; }
}

/* Credit realizator SEO DMA */
.footer-credit {
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  padding-top: 1.2rem; margin-top: 1.2rem;
  border-top: 1px solid var(--stone-700);
  font-size: .82rem; color: var(--sand-400);
}
.footer-credit a { display: inline-flex; line-height: 0; }
.seodma-logo {
  width: 90px; height: 23px;
  transition: transform .25s ease;
}
.footer-credit a:hover .seodma-logo { transform: scale(1.03); }

/* -------- FAB WhatsApp -------- */
.fab-wa {
  position: fixed; bottom: 1.2rem; right: 1.2rem; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  transition: transform .2s ease;
  animation: wa-pulse 2.2s ease-out infinite;
}
.fab-wa:hover { transform: scale(1.08); color: #fff; animation-play-state: paused; }
.fab-wa svg { width: 32px; height: 32px; position: relative; z-index: 1; }

/* Halou pulsatoriu în spatele butonului */
.fab-wa::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: #25d366; z-index: 0;
  animation: wa-ring 2.2s ease-out infinite;
}
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(0,0,0,.4), 0 0 0 0 rgba(37,211,102,.5); }
  50%      { box-shadow: 0 8px 24px rgba(0,0,0,.4), 0 0 24px 6px rgba(37,211,102,.55); }
}
@keyframes wa-ring {
  0%   { transform: scale(1); opacity: .55; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .fab-wa, .fab-wa::before { animation: none; }
}

/* -------- Pagini legale -------- */
.legal-content { max-width: 820px; }
.legal-content h2 { font-size: 1.4rem; margin-top: 2rem; margin-bottom: .6rem; color: var(--white); }
.legal-content p { color: var(--sand-400); margin-bottom: 1rem; }
.legal-content a { color: var(--ember-300); }
.legal-content a:hover { color: var(--ember-500); }
.legal-content strong { color: var(--sand-200); }
.legal-updated { font-size: .9rem; color: var(--sand-400); font-style: italic; padding-bottom: 1rem; border-bottom: 1px solid var(--stone-600); }
.legal-nav {
  display: flex; flex-wrap: wrap; gap: 1rem;
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--stone-600);
}
.legal-nav a {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: .9rem; letter-spacing: .04em; color: var(--sand-400);
  padding: .5rem .9rem; border: 1px solid var(--stone-600); border-radius: var(--radius);
  transition: border-color .2s ease, color .2s ease;
}
.legal-nav a:hover { border-color: var(--ember-500); color: var(--ember-500); }

/* -------- Bară mobilă fixă jos -------- */
.mobile-bar { display: none; }
@media (max-width: 900px) {
  .mobile-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: end;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 190;
    background: rgba(20,16,12,.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--stone-600);
    padding: .4rem .2rem calc(.4rem + env(safe-area-inset-bottom));
    overflow: visible;
  }
  .mobile-bar a {
    display: flex; flex-direction: column; align-items: center; gap: .2rem;
    padding: .4rem .2rem; color: var(--sand-400);
    font-family: var(--font-display); text-transform: uppercase;
    font-size: .68rem; letter-spacing: .04em; font-weight: 600;
    transition: color .15s ease;
    text-align: center; line-height: 1.1;
  }
  .mobile-bar a:hover, .mobile-bar a.active { color: var(--ember-500); }
  .mobile-bar svg { width: 24px; height: 24px; flex: none; }

  /* Butonul Rezervă — pătrat portocaliu plin, ieșit evident deasupra barei */
  .mobile-bar a.mb-highlight {
    background: var(--ember-500); color: #1a0f06;
    border-radius: 20px;
    margin: -32px .25rem -.2rem;
    padding: 1rem .3rem .9rem;
    box-shadow: 0 10px 26px -4px rgba(255,106,26,.75), 0 0 0 4px var(--stone-900);
    gap: .3rem;
  }
  .mobile-bar a.mb-highlight span { color: #1a0f06; font-size: .74rem; }
  .mobile-bar a.mb-highlight svg { width: 30px; height: 30px; }
  .mobile-bar a.mb-highlight:hover,
  .mobile-bar a.mb-highlight.active { color: #1a0f06; }

  /* ridic FAB-ul WhatsApp deasupra barei */
  .fab-wa { bottom: calc(90px + env(safe-area-inset-bottom)); }
  /* spațiu jos ca bara să nu acopere conținutul/footerul */
  body { padding-bottom: 70px; }
}

/* -------- Reveal la scroll -------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* -------- Breadcrumb -------- */
.crumbs { font-size: .85rem; color: var(--sand-400); padding-top: 1.5rem; }
.crumbs a { color: var(--sand-400); }
.crumbs a:hover { color: var(--ember-500); }

/* Page hero (pagini interioare) */
.page-hero { position: relative; padding-block: clamp(3rem,7vw,5rem); overflow: hidden; }
.page-hero__bg { position:absolute; inset:0; z-index:0; }
.page-hero__bg img, .page-hero__bg .img-ph { width:100%; height:100%; object-fit:cover; }
.page-hero__scrim { position:absolute; inset:0; z-index:1; background: linear-gradient(180deg, rgba(20,16,12,.7), rgba(20,16,12,.92)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { max-width: 20ch; }
.page-hero p { max-width: 60ch; color: var(--sand-200); }

.section-head { max-width: 60ch; margin-bottom: 2.5rem; }
.text-center { text-align: center; }
.text-center .section-head { margin-inline: auto; }
.mt-2 { margin-top: 2rem; } .mb-0 { margin-bottom: 0; }

/* Preț afișat pe cardul de vehicul din flotă */
.atv-card__price {
  color: var(--sand-400); font-size: .95rem; margin-bottom: .9rem;
}
.atv-card__price strong {
  color: var(--ember-500); font-family: var(--font-display);
  font-size: 1.35rem; letter-spacing: .01em;
}

/* Lista de prețuri per vehicul, pe paginile de traseu */
.spec-list--prices li { align-items: baseline; padding-bottom: .5rem; }
.spec-list--prices li span:first-child { font-size: .95rem; }
.spec-list--prices .price-tag { font-size: 1.15rem; }

/* -------- Formular de rezervare -------- */
.booking-form-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: start; }
@media (max-width: 860px) { .booking-form-wrap { grid-template-columns: 1fr; } }

.form-card {
  background: var(--stone-700); border: 1px solid var(--stone-600);
  border-radius: var(--radius); padding: 1.5rem;
}
.form-card h2 { font-size: 1.25rem; margin-bottom: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* selectorul de vehicule */
.veh-row {
  display: grid; grid-template-columns: 1fr auto auto;
  gap: .8rem; align-items: center;
  padding: .7rem 0; border-bottom: 1px dashed var(--stone-600);
}
.veh-row:last-child { border-bottom: 0; }
.veh-row__name { font-size: .95rem; color: var(--sand-200); }
.veh-row__price { font-size: .9rem; color: var(--sand-400); min-width: 68px; text-align: right; white-space: nowrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--stone-600); border-radius: 999px; overflow: hidden; background: var(--stone-800); }
.qty__btn {
  width: 34px; height: 34px; border: 0; background: transparent;
  color: var(--ember-500); font-size: 1.15rem; line-height: 1; cursor: pointer;
}
.qty__btn:hover { background: var(--stone-600); }
.qty__val {
  width: 42px; height: 34px; border: 0; background: transparent;
  color: var(--white); text-align: center; font-weight: 600; font-size: 1rem;
  -moz-appearance: textfield; appearance: textfield;
}
.qty__val::-webkit-outer-spin-button, .qty__val::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* rezumat */
.rez-card { position: sticky; top: 90px; }
@media (max-width: 860px) { .rez-card { position: static; } }
.rez-gol { color: var(--sand-400); font-size: .92rem; }
.rez-traseu { margin-bottom: .8rem; }
.rez-traseu small { color: var(--sand-400); }
.rez-lista { list-style: none; padding: 0; margin: 0 0 .9rem; display: grid; gap: .4rem; }
.rez-lista li { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; color: var(--sand-200); }
.rez-total {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid var(--stone-600); padding-top: .8rem; margin: 0;
}
.rez-total span { color: var(--sand-400); font-size: .9rem; }
.rez-total strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--ember-500); }

/* mesaje */
.form-alert {
  background: rgba(200, 40, 40, .12); border: 1px solid rgba(200, 40, 40, .45);
  color: #ffb4b4; border-radius: var(--radius); padding: .8rem 1rem;
  font-size: .92rem; margin-bottom: 1rem;
}
.form-ok {
  background: rgba(37, 211, 102, .1); border: 1px solid rgba(37, 211, 102, .4);
  color: #a9f3c8; border-radius: var(--radius); padding: .9rem 1rem;
  font-size: .92rem; margin-top: 1rem;
}

/* -------- Lightbox cu swipe -------- */
.lb {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10, 9, 8, .97);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s ease;
  overscroll-behavior: contain;
}
.lb[hidden] { display: none; }
.lb.is-deschis { opacity: 1; }
.lb__track {
  display: flex; width: 100%; height: 100%;
  transition: transform .32s cubic-bezier(.22,.61,.36,1);
  will-change: transform; cursor: grab;
}
.lb__track:active { cursor: grabbing; }
.lb__slide {
  flex: 0 0 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 3.5rem 1rem 4.5rem;
}
.lb__slide img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto; object-fit: contain;
  border-radius: 6px; user-select: none; -webkit-user-drag: none;
}
.lb__close {
  position: absolute; top: .8rem; right: .9rem; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0,0,0,.5); border: 1px solid var(--stone-600);
  color: var(--white); font-size: 1.7rem; line-height: 1; cursor: pointer;
}
.lb__close:hover { background: var(--ember-500); border-color: var(--ember-500); }
.lb__dots {
  position: absolute; bottom: 2.4rem; left: 0; right: 0;
  display: flex; justify-content: center; gap: .4rem; flex-wrap: wrap; padding: 0 1rem;
}
.lb__dots span {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.3); transition: background .2s, width .2s;
}
.lb__dots span.is-activ { background: var(--ember-500); width: 20px; border-radius: 4px; }
.lb__cap {
  position: absolute; bottom: .8rem; left: 0; right: 0; margin: 0;
  text-align: center; color: var(--sand-400); font-size: .82rem;
  padding: 0 1.2rem; line-height: 1.4;
}
@media (max-width: 700px) {
  .lb__slide { padding: 3rem .5rem 4rem; }
  .lb__cap { font-size: .75rem; }
}

/* Link către platforma SAL, lângă placheta ANPC */
.footer-anpc { flex-wrap: wrap; }
.footer-anpc .anpc-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: .55rem 1.1rem;
  border: 1px solid var(--stone-600); border-radius: 6px;
  color: var(--sand-200); font-size: .82rem; font-weight: 600;
  text-align: center; line-height: 1.3; white-space: normal;
}
.footer-anpc .anpc-link:hover { border-color: var(--ember-500); color: var(--ember-500); }
@media (max-width: 480px) {
  .footer-anpc .anpc-link { width: 100%; }
}
