/* css/site.css — Rova Main page. All styles live here (no inline style in output). */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg: #F7F9FB;
  --bg-alt: #F2F4F6;
  --ink: #191C1E;
  --ink-2: #45464D;
  --ink-3: #767981;
  --dark: #0F172A;
  /* Brand turquoise = the dots of the Rova logo (#00CEA6).
     --accent: fills (buttons, badges) with dark text on top (8.8:1).
     --green:  turquoise TEXT/ICONS on light backgrounds, a deeper shade of the same hue (5.3:1 on white).
     --mint:   turquoise on dark backgrounds (8.8:1 on navy). */
  --accent: #00CEA6;
  --on-accent: #0F172A;
  --green: #007A66;
  --green-tint: rgba(0, 206, 166, 0.14);
  --green-bg: rgba(0, 206, 166, 0.07);
  --mint: #00CEA6;
  --red: #BA1A1A;
  --border: #E2E8F0;
  --border-2: #E0E3E5;
  --white: #fff;
  --surface: #fff;
  --nav-bg: rgba(255, 255, 255, 0.92);
  --on-surface: #0F172A;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --maxw: 1200px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-card: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-media: 0 20px 40px -10px rgba(15, 23, 42, 0.20);
}

:root[data-theme="dark"] {
  --bg: #0B1120;
  --bg-alt: #0F172A;
  --ink: #E5E7EB;
  --ink-2: #C3C9D2;
  --ink-3: #9AA3AF;
  --border: rgba(255,255,255,0.10);
  --border-2: rgba(255,255,255,0.08);
  --green: #00CEA6;
  --red: #FF6B6B;
  --surface: #111A2E;
  --nav-bg: rgba(11, 17, 32, 0.92);
  --on-surface: #E5E7EB;
}

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
button { font-family: inherit; }
input, select { font-family: var(--sans); }
input[type=range] { accent-color: var(--green); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); }

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  color: var(--green); text-transform: uppercase;
}
.section-head { text-align: center; max-width: 700px; margin: 0 auto; }
.section-head h2 { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; margin-top: 6px; }
.section-head p { font-size: 15px; color: var(--ink-2); margin-top: 10px; }

.icon {
  font-family: 'Material Symbols Outlined';
  font-weight: normal; font-style: normal; line-height: 1;
  -webkit-font-smoothing: antialiased; font-variation-settings: 'FILL' 0;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 14px; font-weight: 600; padding: 11px 20px; border-radius: var(--r-sm);
  border: none; cursor: pointer; white-space: nowrap; transition: filter .15s ease, transform .15s ease;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn--dark { background: var(--dark); color: #fff; }
.btn--green { background: var(--accent); color: var(--on-accent); }
.btn--lg { padding: 14px 24px; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; padding: 7px 14px; border-radius: 999px;
}
.badge--light { background: var(--bg-alt); color: var(--ink-2); }
.badge--dot { background: var(--bg-alt); color: var(--green); font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; }
/* NAV */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: var(--nav-bg); backdrop-filter: blur(12px);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-logo { display: block; height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 18px; font-size: 14px; font-weight: 600; }
.nav-links a { color: var(--ink-2); transition: color .15s ease; white-space: nowrap; }
.nav-links a:hover { color: var(--on-surface); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--border); border-radius: var(--r-sm);
  background: var(--surface); cursor: pointer; color: var(--on-surface);
}
.nav-toggle .icon { font-size: 24px; }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; }
.lang-switch a {
  font-family: var(--mono); font-size: 13px; font-weight: 500; line-height: 1;
  color: var(--ink-2); padding: 8px 9px; border-radius: var(--r-sm);
  transition: color .15s ease, background .15s ease;
}
.lang-switch a:hover { color: var(--green); background: var(--green-tint); }
.lang-switch a[aria-current="true"] { color: var(--green); font-weight: 700; }

/* THEME TOGGLE + DARK LOGO */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border: 1px solid var(--border); border-radius: var(--r-sm);
  background: transparent; cursor: pointer; color: var(--ink-2); transition: color .15s, background .15s;
}
.theme-toggle .icon { font-size: 20px; }
.theme-toggle:hover { color: var(--green); background: var(--green-tint); }
.nav-logo--dark { display: none; }
:root[data-theme="dark"] .nav-logo { display: none; }
:root[data-theme="dark"] .nav-logo--dark { display: block; }
:root[data-theme="dark"] .nav-toggle { color: var(--ink); }

/* HERO */
.hero { position: relative; background: var(--bg-alt); padding: 56px 0 64px; overflow: hidden; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(60px); z-index: 0;
}
.hero::before { top: -120px; right: -120px; width: 380px; height: 380px; background: var(--mint); opacity: 0.25; }
.hero::after { top: 40%; left: -100px; width: 320px; height: 320px; background: #131B2E; opacity: 0.12; }
.hero .container { position: relative; z-index: 1; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 16px; }
.hero-title { font-size: 52px; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.hero-title-accent {
  color: var(--green); text-decoration: underline; text-decoration-color: var(--mint);
  text-decoration-thickness: 4px; text-underline-offset: 6px;
}
.hero-sub { font-size: 17px; color: var(--ink-2); line-height: 1.6; max-width: 620px; }
.hero-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 4px; }
.hero-feature {
  display: flex; align-items: center; gap: 8px; background: var(--surface); border-radius: var(--r-sm);
  padding: 10px 12px; box-shadow: var(--shadow-sm); font-size: 12.5px; font-weight: 600;
}
.hero-feature .icon { font-size: 20px; color: var(--green); }
.hero-cta { display: flex; gap: 14px; margin-top: 8px; flex-wrap: wrap; }
.hero-media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-media); height: 340px; }
.hero-media-img { width: 100%; height: 100%; object-fit: cover; object-position: center 68%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.78), transparent 55%);
}
.hero-media-cap { position: absolute; bottom: 16px; left: 16px; z-index: 2; }
.hero-media-cap-top { display: block; font-size: 11px; color: var(--mint); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.hero-media-cap-bottom { display: block; margin-top: 3px; font-size: 13px; font-weight: 600; color: #fff; }
/* FLEET */
.fleet { padding: 88px 0; display: flex; flex-direction: column; gap: 36px; }
.fleet-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.fleet-head h2 { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; margin-top: 6px; }
.fleet-head p { font-size: 15px; color: var(--ink-2); max-width: 600px; margin-top: 8px; }
.fleet-badge {
  display: inline-flex; align-items: center; gap: 8px; background: var(--bg-alt);
  padding: 10px 16px; border-radius: var(--r-sm); white-space: nowrap; font-size: 13px; font-weight: 600;
}
.fleet-badge .icon { font-size: 20px; color: var(--green); }
.fleet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column; transition: box-shadow .2s, border-color .2s;
}
.card:hover { box-shadow: var(--shadow-card); border-color: #c6c6cd; }
.card-media { position: relative; height: 260px; background: var(--bg-alt); }
.card-img { width: 100%; height: 100%; object-fit: cover; }
.card-flag {
  position: absolute; top: 14px; left: 14px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em; padding: 6px 12px; border-radius: 999px;
  max-width: calc(100% - 28px);
}
.card-flag--green { background: var(--accent); color: var(--on-accent); }
.card-flag--dark { background: var(--dark); color: #fff; }
.card-cons {
  position: absolute; bottom: 14px; right: 14px; background: var(--surface); color: var(--on-surface);
  font-family: var(--mono); font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px;
}
.card-body { padding: 28px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.card-title-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card-name { font-size: 22px; font-weight: 700; }
.card-gen { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.card-price { text-align: right; }
.card-price-label { font-size: 11px; color: var(--ink-2); text-transform: uppercase; font-weight: 600; }
.card-price-value { font-family: var(--mono); font-size: 22px; font-weight: 700; color: var(--on-surface); }
.card-price-unit { font-size: 11px; color: var(--ink-2); }
.card-desc { font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.card-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.card-spec { background: var(--bg); border-radius: var(--r-sm); padding: 10px 12px; }
.card-spec--icon { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.card-spec--icon .icon { font-size: 20px; color: var(--green); }
.card-spec--icon span:last-child { font-size: 11.5px; font-weight: 600; }
.card-spec-label { font-size: 10.5px; color: var(--ink-2); display: block; }
.card-spec-value { font-family: var(--mono); font-size: 12.5px; font-weight: 600; }
.card-checks { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; color: var(--ink-2); margin-top: 2px; }
.card-check { display: flex; gap: 8px; align-items: flex-start; }
.card-check .icon { font-size: 18px; color: var(--green); flex-shrink: 0; }
.card-cta { margin-top: auto; text-align: center; padding: 13px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 600; }
.card-cta .icon { font-size: 18px; }
.card-cta--dark { background: var(--dark); color: #fff; }
.card-cta--green { background: var(--accent); color: var(--on-accent); }
/* COMPARE */
.compare { background: var(--bg-alt); padding: 88px 0; display: flex; flex-direction: column; gap: 28px; }
.compare-table-wrap { background: var(--surface); border-radius: var(--r-lg); padding: 8px; box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04); overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.compare-table thead tr { background: var(--bg-alt); }
.compare-table th { text-align: left; padding: 16px 20px; font-size: 12.5px; font-weight: 700; }
.compare-table th:first-child { border-radius: var(--r-sm) 0 0 var(--r-sm); }
.compare-table th:last-child { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.compare-table th.col-us { text-align: center; background: var(--accent); color: var(--on-accent); }
.compare-table th.col-them { text-align: center; color: var(--ink-2); }
.compare-table tbody tr { border-bottom: 1px solid var(--border-2); }
.compare-table td { padding: 18px 20px; vertical-align: top; }
.compare-table td.row-label { font-weight: 600; }
.compare-table .row-sub { display: block; font-size: 11.5px; color: var(--ink-2); font-weight: 400; margin-top: 3px; }
.compare-table td.col-us { text-align: center; font-family: var(--mono); font-weight: 700; color: var(--green); background: var(--green-bg); }
.compare-table td.col-them { text-align: center; font-family: var(--mono); color: var(--ink-3); }
.compare-table td.col-them--bad { color: var(--red); }
.compare-callout {
  margin-top: 8px; padding: 24px 28px; border-radius: 14px; background: var(--dark); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.compare-callout-left { display: flex; align-items: center; gap: 20px; }
.compare-callout-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.compare-callout-icon .icon { font-size: 26px; }
.compare-callout-title { font-size: 18px; font-weight: 700; }
.compare-callout-text { font-size: 13.5px; color: #9BA1AB; margin-top: 4px; }
.compare-note { font-size: 12px; color: var(--ink-3); text-align: center; }

/* TOTUL INCLUS */
.ti { padding: 88px 0; display: flex; flex-direction: column; gap: 40px; }
.ti-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ti-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px;
  display: flex; flex-direction: column; gap: 12px; transition: box-shadow .2s, border-color .2s;
}
.ti-card:hover { box-shadow: var(--shadow-card); border-color: #c6c6cd; }
.ti-icon { width: 48px; height: 48px; border-radius: var(--r-md); background: var(--green-tint); display: flex; align-items: center; justify-content: center; }
.ti-icon .icon { font-size: 26px; color: var(--green); }
.ti-title { font-size: 16px; font-weight: 700; }
.ti-text { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
/* CALCULATOR */
.calc { background: var(--bg-alt); padding: 88px 0; }
.calc-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
.calc-left { display: flex; flex-direction: column; gap: 16px; }
.calc-left h2 { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.calc-left .calc-sub { font-size: 15px; color: var(--ink-2); line-height: 1.6; }
.calc-bonus { background: var(--surface); border-radius: 14px; padding: 18px; display: flex; gap: 14px; align-items: flex-start; }
.calc-bonus .icon { font-size: 24px; color: var(--green); flex-shrink: 0; }
.calc-bonus-title { font-size: 14px; font-weight: 600; }
.calc-bonus-text { font-size: 13px; color: var(--ink-2); margin-top: 4px; line-height: 1.5; }
.calc-right { background: var(--surface); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-card); }
.calc-right-inner { display: flex; flex-direction: column; gap: 22px; }
.calc-field-label { font-size: 13px; font-weight: 600; color: var(--ink-2); display: block; margin-bottom: 8px; }
.calc-models { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.calc-model {
  text-align: left; padding: 14px; border-radius: var(--r-md); border: 2px solid transparent; cursor: pointer;
  background: var(--bg-alt); color: var(--on-surface); transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.calc-model-name { font-size: 15px; font-weight: 700; display: block; }
.calc-model-price { font-size: 11.5px; color: var(--ink-2); margin-top: 2px; display: block; }
.calc-model[aria-pressed="true"] { background: var(--dark); color: #fff; }
.calc-model[aria-pressed="true"] .calc-model-price { color: var(--mint); }
.calc-hours-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.calc-hours-label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.calc-hours-display { font-size: 16px; font-weight: 700; color: var(--green); }
.calc-slider { width: 100%; height: 6px; }
.calc-marks { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-3); font-family: var(--mono); margin-top: 4px; }
.calc-rows { background: var(--bg); border-radius: var(--r-md); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.calc-row { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--ink-2); gap: 12px; }
.calc-row-value { font-family: var(--mono); font-weight: 600; color: var(--on-surface); white-space: nowrap; }
.calc-net { margin-top: 6px; padding: 14px; background: var(--surface); border-radius: 10px; display: flex; justify-content: space-between; align-items: center; box-shadow: var(--shadow-sm); gap: 12px; }
.calc-net-title { font-size: 11px; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: 0.04em; display: block; }
.calc-net-sub { font-size: 11.5px; color: var(--ink-3); display: block; }
.calc-net-value { font-family: var(--mono); font-size: 24px; font-weight: 700; color: var(--green); display: block; text-align: right; }
.calc-net-unit { font-size: 11px; color: var(--ink-3); display: block; text-align: right; }
.calc-cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.calc-cta { flex: 1; background: var(--accent); color: var(--on-accent); text-align: center; font-size: 14px; font-weight: 600; padding: 14px; border-radius: 10px; }
/* ONBOARDING */
.onb { padding: 88px 0; display: flex; flex-direction: column; gap: 40px; }
.onb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.onb-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.onb-num { width: 36px; height: 36px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.onb-num--green { background: var(--accent); color: var(--on-accent); }
.onb-num--dark { background: var(--dark); }
.onb-title { font-size: 16px; font-weight: 700; }
.onb-text { font-size: 13.5px; color: var(--ink-2); }
.onb-items { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; margin-top: 4px; }
.onb-item { display: flex; gap: 8px; align-items: flex-start; }
.onb-item .icon { font-size: 18px; color: var(--green); flex-shrink: 0; }
.onb-foot { margin-top: auto; padding-top: 10px; background: var(--bg); border-radius: var(--r-sm); padding: 10px; text-align: center; font-size: 12px; color: var(--ink-2); }
.onb-foot--highlight { background: var(--green-tint); color: var(--green); font-weight: 600; }

/* LOCATION */
.loc { background: var(--bg-alt); padding: 88px 0; }
.loc-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; }
.loc-left { display: flex; flex-direction: column; gap: 16px; }
.loc-left h2 { font-size: 28px; font-weight: 700; }
.loc-sub { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }
.loc-cards { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.loc-card { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border-radius: var(--r-md); padding: 14px; }
.loc-card .icon { font-size: 22px; color: var(--green); flex-shrink: 0; }
.loc-card-title { font-size: 13.5px; font-weight: 600; }
.loc-card-text { font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }
.loc-area { background: var(--dark); color: #fff; border-radius: var(--r-lg); padding: 40px 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-height: 340px; justify-content: center; }
.loc-area-icon { width: 64px; height: 64px; border-radius: 14px; margin-bottom: 12px; }
.loc-area-label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mint); }
.loc-area-city { font-size: 44px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.loc-area-note { font-size: 14.5px; color: #C6C9D2; line-height: 1.6; max-width: 420px; margin: 4px 0 18px; }
/* REZERVARE / LEAD */
.lead { background: var(--dark); color: #fff; padding: 88px 0; position: relative; overflow: hidden; }
.lead::before {
  content: ""; position: absolute; top: -100px; right: -100px; width: 300px; height: 300px;
  border-radius: 50%; background: var(--green); opacity: 0.12; filter: blur(40px);
}
.lead-box { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.lead-eyebrow { font-size: 12px; font-weight: 700; color: var(--mint); letter-spacing: 0.1em; text-transform: uppercase; }
.lead-title { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; margin-top: 8px; }
.lead-sub { font-size: 15px; color: #9BA1AB; margin-top: 10px; line-height: 1.6; }
.lead-contact { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--r-md); padding: 16px 20px; margin-top: 10px; }
.lead-contact + .lead-contact { margin-top: 12px; }
.lead-contact-left { display: flex; align-items: center; gap: 14px; }
.lead-contact-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lead-contact-icon .icon { font-size: 22px; }
.lead-contact-label { font-size: 11px; color: #9BA1AB; text-transform: uppercase; font-weight: 600; }
.lead-contact-phone { font-size: 16px; font-weight: 700; color: #fff; margin-top: 2px; }
.lead-contact-arrow { font-size: 20px; color: var(--mint); }
.lead-form { background: var(--surface); color: var(--ink); border-radius: var(--r-lg); padding: 32px; }
.lead-form-title { font-size: 18px; font-weight: 700; }
.lead-form-sub { font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.lead-form-body { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.form-input, .form-select {
  width: 100%; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--border);
  font-size: 14px; background: var(--surface); color: var(--ink);
}
.form-input:focus, .form-select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0, 206, 166, 0.25); }
.form-submit { width: 100%; background: var(--accent); color: var(--on-accent); text-align: center; font-size: 14px; font-weight: 600; padding: 14px; border-radius: var(--r-sm); margin-top: 6px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.form-submit .icon { font-size: 18px; }
.form-notice { font-size: 12px; color: var(--ink-3); text-align: center; margin-top: 10px; }

/* FOOTER */
.footer { background: var(--dark); color: #fff; padding: 64px 0 32px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.footer-logo { display: block; height: 50px; width: auto; margin-bottom: 6px; }
.footer-city { font-size: 13px; color: #9BA1AB; margin-top: 6px; }
.footer-email { font-size: 14px; color: #fff; margin-top: 14px; display: block; }
.footer-phone { font-size: 14px; color: #9BA1AB; margin-top: 4px; }
.footer-col-title { font-size: 13px; font-weight: 600; color: #9BA1AB; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col a { display: block; font-size: 14px; color: #fff; margin-top: 12px; opacity: 0.85; }
.footer-col a:hover { opacity: 1; }
.footer-legal { display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: #9BA1AB; margin-top: 12px; }

/* RESPONSIVE */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .lang-switch { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-toggle[aria-expanded="true"] .icon { color: var(--green); }
  .nav-actions { display: none; }
  .nav-actions--mobile-open { display: flex; flex-direction: column; position: absolute; top: 80px; left: 0; right: 0; background: var(--surface); padding: 16px 24px; box-shadow: 0 12px 20px rgba(0,0,0,0.08); gap: 12px; }
  .nav-actions--mobile-open .btn { width: 100%; }

  /* Mobile menu (opened via nav-toggle): nav links + RO/EN switch expand below the bar */
  .nav--open .nav-inner { flex-wrap: wrap; height: auto; padding-bottom: 12px; }
  .nav--open .nav-brand { order: 1; }
  .nav--open .nav-toggle { order: 2; margin-left: auto; }
  .nav--open .nav-links {
    order: 3; display: flex; flex-direction: column; align-items: stretch; width: 100%;
    padding-top: 6px;
  }
  .nav--open .nav-links a { width: 100%; min-height: 48px; display: flex; align-items: center; font-size: 15px; border-bottom: 1px solid var(--border); }
  .nav--open .lang-switch {
    order: 4; display: flex; flex-direction: column; align-items: stretch; width: 100%;
    padding-top: 10px;
  }
  .nav--open .lang-switch a { width: 100%; min-height: 44px; display: inline-flex; align-items: center; padding: 0 4px; font-size: 13px; }

  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-title { font-size: 40px; }
  .hero-media { height: 280px; }
  .hero-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .fleet-grid { grid-template-columns: 1fr; }
  .ti-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc-grid { grid-template-columns: 1fr; gap: 36px; }
  .loc-grid { grid-template-columns: 1fr; gap: 36px; }
  .lead-box { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .section, .fleet, .ti, .onb { padding: 64px 0; }
  .hero, .compare, .calc, .loc, .lead { padding: 56px 0; }
  .container { padding: 0 18px; }
  .hero-title { font-size: 32px; }
  .hero-features { grid-template-columns: 1fr; }
  .card-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ti-grid { grid-template-columns: 1fr; }
  .onb-grid { grid-template-columns: 1fr; }
  .calc-models { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .lead-title { font-size: 28px; }
  .section-head h2 { font-size: 26px; }
  .compare-callout { flex-direction: column; align-items: flex-start; }
  .calc { padding: 56px 0; }
  .calc-right { padding: 22px; }

  /* Comparison table -> stacked cards */
  .compare-table-wrap { overflow: visible; padding: 6px; }
  .compare-table { min-width: 0; }
  .compare-table thead { display: none; }
  .compare-table tbody tr {
    display: block;
    border: 1px solid var(--border-2);
    border-radius: var(--r-md);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--surface);
  }
  .compare-table td { display: block; width: 100%; text-align: left; padding: 12px 16px; }
  .compare-table td.row-label {
    font-weight: 700; font-size: 14px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border-2);
  }
  .compare-table td.col-us,
  .compare-table td.col-them {
    font-family: var(--sans);
    font-weight: 400;
    color: var(--ink);
    background: var(--surface);
  }
  .compare-table td.col-us::before,
  .compare-table td.col-them::before {
    content: attr(data-label) ": ";
    font-family: var(--sans);
    font-size: 11px; font-weight: 700;
    color: var(--ink-2);
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .compare-table td.col-us { color: var(--green); font-weight: 700; }
  .compare-table td.col-them { color: var(--ink-2); }
  .compare-table td.col-them--bad { color: var(--red); }
}


/* ---------- Legal pages (termeni, confidențialitate, GDPR) ---------- */
.footer-legal a { margin-top: 0; }
.legal-page .nav-inner { gap: 12px; }
.legal-page .lang-switch--legal { display: inline-flex; margin-left: auto; }
.legal-back {
  display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600;
  color: var(--ink-2); padding: 8px 10px; border-radius: var(--r-sm); white-space: nowrap;
}
.legal-back .icon { font-size: 18px; }
.legal-back:hover { color: var(--green); background: var(--green-tint); }
.legal { background: var(--bg); padding: 56px 0 80px; }
.legal-inner { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.legal h1 { font-size: 36px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.legal-updated { font-size: 13px; color: var(--ink-3); margin-top: 8px; }
.legal-intro { font-size: 17px; color: var(--ink-2); line-height: 1.65; margin-top: 20px; }
.legal section { margin-top: 36px; }
.legal h2 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.legal p, .legal li { font-size: 15.5px; color: var(--ink-2); line-height: 1.7; }
.legal p + p, .legal p + ul, .legal ul + p { margin-top: 10px; }
.legal ul { padding-left: 20px; list-style: disc; display: flex; flex-direction: column; gap: 8px; }
.legal strong { color: var(--ink); }
.legal-inner a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.legal-ph { background: #FFF3C4; color: #5C4300; padding: 1px 5px; border-radius: 4px; }
.legal-others {
  display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--border); font-size: 14px;
}
.legal-others span { color: var(--ink-3); }
@media (max-width: 600px) {
  .legal { padding: 36px 0 56px; }
  .legal h1 { font-size: 28px; }
  .legal-back span:not(.icon) { display: none; }
}

/* Phones/tablets: night-mode toggle sits next to the menu button (44px tap target), logo stays first */
@media (max-width: 960px) {
  .nav-brand { order: 1; }
  .theme-toggle { order: 2; margin-left: auto; width: 44px; height: 44px; }
  .nav-toggle, .nav--open .nav-toggle { order: 2; margin-left: 0; }
  .legal-page .lang-switch--legal { order: 2; }
  .legal-page .theme-toggle { order: 3; margin-left: 0; }
  .legal-page .legal-back { order: 4; }
}

/* ---------- Tablet / phone polish (2026-10-02) ---------- */
/* Space between every section heading and the cards under it (they were touching or overlapping) */
.section-head { margin-bottom: 40px; }
.fleet-head-row { margin-bottom: 36px; }
.fleet-head-row .section-head { margin-bottom: 0; }
.fleet-more { margin-top: 28px; text-align: center; font-size: 15px; font-weight: 600; }
/* The logo and the night-mode button must never be squeezed (the logo shrank to 0px at 1024px) */
.nav-brand, .theme-toggle { flex-shrink: 0; }

/* Tablet landscape / small laptops: not enough room for links + both buttons, so keep the links only */
@media (min-width: 961px) and (max-width: 1199px) {
  .nav-actions { display: none; }
  .nav-links { gap: 16px; }
}

@media (max-width: 960px) {
  .section-head { margin-bottom: 32px; }
  .fleet-head-row { justify-content: center; }
  .fleet-badge { white-space: normal; }
  /* 3 onboarding steps were cramped in 3 narrow columns: one column, centred */
  .onb-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; width: 100%; }
}

@media (max-width: 640px) {
  .section-head { margin-bottom: 28px; }
  /* Car name and price stacked, so the price stays on one line */
  .card-title-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .card-price { text-align: left; white-space: nowrap; }
  /* Full-width hero buttons */
  .hero-cta .btn { width: 100%; justify-content: center; }
  /* "Totul inclus" cards: icon next to the title, less empty space */
  .ti-grid { gap: 14px; }
  .ti-card { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; row-gap: 10px; align-items: center; padding: 20px; }
  .ti-icon { width: 44px; height: 44px; }
  .ti-text { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  /* Footer links: easier to tap */
  .footer-col a, .footer-email { padding: 10px 0; margin-top: 0; }
  .footer-legal { gap: 0; }
}
@media (min-width: 961px) and (max-width: 1199px) {
  /* 2 narrow card columns: name above price, so the price and the generation line don't wrap */
  .card-title-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .card-price { text-align: left; white-space: nowrap; }
}

/* ---------- Unavailable cars (cars[].available === false in content/site.js) ---------- */
.card--unavailable .card-img { filter: grayscale(1) brightness(.72); }
.card-status {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: var(--surface); color: var(--on-surface); border: 1px solid var(--border);
  font-size: 14px; font-weight: 700; padding: 10px 18px; border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
}
.card-status .icon { font-size: 18px; color: var(--red); }
.card-cta--waitlist { background: transparent; color: var(--on-surface); border: 1.5px solid var(--border-strong, var(--on-surface)); }
.card-cta--waitlist:hover { background: var(--bg-alt); }
