:root {
  --green: #3a926c;
  --ink: #07322f;
  --muted: #626262;
  --cream: #f7f4ee;
  --foam: #f9f5ee;
  --mint: #f0f9f5;
  --field: #f0f0f0;
  --tan: #cab07f;
  --line: rgba(7, 50, 47, 0.2);
  --card-line: rgba(7, 50, 47, 0.55);
  --header: 112px;
  --pad: clamp(20px, 6.67vw, 96px);
  --wrap: min(1248px, calc(100vw - (var(--pad) * 2)));
  --serif: "Californian FB", "EB Garamond", Garamond, Georgia, serif;
  --script: "Yellowtail", "Brush Script MT", cursive;
  --sans: "Ysabeau Office", "Avenir Next", "Segoe UI", sans-serif;
  --display: clamp(40px, 4.45vw, 64px);
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header); }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

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

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

button { cursor: pointer; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

h1, h2, h3, p { margin-top: 0; }

h1,
h2 {
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  max-width: 796px;
  margin-bottom: 9px;
  color: #fff;
  font-size: clamp(40px, 4.65vw, 67px);
  line-height: 1.09;
}

h2 {
  margin-bottom: 8px;
  color: var(--green);
  font-size: var(--display);
  line-height: 1.14;
}

h3 {
  margin: 0;
  font-weight: 500;
  line-height: 1.2;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow--green { color: var(--green); }
.eyebrow--ink { color: var(--ink); }

.lede {
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.25;
}

.script {
  font-family: var(--script);
  font-weight: 400;
  line-height: 1;
}

.center { margin: 0; text-align: center; }

.divider {
  height: 0;
  margin-block: 0;
  border: 0;
  border-top: 1px dashed rgba(98, 98, 98, 0.6);
}

.section__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 48px;
  text-align: center;
}

.section__head .lede { max-width: 474px; }
.section--locations .section__head .lede { max-width: 753px; font-size: 20px; line-height: 1.5; }
.section__head--narrow .lede { max-width: 443px; }
.section__head--wide .lede { max-width: 440px; }

.section__head--light,
.section__head--light h2,
.section__head--light .eyebrow,
.section__head--light .lede { color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border: 0;
  background: transparent;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn--solid { background: var(--green); color: #fff; }
.btn--solid:hover { background: #317d5c; }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--foam); }

.btn--small { min-height: 40px; padding: 10px 24px; }

.btn--block { width: 100%; min-height: 40px; padding-block: 10px; }

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

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

/* Charge screen */

.charge {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(58, 146, 108, 0.16), transparent 45%),
    linear-gradient(180deg, #fff 0%, var(--foam) 100%);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.charge.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.charge__panel { width: min(420px, calc(100% - 48px)); text-align: center; }

.charge__kicker {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  text-transform: uppercase;
}

.charge__mark {
  margin: 4px 0 0;
  color: var(--green);
  font-size: clamp(44px, 7vw, 64px);
  line-height: 1.14;
}

.charge__script {
  margin: 4px 0 0;
  color: var(--tan);
  font-family: var(--script);
  font-size: 28px;
  line-height: 1;
  transform: rotate(-6deg);
}

.charge__meter {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px 0 14px;
}

.charge__cell {
  width: min(240px, 70vw);
  height: 78px;
  padding: 7px;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
}

.charge__fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 8px;
  background:
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(255, 255, 255, 0.35) 34px 36px),
    linear-gradient(90deg, #2f7a5a, var(--green) 70%, #7dceb0);
  transition: width 0.12s linear;
}

.charge__nub {
  width: 8px;
  height: 26px;
  margin-left: 4px;
  border-radius: 0 6px 6px 0;
  background: var(--ink);
}

.charge__status {
  margin: 0 0 18px;
  font-size: 18px;
  font-variant-numeric: tabular-nums lining-nums;
}

.charge__skip {
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: var(--wrap);
  min-height: var(--header);
  margin-inline: auto;
}

.brand { display: flex; flex-direction: column; flex: none; }

.brand__name {
  color: var(--green);
  font-size: clamp(30px, 3.1vw, 45px);
  line-height: 1.02;
}

.brand__line {
  color: var(--ink);
  font-size: clamp(12px, 1.15vw, 16.5px);
  font-weight: 500;
  line-height: 1.2;
}

.site-nav,
.header-tools,
.menu,
.menu__button {
  display: flex;
  align-items: center;
}

.site-nav { gap: 40px; }

.site-nav > a,
.menu__button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-nav > a:hover,
.menu__button:hover { color: var(--green); }

.menu { position: relative; }

.menu__button { gap: 6px; }

.menu__panel {
  position: absolute;
  top: calc(100% + 16px);
  left: -16px;
  display: none;
  min-width: 190px;
  padding: 12px 16px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(7, 50, 47, 0.12);
}

.menu.is-open .menu__panel,
.menu:hover .menu__panel,
.menu:focus-within .menu__panel { display: grid; gap: 8px; }

.menu__panel a { font-size: 16px; }

.header-tools { gap: 24px; }

.icon-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
}

.nav-toggle__bars { position: relative; margin-inline: auto; }

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }

.search-layer {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  background: rgba(7, 50, 47, 0.45);
}

.search-layer[hidden] { display: none; }

.search-layer__card {
  display: grid;
  gap: 16px;
  width: min(480px, calc(100% - 32px));
  padding: 28px;
  background: #fff;
}

.search-layer label { display: grid; gap: 8px; font-size: 18px; }

.search-layer input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  background: var(--field);
}

.search-layer__close { justify-self: start; border: 0; background: none; color: var(--green); }

/* Hero */

.hero {
  position: relative;
  display: flex;
  min-height: 688px;
  padding: 87px 0 120px;
  color: #fff;
}

.hero__photo,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__photo { transform: scaleX(-1); }

.hero__shade {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.28) 45%, rgba(0, 0, 0, 0.08) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 44px;
}

.hero__copy p {
  max-width: 660px;
  margin: 0;
  font-size: 20.5px;
  line-height: 1.5;
}

.finder {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) repeat(2, minmax(0, 1.12fr)) auto auto;
  align-items: center;
  min-height: 105px;
  padding: 12px 20px 12px 0;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  background: var(--green);
}

.finder__field {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 0 16px 0 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.55);
}

.finder__field > span { display: flex; flex-direction: column; min-width: 0; }

.finder__label {
  font-size: 16px;
  line-height: 1.2;
  text-transform: uppercase;
}

.finder input,
.finder select {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  line-height: 1.4;
  appearance: none;
}

.finder input[type="date"] { color-scheme: dark; }
.finder input[type="date"]::-webkit-calendar-picker-indicator { display: none; }
.finder select option { color: var(--ink); }

.finder__check {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 24px 0 32px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  white-space: nowrap;
  cursor: pointer;
}

.finder__check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.finder__box {
  width: 20px;
  height: 20px;
  border: 1.5px solid #fff;
  border-radius: 4px;
}

.finder__check input:checked + .finder__box {
  background: #fff url("../assets/icons/check.svg") center / 16px no-repeat;
}

.finder__check input:focus-visible + .finder__box { outline: 2px solid #fff; outline-offset: 2px; }

.finder .btn { min-height: 48px; padding: 12px 16px; }

.finder .btn img { filter: brightness(0.25); }

.hero__call {
  position: fixed;
  right: clamp(16px, 3.6vw, 52px);
  bottom: 32px;
  z-index: 35;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(58, 146, 108, 0.25), 0 8px 20px rgba(7, 50, 47, 0.28);
}

/* Cards */

.card-grid { display: grid; gap: 24px; }

.card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.place,
.villa,
.activity,
.quote {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 4px;
}

.card-photo {
  display: block;
  width: 100%;
  object-fit: cover;
}

.place .card-photo { height: 236px; }

.place__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 16px 16px;
}

.place__body h3 { margin: 2px 0 10px; font-size: 20px; }

.place__body p { margin: 0 0 12px; }

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

/* About */

.section { padding: 88px 0; }

.section--locations { padding-bottom: 71px; }

.about { padding-bottom: 0; }

.about__layout {
  display: grid;
  grid-template-columns: minmax(0, 612fr) minmax(0, 506fr) minmax(0, 106fr);
  column-gap: 24px;
  align-items: start;
}

.about__copy { padding-top: 80px; }

.about__copy h2 { margin-bottom: 20px; }

.about__copy > p { margin-bottom: 24px; }

.points {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.points li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 96px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

.points li + li { position: relative; }

.points li + li::before {
  content: "";
  position: absolute;
  top: 26px;
  left: -20px;
  height: 64px;
  border-left: 1px solid var(--ink);
}

.points__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 0.6px solid var(--ink);
  border-radius: 50%;
}

.about__figure {
  display: contents;
  margin: 0;
}

.about__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 506 / 525;
  object-fit: cover;
}

.about__figure figcaption {
  position: relative;
  align-self: stretch;
  padding-top: 45px;
  color: var(--tan);
  font-family: var(--script);
  font-size: 26px;
  line-height: 1.15;
}

.about__figure figcaption > span {
  display: block;
  width: max-content;
  transform: rotate(-9deg);
  transform-origin: left top;
}

.about__figure figcaption::after {
  content: "";
  position: absolute;
  top: 157px;
  left: 15px;
  height: 229px;
  border-left: 1px solid var(--tan);
}

.about .divider { margin-top: 64px; }

/* Villas */

.villas { padding-top: 64px; }

.villas .section__head { margin-bottom: 0; }

.villas__stage {
  padding: 48px 0 191px;
  background:
    url("../assets/villas-bg.jpg") center bottom / max(100%, calc(var(--wrap) * 1.3077)) auto no-repeat,
    linear-gradient(180deg, #fff 0%, #fff 40%, #fcf8f2 100%);
}

.villa { border-color: rgba(7, 50, 47, 0.25); border-radius: 8px; }

.villa .card-photo { height: 253px; }

.villa__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 20px 20px;
}

.villa__body h3 { margin-bottom: 10px; font-size: 31px; font-weight: 500; }

.villa__body > p { margin: 0 0 16px; font-size: 18px; line-height: 1.25; }

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  font-size: 18px;
  margin: 0;
  padding: 0 0 24px;
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.meta li,
.stars {
  display: flex;
  align-items: center;
  gap: 8px;
}

.villa__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
}

.stars { gap: 8px; margin: 0; }
.stars img { width: 20px; height: 20px; }
.stars span { color: var(--ink); font-size: 16px; }

/* Amenities */

.amenities {
  padding: 64px 0 56px;
  background: var(--green);
  color: #fff;
}

.amenities .section__head { margin-bottom: 36px; }

.amenities .section__head .lede { max-width: 440px; }

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.amenity-grid li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 176px;
  padding: 24px 16px;
  border: 0.6px solid rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  font-size: 20px;
  line-height: 1.2;
  text-align: center;
}

.amenity-grid span {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border: 0.6px solid var(--foam);
  border-radius: 50%;
}

.amenities__more {
  margin: 24px 0 0;
  font-size: 24px;
  text-align: center;
}

/* Things to do */

.section--things { padding: 59px 0 0; }

.activity .card-photo { height: 184px; }

.activity { min-height: 427px; }

.activity__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 16px 14px;
}

.activity__body h3 { margin: 8px 0 6px; font-size: 20px; }

.activity__body p { margin: 0; font-size: 18px; line-height: 22px; }

.signature {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 24px 0 24px;
}

.signature__line {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  font-size: 28px;
  line-height: 32px;
}

.signature__line::before,
.signature__line::after {
  content: "";
  width: 82px;
  border-top: 1px solid var(--ink);
}

.signature__sub {
  margin: 9px 0 0;
  font-size: 16px;
  line-height: 1.2;
  text-transform: uppercase;
}

.section--things .divider { margin-top: 64px; }

/* Reviews */

.section--reviews { padding: 64px 0 72px; }

.quote {
  min-height: 303px;
  padding: 24px;
  border-color: rgba(7, 50, 47, 0.35);
  border-radius: 4px;
}

.quote__top { display: flex; align-items: center; gap: 12px; }

.quote__mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--green);
}

.quote > p {
  margin: 16px 0 16px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
}

.quote__who {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.quote__who > p {
  margin: 0;
  padding-right: 16px;
  border-right: 1px solid var(--ink);
  line-height: 1.25;
}

.quote__who strong { display: block; font-size: 18px; font-weight: 500; }
.quote__who > p span { display: block; font-size: 15px; }

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 41px;
  padding: 8px 16px;
  border-radius: 4px;
  background: var(--mint);
  font-size: 16px;
  line-height: 1;
}

.pill img { display: block; flex: none; }

.section--reviews .card-grid { margin-bottom: 40px; }

/* Booking */

.book {
  position: relative;
  padding: 96px 0 78px;
  overflow: hidden;
}

.book__leaf {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 266px;
  height: auto;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.book__layout {
  display: grid;
  grid-template-columns: minmax(0, 664fr) minmax(0, 506fr);
  column-gap: 78px;
  align-items: start;
}

.book__copy { padding-top: 19px; }

.book h2 { margin-bottom: 16px; font-size: clamp(36px, 3.4vw, 48px); line-height: 1.2; }

.book__intro { margin-bottom: 40px; font-size: 18px; line-height: 1.25; }

.stay-form { display: grid; gap: 24px; }

.stay-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.stay-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 17px;
  line-height: 1.3;
}

.stay-form input,
.stay-form select {
  width: 100%;
  min-height: 41px;
  padding: 8px 16px;
  border: 0;
  border-radius: 2px;
  background: var(--field);
  color: var(--ink);
  font-size: 16px;
  appearance: none;
}

.stay-form ::placeholder { color: #9a9a9a; }

.stay-form select { padding-right: 44px; background: var(--field) url("../assets/icons/chevron-dark.svg") right 16px center / 20px no-repeat; }
.stay-form select:invalid,
.stay-form select:has(option[value=""]:checked) { color: #9a9a9a; }

.stay-form input[type="date"] { position: relative; color: var(--ink); }
.stay-form input[type="date"]:invalid { color: #9a9a9a; }
.stay-form input[type="date"]::-webkit-calendar-picker-indicator {
  width: 20px;
  height: 20px;
  background: url("../assets/icons/calendar-dark.svg") center / 20px no-repeat;
  color: transparent;
  opacity: 1;
  cursor: pointer;
}

.span-2 { grid-column: 1 / -1; }

.secure {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -8px 0 0;
  font-size: 17px;
}

.form-note,
.form-success {
  margin: 0;
  padding: 12px 14px;
  background: var(--mint);
}

.book__visual {
  position: relative;
  margin: 0;
}

.book__visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 506 / 800;
  object-fit: cover;
}

.book__visual figcaption {
  position: absolute;
  top: 189px;
  left: calc(100% + 24px);
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--sans);
  font-size: 16px;
  letter-spacing: 0.08em;
  line-height: 19px;
  text-transform: uppercase;
  white-space: nowrap;
  writing-mode: vertical-rl;
}

.book__visual figcaption::before,
.book__visual figcaption::after {
  content: "";
  height: 87px;
  border-left: 1px solid var(--ink);
}

/* Footer */

.footer {
  padding: 76px 0 76px;
  background: var(--green);
  color: #fff;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 320fr) minmax(0, 478fr) minmax(0, 212fr);
  column-gap: 51px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.footer__grid > :nth-child(2) { margin-left: 0; }

.footer__brand { margin: 0; font-size: 40px; line-height: 1.15; }

.footer__brand-line { margin: -4px 0 32px; font-size: 15px; font-weight: 600; }

.footer__about > p:last-child { max-width: 316px; margin: 0; font-size: 18px; line-height: 1.5; }

.footer__links {
  display: grid;
  grid-template-columns: 97fr 139fr 114fr;
  column-gap: 64px;
  min-height: 248px;
  padding-right: 51px;
  border-right: 1px solid rgba(255, 255, 255, 0.6);
}

.footer h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 16px;
  line-height: 18px;
  text-transform: uppercase;
}

.footer h2::after {
  content: "";
  display: block;
  width: 40px;
  margin-top: 8px;
  border-top: 1px solid #fff;
}

.footer__links a {
  display: block;
  margin-top: 8px;
  font-size: 16px;
  line-height: 18px;
}

.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }

.footer__touch a,
.footer__touch p {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 12px 0 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 21px;
}

.footer__touch .social { gap: 8px; margin-top: 16px; }

.social__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0.6px solid #fff;
  border-radius: 50%;
}

.footer__base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  font-size: 18px;
  line-height: 22px;
}

.footer__base p { margin: 0; }

.footer__base span { margin-inline: 8px; }

.sheet {
  width: min(560px, calc(100% - 32px));
  padding: 28px;
  border: 0;
  color: var(--ink);
}

.sheet h2 { font-size: 40px; }

.sheet::backdrop { background: rgba(7, 50, 47, 0.45); }

.sheet ul { padding-left: 18px; }

.sheet li { margin: 10px 0; }

@media (max-width: 1240px) {
  .site-nav { gap: 24px; }
  .site-nav > a,
  .menu__button { font-size: 16px; }

  .finder { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 8px; padding: 16px 20px 16px 0; }
  .finder__field:nth-child(4) { border-right: 0; }
  .finder__check { grid-column: 1 / 3; }
  .finder .btn { grid-column: 3 / -1; justify-self: end; }

  .card-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .about__layout { grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); }
  .about__figure figcaption { display: none; }

  .book__visual figcaption { display: none; }
}

@media (max-width: 1100px) {
  .site-nav { display: none; }

  .nav-toggle { display: grid; place-items: center; order: 3; }

  .site-header.is-open .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    gap: 16px;
    padding: 20px var(--pad) 28px;
    background: #fff;
    box-shadow: 0 16px 30px rgba(7, 50, 47, 0.08);
  }

  .menu { display: block; }
  .menu__panel { position: static; box-shadow: none; padding: 8px 0 0 12px; }

  .header-tools { margin-left: auto; }

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

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

  .villas__stage {
    padding-bottom: 120px;
    background:
      url("../assets/villas-shore.jpg") center bottom / max(100%, 900px) auto no-repeat,
      linear-gradient(180deg, #fff 0%, #eaf3f1 30%, #f6efe4 100%);
  }

  .footer__grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .footer__about { grid-column: 1 / -1; max-width: 520px; }
  .footer__links { padding-right: 32px; column-gap: 32px; }

  .book__layout { grid-template-columns: 1fr 0.8fr; column-gap: 40px; }
  .book__leaf { width: 180px; }
}

@media (max-width: 760px) {
  :root { --header: 80px; --display: clamp(34px, 9vw, 44px); }

  .header-tools .btn { min-height: 40px; padding: 8px 14px; }
  .header-tools .icon-button { display: none; }

  .hero { min-height: auto; padding: 56px 0 88px; }
  .hero__copy p { font-size: 18px; }

  .finder,
  .finder__field { grid-template-columns: 1fr; }

  .finder { padding: 8px 20px 20px; }
  .finder__field { padding: 12px 0; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.35); }
  .finder__field:nth-child(4) { border-bottom: 1px solid rgba(255, 255, 255, 0.35); }
  .finder__check { grid-column: auto; padding: 16px 0; }
  .finder .btn { grid-column: auto; justify-self: stretch; }

  .hero__call { bottom: 20px; }

  .section { padding: 64px 0; }
  .section--things { padding-top: 56px; padding-bottom: 0; }
  .section__head { margin-bottom: 32px; }

  .card-grid--4,
  .card-grid--5,
  .card-grid--3,
  .amenity-grid,
  .stay-form__grid,
  .footer__grid,
  .footer__links { grid-template-columns: 1fr; }

  .amenity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .amenity-grid li { min-height: 150px; gap: 12px; font-size: 16px; }
  .amenity-grid span { width: 64px; height: 64px; }
  .amenity-grid img { width: 32px; height: 32px; }

  .activity { min-height: 0; }

  .about__layout { grid-template-columns: 1fr; row-gap: 32px; }
  .about__copy { padding-top: 0; }
  .points { gap: 24px; }
  .points li + li::before { left: -12px; }

  .villa__body h3 { font-size: 26px; }
  .meta { gap: 8px 24px; }

  .book { padding-top: 64px; }
  .book__layout { grid-template-columns: 1fr; row-gap: 40px; }
  .book__visual img { aspect-ratio: 4 / 5; }
  .book__leaf { width: 120px; }

  .footer__links { row-gap: 32px; padding-right: 0; border-right: 0; }
  .footer__base { flex-direction: column; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .charge { display: none; }
  .charge__fill { transition: none; }
}
