:root {
  --dark: #0e1009;
  --menu-dark: #1a1b18;
  --ink: #f5efe3;
  --ink-soft: rgba(245, 239, 227, 0.78);
  --ink-dim: rgba(245, 239, 227, 0.68);
  --ink-faint: rgba(245, 239, 227, 0.22);
  --sage: #9aaa8c;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--dark);
  color: var(--ink);
  font-family: Jost, system-ui, sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.wrap--wide {
  width: min(1280px, calc(100% - 48px));
}

.wrap--narrow {
  width: min(760px, calc(100% - 48px));
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.eyebrow--sage {
  color: var(--sage);
}

.section {
  padding: 120px 0;
}

.section--tight {
  padding-top: 96px;
}

.section--flush {
  padding-bottom: 48px;
}

.section__title {
  margin: 0 0 1.25rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 300;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.section__text {
  max-width: 38rem;
  margin: 0 0 3rem;
  color: var(--ink-soft);
  font-weight: 300;
}

.section__text--narrow {
  max-width: 32rem;
}

.section__text--wide {
  max-width: 46rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--dark);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.btn:hover {
  background: transparent;
  color: var(--ink);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--dark);
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 28px;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}

.header.is-solid {
  background: rgba(14, 16, 9, 0.88);
  backdrop-filter: blur(12px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo__mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink-faint);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.logo__text {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
}

.nav a,
.nav-mobile a {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.25s ease;
}

.nav a:hover,
.nav-mobile a:hover {
  color: var(--ink);
}

.header__cta {
  flex-shrink: 0;
  min-height: 40px;
  padding: 0 18px;
  font-size: 11px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.nav-toggle span:first-child {
  top: 16px;
}

.nav-toggle span:last-child {
  top: 23px;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  top: 20px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  top: 20px;
  transform: rotate(-45deg);
}

.nav-mobile {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 40;
  display: grid;
  align-content: start;
  gap: 20px;
  padding: 32px 28px;
  background: rgba(14, 16, 9, 0.96);
}

.nav-mobile[hidden] {
  display: none;
}

/* FAB */
.fab {
  position: fixed;
  left: 18px;
  top: 50%;
  z-index: 45;
  transform: translateY(-50%);
  display: grid;
  gap: 10px;
}

.fab__btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(26, 27, 24, 0.85);
  border: 1px solid var(--ink-faint);
  color: var(--ink);
  backdrop-filter: blur(8px);
  transition: transform 0.25s var(--ease), background 0.25s ease;
}

.fab__btn svg {
  width: 18px;
  height: 18px;
}

.fab__btn:hover {
  transform: scale(1.06);
  background: var(--menu-dark);
}

.fab__btn--wa {
  color: #6fbf73;
}

.fab__btn--tg {
  color: #7eb6d8;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero__media,
.hero__veil {
  position: absolute;
  inset: 0;
}

.hero__media {
  background:
    linear-gradient(180deg, rgba(14, 16, 9, 0.25) 0%, rgba(14, 16, 9, 0.55) 55%, rgba(14, 16, 9, 0.92) 100%),
    url("images/hero-villa-ladoga.png") center / cover no-repeat;
  transform: scale(1.04);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero__veil {
  background: radial-gradient(ellipse at 30% 20%, transparent 0%, rgba(14, 16, 9, 0.35) 70%);
  pointer-events: none;
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, 1%, 0);
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100% - 48px));
  margin: 0 auto 12vh;
  padding-top: var(--header-h);
}

.hero__title {
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 300;
  font-size: clamp(4.5rem, 14vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
}

.hero__soon {
  margin: 0 0 1.5rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 300;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-style: italic;
  letter-spacing: 0.08em;
  color: var(--sage);
}

.hero__lead {
  max-width: 28rem;
  margin: 0 0 2rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__scroll {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 1;
  color: var(--ink-dim);
  font-size: 20px;
  animation: bounce 2.4s var(--ease) infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

/* Villa card */
.villa-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  border: 1px solid var(--ink-faint);
  overflow: hidden;
}

.villa-card__media {
  min-height: 460px;
  background:
    linear-gradient(180deg, transparent 40%, rgba(14, 16, 9, 0.35)),
    url("images/villa-exterior.png") center / cover no-repeat;
}

.villa-card__body {
  padding: 40px 36px;
  background: rgba(26, 27, 24, 0.55);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.villa-card__body h3 {
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.4rem;
  font-weight: 300;
}

.villa-card__body p {
  margin: 0 0 1.75rem;
  color: var(--ink-soft);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 6px 10px;
  border: 1px solid var(--ink-faint);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
  margin: 0;
}

.facts dt {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.facts dd {
  margin: 4px 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6rem;
  font-weight: 300;
}

/* Amenities */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.amenity {
  padding: 28px 24px;
  border: 1px solid var(--ink-faint);
  background: rgba(26, 27, 24, 0.35);
}

.amenity h3 {
  margin: 0 0 1.25rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
  font-weight: 300;
}

.amenity ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.amenity li {
  padding: 10px 0;
  border-top: 1px solid var(--ink-faint);
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.amenity li:last-child {
  border-bottom: 1px solid var(--ink-faint);
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 220px;
  gap: 10px;
  width: min(1280px, calc(100% - 24px));
  margin: 0 auto;
}

.gallery__item {
  margin: 0;
  background: var(--img) center / cover no-repeat;
  filter: saturate(0.88) contrast(1.05);
  transition: transform 0.7s var(--ease), filter 0.7s ease;
}

.gallery__item:hover {
  filter: saturate(1) contrast(1.08);
  transform: scale(1.01);
}

.gallery__item--wide {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery__item--tall {
  grid-row: span 2;
}

/* Places */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.place {
  padding: 28px;
  border: 1px solid var(--ink-faint);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.place:hover {
  border-color: rgba(154, 170, 140, 0.45);
  background: rgba(26, 27, 24, 0.45);
}

.place h3 {
  margin: 0 0 0.75rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.9rem;
  font-weight: 300;
}

.place p {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
}

.place__meta {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
}

.activity {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border: 1px solid var(--ink-faint);
  background: rgba(26, 27, 24, 0.35);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.activity:hover {
  border-color: rgba(154, 170, 140, 0.45);
  background: rgba(26, 27, 24, 0.55);
}

.activity__num {
  margin-bottom: 1.5rem;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--sage);
}

.activity h3 {
  margin: 0 0 0.85rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.85rem;
  font-weight: 300;
  line-height: 1.15;
}

.activity p {
  flex: 1;
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.activity a.place__meta {
  display: inline-block;
  border-bottom: 1px solid rgba(154, 170, 140, 0.35);
  transition: border-color 0.25s ease;
}

.activity a.place__meta:hover {
  border-color: var(--sage);
}

/* Prices / tariffs */
.tariff-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.tariff {
  padding: 28px 22px;
  border: 1px solid var(--ink-faint);
  background: rgba(26, 27, 24, 0.45);
}

.tariff__label {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.tariff__value {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 300;
  line-height: 1;
}

.tariff__unit {
  margin: 10px 0 0;
  color: var(--sage);
  font-size: 13px;
  letter-spacing: 0.08em;
}

/* Transfer */
.transfer {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  margin-bottom: 28px;
}

.transfer__card,
.transfer__point {
  padding: 32px 28px;
  border: 1px solid var(--ink-faint);
  background: rgba(26, 27, 24, 0.45);
}

.transfer__card .tariff__value {
  margin-bottom: 8px;
}

.transfer__note {
  margin: 1.5rem 0 1.75rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.transfer__point h3 {
  margin: 0 0 0.85rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  font-weight: 300;
}

.transfer__point p {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
}

.transfer__point .eyebrow {
  margin-bottom: 0.75rem;
}

.map--transfer {
  margin-top: 0;
}

/* Photo carousel */
.nature-slider {
  position: relative;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.nature-slider__track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border: 1px solid var(--ink-faint);
  background: var(--menu-dark);
}

.nature-slider__track::-webkit-scrollbar {
  display: none;
}

.nature-slider__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: var(--menu-dark);
}

.nature-slider__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.nature-slider--tall .nature-slider__slide {
  aspect-ratio: 4 / 5;
  max-height: min(78vh, 820px);
}

.nature-slider--tall {
  width: min(720px, calc(100% - 48px));
}

.nature-slider__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 52px;
  height: 52px;
  margin-top: -26px;
  border: 1px solid rgba(245, 239, 227, 0.28);
  background: rgba(14, 16, 9, 0.78);
  color: var(--ink);
  font-size: 1.85rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}

.nature-slider__nav:hover {
  border-color: rgba(154, 170, 140, 0.75);
  background: rgba(26, 27, 24, 0.92);
}

.nature-slider__nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.nature-slider__nav--prev {
  left: 16px;
}

.nature-slider__nav--next {
  right: 16px;
}

.nature-slider__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.nature-slider__dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.nature-slider__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(154, 170, 140, 0.55);
  background: transparent;
  cursor: pointer;
}

.nature-slider__dot.is-active {
  background: var(--sage);
  border-color: var(--sage);
}

.nature-slider__count {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  min-width: 4.5rem;
  text-align: center;
}

.section__text a {
  color: var(--sage);
  border-bottom: 1px solid rgba(154, 170, 140, 0.35);
}

.section__text a:hover {
  border-color: var(--sage);
}

/* Booking */
.section--book {
  padding-top: 48px;
}

.booking {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}

.booking__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field--wide {
  grid-column: 1 / -1;
}

.field--check {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0 4px;
  color: var(--ink-soft);
  cursor: pointer;
}

.field--check input {
  width: 18px;
  height: 18px;
  accent-color: var(--sage);
  flex-shrink: 0;
}

.field__label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.field input[type="date"],
.field input[type="number"],
.field input[type="text"],
.field input[type="tel"] {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--ink-faint);
  background: rgba(26, 27, 24, 0.65);
  color: var(--ink);
  font: inherit;
  font-weight: 300;
  border-radius: 0;
  outline: none;
  transition: border-color 0.25s ease;
  color-scheme: dark;
}

.field input::placeholder {
  color: rgba(245, 239, 227, 0.35);
}

.field input:focus {
  border-color: rgba(154, 170, 140, 0.65);
}

.booking__summary {
  padding: 28px;
  border: 1px solid var(--ink-faint);
  background: rgba(26, 27, 24, 0.55);
}

.booking__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ink-faint);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.booking__row strong {
  font-weight: 400;
  color: var(--ink);
  text-align: right;
}

.booking__row--total {
  border-bottom: 0;
  padding-top: 18px;
  margin-top: 4px;
  color: var(--ink);
}

.booking__row--total strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  font-weight: 300;
  color: var(--sage);
  line-height: 1;
}

.booking__hint {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--ink-dim);
}

.booking__hint.is-error {
  color: #c9a090;
}

.booking__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.booking__actions .btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* CTA */
.cta-band {
  position: relative;
  padding: 120px 0;
  background:
    linear-gradient(180deg, rgba(14, 16, 9, 0.72), rgba(14, 16, 9, 0.88)),
    url("images/villa-exterior.png") center / cover no-repeat;
}

.cta-band__inner {
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
}

.cta-band p {
  max-width: 28rem;
  margin: 0 auto 2rem;
  color: var(--ink-soft);
}

.cta-band .hero__actions {
  justify-content: center;
}

/* Map */
.map {
  border: 1px solid var(--ink-faint);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--menu-dark);
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.35) contrast(1.05);
}

.map__note {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--ink-dim);
}

/* FAQ */
.faq details {
  border-top: 1px solid var(--ink-faint);
}

.faq details:last-child {
  border-bottom: 1px solid var(--ink-faint);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 300;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--sage);
  font-family: Jost, sans-serif;
  font-size: 1.1rem;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0 0 22px;
  color: var(--ink-soft);
  max-width: 40rem;
}

/* Contacts */
.section--contacts {
  padding-top: 80px;
  border-top: 1px solid var(--ink-faint);
}

.contacts {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: end;
}

.contacts__list {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.contacts__list a {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
  font-weight: 300;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.contacts__list a:hover {
  border-color: var(--sage);
}

.contacts__list p {
  margin: 8px 0 0;
  color: var(--ink-dim);
  font-size: 14px;
}

/* Footer */
.footer {
  padding: 40px 0 56px;
  border-top: 1px solid var(--ink-faint);
}

.footer__inner {
  display: grid;
  gap: 12px;
}

.footer p {
  margin: 0;
  color: var(--ink-dim);
  font-size: 13px;
}

.footer__hint {
  color: var(--sage) !important;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

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

@media (max-width: 980px) {
  .nav,
  .header__cta {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
  }

  .villa-card,
  .grid-3,
  .grid-2,
  .tariff-grid,
  .transfer,
  .booking,
  .booking__grid,
  .contacts {
    grid-template-columns: 1fr;
  }

  .tariff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 180px;
  }

  .gallery__item--wide,
  .gallery__item--tall {
    grid-column: span 2;
    grid-row: span 1;
  }

  .fab {
    left: auto;
    right: 14px;
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .section {
    padding: 88px 0;
  }
}

@media (max-width: 640px) {
  .wrap,
  .wrap--wide,
  .wrap--narrow {
    width: calc(100% - 32px);
  }

  .hero__content {
    width: calc(100% - 32px);
    margin-bottom: 18vh;
  }

  .hero__title {
    font-size: clamp(3.8rem, 18vw, 5.5rem);
  }

  .villa-card__media {
    min-height: 280px;
  }

  .villa-card__body {
    padding: 28px 22px;
  }

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

  .nature-slider,
  .nature-slider--tall {
    width: calc(100% - 32px);
  }

  .nature-slider--tall .nature-slider__slide {
    max-height: min(72vh, 640px);
  }

  .nature-slider__nav {
    width: 40px;
    height: 40px;
    margin-top: -20px;
    font-size: 1.5rem;
  }

  .nature-slider__nav--prev {
    left: 8px;
  }

  .nature-slider__nav--next {
    right: 8px;
  }

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

  .gallery__item--wide,
  .gallery__item--tall {
    grid-column: auto;
  }
}

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

  .hero__media,
  .hero__scroll,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}
