@view-transition {
  navigation: auto;
}

:root {
  --turquoise: #12b7d2;
  --turquoise-dark: #0795b0;
  --turquoise-soft: #dff8fb;
  --yellow: #ffd21c;
  --yellow-soft: #fff5bd;
  --ink: #07324a;
  --ink-soft: #365568;
  --paper: #fffdf8;
  --sand: #f6f1e7;
  --white: #ffffff;
  --green: var(--turquoise);
  --line: rgba(7, 50, 74, 0.12);
  --shadow-sm: 0 8px 28px rgba(7, 50, 74, 0.09);
  --shadow-md: 0 22px 60px rgba(7, 50, 74, 0.14);
  --shadow-yellow: 0 10px 0 #e1ae00, 0 18px 35px rgba(212, 161, 0, 0.18);
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --shell: min(1240px, calc(100% - 40px));
  --heading: "Arial Rounded MT Bold", "Trebuchet MS", "Segoe UI", sans-serif;
  --body: "Aptos", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 28%, rgba(18, 183, 210, 0.08), transparent 18rem),
    radial-gradient(circle at 94% 64%, rgba(255, 210, 28, 0.11), transparent 21rem),
    var(--paper);
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

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

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

h1,
h2,
h3 {
  font-family: var(--heading);
  letter-spacing: -0.035em;
  line-height: 1.06;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

mark {
  color: var(--turquoise);
  background: none;
}

::selection {
  color: var(--ink);
  background: var(--yellow);
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: 12px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

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

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: 0 0 auto;
  vertical-align: -0.2em;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--outline {
  border: 2px solid var(--turquoise);
  color: var(--turquoise-dark);
  background: var(--white);
}

.button--outline:hover {
  color: var(--white);
  background: var(--turquoise);
}

.button--yellow {
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 0 5px 0 #dda900;
}

.button--yellow:hover {
  background: #ffdb45;
  box-shadow: 0 3px 0 #dda900;
  transform: translateY(2px);
}

.button--yellow:disabled {
  opacity: 0.52;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.button--primary {
  color: var(--white);
  background: var(--turquoise-dark);
  box-shadow: 0 6px 0 #05758a;
}

.button--primary:hover {
  background: var(--turquoise);
  box-shadow: 0 3px 0 #05758a;
  transform: translateY(2px);
}

.button--light {
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 6px 0 rgba(7, 50, 74, 0.18);
}

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

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease var(--delay, 0ms), transform 650ms cubic-bezier(.2, .8, .2, 1) var(--delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Header */
.site-header {
  width: min(1310px, calc(100% - 24px));
  min-height: 84px;
  position: sticky;
  top: 12px;
  z-index: 100;
  display: grid;
  grid-template-columns: 92px 1fr auto;
  align-items: center;
  gap: 22px;
  margin: 12px auto 18px;
  padding: 6px 14px 6px 18px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 35px rgba(7, 50, 74, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  width: 78px;
  height: 70px;
  display: block;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.7vw, 38px);
}

.main-nav > a,
.nav-rentals > summary {
  position: relative;
  padding: 12px 0;
  font-weight: 700;
  white-space: nowrap;
}

.main-nav > a::after,
.nav-rentals > summary::after {
  content: "";
  height: 3px;
  position: absolute;
  right: 6px;
  bottom: 5px;
  left: 6px;
  border-radius: 999px;
  background: var(--turquoise);
  transform: scaleX(0) rotate(-1deg);
  transform-origin: center;
  transition: transform 180ms ease;
}

.main-nav > a:hover::after,
.main-nav > a.is-current::after,
.nav-rentals > summary:hover::after,
.nav-rentals.is-current > summary::after,
.nav-rentals[open] > summary::after {
  transform: scaleX(1) rotate(-1deg);
}

.main-nav > a > small {
  position: absolute;
  top: -3px;
  right: -22px;
  padding: 2px 6px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--yellow-soft);
  font-size: 9px;
  letter-spacing: 0;
}

.nav-rentals {
  position: relative;
}

.nav-rentals > summary {
  display: flex;
  align-items: center;
  gap: 7px;
  list-style: none;
  cursor: pointer;
}

.nav-rentals > summary::-webkit-details-marker {
  display: none;
}

.nav-rentals > summary > span::after {
  content: "";
  width: 7px;
  height: 7px;
  display: inline-block;
  margin: 0 0 3px 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.nav-rentals[open] > summary > span::after {
  transform: translateY(3px) rotate(225deg);
}

.nav-rentals > summary small {
  padding: 3px 7px;
  border-radius: 999px;
  color: var(--turquoise-dark);
  background: var(--turquoise-soft);
  font-size: 0.62rem;
  line-height: 1;
}

.nav-rentals__menu {
  width: 300px;
  position: absolute;
  z-index: 30;
  top: calc(100% + 10px);
  left: 50%;
  display: grid;
  gap: 5px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,0.98);
  box-shadow: var(--shadow-md);
  transform: translateX(-50%);
}

.nav-rentals__menu a {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 13px;
}

.nav-rentals__menu a:hover,
.nav-rentals__menu a.is-selected {
  color: var(--ink);
  background: var(--turquoise-soft);
}

.nav-rentals__menu a.is-selected {
  box-shadow: inset 4px 0 0 var(--yellow);
}

.nav-rentals__menu small {
  color: var(--ink-soft);
  font-size: 0.74rem;
  font-weight: 500;
}

.header-contact {
  min-height: 46px;
}

.menu-toggle {
  width: 48px;
  height: 48px;
  display: none;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 15px;
  background: var(--turquoise-soft);
  cursor: pointer;
}

.menu-toggle .icon {
  width: 24px;
  height: 24px;
}

/* Hero */
.hero {
  width: min(1380px, calc(100% - 24px));
  min-height: 640px;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 44px;
  background: var(--sand);
  box-shadow: var(--shadow-md);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../assets/hero-bahia-v2.webp") center / cover no-repeat;
  transform: scale(1.02);
  animation: hero-breathe 16s ease-in-out infinite alternate;
}

.hero__wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.94) 27%, rgba(255,255,255,0.2) 54%, rgba(4,46,69,0.05) 100%),
    linear-gradient(0deg, rgba(7,50,74,0.18), transparent 38%);
}

.hero__content {
  width: min(610px, 48%);
  margin-left: clamp(34px, 7vw, 110px);
  padding: 70px 0 110px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 13px;
  color: var(--turquoise-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow i {
  width: 24px;
  height: 3px;
  border-radius: 99px;
  background: var(--yellow);
  box-shadow: 8px -6px 0 -1px var(--yellow), 9px 6px 0 -1px var(--yellow);
}

.hero h1 {
  max-width: 600px;
  margin-bottom: 22px;
  font-size: clamp(3.35rem, 5.9vw, 5.9rem);
  line-height: 0.92;
}

.hero h1 mark {
  position: relative;
  color: var(--turquoise);
}

.hero h1 mark::after {
  content: "";
  height: 10px;
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  border: solid var(--yellow);
  border-width: 4px 0 0;
  border-radius: 50%;
  transform: rotate(-1deg);
}

.hero__content > p {
  max-width: 530px;
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.hero__mini-proof {
  display: flex;
  align-items: center;
  gap: 13px;
}

.hero__mini-proof > span:last-child {
  display: grid;
}

.hero__mini-proof small {
  color: var(--ink-soft);
}

.avatar-stack {
  display: flex;
}

.avatar-stack i {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  margin-left: -8px;
  border: 3px solid var(--white);
  border-radius: 50%;
  color: var(--ink);
  background: var(--yellow);
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 900;
}

.avatar-stack i:first-child {
  margin-left: 0;
  background: var(--turquoise-soft);
}

.avatar-stack i:last-child {
  color: var(--white);
  background: var(--turquoise);
}

.hero__floating-note {
  position: absolute;
  right: clamp(28px, 5vw, 74px);
  bottom: 74px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 19px;
  border: 2px solid rgba(255,255,255,0.85);
  border-radius: 22px 22px 8px 22px;
  color: var(--white);
  background: rgba(7, 50, 74, 0.58);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(9px);
  transform: rotate(-3deg);
}

.hero__floating-note b {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--yellow);
  font-size: 1.5rem;
}

.hero__floating-note span {
  font-family: var(--heading);
  line-height: 1.05;
}

.doodle--sun {
  width: 72px;
  height: 72px;
  position: absolute;
  top: 54px;
  left: 45%;
}

.doodle--sun::before {
  content: "";
  width: 22px;
  height: 22px;
  position: absolute;
  top: 25px;
  left: 25px;
  border: 4px solid var(--yellow);
  border-radius: 50%;
}

.doodle--sun i {
  width: 4px;
  height: 14px;
  position: absolute;
  top: 2px;
  left: 34px;
  border-radius: 99px;
  background: var(--yellow);
  transform-origin: 2px 34px;
}

.doodle--sun i:nth-child(2) { transform: rotate(72deg); }
.doodle--sun i:nth-child(3) { transform: rotate(144deg); }
.doodle--sun i:nth-child(4) { transform: rotate(216deg); }
.doodle--sun i:nth-child(5) { transform: rotate(288deg); }

.doodle--smile {
  width: 84px;
  height: 45px;
  position: absolute;
  top: 36%;
  right: 7%;
  border-bottom: 7px solid var(--yellow);
  border-radius: 0 0 50% 50%;
  transform: rotate(-8deg);
}

.doodle--smile::before,
.doodle--smile::after {
  content: "";
  width: 7px;
  height: 7px;
  position: absolute;
  top: 7px;
  border-radius: 50%;
  background: var(--yellow);
}

.doodle--smile::before { left: 18px; }
.doodle--smile::after { right: 18px; }

.search-panel {
  width: min(1180px, calc(100% - 48px));
  min-height: 106px;
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 0.9fr auto;
  align-items: stretch;
  gap: 0;
  margin: -54px auto 72px;
  padding: 12px;
  border: 1px solid rgba(7, 50, 74, 0.08);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.search-field {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 19px;
  border-right: 1px solid var(--line);
  cursor: pointer;
  transition: background-color 180ms ease;
}

.search-field:hover,
.search-field:focus-visible {
  border-radius: 16px;
  background: var(--turquoise-soft);
}

.search-field__icon {
  color: var(--turquoise-dark);
}

.search-field__icon .icon {
  width: 27px;
  height: 27px;
}

.search-field > span:last-child {
  min-width: 0;
  display: grid;
  flex: 1;
}

.search-field b {
  font-size: 0.78rem;
}

.search-field select,
.search-field input {
  width: 100%;
  min-width: 0;
  padding: 2px 0;
  overflow: hidden;
  border: 0;
  outline: 0;
  color: var(--ink-soft);
  background: transparent;
  font-size: 0.84rem;
  text-overflow: ellipsis;
}

.search-submit {
  min-width: 116px;
  min-height: 74px;
  align-self: center;
  border-radius: 21px;
}

.search-submit .icon {
  width: 24px;
  height: 24px;
}

/* Sections */
.experience-strip,
.destinations,
.coast-story,
.properties,
.brand-story,
.long-stay,
.faq,
.similar {
  margin-bottom: 112px;
}

.experience-strip {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  align-items: center;
  gap: 46px;
  padding: 30px 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.72);
  box-shadow: var(--shadow-sm);
}

.experience-strip h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
}

.experience-chips {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.experience-chips button {
  min-width: 0;
  display: grid;
  place-items: center;
  gap: 7px;
  padding: 12px 8px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.experience-chips button:hover {
  background: var(--yellow-soft);
  transform: translateY(-5px) rotate(-1deg);
}

.experience-chips button.is-active {
  color: var(--ink);
  background: var(--yellow-soft);
  box-shadow: inset 0 0 0 2px var(--yellow);
  transform: translateY(-4px);
}

.experience-chips button.is-active span {
  transform: rotate(-6deg) scale(1.08);
}

.experience-chips span {
  width: 53px;
  height: 53px;
  display: grid;
  place-items: center;
  border-radius: 18px 18px 8px 18px;
  color: var(--white);
  background: var(--turquoise);
  box-shadow: 0 5px 0 var(--turquoise-dark);
  font-family: var(--heading);
  font-size: 1.65rem;
}

.experience-chips button:nth-child(even) span {
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 0 5px 0 #dda900;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p,
.section-heading > div > p {
  max-width: 440px;
  margin-bottom: 4px;
  color: var(--ink-soft);
}

.section-kicker {
  position: relative;
  margin-bottom: 11px;
}

.section-kicker::after {
  content: "";
  width: 40px;
  height: 5px;
  position: absolute;
  bottom: -6px;
  left: 0;
  border-top: 3px solid currentColor;
  border-radius: 50%;
  transform: rotate(-3deg);
}

.section-kicker--light {
  color: rgba(255,255,255,0.9);
}

.destination-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}

.destination-card {
  min-height: 286px;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 25px;
  overflow: hidden;
  border: 0;
  border-radius: 30px 30px 12px 30px;
  color: var(--white);
  background: var(--ink);
  box-shadow: var(--shadow-sm);
  text-align: left;
  cursor: pointer;
  transition: transform 300ms cubic-bezier(.2,.8,.2,1), box-shadow 300ms ease;
}

.destination-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--destination-image) center / cover no-repeat;
  transition: transform 650ms cubic-bezier(.2,.8,.2,1);
}

.destination-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(4, 35, 52, 0.86), rgba(4,35,52,0.05) 68%);
}

.destination-card:hover {
  z-index: 2;
  box-shadow: var(--shadow-md);
  transform: translateY(-8px) rotate(-0.7deg);
}

.destination-card:hover::before {
  transform: scale(1.06);
}

.destination-card span {
  display: grid;
}

.destination-card strong {
  font-family: var(--heading);
  font-size: 1.65rem;
}

.destination-card small {
  color: rgba(255,255,255,0.8);
}

.destination-card i,
.round-link {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--yellow);
  font-style: normal;
  transition: transform 180ms ease;
}

.destination-card:hover i,
.round-link:hover {
  transform: rotate(-18deg) scale(1.08);
}

/* The coast is the product, not decoration */
.coast-story {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: clamp(42px, 6vw, 86px);
  padding: clamp(38px, 5vw, 70px);
  overflow: hidden;
  border-radius: 48px 48px 14px 48px;
  background:
    radial-gradient(circle at 91% 12%, rgba(255, 210, 28, 0.32), transparent 170px),
    linear-gradient(135deg, #e3fafc, #fffdf8 58%, #fff5ce);
  box-shadow: var(--shadow-md);
}

.coast-story::before,
.coast-story::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.coast-story::before {
  width: 190px;
  height: 190px;
  right: -56px;
  bottom: -88px;
  border: 20px solid rgba(18, 183, 210, 0.11);
  border-radius: 44% 56% 64% 36% / 48% 44% 56% 52%;
}

.coast-story::after {
  width: 150px;
  height: 3px;
  right: 42px;
  top: 45px;
  border-radius: 50%;
  background: var(--turquoise);
  box-shadow: 18px 10px 0 -1px var(--turquoise), 35px 20px 0 -1px var(--turquoise);
  opacity: 0.45;
  transform: rotate(-4deg);
}

.coast-story__gallery {
  min-height: 500px;
  position: relative;
}

.coast-story__photo {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 7px solid var(--white);
  box-shadow: 0 24px 55px rgba(7, 50, 74, 0.19);
}

.coast-story__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(.2,.8,.2,1);
}

.coast-story__photo:hover img {
  transform: scale(1.04);
}

.coast-story__photo--vallarta {
  width: 72%;
  height: 82%;
  top: 0;
  left: 0;
  border-radius: 34px 34px 10px 34px;
  transform: rotate(-2deg);
}

.coast-story__photo--nayarit {
  width: 55%;
  height: 56%;
  right: 0;
  bottom: 0;
  z-index: 2;
  border-radius: 28px 28px 28px 8px;
  transform: rotate(3deg);
}

.coast-story__photo figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: grid;
  padding: 12px 15px;
  border: 1px solid rgba(255,255,255,0.52);
  border-radius: 16px;
  color: var(--white);
  background: rgba(5, 47, 69, 0.63);
  backdrop-filter: blur(8px);
}

.coast-story__photo figcaption b {
  font-family: var(--heading);
}

.coast-story__photo figcaption span {
  color: rgba(255,255,255,0.78);
  font-size: 0.8rem;
}

.coast-story__sun,
.coast-story__wave {
  position: absolute;
  z-index: 3;
  color: var(--yellow);
  font-family: var(--heading);
  line-height: 1;
  text-shadow: 0 3px 0 rgba(7, 50, 74, 0.08);
}

.coast-story__sun {
  top: 34px;
  right: 4%;
  font-size: 3.6rem;
  animation: coast-sun 8s ease-in-out infinite alternate;
}

.coast-story__wave {
  bottom: 10px;
  left: 17%;
  color: var(--turquoise);
  font-size: 2rem;
  letter-spacing: -0.2em;
  transform: rotate(-4deg);
}

.coast-story__content {
  position: relative;
  z-index: 1;
}

.coast-story__content h2 {
  max-width: 570px;
  font-size: clamp(2.7rem, 5vw, 4.7rem);
}

.coast-story__content > p {
  max-width: 580px;
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: 1.03rem;
}

.coast-story__moments {
  display: grid;
  gap: 10px;
  margin-bottom: 30px;
}

.coast-story__moments > span {
  display: grid;
  grid-template-columns: 46px 1fr;
  padding: 11px 13px;
  border: 1px solid rgba(7, 50, 74, 0.08);
  border-radius: 18px;
  background: rgba(255,255,255,0.7);
  transition: background-color 180ms ease, transform 180ms ease;
}

.coast-story__moments > span:hover {
  background: var(--white);
  transform: translateX(5px);
}

.coast-story__moments i {
  width: 36px;
  height: 36px;
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  border-radius: 12px 12px 5px 12px;
  color: var(--white);
  background: var(--turquoise);
  font-style: normal;
  font-weight: 900;
}

.coast-story__moments > span:nth-child(2) i {
  color: var(--ink);
  background: var(--yellow);
}

.coast-story__moments small {
  color: var(--ink-soft);
}

@keyframes coast-sun {
  to { transform: translateY(-7px) rotate(12deg); }
}

.section-heading--properties {
  align-items: center;
}

.filter-pills {
  display: flex;
  gap: 7px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.filter-pills button {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.filter-pills button small {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  opacity: 0.72;
}

.filter-pills button.is-active {
  color: var(--white);
  background: var(--turquoise-dark);
  box-shadow: 0 4px 0 #06788e;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.property-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px 28px 12px 28px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 300ms cubic-bezier(.2,.8,.2,1), box-shadow 300ms ease;
}

.property-card:hover {
  z-index: 2;
  box-shadow: var(--shadow-md);
  transform: translateY(-7px);
}

.property-card__image-link {
  height: 246px;
  position: relative;
  display: block;
  overflow: hidden;
}

.property-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-card__image--real {
  display: block;
  overflow: hidden;
  background: #d9dee1;
}

.property-card__image--real img,
.similar-card__media--real img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

[data-media-frame].is-media-missing {
  position: relative;
  display: grid;
  place-items: center;
  color: #526673;
  background:
    linear-gradient(135deg, rgba(255,255,255,.46), transparent 58%),
    #d9dee1;
}

[data-media-frame].is-media-missing::before {
  content: "Fotografía no disponible";
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 16px;
  color: #425866;
  font-weight: 800;
  font-size: .78rem;
  text-align: center;
}

.property-photo-placeholder {
  position: relative;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 5px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid #c9d1d5;
  color: #526673;
  background:
    linear-gradient(135deg, rgba(255,255,255,.46), transparent 58%),
    #d9dee1;
  text-align: center;
}

.property-photo-placeholder::after {
  content: "";
  width: 130px;
  height: 130px;
  position: absolute;
  right: -65px;
  bottom: -75px;
  border: 1px solid rgba(82,102,115,.16);
  border-radius: 50%;
}

.property-photo-placeholder > i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(82,102,115,.34);
  border-radius: 50%;
  background: rgba(255,255,255,.38);
  font-style: normal;
  font-size: 1.15rem;
}

.property-photo-placeholder > b {
  color: #425866;
  font-size: 0.78rem;
}

.property-photo-placeholder > small {
  color: #6c7d87;
  font-size: 0.66rem;
}

.favorite-button {
  width: 44px;
  height: 44px;
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  place-items: center;
  padding: 0;
  border: 2px solid rgba(255,255,255,0.9);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255,255,255,0.88);
  box-shadow: 0 6px 18px rgba(7,50,74,0.18);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.favorite-button:hover {
  transform: scale(1.08) rotate(-7deg);
}

.favorite-button.is-favorite {
  color: var(--white);
  background: #ff6375;
}

.favorite-button.is-favorite .icon {
  fill: currentColor;
}

.property-card__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 20px;
}

.property-card__eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--turquoise-dark);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.property-card__eyebrow span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ink);
  letter-spacing: 0;
}

.property-card__eyebrow .icon {
  width: 15px;
  height: 15px;
  color: #f0ad00;
  fill: currentColor;
}

.property-card h3 {
  min-height: 2.3em;
  display: -webkit-box;
  overflow: hidden;
  margin: 8px 0 7px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 1.55rem;
  line-height: 1.15;
}

.property-card__location,
.property-card__facts {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.property-card__location {
  min-width: 0;
  margin-bottom: 17px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.property-card__location .icon {
  width: 16px;
  height: 16px;
  color: var(--turquoise-dark);
}

.property-card__description {
  min-height: 48px;
  margin-bottom: 15px;
  color: var(--ink-soft);
  font-size: 0.91rem;
}

.property-card__facts {
  flex-wrap: wrap;
  gap: 15px;
  margin-top: auto;
  margin-bottom: 17px;
  padding-bottom: 15px;
  border-bottom: 1px dashed var(--line);
}

.property-card__facts span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.property-card__facts .icon {
  width: 18px;
  height: 18px;
  color: var(--turquoise-dark);
}

.property-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.property-card__footer p {
  margin: 0;
}

.property-card__footer strong {
  font-family: var(--heading);
  font-size: 1.12rem;
}

.property-card__footer p span {
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.round-link {
  width: 42px;
  height: 42px;
}

.empty-state {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  padding: 70px 24px;
  border: 2px dashed var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  text-align: center;
}

.empty-state__face {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--yellow);
  font-family: var(--heading);
  font-size: 1.5rem;
  transform: rotate(90deg);
}

.empty-state h3 {
  margin-bottom: 8px;
  font-size: 1.6rem;
}

.empty-state p {
  color: var(--ink-soft);
}

.brand-story {
  min-height: 520px;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  border-radius: 48px 48px 14px 48px;
  color: var(--white);
  background: linear-gradient(135deg, #0faac4, #078fa9);
  box-shadow: var(--shadow-md);
}

.brand-story::after {
  content: "";
  width: 330px;
  height: 330px;
  position: absolute;
  right: -100px;
  bottom: -130px;
  z-index: -1;
  border: 2px dashed rgba(255,255,255,0.26);
  border-radius: 50%;
}

.brand-story__photo {
  min-height: 520px;
  background: linear-gradient(90deg, transparent 75%, #0faac4), url("../assets/destination-nayarit-v3.webp") center / cover no-repeat;
}

.brand-story__content {
  align-self: center;
  padding: 60px clamp(38px, 6vw, 86px) 60px 54px;
}

.brand-story h2 {
  max-width: 600px;
  font-size: clamp(2.6rem, 5.3vw, 5.1rem);
}

.brand-story h2 mark {
  display: block;
  color: var(--yellow);
  font-size: 0.82em;
  transform: rotate(-1deg);
}

.brand-story__content > p {
  max-width: 590px;
  color: rgba(255,255,255,0.86);
  font-size: 1.05rem;
}

.brand-story__checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.22);
}

.brand-story__checks p {
  display: grid;
  margin: 0;
}

.brand-story__checks small {
  color: rgba(255,255,255,0.7);
}

.brand-story__scribble {
  position: absolute;
  right: 36px;
  bottom: 20px;
  color: var(--yellow);
  font-family: var(--heading);
  font-size: 5rem;
  transform: rotate(-12deg);
}

.long-stay {
  min-height: 360px;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 30px;
  overflow: hidden;
  padding: 58px clamp(28px, 5vw, 72px);
  border: 1px solid var(--line);
  border-radius: 44px;
  background: var(--sand);
}

.long-stay__blob {
  width: 390px;
  height: 390px;
  position: absolute;
  top: -190px;
  left: -100px;
  z-index: -1;
  border: 65px solid var(--yellow);
  border-radius: 42% 58% 56% 44% / 46% 41% 59% 54%;
  opacity: 0.72;
}

.long-stay__content h2 {
  max-width: 600px;
  font-size: clamp(2.2rem, 4.6vw, 4rem);
}

.long-stay__content p {
  max-width: 600px;
  color: var(--ink-soft);
}

.long-stay__benefits {
  display: grid;
  gap: 14px;
}

.long-stay__benefits article {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px;
  border-radius: 22px 22px 8px 22px;
  background: rgba(255,255,255,0.82);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease;
}

.long-stay__benefits article:hover {
  transform: translateX(7px);
}

.long-stay__benefits i {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: var(--white);
  background: var(--turquoise);
  font-style: normal;
}

.long-stay__benefits span {
  display: grid;
}

.long-stay__benefits small {
  color: var(--ink-soft);
}

.faq {
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 96% 5%, rgba(255, 210, 28, 0.22), transparent 210px),
    var(--white);
  box-shadow: var(--shadow-sm);
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.faq-list details {
  align-self: start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--paper);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.faq-list details[open] {
  border-color: rgba(18, 183, 210, 0.42);
  box-shadow: 0 12px 28px rgba(7, 50, 74, 0.08);
  transform: translateY(-2px);
}

.faq-list summary {
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  gap: 14px;
  padding: 15px 17px;
  font-family: var(--heading);
  font-size: 0.93rem;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--yellow);
  font-size: 1.2rem;
  transition: color 180ms ease, background-color 180ms ease, transform 220ms ease;
}

.faq-list details[open] summary span {
  color: var(--white);
  background: var(--turquoise);
  transform: rotate(45deg);
}

.faq-list details p {
  margin: -2px 17px 17px;
  padding-top: 13px;
  border-top: 1px dashed var(--line);
  color: var(--ink-soft);
  font-size: 0.82rem;
}

/* Footer */
.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.8fr 1.3fr;
  gap: 50px;
  padding: 60px max(30px, calc((100vw - 1240px) / 2));
  border-radius: 48px 48px 0 0;
  color: rgba(255,255,255,0.82);
  background: var(--ink);
}

.site-footer > div:not(.site-footer__brand) {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.site-footer b {
  margin-bottom: 5px;
  color: var(--white);
}

.site-footer a:hover {
  color: var(--yellow);
}

.site-footer__brand img {
  width: 110px;
  height: 86px;
  object-fit: contain;
  object-position: center;
  filter: none;
}

.site-footer__brand p {
  margin: 5px 0 0;
}

.site-footer__newsletter p {
  margin-bottom: 4px;
}

.site-footer__newsletter form {
  display: grid;
  grid-template-columns: 1fr 48px;
  padding: 5px;
  border-radius: 15px;
  background: var(--white);
}

.site-footer__newsletter input {
  width: 100%;
  height: 42px;
  padding: 0 11px;
  border: 0;
  outline: 0;
}

.site-footer__newsletter form:focus-within {
  box-shadow: 0 0 0 3px rgba(255, 210, 28, 0.58);
}

.site-footer__newsletter button {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 11px;
  color: var(--ink);
  background: var(--yellow);
  cursor: pointer;
}

.site-footer__legal {
  grid-column: 1 / -1;
  margin: 12px 0 -30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.52);
  font-size: 0.8rem;
}

.mobile-dock,
.mobile-booking-bar {
  display: none;
}

.toast {
  max-width: min(420px, calc(100% - 32px));
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 1000;
  padding: 13px 20px;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  box-shadow: var(--shadow-md);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 25px);
  transition: opacity 220ms ease, transform 220ms ease;
}

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

/* Detail page */
.detail-main {
  padding-top: 10px;
}

.detail-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}

.back-link span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--turquoise-soft);
  transition: transform 180ms ease;
}

.back-link:hover span {
  transform: translateX(-5px);
}

.detail-actions {
  display: flex;
  gap: 8px;
}

.detail-actions button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-weight: 800;
  cursor: pointer;
}

.detail-actions button.is-favorite {
  color: #dd3f58;
  background: #fff0f2;
}

.detail-actions button.is-favorite .icon {
  fill: currentColor;
}

.detail-gallery {
  height: 570px;
  position: relative;
  display: grid;
  grid-template-columns: 1.55fr 0.75fr;
  gap: 12px;
  margin-bottom: 58px;
}

.detail-gallery__main,
.gallery-thumb {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: var(--sand);
  cursor: zoom-in;
}

.detail-gallery__main {
  border-radius: 38px 12px 12px 38px;
}

.detail-gallery__main img,
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(.2,.8,.2,1), filter 250ms ease;
}

.detail-gallery__main:hover img,
.gallery-thumb:hover img {
  transform: scale(1.025);
  filter: saturate(1.08);
}

.detail-gallery__thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}

.gallery-thumb {
  border-radius: 16px;
}

.detail-gallery__wave {
  width: 145px;
  height: 36px;
  position: absolute;
  right: 9%;
  bottom: -27px;
  border-top: 6px solid var(--turquoise);
  border-radius: 50%;
  transform: rotate(-4deg);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: start;
  gap: clamp(38px, 7vw, 90px);
  margin-bottom: 110px;
}

.detail-title {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.detail-title h1 {
  margin-bottom: 12px;
  font-size: clamp(3rem, 6vw, 5.4rem);
}

.detail-location,
.detail-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--ink-soft);
}

.detail-location .icon {
  color: var(--turquoise-dark);
}

.detail-rating {
  margin-top: 18px;
  font-size: 0.88rem;
}

.detail-rating > .icon {
  color: #eda900;
  fill: currentColor;
}

.detail-rating i {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--turquoise-dark);
  background: var(--turquoise-soft);
  font-style: normal;
  font-weight: 800;
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 26px 0 56px;
}

.detail-facts > span {
  display: grid;
  grid-template-columns: 46px auto;
  align-items: center;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 18px 18px 7px 18px;
  background: var(--white);
}

.detail-facts i {
  grid-row: 1 / span 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--turquoise-dark);
  background: var(--turquoise-soft);
}

.detail-facts b {
  font-size: 1.12rem;
}

.detail-facts small {
  color: var(--ink-soft);
}

.detail-section {
  margin-bottom: 60px;
}

.detail-section h2,
.host-note h2,
.location-card h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.detail-section > p {
  color: var(--ink-soft);
  font-size: 1.06rem;
  line-height: 1.8;
}

.feature-list,
.amenity-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 24px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.amenity-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.feature-list .icon,
.amenity-list .icon {
  width: 25px;
  height: 25px;
  padding: 5px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--yellow);
}

.host-note {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  margin-bottom: 60px;
  padding: 30px;
  overflow: hidden;
  border-radius: 30px 30px 10px 30px;
  background: var(--turquoise-soft);
}

.host-note__avatar {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 5px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  background: var(--turquoise-dark);
  box-shadow: var(--shadow-sm);
  font-family: var(--heading);
}

.host-note h2 {
  margin-bottom: 7px;
}

.host-note p {
  margin: 0;
  color: var(--ink-soft);
}

.host-note__smile {
  position: absolute;
  right: 18px;
  bottom: -15px;
  color: var(--yellow);
  font-family: var(--heading);
  font-size: 6rem;
  transform: rotate(-7deg);
}

.location-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--white);
}

.location-card__map {
  min-height: 260px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background:
    linear-gradient(35deg, transparent 48%, rgba(255,255,255,.9) 49% 53%, transparent 54%),
    linear-gradient(-24deg, transparent 47%, rgba(255,255,255,.9) 48% 52%, transparent 53%),
    var(--turquoise-soft);
}

.location-card__map::before,
.location-card__map::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.location-card__map::before {
  width: 180px;
  height: 180px;
  right: -55px;
  bottom: -35px;
  background: rgba(18,183,210,0.35);
}

.location-card__map::after {
  width: 16px;
  height: 16px;
  top: 48%;
  left: 45%;
  border: 7px solid var(--white);
  background: var(--turquoise-dark);
  box-shadow: 0 0 0 5px var(--yellow), 0 10px 26px rgba(7,50,74,0.3);
}

.location-card__map i {
  position: absolute;
  right: 21px;
  bottom: 23px;
  color: var(--turquoise-dark);
  font-style: normal;
  font-weight: 900;
}

.location-card__map b {
  position: absolute;
  top: 57%;
  left: 45%;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--white);
  font-size: 0.72rem;
  transform: translateX(-38%);
}

.location-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.booking-card {
  position: sticky;
  top: 118px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 30px 30px 10px 30px;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.booking-card::before {
  content: "";
  width: 40px;
  height: 40px;
  position: absolute;
  top: -16px;
  right: -12px;
  border: 7px solid var(--yellow);
  border-radius: 50%;
  clip-path: polygon(0 0, 100% 0, 100% 48%, 0 48%);
  transform: rotate(22deg);
}

.booking-card__price > span {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.booking-card__price p {
  margin: 0;
}

.booking-card__price b {
  font-family: var(--heading);
  font-size: 1.8rem;
}

.booking-card__price small {
  color: var(--ink-soft);
}

.booking-card__promise {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 17px 0;
  padding: 9px 12px;
  border-radius: 12px;
  color: var(--turquoise-dark);
  background: var(--turquoise-soft);
  font-size: 0.82rem;
  font-weight: 800;
}

.booking-card__promise span {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
}

.booking-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px 17px 0 0;
}

.booking-dates label,
.booking-guests {
  display: grid;
  gap: 2px;
  padding: 11px 12px;
}

.booking-dates label:first-child {
  border-right: 1px solid var(--line);
}

.booking-dates span,
.booking-guests span {
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.booking-dates input,
.booking-guests select {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink-soft);
  background: transparent;
  font-size: 0.82rem;
}

.booking-guests {
  margin-bottom: 16px;
  border: solid var(--line);
  border-width: 0 1px 1px;
  border-radius: 0 0 17px 17px;
}

.booking-estimate {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}

.booking-estimate p {
  max-width: 190px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.booking-estimate b {
  font-family: var(--heading);
  font-size: 0.95rem;
  text-align: right;
}

.booking-card__fineprint {
  margin: 17px 0;
  color: var(--ink-soft);
  font-size: 0.74rem;
  text-align: center;
}

.booking-card__pet-policy {
  margin: 13px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(7, 50, 74, 0.08);
  border-radius: 13px;
  color: var(--ink-soft);
  background: var(--sand);
  font-size: 0.7rem;
}

.booking-card__pet-policy::before {
  content: "○";
  margin-right: 7px;
  color: var(--ink-soft);
  font-weight: 900;
}

.booking-card__pet-policy.is-friendly {
  color: var(--turquoise-dark);
  background: var(--turquoise-soft);
}

.booking-card__pet-policy.is-friendly::before {
  content: "✓";
  color: var(--turquoise-dark);
}

.booking-card__help {
  display: grid;
  padding: 14px;
  border-radius: 16px;
  background: var(--sand);
  font-size: 0.8rem;
}

.booking-card__help b {
  color: var(--turquoise-dark);
}

.similar .section-heading a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--turquoise-dark);
  font-weight: 900;
}

.similar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.similar-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px 24px 8px 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.similar-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-7px);
}

.similar-card img,
.similar-card__media {
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 853;
  object-fit: contain;
}

.similar-card__media {
  overflow: hidden;
  background: #d9dee1;
  transition: none;
}

.similar-card:hover .similar-card__media {
  transform: none;
}

.similar-card .similar-card__media > b {
  color: #425866;
  font-size: 0.78rem;
}

.similar-card .similar-card__media > small {
  color: #6c7d87;
  font-size: 0.66rem;
}

.similar-card span {
  display: grid;
  gap: 4px;
  padding: 17px;
}

.similar-card small {
  color: var(--ink-soft);
}

.similar-card strong {
  font-family: var(--heading);
  font-size: 1.25rem;
}

.similar-card b {
  color: var(--turquoise-dark);
  font-size: 0.85rem;
}

.site-footer--compact {
  grid-template-columns: 1fr 1fr;
}

.lightbox {
  width: min(1120px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 28px;
  background: #071f2e;
  box-shadow: 0 30px 100px rgba(0,0,0,0.5);
}

.lightbox::backdrop {
  background: rgba(3, 20, 30, 0.82);
  backdrop-filter: blur(8px);
}

.lightbox figure {
  height: min(78vh, 760px);
  margin: 0;
}

.lightbox figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox figcaption {
  position: absolute;
  bottom: 16px;
  left: 50%;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(0,0,0,0.55);
  transform: translateX(-50%);
}

.lightbox__close,
.lightbox__arrow {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: rgba(7,50,74,0.75);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.lightbox__close {
  width: 46px;
  height: 46px;
  top: 16px;
  right: 16px;
}

.lightbox__arrow {
  width: 52px;
  height: 52px;
  top: 50%;
  font-size: 1.4rem;
  transform: translateY(-50%);
}

.lightbox__arrow--prev { left: 16px; }
.lightbox__arrow--next { right: 16px; }

/* Responsive */
@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 76px 1fr auto;
  }

  .main-nav {
    gap: 16px;
    font-size: 0.9rem;
  }

  .main-nav small {
    display: none;
  }

  .hero__content {
    width: 54%;
  }

  .search-panel {
    grid-template-columns: 1.3fr 1fr 1fr auto;
  }

  .search-field:nth-of-type(4) {
    display: none;
  }

  .experience-strip {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .brand-story {
    grid-template-columns: 0.75fr 1.25fr;
  }

  .coast-story {
    grid-template-columns: minmax(0, 0.9fr) minmax(330px, 1.1fr);
    gap: 38px;
    padding-inline: 40px;
  }

  .coast-story__gallery {
    min-height: 440px;
  }

  .detail-gallery {
    height: 490px;
  }

  .detail-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 38px;
  }

  .detail-facts {
    gap: 7px;
  }

  .detail-facts > span {
    grid-template-columns: 40px auto;
    padding: 9px;
  }
}

@media (max-width: 860px) {
  :root {
    --shell: min(100% - 28px, 720px);
  }

  .site-header {
    min-height: 72px;
    grid-template-columns: 68px 1fr 48px;
    padding: 4px 8px 4px 12px;
    border-radius: 22px;
  }

  .brand {
    width: 64px;
    height: 60px;
  }

  .menu-toggle {
    grid-column: 3;
    display: grid;
  }

  .header-contact {
    justify-self: end;
    grid-column: 2;
    grid-row: 1;
    min-height: 42px;
    padding-inline: 15px;
    font-size: 0.83rem;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: grid;
    gap: 2px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255,255,255,0.97);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .main-nav > a,
  .nav-rentals > summary {
    padding: 12px 14px;
    border-radius: 12px;
  }

  .main-nav > a:hover,
  .nav-rentals > summary:hover,
  .nav-rentals.is-current > summary {
    background: var(--turquoise-soft);
  }

  .main-nav > a::after,
  .nav-rentals > summary::after {
    display: none;
  }

  .nav-rentals__menu {
    width: auto;
    position: static;
    margin: 4px 0 6px 12px;
    padding: 6px;
    border-radius: 15px;
    background: #f8fdfe;
    box-shadow: none;
    transform: none;
  }

  .nav-rentals__menu a {
    padding: 10px 12px;
  }

  .hero {
    min-height: 590px;
    align-items: flex-start;
    border-radius: 34px;
  }

  .hero__wash {
    background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.84) 48%, rgba(7,50,74,.12) 72%, rgba(7,50,74,.5) 100%);
  }

  .hero__content {
    width: auto;
    margin: 0;
    padding: 70px 34px 160px;
  }

  .hero h1 {
    max-width: 620px;
    font-size: clamp(3.8rem, 11vw, 6rem);
  }

  .hero__floating-note {
    right: 24px;
    bottom: 26px;
  }

  .doodle--sun {
    top: 20px;
    left: auto;
    right: 28px;
  }

  .doodle--smile {
    display: none;
  }

  .search-panel {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 60px;
  }

  .search-field {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .search-field:nth-of-type(4) {
    display: flex;
  }

  .search-submit {
    min-height: 62px;
    grid-column: 1 / -1;
  }

  .experience-chips {
    display: flex;
    padding: 4px 0 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .experience-chips button {
    min-width: 112px;
    scroll-snap-align: start;
  }

  .destination-grid {
    grid-template-columns: repeat(3, 280px);
    padding-bottom: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .destination-card {
    min-height: 270px;
    scroll-snap-align: start;
  }

  .coast-story {
    grid-template-columns: 1fr;
  }

  .coast-story__gallery {
    min-height: 470px;
  }

  .brand-story {
    grid-template-columns: 1fr;
  }

  .brand-story__photo {
    min-height: 330px;
    background: linear-gradient(0deg, #0faac4, transparent 55%), url("../assets/destination-nayarit-v3.webp") center / cover no-repeat;
  }

  .brand-story__content {
    padding: 20px 34px 48px;
  }

  .long-stay {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__newsletter {
    grid-column: 1 / -1;
  }

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

  .detail-gallery__main {
    height: 460px;
    border-radius: 32px;
  }

  .detail-gallery__thumbs {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 110px;
  }

  .gallery-thumb {
    border-radius: 14px !important;
  }

  .detail-gallery__wave {
    display: none;
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .booking-card {
    position: static;
    grid-row: 1;
  }

  .detail-copy {
    grid-row: 2;
  }

  .similar-grid {
    grid-template-columns: repeat(3, 270px);
    padding-bottom: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .similar-card {
    scroll-snap-align: start;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: calc(100% - 24px);
    --radius-lg: 28px;
  }

  body.home-page {
    padding-bottom: 82px;
  }

  h2 {
    font-size: 2.25rem;
  }

  .site-header {
    width: calc(100% - 16px);
    top: 8px;
    margin: 8px auto 12px;
  }

  .header-contact {
    min-height: 39px;
    padding: 0 12px;
  }

  .header-contact .icon {
    display: none;
  }

  .hero {
    width: calc(100% - 16px);
    min-height: 560px;
    border-radius: 28px;
  }

  .hero__media {
    background-position: 59% center;
  }

  .hero__wash {
    background:
      linear-gradient(180deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.96) 49%, rgba(255,255,255,.78) 70%, rgba(7,50,74,.42) 100%),
      linear-gradient(90deg, rgba(255,255,255,.28), transparent 72%);
  }

  .hero__content {
    padding: 50px 24px 150px;
  }

  .hero h1 {
    font-size: clamp(3rem, 13vw, 4.4rem);
  }

  .hero__content > p {
    margin-left: -12px;
    padding: 11px 12px;
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 16px;
    background: rgba(255,255,255,0.64);
    backdrop-filter: blur(6px);
    font-size: 0.96rem;
  }

  .hero__floating-note {
    right: 16px;
    bottom: 18px;
    padding: 10px 13px;
  }

  .hero__floating-note b {
    width: 34px;
    height: 34px;
  }

  .search-panel {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
    margin-top: -42px;
    padding: 9px;
    border-radius: 23px;
  }

  .search-field {
    min-height: 66px;
    padding: 9px 12px;
  }

  .search-field:nth-of-type(3) {
    display: none;
  }

  .search-submit {
    grid-column: auto;
  }

  .experience-strip,
  .destinations,
  .coast-story,
  .properties,
  .brand-story,
  .long-stay,
  .faq,
  .similar {
    margin-bottom: 76px;
  }

  .experience-strip {
    width: 100%;
    padding: 27px 12px 25px 18px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .experience-strip > div:first-child {
    padding-right: 12px;
  }

  .section-heading,
  .section-heading--properties {
    display: grid;
    align-items: start;
    gap: 18px;
  }

  .filter-pills {
    width: 100%;
    overflow-x: auto;
  }

  .filter-pills button {
    flex: 1 0 auto;
  }

  .property-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .faq-list {
    grid-template-columns: 1fr;
  }

  .property-card__image-link {
    height: 235px;
  }

  .brand-story {
    width: calc(100% - 16px);
    border-radius: 34px 34px 10px 34px;
  }

  .coast-story {
    width: calc(100% - 16px);
    padding: 18px 18px 34px;
    border-radius: 34px 34px 10px 34px;
  }

  .coast-story__gallery {
    min-height: 365px;
  }

  .coast-story__photo--vallarta {
    width: 79%;
    height: 78%;
  }

  .coast-story__photo--nayarit {
    width: 62%;
    height: 52%;
  }

  .coast-story__photo figcaption {
    right: 8px;
    bottom: 8px;
    left: 8px;
    padding: 9px 11px;
  }

  .coast-story__content h2 {
    font-size: 2.85rem;
  }

  .coast-story__moments > span {
    grid-template-columns: 42px 1fr;
  }

  .brand-story__photo {
    min-height: 260px;
  }

  .brand-story__content {
    padding: 12px 24px 42px;
  }

  .brand-story h2 {
    font-size: 3rem;
  }

  .brand-story__checks {
    grid-template-columns: 1fr;
  }

  .long-stay {
    padding: 42px 23px;
    border-radius: 30px;
  }

  .long-stay__content h2 {
    font-size: 2.65rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 46px 24px 40px;
    border-radius: 34px 34px 0 0;
  }

  .site-footer__newsletter {
    grid-column: auto;
  }

  .mobile-dock {
    height: 68px;
    position: fixed;
    right: 10px;
    bottom: 9px;
    left: 10px;
    z-index: 90;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 6px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 22px;
    color: rgba(255,255,255,0.7);
    background: rgba(7,50,74,0.94);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
  }

  .mobile-dock a {
    display: grid;
    place-items: center;
    border-radius: 16px;
    font-size: 0.66rem;
    font-weight: 800;
  }

  .mobile-dock a span {
    color: var(--white);
    font-size: 1.25rem;
    line-height: 1;
  }

  .mobile-dock a.is-active {
    color: var(--ink);
    background: var(--yellow);
  }

  .mobile-dock a.is-active span {
    color: var(--ink);
  }

  .toast {
    bottom: 86px;
  }

  .detail-page {
    padding-bottom: 88px;
  }

  .detail-page .site-header {
    grid-template-columns: 68px 1fr 48px;
  }

  .detail-topbar {
    align-items: center;
  }

  .detail-actions button span:last-child {
    display: none;
  }

  .detail-actions button {
    width: 42px;
    padding: 0;
    justify-content: center;
  }

  .detail-gallery {
    width: calc(100% - 16px);
    margin-bottom: 38px;
  }

  .detail-gallery__main {
    height: 380px;
    border-radius: 26px;
  }

  .detail-gallery__thumbs {
    grid-template-columns: repeat(4, 116px);
    grid-template-rows: 84px;
    padding-bottom: 5px;
    overflow-x: auto;
  }

  .gallery-hint {
    right: 11px;
    bottom: 11px;
    padding: 8px 11px;
    font-size: 0.75rem;
  }

  .detail-title h1 {
    font-size: 3.5rem;
  }

  .detail-facts {
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 46px;
  }

  .detail-facts > span {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .detail-facts i {
    grid-row: auto;
  }

  .feature-list,
  .amenity-list {
    grid-template-columns: 1fr;
  }

  .host-note {
    grid-template-columns: 54px 1fr;
    padding: 22px;
  }

  .host-note__avatar {
    width: 54px;
    height: 54px;
  }

  .location-card {
    grid-template-columns: 1fr;
  }

  .location-card__map {
    min-height: 210px;
  }

  .booking-card {
    display: none;
  }

  .detail-copy {
    grid-row: auto;
  }

  .detail-layout {
    margin-bottom: 74px;
  }

  .mobile-booking-bar {
    min-height: 72px;
    position: fixed;
    right: 8px;
    bottom: 8px;
    left: 8px;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 8px 8px 17px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 22px;
    color: var(--white);
    background: rgba(7,50,74,0.95);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
  }

  .mobile-booking-bar p {
    display: grid;
    margin: 0;
  }

  .mobile-booking-bar span {
    color: rgba(255,255,255,0.68);
    font-size: 0.72rem;
  }

  .mobile-booking-bar .button {
    min-height: 52px;
  }

  .similar-grid {
    grid-template-columns: repeat(3, 255px);
  }

  .lightbox {
    width: calc(100% - 16px);
    border-radius: 22px;
  }

  .lightbox__arrow {
    width: 44px;
    height: 44px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Booking experience */
.search-panel {
  grid-template-columns: minmax(220px, 1.25fr) minmax(190px, 1.1fr) minmax(170px, 0.85fr) auto;
}

.search-field--button {
  width: 100%;
  border-width: 0 1px 0 0;
  border-style: solid;
  border-color: var(--line);
  text-align: left;
  background: transparent;
  appearance: none;
}

.search-field--button small {
  max-width: 100%;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-field--button.has-value small {
  color: var(--turquoise-dark);
  font-weight: 800;
}

.search-field select {
  padding-right: 20px;
  background-image: linear-gradient(45deg, transparent 50%, var(--turquoise-dark) 50%), linear-gradient(135deg, var(--turquoise-dark) 50%, transparent 50%);
  background-position: calc(100% - 8px) 10px, calc(100% - 3px) 10px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  appearance: none;
  cursor: pointer;
}

.booking-dates,
.booking-guests {
  width: 100%;
  color: var(--ink);
  background: var(--white);
  appearance: none;
  cursor: pointer;
}

.booking-dates {
  position: relative;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 0;
  padding: 0;
  text-align: left;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.booking-dates:hover,
.booking-dates:focus-visible,
.booking-guests:hover,
.booking-guests:focus-visible {
  z-index: 1;
  border-color: rgba(18, 183, 210, 0.7);
  box-shadow: 0 0 0 3px rgba(18, 183, 210, 0.12);
}

.booking-dates > span {
  min-width: 0;
  display: grid;
  gap: 2px;
  padding: 12px;
}

.booking-dates > span:first-child {
  border-right: 1px solid var(--line);
}

.booking-dates small,
.booking-guests small {
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.booking-dates b,
.booking-guests b {
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 0.8rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.booking-dates.has-value b,
.booking-guests.has-value b {
  color: var(--turquoise-dark);
}

.booking-dates > i {
  display: grid;
  padding: 12px 11px 12px 5px;
  color: var(--turquoise-dark);
}

.booking-dates > i .icon,
.booking-guests > i .icon {
  width: 19px;
  height: 19px;
}

.booking-guests {
  min-height: 54px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  text-align: left;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.booking-guests > span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.booking-guests > i {
  display: grid;
  color: var(--turquoise-dark);
}

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

html.booking-ui-open,
body.booking-ui-open {
  overflow: hidden;
}

.booking-layer {
  position: fixed;
  inset: 0;
  z-index: 1600;
  pointer-events: none;
}

.booking-layer__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(7, 50, 74, 0.18);
  opacity: 0;
  backdrop-filter: blur(2px);
  transition: opacity 180ms ease;
}

.booking-popover {
  --booking-left: 50%;
  --booking-top: 90px;
  position: fixed;
  top: var(--booking-top);
  left: var(--booking-left);
  overflow: hidden;
  overscroll-behavior: none;
  border: 1px solid rgba(7, 50, 74, 0.1);
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 210, 28, 0.22), transparent 180px),
    var(--white);
  box-shadow: 0 32px 90px rgba(7, 50, 74, 0.26);
  opacity: 0;
  transform: translateY(14px) scale(0.975);
  transform-origin: 30% 0;
  transition: opacity 180ms ease, transform 240ms cubic-bezier(.2, .85, .25, 1.1);
}

.booking-popover--calendar {
  width: min(780px, calc(100vw - 32px));
  padding: 24px;
}

.booking-popover--guests {
  width: min(410px, calc(100vw - 32px));
  padding: 24px;
}

.booking-popover--destination {
  width: min(460px, calc(100vw - 32px));
  padding: 24px;
}

.booking-popover--calendar[data-months="1"] {
  width: min(480px, calc(100vw - 32px));
}

.booking-popover--calendar[data-months="1"] .calendar-months {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.booking-layer.is-open {
  pointer-events: auto;
}

.booking-layer.is-open .booking-layer__backdrop {
  opacity: 1;
}

.booking-layer.is-open .booking-popover {
  opacity: 1;
  transform: none;
}

.booking-popover__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.booking-popover__header h3 {
  margin: 2px 0 0;
  font-size: clamp(1.55rem, 3vw, 2rem);
}

.booking-eyebrow {
  color: var(--turquoise-dark);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.booking-close,
.calendar-nav,
.guest-stepper button {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.booking-close {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
}

.booking-close:hover,
.calendar-nav:hover:not(:disabled),
.guest-stepper button:hover:not(:disabled) {
  border-color: var(--turquoise);
  color: var(--white);
  background: var(--turquoise);
  transform: rotate(4deg) scale(1.05);
}

.booking-close .icon,
.calendar-nav .icon,
.guest-stepper .icon {
  width: 18px;
  height: 18px;
}

.calendar-selection {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
}

.calendar-selection > span {
  display: grid;
  gap: 1px;
  padding: 7px 11px;
  border-radius: 13px;
}

.calendar-selection > span.has-value {
  background: var(--turquoise-soft);
}

.calendar-selection small {
  color: var(--ink-soft);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.calendar-selection b {
  font-size: 0.86rem;
}

.calendar-selection > i {
  display: grid;
  color: var(--turquoise-dark);
}

.calendar-selection > i .icon {
  width: 18px;
  height: 18px;
}

.calendar-frame {
  position: relative;
  min-height: 0;
}

.calendar-months {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
}

.calendar-month h4 {
  margin: 0 0 16px;
  font-family: var(--heading);
  font-size: 1.05rem;
  text-align: center;
  text-transform: capitalize;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-weekdays {
  margin-bottom: 5px;
}

.calendar-weekdays span {
  color: var(--ink-soft);
  font-size: 0.67rem;
  font-weight: 900;
  text-align: center;
}

.calendar-day {
  position: relative;
  min-width: 0;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  font-size: 0.79rem;
  cursor: pointer;
}

.calendar-day span {
  position: relative;
  z-index: 1;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  transition: color 150ms ease, background-color 150ms ease, transform 150ms ease, border-color 150ms ease;
}

.calendar-day:not(:disabled):not(.is-start):not(.is-end):hover span {
  border-color: var(--turquoise);
  color: var(--turquoise-dark);
  background: var(--turquoise-soft);
  transform: translateY(-2px);
}

.calendar-day.is-in-range {
  background: var(--turquoise-soft);
}

.calendar-day.is-start {
  border-radius: 20px 0 0 20px;
  background: linear-gradient(90deg, transparent 50%, var(--turquoise-soft) 50%);
}

.calendar-day.is-end {
  border-radius: 0 20px 20px 0;
  background: linear-gradient(90deg, var(--turquoise-soft) 50%, transparent 50%);
}

.calendar-day.is-start.is-end {
  background: transparent;
}

.calendar-day.is-start span,
.calendar-day.is-end span {
  color: var(--white);
  background: var(--turquoise-dark);
  box-shadow: 0 5px 14px rgba(7, 149, 176, 0.3);
  font-weight: 900;
}

.calendar-day.is-today:not(.is-start):not(.is-end) span {
  border-color: var(--yellow);
  font-weight: 900;
}

.calendar-day:disabled {
  color: rgba(54, 85, 104, 0.38);
  cursor: not-allowed;
}

.calendar-day.is-blocked span::after {
  content: "";
  width: 20px;
  height: 1px;
  position: absolute;
  background: currentColor;
  transform: rotate(-38deg);
}

.calendar-day > i {
  width: 4px;
  height: 4px;
  position: absolute;
  bottom: 2px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 2px var(--white);
}

.calendar-nav {
  width: 36px;
  height: 36px;
  position: absolute;
  z-index: 2;
  top: -8px;
}

.calendar-nav--prev { left: 0; }
.calendar-nav--next { right: 0; }

.calendar-nav:disabled,
.guest-stepper button:disabled,
.booking-text-button:disabled {
  cursor: not-allowed;
  opacity: 0.28;
}

.booking-popover__footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.booking-popover__footer > p {
  margin: 9px 0 0;
  color: var(--ink-soft);
  font-size: 0.74rem;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 800;
}

.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.calendar-legend i {
  width: 10px;
  height: 10px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
}

.calendar-legend span:nth-child(2) i {
  border-color: var(--turquoise-dark);
  background: var(--turquoise-dark);
}

.calendar-legend span:nth-child(3) i {
  background: repeating-linear-gradient(-45deg, var(--white) 0 2px, rgba(54,85,104,.25) 2px 3px);
}

.booking-footer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 14px;
}

.booking-text-button {
  padding: 7px 3px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.booking-done {
  min-height: 43px;
  padding: 10px 20px;
  box-shadow: none;
}

.guest-list {
  display: grid;
}

.guest-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.guest-row__emoji {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px 14px 18px 11px;
  color: var(--ink);
  background: var(--yellow-soft);
  font-family: var(--heading);
  font-size: 1.25rem;
  transform: rotate(-3deg);
}

.guest-row:nth-child(even) .guest-row__emoji {
  background: var(--turquoise-soft);
  transform: rotate(3deg);
}

.guest-row__label {
  min-width: 0;
  display: grid;
}

.guest-row__label b {
  font-size: 0.9rem;
}

.guest-row__label small {
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.guest-stepper {
  display: grid;
  grid-template-columns: 34px 27px 34px;
  align-items: center;
  gap: 4px;
}

.guest-stepper button {
  width: 34px;
  height: 34px;
}

.guest-stepper output {
  display: block;
  font-family: var(--heading);
  font-size: 0.9rem;
  text-align: center;
}

.guest-capacity {
  margin: 17px 0 0;
  padding: 11px 13px;
  border-radius: 13px;
  color: var(--ink-soft);
  background: var(--turquoise-soft);
  font-size: 0.72rem;
}

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

.booking-popover__footer--guests > b {
  max-width: 230px;
  font-size: 0.78rem;
}

.destination-search {
  min-height: 52px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.destination-search:focus-within {
  border-color: var(--turquoise);
  box-shadow: 0 0 0 4px rgba(18, 183, 210, 0.12);
}

.destination-search .icon {
  width: 21px;
  height: 21px;
  color: var(--turquoise-dark);
}

.destination-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 0.9rem;
}

.destination-options {
  display: grid;
  gap: 7px;
  overflow: hidden;
}

.destination-options__more {
  margin: 5px 3px 0;
  color: var(--ink-soft);
  font-size: 0.7rem;
}

.destination-option {
  width: 100%;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 11px;
  padding: 9px 11px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.destination-option:hover,
.destination-option.is-selected {
  border-color: rgba(18, 183, 210, 0.22);
  background: var(--turquoise-soft);
  transform: translateX(3px);
}

.destination-option__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px 14px 7px 14px;
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 0 4px 0 #dda900;
  font-family: var(--heading);
  font-size: 1.25rem;
}

.destination-option:nth-child(even) .destination-option__mark {
  color: var(--white);
  background: var(--turquoise);
  box-shadow: 0 4px 0 var(--turquoise-dark);
}

.destination-option > span:nth-child(2) {
  min-width: 0;
  display: grid;
}

.destination-option b {
  overflow: hidden;
  font-size: 0.86rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.destination-option small,
.destination-help {
  color: var(--ink-soft);
  font-size: 0.69rem;
}

.destination-option > i {
  display: grid;
  color: var(--turquoise-dark);
}

.destination-option > i .icon {
  width: 18px;
  height: 18px;
}

.destination-help {
  margin: 14px 2px 0;
}

.destination-empty {
  margin: 0;
  padding: 24px 14px;
  border-radius: 16px;
  color: var(--ink-soft);
  background: var(--sand);
  font-size: 0.8rem;
  text-align: center;
}

.booking-popover.is-compact {
  padding: 16px;
  border-radius: 24px;
}

.booking-popover.is-compact .booking-popover__header {
  gap: 14px;
  margin-bottom: 10px;
}

.booking-popover.is-compact .booking-popover__header h3 {
  font-size: 1.38rem;
}

.booking-popover.is-compact .booking-close {
  width: 34px;
  height: 34px;
}

.booking-popover.is-compact .calendar-selection {
  gap: 8px;
  margin-bottom: 12px;
  padding: 6px;
  border-radius: 16px;
}

.booking-popover.is-compact .calendar-selection > span {
  padding: 5px 9px;
  border-radius: 11px;
}

.booking-popover.is-compact .calendar-month h4 {
  margin-bottom: 8px;
  font-size: 0.98rem;
}

.booking-popover.is-compact .calendar-weekdays {
  margin-bottom: 2px;
}

.booking-popover.is-compact .calendar-day {
  height: 34px;
}

.booking-popover.is-compact .calendar-day span {
  width: 30px;
  height: 30px;
}

.booking-popover.is-compact .calendar-day > i {
  bottom: 0;
}

.booking-popover.is-compact .calendar-nav {
  width: 32px;
  height: 32px;
  top: -6px;
}

.booking-popover.is-compact .booking-popover__footer {
  margin-top: 11px;
  padding-top: 9px;
}

.booking-popover.is-compact .booking-popover__footer > p {
  margin-top: 5px;
  font-size: 0.68rem;
}

.booking-popover.is-compact .calendar-legend {
  gap: 10px;
  font-size: 0.66rem;
}

.booking-popover.is-compact .booking-footer-actions {
  gap: 10px;
  margin-top: 8px;
}

.booking-popover.is-compact .booking-done {
  min-height: 38px;
  padding: 8px 17px;
}

.booking-popover.is-compact .guest-row {
  padding: 9px 0;
}

.booking-popover.is-compact .guest-row__emoji {
  width: 36px;
  height: 36px;
}

.booking-popover.is-compact .guest-capacity {
  margin-top: 11px;
  padding: 9px 11px;
}

.booking-popover.is-compact .destination-search {
  min-height: 46px;
  margin-bottom: 9px;
}

.booking-popover.is-compact .destination-option {
  grid-template-columns: 38px minmax(0, 1fr) 22px;
  padding: 7px 9px;
}

.booking-popover.is-compact .destination-option__mark {
  width: 36px;
  height: 36px;
}

.booking-popover.is-compact .destination-help {
  margin-top: 10px;
}

.property-card__pet {
  color: var(--turquoise-dark);
  background: var(--turquoise-soft) !important;
}

@media (max-width: 1080px) {
  .search-panel {
    grid-template-columns: 1.25fr 1.1fr 0.85fr auto;
  }
}

@media (max-width: 860px) {
  .search-panel {
    grid-template-columns: 1fr 1fr;
  }

  .search-field--button {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .search-field[data-guests-trigger] {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .booking-layer__backdrop {
    background: rgba(7, 50, 74, 0.42);
    backdrop-filter: blur(4px);
  }

  .booking-popover,
  .booking-popover--calendar,
  .booking-popover--guests,
  .booking-popover--destination {
    width: 100%;
    max-height: none;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 20px 16px calc(18px + env(safe-area-inset-bottom));
    border-width: 1px 0 0;
    border-radius: 30px 30px 0 0;
    transform: translateY(38px);
    transform-origin: 50% 100%;
  }

  .booking-popover--calendar[data-months="1"] {
    width: 100%;
  }

  .booking-popover::before {
    content: "";
    width: 44px;
    height: 4px;
    display: block;
    margin: -7px auto 13px;
    border-radius: 20px;
    background: rgba(7, 50, 74, 0.18);
  }

  .calendar-months {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .calendar-day {
    height: clamp(32px, 9vw, 38px);
  }

  .calendar-frame {
    min-height: 0;
  }

  .booking-popover__footer {
    position: static;
    margin-right: 0;
    margin-left: 0;
    padding: 10px 0 0;
    background: transparent;
    backdrop-filter: none;
  }

  .booking-popover.is-compact .calendar-day {
    height: clamp(31px, 8.5vw, 34px);
  }
}

@media (max-width: 520px) {
  .search-panel {
    grid-template-columns: 1fr;
  }

  .search-field,
  .search-field[data-guests-trigger] {
    grid-column: auto;
  }

  .search-submit {
    grid-column: auto;
  }

  .calendar-selection {
    gap: 6px;
  }

  .calendar-selection > span {
    padding-inline: 8px;
  }

  .calendar-legend {
    gap: 9px;
  }

  .booking-popover__footer > p {
    font-size: 0.68rem;
  }

  .guest-row {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .guest-row__emoji {
    width: 34px;
    height: 34px;
  }

  .guest-stepper {
    grid-template-columns: 32px 23px 32px;
  }

  .guest-stepper button {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 600px) {
  .mobile-dock a,
  .mobile-dock button {
    min-width: 0;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 16px;
    color: inherit;
    background: transparent;
    font-size: 0.66rem;
    font-weight: 800;
    cursor: pointer;
  }

  .mobile-dock a span,
  .mobile-dock button span {
    color: var(--white);
    font-size: 1.25rem;
    line-height: 1;
  }

  .mobile-dock button.is-active {
    color: var(--ink);
    background: var(--yellow);
  }

  .mobile-dock button.is-active span {
    color: var(--ink);
  }
}

@keyframes hero-breathe {
  from { transform: scale(1.02); }
  to { transform: scale(1.065); }
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 360ms;
  animation-timing-function: cubic-bezier(.2,.8,.2,1);
}

::view-transition-group(*) {
  animation-duration: 520ms;
  animation-timing-function: cubic-bezier(.2,.8,.2,1);
}
