/* =========================================================
   Azur Car — main stylesheet
   ========================================================= */

:root {
  --bg: #06131d;
  --bg-2: #081a27;
  --card: #0b1e2d;
  --card-2: #0e2434;
  --input: #050b10;
  --input-soft: #2c3640;
  --line: rgba(214, 186, 130, .32);
  --line-soft: rgba(255, 255, 255, .1);
  --gold: #d4b77d;
  --gold-2: #c9a96a;
  --gold-btn: #d2b47a;
  --text: #f4f1ea;
  --muted: #a3adb7;
  --muted-2: #7a8793;
  --green: #4fd1a0;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-lg: 20px;
  --container: 1220px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 7vw, 96px) 0; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0 0 clamp(40px, 5vw, 56px); }

/* ---------- Typography ---------- */
.eyebrow {
  font: 500 12px/1.4 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 16px;
}
.eyebrow--center { text-align: center; }
.eyebrow--light { color: rgba(255,255,255,.75); }
.eyebrow__muted { color: var(--muted); }

.title {
  font: 500 clamp(34px, 4.6vw, 60px)/1.02 var(--serif);
  letter-spacing: -.02em;
}
.title em { font-style: normal; color: var(--gold); }
.title--center { text-align: center; }
.title--md { font-size: clamp(28px, 3vw, 38px); }
.title--lg { font-size: clamp(36px, 4.4vw, 54px); letter-spacing: 0; }
.title--xl { font-size: clamp(40px, 5.4vw, 72px); line-height: .95; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 30px;
  border-radius: 999px;
  font: 500 19px/1 var(--serif);
  letter-spacing: .06em;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
.btn--gold { background: var(--gold-btn); color: #13161a; }
.btn--gold:hover { background: #e2c78e; transform: translateY(-1px); }
.btn--outline { border: 1px solid rgba(255,255,255,.35); color: var(--text); }
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 17px; }
.btn--lg { min-height: 56px; font-size: 21px; }
.btn--block { width: 100%; }

.link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gold); font-size: 12px; letter-spacing: .02em;
  transition: gap .3s var(--ease);
}
.link svg { width: 12px; height: 12px; }
.link:hover { gap: 10px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background .35s var(--ease), height .35s var(--ease), box-shadow .35s;
}
/* no backdrop-filter here: it would become the containing block for the fixed mobile nav */
.header.is-scrolled { background: rgba(6,19,29,.95); height: 70px; box-shadow: 0 1px 0 var(--line-soft); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }

.logo { display: inline-flex; align-items: center; gap: 14px; flex-shrink: 0; }
.logo__mark { width: 58px; height: 38px; color: #fff; }
.logo__text { font: 500 17px/1 var(--serif); letter-spacing: .12em; text-transform: uppercase; }

.nav { display: flex; gap: 30px; margin: 0 auto; font-size: 14px; }
.nav a { position: relative; padding: 6px 0; color: rgba(255,255,255,.9); transition: color .25s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav a:hover { color: var(--gold); }
.nav a:hover::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 18px; }
.header__lang { font-size: 12px; letter-spacing: .04em; color: rgba(255,255,255,.85); }

.burger { display: none; width: 44px; height: 44px; position: relative; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(100vh, 900px);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 40px) 0 40px;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background: center 60% / cover no-repeat;
  animation: heroZoom 14s var(--ease) both;
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(4,10,18,.82) 0%, rgba(4,10,18,.45) 45%, rgba(4,10,18,.25) 70%, rgba(4,10,18,.55) 100%),
    linear-gradient(180deg, rgba(4,10,18,.55) 0%, rgba(4,10,18,0) 25%, rgba(4,10,18,0) 65%, var(--bg) 100%);
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 48px; align-items: center; }
.hero__content { max-width: 640px; }

/* Title animation: slow rise from slightly below after page load */
.hero__title {
  font: 500 clamp(52px, 7.2vw, 96px)/.9 var(--serif);
  letter-spacing: -.035em;
  margin-bottom: 30px;
}
.hero__line { display: block; opacity: 0; transform: translateY(42px); filter: blur(4px); }
.hero__line--gold { color: var(--gold); }
.is-loaded .hero__line { animation: riseUp 1.8s var(--ease) forwards; }
.is-loaded .hero__line--gold { animation-delay: .35s; }
@keyframes riseUp { to { opacity: 1; transform: none; filter: none; } }

.hero__lead, .hero__perks, .hero .eyebrow, .search, .hero__bottom { opacity: 0; transform: translateY(16px); }
.is-loaded .hero .eyebrow { animation: fadeUp 1s var(--ease) .1s forwards; }
.is-loaded .hero__lead { animation: fadeUp 1.1s var(--ease) .9s forwards; }
.is-loaded .hero__perks { animation: fadeUp 1.1s var(--ease) 1.1s forwards; }
.is-loaded .search { animation: fadeUp 1.2s var(--ease) .6s forwards; }
.is-loaded .hero__bottom { animation: fadeUp 1s var(--ease) 1.4s forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.hero__lead { font-size: 17px; line-height: 1.5; color: rgba(255,255,255,.86); max-width: 560px; margin-bottom: 26px; }
.hero__perks { display: flex; flex-wrap: wrap; gap: 10px 26px; font: 400 17px/1.3 var(--serif); }
.hero__perks li { display: flex; align-items: center; gap: 10px; }
.hero__perks li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

.hero__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: clamp(40px, 7vw, 90px); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.hero__scroll { display: inline-flex; align-items: center; gap: 14px; }
.hero__scroll i { width: 54px; height: 1px; background: var(--gold); transition: width .3s var(--ease); }
.hero__scroll:hover i { width: 80px; }

/* ---------- Glass card / forms ---------- */
.glass-card {
  background: linear-gradient(180deg, rgba(20,32,44,.72), rgba(12,22,32,.72));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 30px 24px 22px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
}
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.card-head--line { padding-bottom: 22px; margin-bottom: 26px; border-bottom: 1px solid var(--line-soft); }
.card-head__title { font: 500 22px/1.1 var(--serif); }
.card-head__title--lg { font-size: 30px; }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: rgba(255,255,255,.8); white-space: nowrap; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(79,209,160,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(79,209,160,0); } 100% { box-shadow: 0 0 0 0 rgba(79,209,160,0); } }

.field { display: block; margin-bottom: 18px; }
.field__label { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-bottom: 8px; }
.field__input {
  width: 100%; min-height: 50px; padding: 12px 18px;
  background: var(--input); border: 1px solid transparent; border-radius: 9px;
  font-size: 16px; color: #fff;
  transition: border-color .25s, background .25s;
  appearance: none; -webkit-appearance: none;
  color-scheme: dark;
}
select.field__input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23d4b77d' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field__input:focus { outline: none; border-color: var(--gold); }
.field__input--soft { background-color: var(--input-soft); border-color: rgba(255,255,255,.1); font-size: 15px; }
.field__input.is-invalid { border-color: #e07a6a; }
textarea.field__input { resize: vertical; min-height: 90px; line-height: 1.45; }
.field__input::placeholder { color: rgba(255,255,255,.72); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.search .btn { margin-top: 10px; font-size: 22px; }
.search__note { margin-top: 14px; font-size: 12px; text-align: center; color: var(--muted); }

/* ---------- Collection ---------- */
.collection { background: var(--bg); }
.collection .title { margin-bottom: clamp(36px, 5vw, 60px); }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.filter {
  min-height: 42px; padding: 0 18px; border-radius: 999px;
  background: var(--card-2); border: 1px solid transparent;
  font-size: 15px; font-weight: 500; letter-spacing: .04em; color: #dfe5ea;
  transition: background .25s, color .25s, border-color .25s;
}
.filter:hover { border-color: var(--line); }
.filter.is-active { background: #fff; color: #0b1520; }

.cars { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.car {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius);
  overflow: hidden; cursor: pointer;
  transition: transform .45s var(--ease), border-color .3s, box-shadow .45s var(--ease), opacity .4s;
}
.car:hover { transform: translateY(-4px); border-color: var(--line); box-shadow: 0 24px 40px -24px rgba(0,0,0,.7); }
.car.is-active { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 24px 40px -24px rgba(0,0,0,.7); }
.car.is-hidden { display: none; }
.car.is-entering { animation: cardIn .5s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } }

.car__media { position: relative; aspect-ratio: 378 / 190; overflow: hidden; background: #c9c1b5; }
.car__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; transition: transform .8s var(--ease); }
.car:hover .car__media img { transform: scale(1.05); }
.car__tag { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(40,46,52,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: 11px; color: #fff; }
.car__selected { position: absolute; top: 12px; right: 12px; padding: 5px 10px; border-radius: 999px; background: var(--gold); color: #111; font-size: 11px; font-weight: 500; opacity: 0; transform: translateY(-6px); transition: .3s var(--ease); }
.car.is-active .car__selected { opacity: 1; transform: none; }

.car__body { display: flex; flex-direction: column; flex: 1; padding: 22px 18px 18px; }
.car__head { display: flex; justify-content: space-between; gap: 12px; }
.car__name { font: 500 22px/1.1 var(--serif); }
.car__type { font-size: 12px; color: var(--muted); margin-top: 6px; }
.car__price { text-align: right; flex-shrink: 0; }
.car__price strong { display: block; font: 400 22px/1 var(--sans); color: var(--gold); }
.car__price small { font-size: 10px; color: var(--muted); }
.car__meta { display: flex; gap: 14px; flex-wrap: wrap; margin: 18px 0 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.22); font-size: 12px; color: var(--muted); }
.car__meta b { font-weight: 400; color: var(--gold-2); }
.car__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 20px; }
.car__facts dt { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 6px; }
.car__facts dd { font-size: 12px; color: var(--muted); }
.car__actions { display: flex; gap: 8px; margin-top: auto; }
.car__actions .btn--gold { flex: 1; min-height: 42px; font-size: 19px; }
.car__actions .btn--outline { min-height: 42px; padding: 0 14px; font-size: 16px; }

.counter { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 48px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.counter i { width: 48px; height: 1px; background: #fff; }

/* ---------- Detail ---------- */
.detail { padding-top: 24px; }
.detail__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 60px); align-items: start; }
.detail__main > * { transition: opacity .35s var(--ease), transform .35s var(--ease); }
.detail.is-switching .detail__main > *, .detail.is-switching .reservation__car, .detail.is-switching .rate { opacity: 0; transform: translateY(8px); }
.detail__desc { font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.8); margin: 18px 0 28px; max-width: 620px; }
.detail__photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 630 / 440; background: #cfc7ba; }
.detail__photo img { width: 100%; height: 100%; object-fit: cover; }

.specs { margin-top: 40px; padding: 30px 32px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); background: var(--card); }
.specs__title { font: 500 24px/1.1 var(--serif); color: var(--gold); margin-bottom: 26px; }
.specs__list { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.specs__list dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.specs__list dd { font: 500 19px/1.25 var(--serif); }

.reservation { position: sticky; top: 92px; background: rgba(9,22,33,.9); padding: 30px 32px 28px; }
.reservation__car { margin: -10px 0 22px; font-size: 13px; color: var(--muted); transition: opacity .35s, transform .35s; }
.reservation__car strong { color: var(--gold); font-weight: 500; }
.rate { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 10px; font-size: 14px; color: rgba(255,255,255,.85); transition: opacity .35s, transform .35s; }
.rate strong { font: 400 30px/1 var(--sans); color: var(--gold); }
.rate__note { font-size: 12px; color: var(--muted-2); margin: 12px 0 24px; }
.form-msg { margin-top: 14px; font-size: 13px; text-align: center; min-height: 1em; color: var(--green); }
.form-msg.is-error { color: #e9907f; }

/* ---------- Destinations ---------- */
.destinations { padding-top: 0; }
.destinations .title { margin-bottom: clamp(30px, 4vw, 44px); }
.cities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.city {
  position: relative; display: block; aspect-ratio: 356 / 222;
  border-radius: var(--radius); overflow: hidden; text-align: left;
  border: 1px solid rgba(255,255,255,.55);
  isolation: isolate;
}
.city img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.city::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,12,20,0) 45%, rgba(5,12,20,.75) 100%), rgba(10,20,40,.18); transition: background .4s; }
.city span { position: absolute; left: 22px; bottom: 16px; font: 500 26px/1 var(--serif); letter-spacing: .04em; color: #fff; transition: transform .4s var(--ease); }
.city span::after { content: "→"; display: inline-block; margin-left: 10px; font-family: var(--sans); font-size: 16px; opacity: 0; transform: translateX(-6px); transition: .4s var(--ease); vertical-align: middle; }
.city:hover img { transform: scale(1.06); }
.city:hover span::after { opacity: 1; transform: none; }
.city:hover::before { background: linear-gradient(180deg, rgba(5,12,20,0) 35%, rgba(5,12,20,.8) 100%); }
.destinations__note { text-align: center; margin-top: 36px; font-size: 15px; color: rgba(255,255,255,.9); }

/* ---------- Moments / benefits ---------- */
.moments { padding-top: 40px; }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 44px; }
.split-head__text { max-width: 390px; font-size: 15px; color: var(--muted); padding-bottom: 6px; }

.moments__grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; margin-bottom: 46px; }
.moment {
  display: flex; flex-direction: column; min-height: 240px; padding: 22px 22px 30px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--card);
  transition: border-color .3s, transform .4s var(--ease);
}
.moment:hover { border-color: var(--gold); transform: translateY(-3px); }
.moment__top { display: flex; justify-content: space-between; align-items: flex-start; color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.moment__icon { width: 36px; height: 28px; color: var(--gold); }
.moment h3 { font: 500 24px/1.15 var(--serif); margin-bottom: 12px; }
.moment p { font-size: 12px; color: var(--muted); max-width: 200px; margin-bottom: 26px; }
.moment .link { margin-top: auto; }

.benefits { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.benefit { padding: 26px 28px; border: 1px solid var(--line); border-radius: 6px; background: var(--card); }
.benefit h3 { font: 500 23px/1.15 var(--serif); margin-bottom: 14px; }
.benefit p { font-size: 12px; color: var(--muted); max-width: 190px; }

/* ---------- Reviews ---------- */
.reviews { padding-top: 0; }
.reviews__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px; }
.score__num { font: 300 clamp(90px, 11vw, 128px)/.85 var(--sans); letter-spacing: -.04em; margin: 4px 0 16px; }
.score__stars { color: #f2c94c; letter-spacing: 3px; font-size: 14px; margin-bottom: 20px; }
.score__src { font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.score__flag { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding-left: 10px; }
.quote { display: grid; grid-template-columns: 148px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line-soft); }
.quote:first-child { padding-top: 0; }
.quote:last-child { border-bottom: 0; }
.quote__who strong { display: block; font: 500 24px/1.1 var(--serif); }
.quote__who span { font-size: 11px; color: var(--muted-2); }
.quote blockquote { font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.88); }

/* ---------- Journal ---------- */
.journal { padding-top: 0; }
.articles { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 20px; }
.article { position: relative; display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; overflow: hidden; background: var(--card); transition: border-color .3s, transform .4s var(--ease); }
.article:hover { border-color: var(--line); transform: translateY(-3px); }
.article img { width: 100%; aspect-ratio: 322 / 156; object-fit: cover; transition: transform 1s var(--ease); }
.article:hover img { transform: scale(1.04); }
.article__body { padding: 22px 22px 24px; }
.article h3 { font: 500 23px/1.15 var(--serif); margin-bottom: 18px; max-width: 360px; }
.article--feature { justify-content: flex-end; min-height: 280px; isolation: isolate; }
.article--feature img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; z-index: -2; }
.article--feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,12,20,.1) 20%, rgba(5,12,20,.85) 100%); }

/* ---------- CTA ---------- */
.cta { position: relative; isolation: isolate; padding: 40px 0; margin: 40px 0 0; overflow: hidden; }
.cta__bg { position: absolute; inset: 0; z-index: -1; background: center / cover no-repeat; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: rgba(5,12,20,.25); }
.cta__box {
  display: flex; justify-content: space-between; align-items: center; gap: 30px;
  padding: clamp(28px, 4vw, 42px) clamp(22px, 4vw, 46px);
  border: 1px solid rgba(255,255,255,.18); border-radius: 10px;
  background: rgba(30,40,52,.45);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.cta .title { line-height: 1; }
.cta__text { margin-top: 22px; font-size: 16px; color: rgba(255,255,255,.88); }
.cta__actions { display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; }
.cta__actions .btn { min-width: 220px; }

/* ---------- Footer ---------- */
.footer { padding: 60px 0 40px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 70px; }
.footer__brand p { margin-top: 16px; font-size: 13px; color: var(--muted); max-width: 340px; }
.footer__brand .logo__mark { width: 50px; height: 33px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 13px; }
.footer__col h4 { font: 500 14px/1.2 var(--serif); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.footer__col a { transition: color .25s; }
.footer__col a:hover { color: var(--gold); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; font-size: 12px; }
.footer__lang { color: var(--gold); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; visibility: hidden; pointer-events: none; }
.modal.is-open { visibility: visible; pointer-events: auto; }
.modal__overlay { position: absolute; inset: 0; background: rgba(2,7,12,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s var(--ease); }
.modal.is-open .modal__overlay { opacity: 1; }
.modal__dialog {
  position: relative; width: min(880px, 100%); max-height: calc(100vh - 40px); overflow: auto;
  display: grid; grid-template-columns: 1fr 1.1fr;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8);
  opacity: 0; transform: translateY(24px) scale(.98);
  transition: opacity .4s var(--ease), transform .45s var(--ease);
}
.modal.is-open .modal__dialog { opacity: 1; transform: none; }
.modal__media { min-height: 100%; background: #111; }
.modal__media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.modal__body { padding: 40px 36px 36px; display: flex; flex-direction: column; }
.modal__body .title { margin-bottom: 16px; }
.modal__text { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.82); margin-bottom: 24px; }
.modal__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); margin-bottom: 28px; }
.modal__facts:empty { display: none; }
.modal__facts dt { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.modal__facts dd { font: 500 18px/1.2 var(--serif); }
.modal__body .btn { align-self: flex-start; margin-top: auto; }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(6,19,29,.7); border: 1px solid rgba(255,255,255,.2); transition: border-color .25s, transform .3s var(--ease); }
.modal__close svg { width: 18px; height: 18px; }
.modal__close:hover { border-color: var(--gold); transform: rotate(90deg); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .nav { gap: 22px; }
  .header__lang { display: none; }
  .hero__inner { grid-template-columns: minmax(0,1fr) 400px; gap: 32px; }
  .moments__grid, .benefits { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 992px) {
  :root { --header-h: 72px; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw); z-index: -1;
    flex-direction: column; gap: 0; margin: 0; padding: 100px 32px 32px;
    background: rgba(6,19,29,.97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-left: 1px solid var(--line-soft);
    font: 500 26px/1 var(--serif);
    transform: translateX(100%); transition: transform .45s var(--ease);
  }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
  .nav a::after { display: none; }
  .nav.is-open { transform: none; }
  .header__actions { margin-left: auto; }

  .hero { min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__content { max-width: 720px; }
  .search { max-width: 520px; }

  .cars { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .detail__grid { grid-template-columns: 1fr; }
  .reservation { position: static; }
  .cities { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
  .reviews__grid { grid-template-columns: 1fr; }
  .articles { grid-template-columns: 1fr 1fr; }
  .article--feature { grid-column: 1 / -1; }
  .cta__box { flex-direction: column; align-items: flex-start; }
  .cta__actions { flex-direction: row; flex-wrap: wrap; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 14px; }
  .header .btn--sm { display: none; }
  .logo__mark { width: 48px; height: 32px; }
  .hero { padding-top: calc(var(--header-h) + 28px); }
  .hero__lead { font-size: 16px; }
  .hero__perks { flex-direction: column; gap: 8px; }
  .hero__bottom { flex-direction: column; align-items: flex-start; gap: 14px; letter-spacing: .1em; }

  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 22px; padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex-shrink: 0; }
  .cars { grid-template-columns: 1fr; }
  .counter { justify-content: flex-start; margin-top: 32px; }

  .specs { padding: 24px 22px; }
  .specs__list { grid-template-columns: 1fr 1fr; }
  .reservation { padding: 24px 20px; }

  .split-head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 30px; }
  .moments__grid, .benefits { grid-template-columns: 1fr; gap: 14px; }
  .moment { min-height: 0; }

  .quote { grid-template-columns: 1fr; gap: 10px; }
  .quote blockquote { font-size: 16px; }

  .articles { grid-template-columns: 1fr; }
  .cta__actions { flex-direction: column; width: 100%; }
  .cta__actions .btn { width: 100%; min-width: 0; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 40px; }
  .footer__bottom { flex-direction: column; }

  .modal { padding: 0; align-items: end; }
  .modal__dialog { grid-template-columns: 1fr; border-radius: 20px 20px 0 0; max-height: 92vh; transform: translateY(40px); }
  .modal__media img { min-height: 0; height: 220px; }
  .modal__body { padding: 26px 22px 28px; }
  .modal__body .btn { align-self: stretch; }
}

@media (max-width: 480px) {
  .cities { grid-template-columns: 1fr; }
  .city span { font-size: 24px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .search .field-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .search { padding: 24px 18px 18px; }
  .card-head { flex-wrap: wrap; }
  .car__name { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .hero__line, .hero__lead, .hero__perks, .hero .eyebrow, .search, .hero__bottom, .reveal { opacity: 1; transform: none; filter: none; }
}
