:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;

  --bg: #fdf7ec;
  --bg-alt: #f5e9d7;
  --bg-deep: #efe0c9;
  --surface: #ffffff;
  --surface-2: #fffaf2;
  --text: #14313b;
  --text-soft: #5b7482;
  --text-faint: #8ba0ab;
  --brand: #0e9aa7;
  --brand-strong: #0a7a85;
  --brand-soft: #d5f1f3;
  --accent: #e8743b;
  --accent-soft: #fbe3d7;
  --sun: #f0a818;
  --border: rgba(20, 49, 59, 0.13);
  --border-strong: rgba(20, 49, 59, 0.22);
  --shadow-sm: 0 1px 2px rgba(20, 49, 59, 0.06), 0 2px 8px rgba(20, 49, 59, 0.05);
  --shadow-md: 0 4px 12px rgba(20, 49, 59, 0.08), 0 14px 34px rgba(20, 49, 59, 0.09);
  --shadow-lg: 0 10px 24px rgba(20, 49, 59, 0.1), 0 30px 70px rgba(20, 49, 59, 0.14);
  --ring: 0 0 0 3px rgba(14, 154, 167, 0.35);
  --header-bg: rgba(253, 247, 236, 0.82);
  --scrim: linear-gradient(180deg, rgba(8, 32, 40, 0.55) 0%, rgba(8, 32, 40, 0.2) 35%, rgba(8, 32, 40, 0.75) 100%);
  --hero-img: url("../img/villa-aerea.webp");
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 34px;
  --maxw: 1180px;
  --gut: clamp(18px, 5vw, 56px);
  --sect: clamp(64px, 10vw, 132px);
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #04070e;
  --bg-alt: #070d18;
  --bg-deep: #0a1322;
  --surface: #0b1220;
  --surface-2: #0e1828;
  --text: #e6f3fa;
  --text-soft: #94adbe;
  --text-faint: #63809a;
  --brand: #22e3ff;
  --brand-strong: #6febff;
  --brand-soft: rgba(34, 227, 255, 0.14);
  --accent: #ffb347;
  --accent-soft: rgba(255, 179, 71, 0.16);
  --sun: #ffd166;
  --border: rgba(34, 227, 255, 0.16);
  --border-strong: rgba(34, 227, 255, 0.32);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 60px rgba(34, 227, 255, 0.07);
  --ring: 0 0 0 3px rgba(34, 227, 255, 0.45);
  --header-bg: rgba(5, 9, 17, 0.78);
  --scrim: linear-gradient(180deg, rgba(2, 5, 11, 0.6) 0%, rgba(2, 5, 11, 0.28) 32%, rgba(2, 5, 11, 0.92) 100%);
  --hero-img: url("../img/piscina-noche.webp");
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color 0.45s ease, color 0.45s ease;
}

body.is-locked {
  overflow: hidden;
}

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

[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.022em;
  font-weight: 700;
}

p {
  margin: 0;
}

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 999;
  background: var(--brand);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}

.skip:focus {
  top: 0;
}

.wrap {
  width: min(100% - var(--gut) * 2, var(--maxw));
  margin-inline: auto;
}

.section {
  padding-block: var(--sect);
  position: relative;
}

.section--alt {
  background: var(--bg-alt);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--brand-strong);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

[data-theme="dark"] .eyebrow {
  color: var(--brand);
  text-shadow: 0 0 14px rgba(34, 227, 255, 0.5);
}

.h2 {
  font-size: clamp(1.9rem, 4.6vw, 3.25rem);
}

.h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--brand-strong);
  letter-spacing: -0.01em;
}

[data-theme="dark"] .h2 em {
  color: var(--brand);
  text-shadow: 0 0 26px rgba(34, 227, 255, 0.45);
}

.lede {
  color: var(--text-soft);
  font-size: clamp(1rem, 1.8vw, 1.13rem);
  max-width: 62ch;
  margin-top: 20px;
}

.sect-head {
  margin-bottom: clamp(36px, 6vw, 64px);
}

.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 650;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.22s ease, background-color 0.22s ease, color 0.22s ease;
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

[data-theme="dark"] .btn--primary {
  --btn-bg: var(--brand);
  --btn-fg: #04121a;
  box-shadow: 0 0 0 1px rgba(34, 227, 255, 0.5), 0 0 28px rgba(34, 227, 255, 0.35);
}

[data-theme="dark"] .btn--primary:hover {
  box-shadow: 0 0 0 1px rgba(34, 227, 255, 0.7), 0 0 46px rgba(34, 227, 255, 0.55);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border-color: var(--border-strong);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand-strong);
}

[data-theme="dark"] .btn--ghost:hover {
  color: var(--brand);
}

.btn--light {
  --btn-bg: rgba(255, 255, 255, 0.13);
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(10px);
}

.btn--light:hover {
  --btn-bg: rgba(255, 255, 255, 0.24);
}

.btn--wa {
  --btn-bg: #25d366;
  --btn-fg: #06301a;
}

.btn--block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.55;
  pointer-events: none;
}

.neon-frame {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}

[data-theme="dark"] .neon-frame {
  opacity: 1;
}

[data-theme="dark"] .neon-frame {
  background:
    radial-gradient(58% 42% at 0% 0%, rgba(34, 227, 255, 0.14), transparent 70%),
    radial-gradient(52% 40% at 100% 100%, rgba(255, 122, 200, 0.1), transparent 72%),
    radial-gradient(46% 34% at 100% 0%, rgba(255, 179, 71, 0.08), transparent 70%);
}

.neon-frame::before,
.neon-frame::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(34, 227, 255, 0.3);
  box-shadow: inset 0 0 24px rgba(34, 227, 255, 0.14), 0 0 18px rgba(34, 227, 255, 0.1),
    inset 0 0 90px rgba(9, 41, 66, 0.35);
}

.neon-frame::after {
  border-color: rgba(34, 227, 255, 0.62);
  box-shadow: inset 0 0 44px rgba(34, 227, 255, 0.3), 0 0 40px rgba(34, 227, 255, 0.24),
    inset 0 0 120px rgba(9, 41, 66, 0.45);
  opacity: 0;
  will-change: opacity;
  animation: neonPulse 5.5s ease-in-out infinite;
}

@keyframes neonPulse {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-block: 16px;
  transition: padding 0.3s ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: var(--header-bg);
  backdrop-filter: blur(16px) saturate(1.5);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: opacity 0.35s ease;
}

.site-header.is-stuck {
  padding-block: 10px;
}

.site-header.is-stuck::before {
  opacity: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 750;
  letter-spacing: -0.025em;
  color: #fff;
  transition: color 0.35s;
  flex-shrink: 0;
}

.site-header.is-stuck .brand {
  color: var(--text);
}

.brand__logo {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  background: #122a5c;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3), 0 2px 10px rgba(0, 0, 0, 0.25);
}

.site-header.is-stuck .brand__logo {
  box-shadow: 0 0 0 1px var(--border-strong), var(--shadow-sm);
}

[data-theme="dark"] .brand__logo {
  box-shadow: 0 0 0 1px rgba(34, 227, 255, 0.45), 0 0 22px rgba(34, 227, 255, 0.35);
}

.foot-brand__logo {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  background: #122a5c;
  box-shadow: 0 0 0 1px var(--border-strong);
}

[data-theme="dark"] .foot-brand__logo {
  box-shadow: 0 0 0 1px rgba(34, 227, 255, 0.35), 0 0 18px rgba(34, 227, 255, 0.22);
}

.brand__txt {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand__txt b {
  font-size: 0.98rem;
}

.brand__txt span {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.72;
  font-weight: 600;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav__links a {
  padding: 9px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 550;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.9);
  transition: background-color 0.2s, color 0.35s;
}

@media (min-width: 761px) and (max-width: 900px) {
  .nav {
    gap: 10px;
  }

  .nav__links a {
    padding: 9px 9px;
    font-size: 0.84rem;
  }

  .nav__cta {
    padding: 10px 15px;
    font-size: 0.83rem;
  }

  .brand__txt span {
    display: none;
  }
}

.site-header.is-stuck .nav__links a {
  color: var(--text-soft);
}

.nav__links a:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.site-header.is-stuck .nav__links a:hover {
  background: var(--brand-soft);
  color: var(--brand-strong);
}

[data-theme="dark"] .site-header.is-stuck .nav__links a:hover {
  color: var(--brand);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background-color 0.2s, transform 0.2s, border-color 0.35s, color 0.35s;
}

.site-header.is-stuck .icon-btn {
  border-color: var(--border-strong);
  background: transparent;
  color: var(--text);
}

.icon-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.24);
}

.site-header.is-stuck .icon-btn:hover {
  background: var(--brand-soft);
  color: var(--brand-strong);
}

[data-theme="dark"] .site-header.is-stuck .icon-btn:hover {
  color: var(--brand);
}

.icon-btn svg {
  width: 19px;
  height: 19px;
}

.theme-toggle .i-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .i-sun {
  display: block;
}

[data-theme="dark"] .theme-toggle .i-moon {
  display: none;
}

.nav__cta {
  padding: 11px 20px;
  font-size: 0.88rem;
}

.burger {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding-block: 140px clamp(48px, 8vw, 88px);
  isolation: isolate;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  will-change: transform;
  animation: heroDrift 26s ease-in-out infinite alternate;
  transition: background-image 0.5s ease;
}

@keyframes heroDrift {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.14) translate3d(-1.5%, -1.5%, 0);
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--scrim);
}

.hero__inner {
  color: #fff;
  max-width: 900px;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 26px;
}

.hero__tag svg {
  width: 15px;
  height: 15px;
  color: var(--sun);
}

[data-theme="dark"] .hero__tag {
  border-color: rgba(34, 227, 255, 0.45);
  box-shadow: 0 0 24px rgba(34, 227, 255, 0.22);
}

.hero h1 {
  font-size: clamp(2.6rem, 8.2vw, 5.4rem);
  line-height: 0.98;
  text-shadow: 0 2px 34px rgba(0, 0, 0, 0.45);
}

.hero h1 em {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--sun);
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.55);
}

[data-theme="dark"] .hero h1 em {
  color: var(--brand);
  text-shadow: 0 0 44px rgba(34, 227, 255, 0.6), 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero__sub {
  margin-top: 24px;
  font-size: clamp(1rem, 2.1vw, 1.22rem);
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.5);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 5vw, 52px);
  margin-top: clamp(40px, 7vw, 68px);
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero__stats div b {
  display: block;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

[data-theme="dark"] .hero__stats div b {
  color: var(--brand);
  text-shadow: 0 0 24px rgba(34, 227, 255, 0.45);
}

.hero__stats div span {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
  z-index: 2;
}

.scroll-cue span {
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: #fff;
  animation: cue 1.9s ease-in-out infinite;
}

@keyframes cue {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(16px);
  }
}

.carousel {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
}

[data-theme="dark"] .carousel {
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(34, 227, 255, 0.22), 0 0 70px rgba(34, 227, 255, 0.12);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.9s;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.slide.is-active img {
  will-change: transform;
  animation: kenburns 8s ease-out forwards;
}

@keyframes kenburns {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.12);
  }
}

.slide__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, transparent 42%, rgba(0, 0, 0, 0.78) 100%);
}

.slide__cap {
  position: absolute;
  left: clamp(20px, 4vw, 46px);
  bottom: clamp(62px, 9vw, 82px);
  right: clamp(20px, 4vw, 46px);
  color: #fff;
  transform: translateY(14px);
  opacity: 0;
  transition: opacity 0.6s 0.25s ease, transform 0.6s 0.25s ease;
}

.slide.is-active .slide__cap {
  opacity: 1;
  transform: translateY(0);
}

.slide__cap b {
  display: block;
  font-size: clamp(1.15rem, 2.7vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.slide__cap span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
}

.car-ui {
  position: absolute;
  left: clamp(20px, 4vw, 46px);
  right: clamp(20px, 4vw, 46px);
  bottom: clamp(18px, 3vw, 28px);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 3;
}

.car-count {
  font-variant-numeric: tabular-nums;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  color: #fff;
  flex-shrink: 0;
}

.car-count i {
  font-style: normal;
  opacity: 0.55;
}

.car-dots {
  display: flex;
  gap: 7px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.car-dots button {
  flex: 1;
  max-width: 46px;
  height: 3px;
  padding: 0;
  border: none;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background-color 0.25s;
}

.car-dots button:hover {
  background: rgba(255, 255, 255, 0.6);
}

.car-dots button[aria-current="true"] {
  background: rgba(255, 255, 255, 0.35);
}

.car-dots button[aria-current="true"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform-origin: left;
  animation: dotFill var(--dur, 6s) linear forwards;
}

.car-dots.is-paused button[aria-current="true"]::after {
  animation-play-state: paused;
}

@keyframes dotFill {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.car-nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.car-nav button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background-color 0.2s, transform 0.2s;
}

.car-nav button:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: scale(1.06);
}

.car-nav svg {
  width: 17px;
  height: 17px;
}

.car-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scroll-snap-type: x mandatory;
}

.car-thumbs::-webkit-scrollbar {
  height: 5px;
}

.car-thumbs::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 99px;
}

.car-thumbs button {
  contain: content;
  flex: 0 0 auto;
  width: 104px;
  aspect-ratio: 16 / 10;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 11px;
  overflow: hidden;
  cursor: pointer;
  background: none;
  opacity: 0.5;
  scroll-snap-align: start;
  transition: opacity 0.25s, border-color 0.25s, transform 0.2s;
}

.car-thumbs button:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.car-thumbs button[aria-current="true"] {
  opacity: 1;
  border-color: var(--brand);
}

[data-theme="dark"] .car-thumbs button[aria-current="true"] {
  box-shadow: 0 0 18px rgba(34, 227, 255, 0.45);
}

.car-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour {
  margin-top: clamp(34px, 5vw, 58px);
}

.tour__head {
  margin-bottom: 18px;
}

.tour__head h3 {
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  margin-bottom: 7px;
}

.tour__head p {
  color: var(--text-soft);
  font-size: 0.93rem;
  max-width: 60ch;
}

.tour__frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
}

[data-theme="dark"] .tour__frame {
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(34, 227, 255, 0.22), 0 0 70px rgba(34, 227, 255, 0.12);
}

.tour__frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.feat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}

.feat__ico {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand-strong);
  margin-bottom: 18px;
}

[data-theme="dark"] .feat__ico {
  color: var(--brand);
  box-shadow: 0 0 22px rgba(34, 227, 255, 0.2);
}

.feat__ico svg {
  width: 22px;
  height: 22px;
}

.feat h3 {
  font-size: 1.06rem;
  margin-bottom: 8px;
}

.feat p {
  color: var(--text-soft);
  font-size: 0.93rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
}

.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}

[data-theme="dark"] .split__media {
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(34, 227, 255, 0.18);
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spec-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 13px;
}

.spec-list li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  font-size: 0.96rem;
  color: var(--text-soft);
}

.spec-list svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--brand);
}

.spec-list b {
  color: var(--text);
  font-weight: 650;
}

.calc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 38px);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(26px, 4vw, 46px);
  align-items: start;
}

[data-theme="dark"] .calc {
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(34, 227, 255, 0.14);
}

.calc h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.calc__hint {
  color: var(--text-soft);
  font-size: 0.9rem;
  margin-bottom: 26px;
}

.field {
  margin-bottom: 20px;
}

.field > label,
.field__label {
  display: block;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 9px;
}

.seg {
  display: flex;
  gap: 8px;
}

.seg input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.seg label {
  flex: 1;
  text-align: center;
  padding: 13px 10px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  background: var(--surface-2);
  transition: all 0.2s ease;
  line-height: 1.3;
}

.seg label small {
  display: block;
  font-weight: 500;
  font-size: 0.74rem;
  color: var(--text-faint);
  margin-top: 2px;
}

.seg input:checked + label {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-strong);
}

[data-theme="dark"] .seg input:checked + label {
  color: var(--brand);
  box-shadow: 0 0 20px rgba(34, 227, 255, 0.2);
}

.seg input:focus-visible + label {
  box-shadow: var(--ring);
}

.seg input:checked + label small {
  color: inherit;
  opacity: 0.8;
}

.stepper {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  padding: 7px 9px;
  width: fit-content;
}

.stepper button {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
  display: grid;
  place-items: center;
  color: var(--brand-strong);
  transition: background-color 0.2s, border-color 0.2s;
}

[data-theme="dark"] .stepper button {
  color: var(--brand);
}

.stepper button:hover {
  background: var(--brand-soft);
  border-color: var(--brand);
}

.stepper output {
  min-width: 68px;
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}

.calc__out {
  background: linear-gradient(165deg, var(--brand-soft), transparent 65%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  position: sticky;
  top: 100px;
}

[data-theme="dark"] .calc__out {
  background: linear-gradient(165deg, rgba(34, 227, 255, 0.1), transparent 70%);
  box-shadow: inset 0 0 40px rgba(34, 227, 255, 0.06);
}

.calc__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-soft);
  padding-block: 7px;
}

.calc__row b {
  color: var(--text);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.calc__row--extra b {
  color: var(--accent);
}

.calc__row--desc b {
  color: var(--brand-strong);
}

[data-theme="dark"] .calc__row--desc b {
  color: var(--brand);
}

.field__note {
  font-size: 0.82rem;
  color: var(--text-faint);
  margin-top: 10px;
  max-width: 44ch;
}

.contact-list li.plain {
  padding: 6px 0;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.calc__total {
  margin-top: 14px;
  padding-top: 18px;
  border-top: 1px dashed var(--border-strong);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.calc__total span {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 650;
}

.calc__total b {
  font-size: clamp(2rem, 5vw, 2.7rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

[data-theme="dark"] .calc__total b {
  color: var(--brand);
  text-shadow: 0 0 30px rgba(34, 227, 255, 0.4);
}

.calc__per {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-top: 8px;
}

.calc__badge {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.calc__out .btn {
  margin-top: 20px;
}

.promos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.promo {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.promo:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}

.promo--star {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}

[data-theme="dark"] .promo--star {
  box-shadow: 0 0 0 1px rgba(34, 227, 255, 0.4), 0 0 50px rgba(34, 227, 255, 0.16);
}

.promo__flag {
  position: absolute;
  top: -11px;
  left: 24px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

[data-theme="dark"] .promo__flag {
  color: #2a1400;
  box-shadow: 0 0 22px rgba(255, 179, 71, 0.45);
}

.promo h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.promo__meta {
  font-size: 0.85rem;
  color: var(--text-faint);
  margin-bottom: 18px;
}

.promo__price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 4px;
}

.promo__price b {
  font-size: 2.05rem;
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1;
}

[data-theme="dark"] .promo__price b {
  color: var(--brand);
}

.promo__price s {
  color: var(--text-faint);
  font-size: 0.95rem;
}

.promo__unit {
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-bottom: 20px;
}

.promo ul {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 9px;
  font-size: 0.89rem;
  color: var(--text-soft);
}

.promo ul li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.promo ul svg {
  width: 16px;
  height: 16px;
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 3px;
}

.promo .btn {
  margin-top: auto;
}

.note {
  margin-top: 28px;
  font-size: 0.85rem;
  color: var(--text-faint);
  max-width: 76ch;
}

.route {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(30px, 5vw, 62px);
  align-items: start;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: s;
}

.steps li {
  position: relative;
  padding: 0 0 28px 54px;
  counter-increment: s;
}

.steps li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 0.8rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

[data-theme="dark"] .steps li::before {
  color: var(--brand);
  box-shadow: 0 0 18px rgba(34, 227, 255, 0.22);
}

.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 17.5px;
  top: 42px;
  bottom: 8px;
  width: 1px;
  background: var(--border-strong);
}

.steps b {
  display: block;
  font-size: 1rem;
  margin-bottom: 5px;
}

.steps p {
  color: var(--text-soft);
  font-size: 0.93rem;
}

.route__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.route__img {
  aspect-ratio: 16 / 10;
  position: relative;
}

.route__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.route__pin {
  position: absolute;
  inset: auto 0 0;
  padding: 34px 22px 18px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
  color: #fff;
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 650;
}

.route__pin svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

.route__body {
  padding: 24px 22px 26px;
}

.route__links {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 20px;
  margin: 0;
  font-size: 0.92rem;
}

.dl dt {
  color: var(--text-faint);
  font-weight: 600;
}

.dl dd {
  margin: 0;
  font-weight: 600;
}

.near {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.near span {
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-size: 0.82rem;
  color: var(--text-soft);
  background: var(--surface-2);
}

.contact {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(30px, 5vw, 56px);
  align-items: start;
}

.form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 38px);
  box-shadow: var(--shadow-md);
}

[data-theme="dark"] .form {
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(34, 227, 255, 0.14);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}

.input,
.select,
.textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.textarea {
  resize: vertical;
  min-height: 112px;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: var(--ring);
}

.input[aria-invalid="true"],
.textarea[aria-invalid="true"] {
  border-color: #d94848;
}

.err {
  display: block;
  min-height: 17px;
  font-size: 0.78rem;
  color: #d94848;
  margin-top: 5px;
  font-weight: 600;
}

[data-theme="dark"] .err {
  color: #ff8a8a;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.check {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.86rem;
  color: var(--text-soft);
  cursor: pointer;
  line-height: 1.5;
}

.check input {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  margin: 1px 0 0;
  accent-color: var(--brand);
  cursor: pointer;
}

.check a {
  color: var(--brand-strong);
  font-weight: 600;
}

[data-theme="dark"] .check a {
  color: var(--brand);
}

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.form__note {
  font-size: 0.8rem;
  color: var(--text-faint);
  flex: 1;
  min-width: 200px;
}

.aside-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  margin-bottom: 16px;
}

.aside-card h3 {
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.contact-list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 12px;
  margin-inline: -12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 550;
  transition: background-color 0.2s, color 0.2s;
}

.contact-list a:hover {
  background: var(--brand-soft);
  color: var(--brand-strong);
}

[data-theme="dark"] .contact-list a:hover {
  color: var(--brand);
}

.contact-list svg {
  width: 19px;
  height: 19px;
  color: var(--brand);
  flex-shrink: 0;
}

.contact-list small {
  display: block;
  color: var(--text-faint);
  font-weight: 500;
  font-size: 0.76rem;
}

.socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.socials a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  border: 1px solid var(--border-strong);
  color: var(--text-soft);
  text-decoration: none;
  transition: all 0.22s ease;
}

.socials a:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
  color: var(--brand-strong);
  background: var(--brand-soft);
}

[data-theme="dark"] .socials a:hover {
  color: var(--brand);
  box-shadow: 0 0 22px rgba(34, 227, 255, 0.25);
}

.socials svg {
  width: 20px;
  height: 20px;
}

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #06301a;
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.42);
  text-decoration: none;
  transform: translateY(90px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.3, 0.64, 1), opacity 0.35s, box-shadow 0.25s;
}

.wa-float.is-on {
  transform: translateY(0);
  opacity: 1;
}

.wa-float:hover {
  box-shadow: 0 10px 34px rgba(37, 211, 102, 0.6);
}

.wa-float svg {
  width: 29px;
  height: 29px;
}

.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding-block: clamp(48px, 7vw, 76px) 28px;
}

[data-theme="dark"] .site-footer {
  background: var(--bg-alt);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 750;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.foot-grid p {
  color: var(--text-soft);
  font-size: 0.9rem;
  max-width: 40ch;
}

.foot-grid h4 {
  font-size: 0.76rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}

.foot-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.foot-grid ul a,
.foot-grid ul button {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.9rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}

.foot-grid ul a:hover,
.foot-grid ul button:hover {
  color: var(--brand-strong);
}

[data-theme="dark"] .foot-grid ul a:hover,
[data-theme="dark"] .foot-grid ul button:hover {
  color: var(--brand);
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  color: var(--text-faint);
}

.cookie-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translate(-50%, 150%);
  width: min(100% - 32px, 940px);
  z-index: 80;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(20px, 3vw, 28px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  transition: transform 0.55s cubic-bezier(0.34, 1.16, 0.64, 1), opacity 0.4s;
  opacity: 0;
  visibility: hidden;
}

.cookie-bar.is-on {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}

[data-theme="dark"] .cookie-bar {
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(34, 227, 255, 0.28), 0 0 60px rgba(34, 227, 255, 0.14);
}

.cookie-bar h2 {
  font-size: 1.02rem;
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.cookie-bar h2 svg {
  width: 19px;
  height: 19px;
  color: var(--accent);
  flex-shrink: 0;
}

.cookie-bar p {
  font-size: 0.87rem;
  color: var(--text-soft);
  max-width: 70ch;
}

.cookie-bar p a {
  color: var(--brand-strong);
  font-weight: 600;
}

[data-theme="dark"] .cookie-bar p a {
  color: var(--brand);
}

.cookie-bar__btns {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.cookie-bar__btns .btn {
  padding: 12px 20px;
  font-size: 0.88rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.modal.is-on {
  opacity: 1;
  visibility: visible;
}

.modal__back {
  position: absolute;
  inset: 0;
  background: rgba(4, 14, 20, 0.62);
  backdrop-filter: blur(5px);
  border: none;
  padding: 0;
  cursor: pointer;
}

.modal__box {
  position: relative;
  width: min(100%, 640px);
  max-height: min(88vh, 780px);
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(24px, 4vw, 34px);
  transform: translateY(18px) scale(0.985);
  transition: transform 0.35s cubic-bezier(0.34, 1.16, 0.64, 1);
}

.modal.is-on .modal__box {
  transform: none;
}

.modal__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 8px;
}

.modal__head h2 {
  font-size: 1.28rem;
}

.modal__close {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color 0.2s;
}

.modal__close:hover {
  background: var(--bg-alt);
}

.modal__close svg {
  width: 17px;
  height: 17px;
}

.modal__intro {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 22px;
}

.ck {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 12px;
  background: var(--surface-2);
}

.ck__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.ck__top b {
  font-size: 0.97rem;
}

.ck p {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-top: 8px;
}

.ck__always {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-strong);
  flex-shrink: 0;
}

[data-theme="dark"] .ck__always {
  color: var(--brand);
}

.sw {
  position: relative;
  flex-shrink: 0;
  width: 50px;
  height: 28px;
}

.sw input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  z-index: 2;
}

.sw span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--border-strong);
  transition: background-color 0.25s;
}

.sw span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.sw input:checked + span {
  background: var(--brand);
}

.sw input:checked + span::after {
  transform: translateX(22px);
}

.sw input:focus-visible + span {
  box-shadow: var(--ring);
}

.modal__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.modal__foot .btn {
  flex: 1;
  min-width: 150px;
}

.modal__legal {
  margin-top: 18px;
  font-size: 0.78rem;
  color: var(--text-faint);
}

.modal__legal a {
  color: var(--brand-strong);
}

[data-theme="dark"] .modal__legal a {
  color: var(--brand);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 130%);
  z-index: 95;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 22px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  font-size: 0.92rem;
  font-weight: 600;
  max-width: min(94vw, 480px);
  transition: transform 0.45s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.toast.is-on {
  transform: translate(-50%, 0);
}

.toast svg {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  color: var(--brand);
}

.toast--bad svg {
  color: #d94848;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.legal-hero {
  padding: 148px 0 56px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.legal-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.legal-hero p {
  color: var(--text-soft);
  margin-top: 14px;
}

.legal {
  padding-block: clamp(44px, 7vw, 78px);
}

.legal__body {
  width: min(100% - var(--gut) * 2, 820px);
  margin-inline: auto;
}

.legal__body h2 {
  font-size: 1.32rem;
  margin: 46px 0 14px;
  scroll-margin-top: 100px;
}

.legal__body h3 {
  font-size: 1.04rem;
  margin: 28px 0 10px;
}

.legal__body p,
.legal__body li {
  color: var(--text-soft);
  font-size: 0.96rem;
}

.legal__body p + p {
  margin-top: 14px;
}

.legal__body ul,
.legal__body ol {
  margin: 14px 0;
  padding-left: 22px;
  display: grid;
  gap: 9px;
}

.legal__body a {
  color: var(--brand-strong);
  font-weight: 600;
}

[data-theme="dark"] .legal__body a {
  color: var(--brand);
}

.legal__body strong {
  color: var(--text);
}

.legal__toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 34px;
}

.legal__toc h2 {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 14px;
}

.legal__toc ol {
  margin: 0;
  padding-left: 20px;
  gap: 7px;
}

.table-wrap {
  overflow-x: auto;
  margin: 18px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 520px;
}

th,
td {
  text-align: left;
  padding: 12px 15px;
  border-bottom: 1px solid var(--border);
}

th {
  background: var(--bg-alt);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-soft);
}

td {
  color: var(--text-soft);
}

tr:last-child td {
  border-bottom: none;
}

@media (max-width: 980px) {
  .calc,
  .route,
  .contact,
  .split {
    grid-template-columns: 1fr;
  }

  .calc__out {
    position: static;
  }

  .split--flip .split__media {
    order: -1;
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 72px;
  }

  .nav__links {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 55;
    width: min(84vw, 320px);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 92px 22px 28px;
    background: var(--surface);
    border-left: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
  }

  .nav__links.is-open {
    transform: none;
  }

  .nav__links a,
  .site-header.is-stuck .nav__links a {
    color: var(--text);
    font-size: 1.02rem;
    padding: 13px 15px;
  }

  .burger {
    display: grid;
  }

  .nav__cta {
    display: none;
  }

  .carousel {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
  }

  .slide__cap {
    bottom: 66px;
  }

  .slide__cap b {
    font-size: 1.1rem;
  }

  .car-nav {
    display: none;
  }

  .cookie-bar {
    grid-template-columns: 1fr;
    gap: 18px;
    bottom: 10px;
  }

  .cookie-bar__btns .btn {
    flex: 1;
    min-width: 120px;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero__stats {
    gap: 22px 30px;
  }

  .wa-float {
    width: 52px;
    height: 52px;
    right: 14px;
    bottom: 14px;
  }

  .foot-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__bg {
    animation: none;
    transform: scale(1.02);
  }

  .slide.is-active img {
    animation: none;
  }
}

@media print {
  .site-header,
  .wa-float,
  .cookie-bar,
  .modal,
  .neon-frame,
  .car-nav,
  .car-thumbs,
  .scroll-cue {
    display: none !important;
  }
}
