/* RazTrans — stil principal (mobil întâi)
   Culoarea de accent se schimbă dintr-un singur loc: --accent */
:root {
  --accent: #FF7A45;        /* portocaliu-coral */
  --accent-hover: #FF946A;
  --accent-ink: #B4461C;    /* accent închis, pentru text pe fundal deschis */
  --ink: #14171C;           /* asfalt */
  --ink-2: #1D2127;
  --ink-line: #2E333B;
  --paper: #EDEEEB;         /* beton deschis */
  --ticket: #F4F2EC;        /* hârtia biletului */
  --white: #FFFFFF;
  --line: #D3D5D0;
  --muted: #535A62;
  --on-dark: #F3F3F0;
  --on-dark-muted: #B9BDB7;
  --on-dark-faint: #8B9098;

  --font-display: 'Bricolage Grotesque', 'Arial Narrow', sans-serif;
  --font-body: 'Onest', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --gutter: 20px;
  --r: 8px;
  --nav-h: 64px;
}
@media (min-width: 760px) { :root { --gutter: clamp(28px, 4vw, 56px); --nav-h: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible { outline: 3px solid #6CB8FF; outline-offset: 3px; }
input, textarea, button, select { font: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--ink); }

.wrap { max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.dark { background: var(--ink); color: var(--on-dark); }
.accent { color: var(--accent); }
.nowrap { white-space: nowrap; }

/* ---------- Butoane ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 20px;
  border-radius: var(--r); border: 0;
  font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn--lg { min-height: 56px; padding: 14px 24px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--accent-hover); }
.btn--line { color: var(--on-dark); border: 1.5px solid #4A5059; background: transparent; }
.btn--line:hover { border-color: var(--on-dark); }
.btn--dark { background: var(--ink); color: var(--on-dark); }
.btn--dark:hover { background: #262B32; }
.btn--dark svg { color: var(--accent); }
.btn--outline { background: transparent; border: 1.5px solid var(--ink); color: var(--ink); }

/* ---------- Nav ---------- */
.nav-wrap {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--ink); color: var(--on-dark);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav-wrap.is-scrolled { border-bottom-color: var(--ink-line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--nav-h); }
.plate {
  display: flex; align-items: stretch; text-decoration: none; flex: none;
  background: var(--white); border: 2px solid var(--white); border-radius: 5px; overflow: hidden;
}
.plate__eu {
  background: #1D4DB8; color: #fff;
  font: 800 11px/1 var(--font-display); letter-spacing: .04em;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  gap: 2px; padding: 3px 5px;
}
.plate__name { font: 800 19px/1.35 var(--font-display); color: var(--ink); padding: 2px 10px; letter-spacing: .01em; }
.nav__links { display: none; }
.nav__right { display: flex; align-items: center; gap: 10px; }
.nav__cta { display: none; }

.lang { display: flex; border: 1.5px solid var(--ink-line); border-radius: var(--r); overflow: hidden; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 6px 10px; border: 0;
  background: transparent; color: var(--on-dark-faint);
  font-weight: 700; font-size: 13px; letter-spacing: .03em; cursor: pointer;
}
.lang__btn + .lang__btn { border-left: 1.5px solid var(--ink-line); }
.lang__btn svg { border-radius: 1px; display: block; opacity: .55; transition: opacity .15s; }
.lang__btn[aria-pressed="true"] { color: var(--on-dark); background: var(--ink-2); }
.lang__btn[aria-pressed="true"] svg { opacity: 1; }

@media (min-width: 960px) {
  .nav__links { display: flex; gap: 28px; font-weight: 600; font-size: 15px; }
  .nav__links a { color: var(--on-dark-muted); text-decoration: none; padding-block: 6px; border-bottom: 2px solid transparent; }
  .nav__links a:hover, .nav__links a.is-active { color: var(--on-dark); border-bottom-color: var(--accent); }
  .nav__cta { display: inline-flex; min-height: 44px; }
  .plate__name { font-size: 21px; }
}

/* ---------- Hero ---------- */
.hero { padding-block: 28px 0; overflow: hidden; }
.hero__grid { display: flex; flex-direction: column; gap: 32px; }
.hero__text { display: flex; flex-direction: column; gap: 20px; }
.hero__tag {
  margin: 0; display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; color: var(--on-dark-muted);
}
.hero__tag::before { content: ""; width: 22px; height: 3px; background: var(--accent); flex: none; }
.hero__title {
  margin: 0; font-family: var(--font-display); font-variation-settings: 'opsz' 96;
  font-weight: 800; font-size: clamp(44px, 12.4vw, 112px); line-height: .93; letter-spacing: -.045em;
}
.hero__title span { display: block; }
.hero__sub { margin: 0; color: var(--on-dark-muted); max-width: 34em; }
.hero__sub strong { color: var(--on-dark); font-weight: 600; }
.hero__rental { margin: -8px 0 0; max-width: 34em; color: var(--on-dark); font-weight: 700; }
.hero__rental::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 10px 2px 0; border-radius: 50%; background: var(--accent); }
.hero__actions { display: grid; grid-template-columns: 1fr; gap: 10px; }

/* pe mobil poza merge de la margine la margine */
.hero__media { margin-inline: calc(var(--gutter) * -1); position: relative; }
.hero__photo { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-2); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; }
.hero__media--split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hero-choice { position: relative; display: flex; min-height: 420px; overflow: hidden; color: var(--on-dark); text-decoration: none; background: var(--ink-2); }
.hero-choice:first-child { border-radius: var(--r) 0 0 var(--r); }
.hero-choice:last-of-type { border-radius: 0 var(--r) var(--r) 0; }
.hero-choice img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.hero-choice--transport img { object-position: 58% center; }
.hero-choice--rent img { object-position: 52% 62%; }
.hero-choice:hover img { transform: scale(1.05); }
.hero-choice__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,23,28,.08) 22%, rgba(20,23,28,.92) 100%); }
.hero-choice__copy { position: absolute; inset: auto 18px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.hero-choice__kicker { color: var(--accent); font: 700 10px var(--font-mono); letter-spacing: .12em; }
.hero-choice__copy strong { font: 800 clamp(22px, 3vw, 35px)/1 var(--font-display); letter-spacing: -.03em; }
.hero-choice__copy > span:not(.hero-choice__kicker) { color: var(--on-dark-muted); font-size: 13px; }
.hero-choice__copy em { margin-top: 7px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; color: var(--on-dark); font-style: normal; font-size: 12px; font-weight: 700; }
.hero-choice--rent .hero-choice__copy em { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.hero-choice:hover .hero-choice__copy em, .hero-choice:focus-visible .hero-choice__copy em { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(255,255,255,.8); }
.hero-choice--rent:hover .hero-choice__copy em, .hero-choice--rent:focus-visible .hero-choice__copy em { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--ink); box-shadow: 0 10px 24px -10px var(--accent); }
.hero-choice:active .hero-choice__copy em { transform: translateY(0) scale(.97); }

/* bilet perforat */
.ticket {
  --stub: 136px;
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr var(--stub);
  margin: -44px var(--gutter) 0;
  background: var(--ticket); color: var(--ink);
  border-radius: 10px; text-decoration: none;
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.7);
  -webkit-mask:
    radial-gradient(circle 9px at calc(100% - var(--stub)) 0, #0000 97%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 9px at calc(100% - var(--stub)) 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
          mask:
    radial-gradient(circle 9px at calc(100% - var(--stub)) 0, #0000 97%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 9px at calc(100% - var(--stub)) 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
}
.ticket__main, .ticket__stub { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px 18px; min-width: 0; }
.ticket__stub { border-left: 2px dashed #C9C6BD; padding-left: 16px; }
.ticket__label { font: 500 10.5px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: #6E6A61; }
.ticket__date { font: 800 30px/1.05 var(--font-display); letter-spacing: -.03em; margin-top: 2px; }
.ticket__route { font-size: 14px; font-weight: 600; color: var(--muted); }
.ticket__back { font: 700 17px/1.2 var(--font-display); margin-top: 2px; white-space: nowrap; }
.ticket__in { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--accent-ink); }

@media (min-width: 560px) {
  .hero__actions { grid-template-columns: auto auto; justify-content: start; }
}
@media (min-width: 960px) {
  .hero { padding-block: 64px 88px; }
  .hero__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; }
  .hero__title { font-size: clamp(56px, 5.8vw, 92px); }
  .hero__media { margin-inline: 0; }
  .hero__media--split { margin-inline: 0; }
  .hero__media--split .ticket { position: relative; left: auto; bottom: auto; grid-column: 1 / -1; width: auto; margin: 14px 0 0; }
  .hero__photo { border-radius: var(--r); aspect-ratio: 1200 / 850; }
  .ticket { position: absolute; left: -40px; bottom: -44px; margin: 0; width: 340px; }
}
@media (max-width: 559px) {
  .hero__media--split { row-gap: 10px; }
  .hero-choice { min-height: 300px; }
  .hero-choice:first-child { border-radius: var(--r) 0 0 var(--r); }
  .hero-choice:last-of-type { border-radius: 0 var(--r) var(--r) 0; }
  .hero-choice__copy { inset-inline: 12px; bottom: 14px; }
  .hero-choice__copy strong { font-size: 20px; }
  .hero-choice__copy > span:not(.hero-choice__kicker) { font-size: 11px; }
  .hero__media--split .ticket { position: relative; grid-column: 1 / -1; left: auto; bottom: auto; width: auto; margin: 2px 10px 0; grid-template-columns: minmax(0, 1fr) 118px; }
  .hero__media--split .ticket__main, .hero__media--split .ticket__stub { padding: 14px 14px 15px; }
  .hero__media--split .ticket__date { font-size: 28px; }
  .hero__media--split .ticket__back { font-size: 15px; }
}

/* ---------- Secțiuni ---------- */
.section { padding-block: 64px; }
.section--white { background: var(--white); }
@media (min-width: 760px) { .section { padding-block: 104px; } }
.head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.head--stack { margin-bottom: 0; }
@media (min-width: 760px) {
  .head:not(.head--stack) { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 48px; }
}
.h2 { margin: 0; font: 800 clamp(38px, 9vw, 72px)/.98 var(--font-display); letter-spacing: -.04em; }
.h3 { margin: 0; font: 800 clamp(28px, 6.4vw, 38px)/1.04 var(--font-display); letter-spacing: -.03em; }
.lead { margin: 0; color: var(--muted); max-width: 30em; }
.lead--dark { color: var(--on-dark-muted); }
.note { margin: 0; font-size: 14px; color: var(--on-dark-faint); }
.section--white .note, .contact .note { color: var(--muted); }
.two-col { display: flex; flex-direction: column; gap: 36px; }
@media (min-width: 960px) {
  .two-col { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 72px; align-items: start; }
  .two-col > .head--stack { position: sticky; top: calc(var(--nav-h) + 32px); }
}

/* ---------- Servicii: tab-uri ---------- */
.tabs {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1.5px solid var(--ink); border-radius: var(--r); overflow: hidden; margin-bottom: 20px;
}
.tabs__btn {
  min-height: 50px; padding: 10px 8px; border: 0; background: transparent; color: var(--ink);
  font-weight: 700; font-size: 16px; cursor: pointer; transition: background-color .15s, color .15s;
}
.tabs__btn + .tabs__btn { border-left: 1.5px solid var(--ink); }
.tabs__btn:hover { background: rgba(20,23,28,.06); }
.tabs__btn[aria-selected="true"] { background: var(--ink); color: var(--on-dark); }
@media (min-width: 760px) { .tabs { display: inline-grid; grid-template-columns: repeat(3, 160px); } }

.panel { display: flex; flex-direction: column; gap: 20px; }
.panel__photo { margin: 0 calc(var(--gutter) * -1); aspect-ratio: 4 / 3; overflow: hidden; background: #DADCD7; }
.panel__photo img { width: 100%; height: 100%; object-fit: cover; }
.panel__text { display: flex; flex-direction: column; gap: 14px; }
.panel__text p { margin: 0; color: var(--muted); max-width: 32em; }
.arrow-link {
  align-self: flex-start; display: inline-flex; gap: 8px; align-items: center;
  min-height: 44px; font-weight: 700; text-decoration: none; color: var(--ink);
  border-bottom: 2.5px solid var(--accent);
}
.arrow-link span[aria-hidden] { transition: translate .2s; }
.arrow-link:hover span[aria-hidden] { translate: 4px 0; }
@media (min-width: 760px) {
  .panel { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
  .panel__photo { margin: 0; border-radius: var(--r); aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: no-preference) {
  .panel:not([hidden]) { animation: panelIn .35s ease both; }
}
@keyframes panelIn { from { opacity: .001; translate: 0 10px; } }

/* ---------- Program ---------- */
.trips { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink-line); }
.trip {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 16px;
  padding: 20px 0; border-bottom: 1px solid var(--ink-line);
}
.trip__when { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.trip__flag { font: 500 10.5px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.trip__out { font: 800 clamp(26px, 7vw, 34px)/1.05 var(--font-display); letter-spacing: -.03em; }
.trip__back { font-size: 15px; color: var(--on-dark-faint); }
.trip__back strong { color: var(--on-dark-muted); font-weight: 600; }
.trip__book {
  min-height: 44px; padding: 10px 16px; border-radius: var(--r); cursor: pointer;
  font-weight: 700; font-size: 15px;
  background: transparent; color: var(--on-dark); border: 1.5px solid #4A5059;
  transition: background-color .15s, color .15s, border-color .15s;
}
.trip__book:hover { border-color: var(--on-dark); }
.trip--next .trip__book { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.trip--next { position: relative; }
@media (min-width: 760px) {
  .trip { grid-template-columns: 180px minmax(0, 1fr) auto; padding-block: 24px; }
  .trip__when { display: contents; }
  .trip__flag { grid-column: 1; grid-row: 1; align-self: center; }
  .trip__out { grid-column: 2; grid-row: 1; }
  .trip__back { grid-column: 2; grid-row: 2; }
  .trip__book { grid-column: 3; grid-row: 1 / span 2; }
  .trip:not(.trip--next) .trip__flag { color: var(--on-dark-faint); }
}

/* ---------- Rută: linie ca la metrou ---------- */
.line { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.stop {
  position: relative; display: flex; flex-direction: column; gap: 2px;
  padding: 0 0 36px 64px; min-height: 92px;
}
.stop:last-child { padding-bottom: 0; min-height: 0; }
/* bucata de traseu dintre stații */
.stop::before {
  content: ""; position: absolute; left: 21px; top: 22px; bottom: -22px; width: 4px;
  background: repeating-linear-gradient(180deg, var(--accent) 0 12px, transparent 12px 20px);
}
.stop:last-child::before { display: none; }
.stop__node {
  position: absolute; left: 13px; top: 6px; z-index: 1;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--paper); border: 4px solid var(--ink);
}
.stop--start .stop__node {
  left: 0; top: -4px; width: 46px; height: 46px; border: 0;
  background: var(--accent); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.stop--end .stop__node { border-radius: 4px; background: var(--ink); }
.stop--start { padding-top: 4px; }
.stop__city { font: 800 clamp(30px, 8vw, 44px)/1 var(--font-display); letter-spacing: -.035em; }
.stop__note { font-size: 15px; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .stop::before { animation: flowY 1.4s linear infinite; }
}
@keyframes flowY { to { background-position: 0 20px; } }

@media (min-width: 900px) {
  .line { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stop { padding: 76px 24px 0 0; min-height: 0; }
  .stop::before {
    left: 24px; right: -24px; top: 21px; bottom: auto; width: auto; height: 4px;
    background: repeating-linear-gradient(90deg, var(--accent) 0 12px, transparent 12px 20px);
  }
  .stop:last-child::before { display: none; }
  .stop__node { left: 0; top: 12px; width: 22px; height: 22px; }
  .stop--start .stop__node { left: 0; top: 0; }
  .stop--start { padding-top: 76px; }
  @media (prefers-reduced-motion: no-preference) {
    .stop::before { animation: flowX 1.4s linear infinite; }
  }
}
@keyframes flowX { to { background-position: -20px 0; } }

/* ---------- Ofertă ---------- */
.head--stack { gap: 20px; }
.how { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.how li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: baseline; }
.how span { font: 800 22px/1 var(--font-display); color: var(--accent-ink); }
.how p { margin: 0; color: var(--muted); }
.contact { display: flex; flex-direction: column; gap: 2px; padding-top: 20px; border-top: 1px solid var(--line); margin-top: 8px; }
.contact__name { font-weight: 700; }
.contact__phone { font: 800 clamp(28px, 7vw, 36px)/1.15 var(--font-display); letter-spacing: -.02em; text-decoration: none; font-variant-numeric: tabular-nums; }

.form-box { background: var(--paper); border-radius: 12px; padding: 22px 18px 24px; margin-inline: -4px; }
@media (min-width: 760px) { .form-box { padding: 36px; margin-inline: 0; } }
.form { display: flex; flex-direction: column; gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.form input, .form textarea, .form select {
  width: 100%; padding: 13px 14px; min-height: 52px; border: 1.5px solid #C4C7C1; border-radius: var(--r);
  background: var(--white); color: var(--ink); font-weight: 400; font-size: 16px;
  transition: border-color .15s, box-shadow .15s;
}
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255,122,69,.35);
}
.form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.form__services { border: 0; margin: 0; padding: 0; min-width: 0; }
.form__services legend { font-weight: 700; font-size: 15px; padding: 0; margin-bottom: 8px; }
.form__error { margin: 0; color: #B3261E; font-weight: 600; font-size: 15px; }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1.5px solid var(--ink); border-radius: var(--r); overflow: hidden; background: var(--white); }
.seg__btn { min-height: 46px; padding: 8px 6px; border: 0; background: transparent; color: var(--ink); font-weight: 700; font-size: 15px; cursor: pointer; }
.seg__btn + .seg__btn { border-left: 1.5px solid var(--ink); }
.seg__btn[aria-pressed="true"] { background: var(--ink); color: var(--on-dark); }
.form-done { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-block: 12px; }
.form-done p { margin: 0; color: var(--muted); }
.flash { animation: flash 1s ease; }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(255,122,69,.7); } 100% { box-shadow: 0 0 0 16px rgba(255,122,69,0); } }

/* ---------- Întrebări ---------- */
.faq { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 44px 20px 0; font-weight: 700; font-size: 18px; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 2.5px; background: var(--ink);
  transition: rotate .25s ease;
}
.faq summary::after { rotate: 90deg; }
.faq details[open] summary::after { rotate: 0deg; }
.faq details p { margin: 0 0 22px; color: var(--muted); max-width: 40em; }

/* ---------- Footer ---------- */
.footer { padding-block: 64px 32px; overflow: hidden; }
.footer__cta { display: flex; flex-direction: column; gap: 6px; padding-bottom: 40px; border-bottom: 1px solid var(--ink-line); }
.footer__q { margin: 0; font-size: 18px; color: var(--on-dark-muted); }
.footer__phone { font: 800 clamp(36px, 10vw, 80px)/1 var(--font-display); letter-spacing: -.04em; text-decoration: none; color: var(--on-dark); font-variant-numeric: tabular-nums; }
.footer__phone:hover { color: var(--accent); }
.footer__brand {
  margin-block: 40px 28px;
  font-family: var(--font-display); font-variation-settings: 'opsz' 96; font-weight: 800;
  font-size: clamp(72px, 23vw, 300px); line-height: .8; letter-spacing: -.06em; white-space: nowrap;
}
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 14px; color: var(--on-dark-faint); }

/* ---------- Bară contact mobil ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: auto 1fr;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--ink); border-top: 1px solid var(--ink-line);
  translate: 0 110%; transition: translate .3s ease;
}
.mobile-bar.is-visible { translate: 0 0; }
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 58px; padding-inline: 22px; font-weight: 700; text-decoration: none;
}
.mobile-bar__call { color: var(--on-dark); border-right: 1px solid var(--ink-line); }
.mobile-bar__wa { background: var(--accent); color: var(--ink); }
@media (min-width: 760px) { .mobile-bar { display: none; } }
@media (max-width: 759px) { .footer { padding-bottom: calc(32px + 58px + env(safe-area-inset-bottom, 0px)); } }

/* tranziție lină la schimbarea limbii */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .3s; }

/* =====================================================================
   ÎNCHIRIERI AUTO
   ===================================================================== */
:root {
  --free: #1E8F4E;  --free-bg: #DDF2E4;  --free-ink: #11512C;
  --busy: #D23A2E;  --busy-bg: #FBE1DE;  --busy-ink: #8E1D15;
}
.hero__rent {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 8px 14px 8px 12px; border-radius: var(--r);
  border: 1px dashed #4A5059; color: var(--on-dark); text-decoration: none; font-weight: 600; font-size: 15px;
}
.hero__rent:hover { border-color: var(--accent); }
.hero__rent-dot { width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; flex: none; }

.rent-sec { overflow: hidden; }
.rent-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.rent-head__l { display: flex; flex-direction: column; gap: 14px; }
.rent-kicker { margin: 0; font: 500 12px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.rent-kicker #rent-count { color: var(--on-dark-faint); }
@media (min-width: 900px) { .rent-head { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 40px; } }

.rent-filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1) 20px; padding: 2px var(--gutter); }
.rent-filters::-webkit-scrollbar { display: none; }
.rf {
  flex: none; min-height: 42px; padding: 8px 16px; border-radius: var(--r); cursor: pointer;
  border: 1.5px solid var(--ink-line); background: transparent; color: var(--on-dark-muted); font-weight: 700; font-size: 15px;
  transition: background-color .15s, color .15s, border-color .15s;
}
.rf:hover { border-color: var(--on-dark-faint); color: var(--on-dark); }
.rf[aria-pressed="true"] { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }

.rent-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .rent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .rent-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.car {
  width: 100%; height: 100%; padding: 0; border: 0; text-align: left; cursor: pointer; font: inherit; color: var(--ink);
  display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: var(--ticket);
  transition: transform .25s ease, box-shadow .25s ease;
}
.car:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -24px rgba(0,0,0,.8); }
.car:focus-visible { outline: 3px solid #6CB8FF; outline-offset: 3px; }
.car__stage {
  position: relative; display: flex; align-items: flex-end; justify-content: center;
  aspect-ratio: 16 / 9; padding: 44px 14px 10px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0) 62%, rgba(20,23,28,.06) 62.4%, rgba(20,23,28,0) 100%),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(20,23,28,.05) 46px 47px),
    #E9E6DD;
}
.car__stage .car-svg { width: 92%; height: auto; transition: transform .35s ease; }
.car:hover .car-svg { transform: translateX(6px); }
.car__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.car__no {
  position: absolute; left: 12px; top: 12px; z-index: 1; display: inline-flex; align-items: stretch; overflow: hidden;
  background: #fff; border: 1.5px solid #1A1D22; border-radius: 4px; font: 700 12px/1 var(--font-mono); letter-spacing: .06em; padding-right: 7px; gap: 6px; align-items: center;
}
.car__no i { font-style: normal; background: #1D4DB8; color: #fff; font-size: 8px; padding: 6px 3px 3px; align-self: stretch; display: flex; align-items: flex-end; }
.car__av {
  position: absolute; right: 12px; top: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap;
}
.car__av::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.car__av.is-free { background: var(--free-bg); color: var(--free-ink); }
.car__av.is-busy { background: var(--busy-bg); color: var(--busy-ink); }
.car__body { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px 16px; flex: 1; }
.car__make { font-size: 13px; font-weight: 600; color: #6E6A61; }
.car__model { font: 800 23px/1.1 var(--font-display); letter-spacing: -.025em; }
.car__model em { font-style: normal; font-weight: 600; font-size: 15px; color: #6E6A61; letter-spacing: 0; margin-left: 4px; }
.car__specs { font-size: 14px; color: var(--muted); margin-top: 2px; }
.car__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px dashed #CFCBC0; margin-top: 14px; }
.car__price { font-size: 14px; color: var(--muted); }
.car__price b { font: 800 24px/1 var(--font-display); color: var(--ink); letter-spacing: -.02em; }
.car__cta { display: inline-flex; gap: 6px; align-items: center; min-height: 40px; padding: 0 14px; border-radius: var(--r); background: var(--ink); color: var(--on-dark); font-weight: 700; font-size: 14px; }
.car:hover .car__cta { background: var(--accent); color: var(--ink); }

/* ---------- Închirieri pentru evenimente ---------- */
.event-rent { background: var(--paper); }
.event-rent__head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.event-rent__head .rent-kicker { color: var(--accent-ink); }
.event-rent__head .h2 { max-width: 8em; }
.event-rent__grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.event-car { position: relative; min-height: 390px; overflow: hidden; border-radius: var(--r); background: var(--ink); color: var(--on-dark); }
.event-car img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .6s var(--ease); }
.event-car:first-child img { object-position: 52% 58%; }
.event-car:last-child img { object-position: 50% 55%; }
.event-car:hover img { transform: scale(1.04); }
.event-car__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,23,28,0) 28%, rgba(20,23,28,.9) 100%); }
.event-car__body { position: absolute; inset: auto 22px 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.event-car__body h3 { margin: 0; font: 800 clamp(27px, 5vw, 42px)/1 var(--font-display); letter-spacing: -.035em; }
.event-car__body p { margin: 0; color: var(--on-dark-muted); }
.event-car__body strong { margin-top: 4px; padding: 8px 12px; border-radius: 999px; background: var(--accent); color: var(--ink); font: 700 13px var(--font-mono); }
.event-rent__cta { display: inline-flex; min-height: 48px; align-items: center; margin-top: 20px; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--on-dark); font-weight: 700; text-decoration: none; transition: transform .2s, background-color .2s; }
.event-rent__cta:hover { transform: translateY(-2px); background: var(--accent); color: var(--ink); }
@media (min-width: 760px) {
  .event-rent__head { flex-direction: row; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 40px; }
  .event-rent__grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .event-car { min-height: 480px; }
}

/* ---------- fereastra de rezervare ---------- */
html.rent-open { overflow: hidden; }
.rd {
  width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0;
  background: var(--ticket); color: var(--ink);
}
.rd::backdrop { background: rgba(10,12,15,.72); }
.rd__in { position: relative; display: flex; flex-direction: column; min-height: 100%; }
.rd__x {
  position: absolute; right: 12px; top: calc(12px + env(safe-area-inset-top, 0px)); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(20,23,28,.08); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.rd__x:hover { background: rgba(20,23,28,.16); }
.rd__car {
  display: grid; grid-template-columns: 112px 1fr; grid-template-areas: "v make" "v model" "v price" "specs specs" "demo demo";
  column-gap: 14px; row-gap: 2px; align-items: center;
  padding: calc(18px + env(safe-area-inset-top, 0px)) 64px 16px 18px; background: #E9E6DD;
}
.rd__visual { grid-area: v; }
.rd__visual .car-svg, .rd__visual img { width: 100%; height: auto; display: block; border-radius: 8px; }
.rd__make { grid-area: make; margin: 0; font-size: 13px; font-weight: 600; color: #6E6A61; align-self: end; }
.rd__model { grid-area: model; margin: 0; font: 800 22px/1.1 var(--font-display); letter-spacing: -.025em; }
.rd__model em { font-style: normal; font-weight: 600; font-size: 15px; color: #6E6A61; letter-spacing: 0; }
.rd__price { grid-area: price; margin: 0; font-size: 14px; color: var(--muted); align-self: start; }
.rd__price b { font: 800 18px/1 var(--font-display); color: var(--ink); }
.rd__specs { grid-area: specs; list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.rd__specs li { font-size: 13px; font-weight: 600; padding: 4px 9px; border-radius: 6px; background: rgba(20,23,28,.07); }
.rd__demo { grid-area: demo; margin: 10px 0 0; font-size: 13px; color: #8A5A00; background: #FFF1CC; padding: 6px 10px; border-radius: 6px; }
.rd__main { display: flex; flex-direction: column; gap: 16px; padding: 18px 18px calc(22px + env(safe-area-inset-bottom, 0px)); flex: 1; }

@media (min-width: 860px) {
  .rd { width: min(1040px, calc(100% - 48px)); height: fit-content; max-height: calc(100% - 48px); margin: auto; border-radius: 18px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
  .rd__in { flex-direction: row; min-height: 0; }
  .rd__car { width: 300px; flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 28px 24px; }
  .rd__visual { width: 100%; margin-bottom: 18px; }
  .rd__make { align-self: auto; }
  .rd .cal__nav { right: 52px; }
  .rd__done { min-height: 420px; }
  .rd__model { font-size: 28px; }
  .rd__price { margin-top: 6px; } .rd__price b { font-size: 24px; }
  .rd__main { padding: 28px 28px 26px; }
}

/* calendar */
.cal { position: relative; }
.cal__nav { position: absolute; right: 0; top: -4px; display: flex; gap: 6px; z-index: 1; }
@media (max-width: 859px) { .cal__nav { right: 0; } .rd__main { padding-top: 20px; } }
.cal__arrow {
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid #CFCBC0; background: transparent; cursor: pointer; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.cal__arrow:hover:not(:disabled) { border-color: var(--ink); }
.cal__arrow:disabled { opacity: .3; cursor: default; }
.cal__months { display: grid; gap: 24px; }
@media (min-width: 860px) { .cal__months { grid-template-columns: 1fr 1fr; gap: 28px; } }
.cal__title { margin: 0 0 10px; min-height: 32px; display: flex; align-items: center; font: 800 20px/1 var(--font-display); letter-spacing: -.02em; text-transform: capitalize; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal__dn { text-align: center; font: 500 11px/1 var(--font-mono); color: #8A867C; padding-bottom: 6px; }
.cal__d {
  position: relative; aspect-ratio: 1; min-height: 40px; border: 0; border-radius: 8px; cursor: pointer;
  font: 600 15px/1 var(--font-body); font-variant-numeric: tabular-nums;
  transition: background-color .12s, color .12s, transform .12s;
}
.cal__d.is-free { background: var(--free-bg); color: var(--free-ink); }
.cal__d.is-free:not(.is-start):not(.is-end):not(.is-in):hover { background: #C3E8CF; }
.cal__d.is-busy {
  color: var(--busy-ink); cursor: not-allowed; text-decoration: line-through; text-decoration-thickness: 1.5px;
  background: repeating-linear-gradient(135deg, var(--busy-bg) 0 5px, #F6CDC8 5px 7px);
}
.cal__d.is-past { background: transparent; color: #B9B5AB; cursor: default; }
.cal__d.is-today { box-shadow: inset 0 0 0 2px var(--ink); }
.cal__d.is-in, .cal__d.is-preview { background: #FFD9C7; color: var(--ink); border-radius: 4px; }
.cal__d.is-start, .cal__d.is-end { background: var(--ink); color: var(--on-dark); transform: scale(1.04); }
.cal__d.is-start { border-radius: 8px 4px 4px 8px; }
.cal__d.is-end { border-radius: 4px 8px 8px 4px; }
.cal__d.is-start.is-end { border-radius: 8px; }
.cal__legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.cal__legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.lg--free { background: var(--free-bg); box-shadow: inset 0 0 0 1.5px var(--free); }
.lg--busy { background: repeating-linear-gradient(135deg, var(--busy-bg) 0 3px, #F0B7B0 3px 5px); box-shadow: inset 0 0 0 1.5px var(--busy); }
.lg--sel { background: var(--ink); }

/* sumar + câmpuri */
.sum { border-radius: 12px; background: #fff; border: 1px solid #DDD9CF; padding: 14px 16px; min-height: 64px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.sum__hint { margin: 0; color: var(--muted); font-size: 15px; }
.sum__err { color: var(--busy-ink); }
.sum__dates { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.sum__dates div { display: flex; flex-direction: column; gap: 2px; }
.sum__dates span { font: 500 10.5px/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: #8A867C; }
.sum__dates b { font: 800 19px/1.1 var(--font-display); letter-spacing: -.02em; }
.sum__dates i { font-style: normal; color: var(--accent-ink); font-weight: 800; }
.sum__calc { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding-top: 10px; border-top: 1px dashed #DDD9CF; color: var(--muted); font-size: 15px; }
.sum__total { display: flex; flex-direction: column; align-items: flex-end; font: 800 28px/1 var(--font-display); color: var(--ink); letter-spacing: -.03em; }
.sum__total small { font: 500 10.5px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: #8A867C; }
.rd__fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.rd__fields label { display: flex; flex-direction: column; gap: 5px; font-weight: 600; font-size: 14px; }
.rd__wide { grid-column: 1 / -1; }
.rd__fields input {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #CFCBC0; border-radius: var(--r);
  background: #fff; color: var(--ink); font-size: 16px; font-weight: 400;
}
.rd__fields input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255,122,69,.35); }
.rd__msg { margin: 0; min-height: 0; color: var(--busy-ink); font-weight: 600; font-size: 15px; }
.rd__msg:empty { display: none; }
.rd__done { align-items: flex-start; justify-content: center; gap: 14px; }
.rd__done p { margin: 0; color: var(--muted); max-width: 36em; }
.rd__done .rd__done-sum { color: var(--ink); font-size: 17px; line-height: 1.5; }
.rd__check { width: 60px; height: 60px; border-radius: 50%; background: var(--free); color: #fff; display: flex; align-items: center; justify-content: center; }
.rd__done-row { display: flex; flex-wrap: wrap; gap: 10px; }
@media (prefers-reduced-motion: reduce) { .car, .car-svg, .cal__d { transition: none; } }
