/* Riviera Rides — black, signal yellow, road stripes */
:root {
  --black: #0D0D0D; --asphalt: #1A1A1A; --grey: #2B2B2B; --yellow: #FFD400; --white: #FAFAF7; --mute: #9A9A93; --line: rgba(250,250,247,.12);
  --display: "Sora", system-ui, sans-serif; --sans: "Instrument Sans", system-ui, sans-serif;
  --wa-bg: #25D366;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--black); color: var(--white); font: 400 17px/1.6 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: .95; letter-spacing: -.045em; margin: 0; }
em { font-style: normal; color: var(--yellow); }
p { margin: 0 0 1em; }
.wrap { width: min(1260px, 100% - 40px); margin-inline: auto; }
.h2 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); margin-bottom: .45em; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 18px 28px; border-radius: 14px; font: 700 16px/1 var(--display); letter-spacing: -.01em; text-decoration: none; border: 0; cursor: pointer; transition: transform .3s var(--ease-out), background .3s, color .3s; }
.btn:hover { transform: translateY(-3px); }
.btn svg { width: 19px; height: 19px; }
.btn--yellow { background: var(--yellow); color: var(--black); }
.btn--yellow:hover { background: #fff; }
.btn--ghost { background: var(--grey); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--black); }
.btn--sm { padding: 12px 18px; font-size: 14px; border-radius: 10px; }
.btn--full { width: 100%; }

/* header */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: 78px; padding: 0 clamp(16px, 3vw, 40px); display: flex; align-items: center; gap: 28px; transition: background .4s; }
.hdr.is-scrolled { background: rgba(13,13,13,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 6px; text-decoration: none; font: 800 21px/1 var(--display); letter-spacing: -.04em; }
.brand b { background: var(--yellow); color: var(--black); padding: 5px 8px; border-radius: 6px; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: #D8D8D2; }
.nav a:hover { color: var(--yellow); }
.nav__m { display: none; }
.hdr__r { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; background: var(--grey); border-radius: 10px; padding: 3px; }
.lang button { border: 0; background: none; color: var(--mute); font: 700 12px/1 var(--display); padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--yellow); color: var(--black); }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 0; background: var(--yellow); position: relative; cursor: pointer; }
.burger i { position: absolute; left: 13px; right: 13px; height: 2.5px; background: var(--black); transition: transform .3s; }
.burger i:first-child { top: 18px; } .burger i:last-child { top: 26px; }
.nav-open .burger i:first-child { transform: translateY(4px) rotate(45deg); } .nav-open .burger i:last-child { transform: translateY(-4px) rotate(-45deg); }

/* hero */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 110px clamp(20px, 4vw, 60px) 110px; max-width: 1500px; margin: 0 auto; }
.tag { display: inline-block; font: 700 13px/1 var(--display); letter-spacing: .02em; padding: 9px 12px; border-radius: 8px; background: var(--grey); color: var(--yellow); margin-bottom: 24px; }
.hero h1 { font-size: clamp(3.4rem, 8.4vw, 8rem); line-height: .88; }
.hero h1 em { display: block; }
.hero__lead { max-width: 44ch; color: #CFCFC8; font-size: clamp(1.05rem, 1.5vw, 1.22rem); margin: 26px 0 30px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__prices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; align-items: stretch; }
.hero__prices div { padding: 12px 16px; border-radius: 12px; background: var(--asphalt); box-shadow: inset 0 0 0 1px var(--line); display: grid; min-width: 96px; }
.hero__prices span { font-size: 13px; color: var(--mute); }
.hero__prices b { font: 800 28px/1 var(--display); color: var(--yellow); letter-spacing: -.04em; }
.hero__prices p { width: 100%; margin: 2px 0 0; font-size: 13px; color: var(--mute); order: -1; }
.hero__img { position: relative; height: min(78vh, 720px); border-radius: 30px; overflow: hidden; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__chip { position: absolute; left: 20px; top: 20px; padding: 10px 14px; border-radius: 10px; background: var(--yellow); color: var(--black); font: 700 14px/1 var(--display); }
.road { position: absolute; left: 0; right: 0; bottom: 30px; height: 10px; background: repeating-linear-gradient(90deg, var(--yellow) 0 60px, transparent 60px 110px); animation: road 1.6s linear infinite; opacity: .9; }
@keyframes road { to { background-position: -110px 0; } }

/* fleet */
.fleet { padding: clamp(90px, 12vw, 150px) 0; background: var(--white); color: var(--black); border-radius: 40px 40px 0 0; }
.fleet em { color: var(--black); background: var(--yellow); padding: 0 .12em; border-radius: 8px; }
.fleet__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.chips button { border: 0; background: #EDEDE6; color: var(--black); font: 700 14px/1 var(--display); padding: 12px 16px; border-radius: 10px; cursor: pointer; transition: background .2s; }
.chips button.is-on { background: var(--black); color: var(--yellow); }
.fleet__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.v { border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px rgba(13,13,13,.08); overflow: hidden; display: flex; flex-direction: column; transition: translate .2s ease-out, box-shadow .5s; }
.v:hover { translate: 0 -6px; box-shadow: 0 30px 50px -30px rgba(13,13,13,.45); }
.v__img { aspect-ratio: 4/3; overflow: hidden; background: #EDEDE6; }
.v__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.v:hover .v__img img { transform: scale(1.07); }
.v__body { padding: 20px 20px 18px; display: flex; flex-direction: column; flex: 1; }
.v__type { font: 700 12px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; color: #77776F; margin-bottom: 8px; }
.v h3 { font-size: 26px; margin-bottom: 14px; }
.v__spec { list-style: none; padding: 0; margin: 0 0 18px; display: flex; gap: 6px; flex-wrap: wrap; }
.v__spec li { font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 8px; background: #F1F1EB; }
.v__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.v__foot p { margin: 0; }
.v__foot b { font: 800 34px/1 var(--display); letter-spacing: -.05em; }
.v__foot span { font-size: 14px; color: #77776F; }
.v--tour { background: var(--black); color: var(--white); }
.v--tour .v__spec li { background: var(--grey); }
.v--tour .v__foot span, .v--tour .v__type { color: var(--mute); }

/* price calculator */
.price { background: var(--yellow); color: var(--black); padding: clamp(80px, 10vw, 130px) 0; }
.price em { color: var(--black); text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .1em; }
.price__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.calc { background: var(--black); color: var(--white); border-radius: 30px; padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 18px; }
.days { display: flex; align-items: center; gap: 12px; }
.days button { width: 48px; height: 48px; border-radius: 12px; border: 0; background: var(--grey); color: var(--white); font: 700 22px/1 var(--display); cursor: pointer; }
.days button:hover { background: var(--yellow); color: var(--black); }
.days output { font: 800 34px/1 var(--display); min-width: 50px; text-align: center; }
.calc__out { display: grid; padding: 20px; border-radius: 18px; background: var(--asphalt); }
.calc__out span { font-size: 14px; color: var(--mute); }
.calc__out b { font: 800 clamp(48px, 6vw, 72px)/1 var(--display); color: var(--yellow); letter-spacing: -.05em; }
.calc__out small { color: var(--mute); font-size: 14px; }

/* delivery */
.delivery { padding: clamp(90px, 12vw, 150px) 0; }
.del__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.del { padding: 26px 22px; border-radius: 22px; background: var(--asphalt); box-shadow: inset 0 0 0 1px var(--line); }
.del b { font: 800 40px/1 var(--display); color: var(--yellow); letter-spacing: -.04em; }
.del h3 { font-size: 22px; margin: 14px 0 8px; }
.del p { margin: 0; color: var(--mute); font-size: 15px; }
.del__imgs { display: grid; grid-template-columns: 1fr 1.4fr; gap: 14px; margin-top: 14px; }
.del__imgs img { width: 100%; height: 340px; object-fit: cover; border-radius: 22px; }

/* rules */
.rules { padding: 0 0 clamp(90px, 12vw, 150px); }
.rules__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; }
.rules__list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.rules__list li { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.rules__list b { font: 700 15px/1.4 var(--display); color: var(--yellow); }
.rules__list span { color: #CFCFC8; }

/* book */
.book { padding: clamp(90px, 12vw, 150px) 0; background: var(--asphalt); position: relative; overflow: hidden; }
.book::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: repeating-linear-gradient(90deg, var(--yellow) 0 60px, var(--black) 60px 110px); }
.book__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.book p { color: #CFCFC8; }
.form { background: var(--white); color: var(--black); border-radius: 30px; padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; font: 700 13px/1 var(--display); }
.field input, .field select { font: 500 16px/1.3 var(--sans); padding: 14px; border: 2px solid #E3E3DC; border-radius: 12px; background: #fff; color: var(--black); width: 100%; }
.calc .field select { background: var(--grey); color: var(--white); border-color: var(--grey); }
.field input:focus, .field select:focus { outline: none; border-color: var(--black); }
.check { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.check input { width: 20px; height: 20px; accent-color: var(--yellow); }
.form .btn--yellow { background: var(--black); color: var(--yellow); }

/* footer */
.ftr { padding: 60px 0 120px; }
.ftr__in { display: grid; gap: 10px; }
.brand--big { font-size: clamp(44px, 9vw, 110px); }
.brand--big b { border-radius: 14px; padding: .06em .16em; }
.ftr p { margin: 0; color: var(--mute); }
.ftr__small { font-size: 13px; } .ftr__small a { color: var(--yellow); }

@media (max-width: 1000px) {
  .fleet__grid { grid-template-columns: 1fr 1fr; }
  .del__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav { position: fixed; inset: 0; z-index: -1; background: var(--black); flex-direction: column; justify-content: center; padding: 0 30px; gap: 12px; opacity: 0; pointer-events: none; transition: opacity .3s; margin: 0; }
  .nav a { font: 800 44px/1.1 var(--display); letter-spacing: -.04em; color: var(--white); }
  .nav__m { display: block; color: var(--yellow) !important; }
  .nav-open .nav { opacity: 1; pointer-events: auto; }
  .burger { display: block; } .hdr__cta { display: none; }
  .hero, .price__grid, .rules__grid, .book__grid { grid-template-columns: 1fr; }
  .hero__img { height: 440px; }
}
@media (max-width: 560px) {
  .hdr { height: 68px; }
  .brand { font-size: 18px; }
  .fleet__grid, .del__grid, .del__imgs { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .rules__list li { grid-template-columns: 1fr; gap: 4px; }
  .hero__ctas .btn { flex: 1; }
  .fleet { border-radius: 26px 26px 0 0; }
}
