:root {
  --sand: #f4f3ee;
  --water: #0a2833;
  --foam: #bff3eb;
  --display: Georgia, 'Times New Roman', serif;
}

body:has(.water-hero, .booking-intro) { background: var(--sand); }
.site-header nav .reserve-nav {
  min-height: 44px;
  padding-inline: 15px;
  border-radius: 100px;
  background: var(--foam);
  color: var(--water);
  font-weight: 700;
}
.site-header nav .reserve-nav:hover { background: #9fe8db; }
.site-header nav a.reserve-nav[aria-current="page"]::after { display: none; }
.site-header nav .reserve-nav[aria-current="page"] { box-shadow: inset 0 0 0 1px #176b6a; }
.water-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  min-height: 555px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--water);
  color: white;
}
.water-copy {
  align-self: center;
  padding: clamp(26px, 5vw, 68px);
  position: relative;
  z-index: 1;
}
.water-copy .eyebrow { color: var(--foam); }
.water-copy h1, .booking-intro h1, .water-section-head h2 {
  font-family: var(--display);
  font-weight: 400;
}
.water-copy h1 {
  margin-block: 20px 26px;
  font-size: clamp(60px, 8vw, 126px);
  line-height: .88;
  letter-spacing: -.078em;
}
.water-copy h1 em, .booking-intro h1 em { font-weight: inherit; }
.water-copy h1 em { color: var(--foam); }
.water-copy > p:not(.eyebrow) { color: #dce8ec; max-width: 32ch; font-size: 15px; }
.water-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 19px; margin-top: 32px; }
.water-primary { background: var(--foam); border-color: var(--foam); color: var(--water); border-radius: 100px; }
.water-primary:hover { background: #a7e2d8; border-color: #a7e2d8; }
.water-actions .text-link { color: white; gap: 8px; font-size: 13px; }
.water-actions .text-link:hover { color: var(--foam); }
.water-gallery { position: relative; min-width: 0; overflow: hidden; }
.water-scene { margin: 0; position: absolute; inset: 0; animation: water-scene-in .32s ease-out; }
@keyframes water-scene-in { from { opacity: .55; } to { opacity: 1; } }
.water-scene img { width: 100%; height: 100%; object-position: center 55%; }
.water-scene::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #071d26b3, transparent 34%);
  pointer-events: none;
}
.water-scene figcaption { position: absolute; z-index: 1; left: 24px; bottom: 23px; right: 126px; font-size: 13px; }
.water-controls { position: absolute; right: 17px; bottom: 14px; display: flex; gap: 7px; }
.water-controls button, .month-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  font-size: 21px;
}
.water-controls button { border: 1px solid #ffffff90; background: #0a2833c9; color: white; }
.water-controls button:hover { background: var(--foam); border-color: var(--foam); color: var(--water); }
.water-book-link {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 17px 24px;
  margin-top: 18px;
  border: 1px solid #c1d7d1;
  border-radius: 9px;
  background: #e4f3ed;
  color: var(--water);
}
.water-book-link:hover { background: #d8efe6; border-color: #789f94; }
.water-book-icon, .booking-icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: var(--water);
  color: var(--foam);
}
.water-book-link strong, .water-book-link small { display: block; }
.water-book-link strong { font-size: 16px; }
.water-book-link small { font-size: 13px; color: #34565a; }
.water-book-action { font-size: 13px; font-weight: 700; }
.water-book-action span { margin-left: 8px; }
.water-discovery { padding-block: clamp(45px, 6vw, 83px); }
.water-section-head h2 { font-size: clamp(38px, 5vw, 61px); margin-bottom: 24px; color: var(--water); }
.water-destinations { display: grid; grid-template-columns: 1.2fr 1fr .85fr; gap: 14px; }
.water-destination {
  display: flex;
  position: relative;
  isolation: isolate;
  align-items: end;
  justify-content: space-between;
  min-height: 310px;
  gap: 10px;
  padding: 24px;
  border-radius: 9px;
  color: white;
  background: var(--water);
  overflow: hidden;
}
.water-destination::after, .water-destination img { position: absolute; inset: 0; }
.water-destination img { z-index: -2; width: 100%; height: 100%; transition: transform .35s; }
.water-destination::after { content: ''; z-index: -1; background: linear-gradient(0deg, #061923f5, #06192318 80%); }
.water-destination:hover img { transform: scale(1.04); }
.water-destination h3 { font-family: var(--display); font-weight: 400; font-size: clamp(25px, 2.8vw, 39px); }
.water-destination p { font-size: 12px; margin-top: 6px; }
.water-destination > span { font-size: 25px; }

.booking-intro { padding-block: clamp(32px, 5vw, 67px) 30px; }
.booking-intro h1 { color: var(--water); font-size: clamp(46px, 7.5vw, 94px); margin-block: 8px 12px; }
.booking-intro h1 em { color: #166866; }
.booking-intro .lead { max-width: 53ch; }
.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: start;
  gap: clamp(16px, 3vw, 37px);
  padding-bottom: 68px;
}
.booking-panel { padding: clamp(18px, 3vw, 38px); background: #fff; border: 1px solid #d1dedb; border-radius: 11px; }
.booking-heading { display: flex; align-items: center; gap: 13px; }
.booking-panel h2 { color: var(--water); font-size: clamp(22px, 3vw, 30px); }
.month-bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; margin-block: 23px 15px; }
.month-bar h3 { text-align: center; font-size: clamp(15px, 2.5vw, 20px); letter-spacing: -.015em; }
.month-bar h3::first-letter { text-transform: uppercase; }
.month-arrow { border: 1px solid #cbd9d8; background: white; color: var(--water); }
.month-arrow:hover:not(:disabled) { background: var(--foam); }
.month-arrow:disabled { color: #718187; cursor: default; opacity: .65; }
.week-row, .day-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.week-row { margin-bottom: 7px; font-size: 11px; color: var(--muted); font-weight: 700; }
.booking-day {
  min-width: 0;
  min-height: 45px;
  padding: 0;
  border: 1px solid #e1ece8;
  border-radius: 6px;
  background: #f3f9f7;
  color: var(--water);
  font-size: 14px;
  font-weight: 650;
}
.booking-day:hover:not(:disabled) { border-color: #278779; background: #dbf5ec; }
.booking-day[aria-current="date"] { border-color: #278779; }
.booking-day[aria-pressed="true"], .booking-day[aria-pressed="true"]:hover { border-color: var(--water); background: var(--water); color: white; }
.booking-day:disabled { color: #78848a; background: white; border-color: #f1f2f1; cursor: default; }
.booking-day.booking-day-closed:disabled { color: #694744; background: #f7efed; text-decoration: line-through; }
.booking-day:focus-visible { outline-offset: 0; z-index: 1; }
.booking-calendar-note { margin-top: 18px; color: var(--muted); font-size: 13px; max-width: 53ch; }
.booking-selection { padding: 12px 14px; margin-block: 17px 21px; border-radius: 5px; background: #e8f5f0; color: #174d4c; font-size: 14px; font-weight: 650; }
.booking-selection::first-letter { text-transform: capitalize; }
.booking-details label { font-size: 13px; }
.booking-details :is(input, select, textarea) { font-size: 16px; }
.booking-submit { width: 100%; justify-content: space-between; }
.booking-error { margin-top: 9px; color: #a12520; font-size: 13px; }
.booking-result { margin-top: 20px; padding-top: 20px; border-top: 1px solid #cbd9d8; }
.booking-result p { margin-block: 8px; font-size: 13px; }
.booking-result .button { margin-block: 5px; }
.booking-fallback { margin-bottom: 36px; }

@media (max-width: 830px) {
  .water-hero { min-height: 485px; }
  .water-copy h1 { font-size: clamp(54px, 9.6vw, 92px); }
  .water-destination { min-height: 255px; padding: 16px; }
  .water-destinations { gap: 9px; }
  .booking-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .site-header nav { gap: 2px 13px; }
  .water-hero { display: block; min-height: auto; }
  .water-copy { padding: 28px 22px; }
  .water-copy h1 { margin-block: 13px 17px; font-size: clamp(57px, 16vw, 92px); }
  .water-copy > p:not(.eyebrow) { font-size: 14px; }
  .water-gallery { height: clamp(220px, 66vw, 350px); }
  .water-scene figcaption { left: 15px; bottom: 21px; }
  .water-controls { right: 9px; bottom: 10px; }
  .water-actions { margin-top: 15px; gap: 5px 14px; }
  .water-actions .button { min-height: 44px; padding: 9px 14px; gap: 8px; font-size: 12px; }
  .water-actions .text-link { font-size: 12px; }
  .water-book-link { grid-template-columns: 44px 1fr; gap: 10px; padding: 12px; }
  .water-book-action { grid-column: 2; }
  .water-destinations { grid-template-columns: 1fr; }
  .water-destination { min-height: 205px; }
  .booking-panel { padding: 14px; }
  .booking-details .form-row { grid-template-columns: minmax(0, 1fr) minmax(0, .65fr); }
}
@media (prefers-reduced-motion: reduce) {
  .water-destination:hover img { transform: none; }
}

body:has(.catalog-hero, .offer-layout, .gallery-intro) { background: var(--sand); }

.catalog-hero, .offer-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 16px;
  background: var(--water);
  color: #fff;
}
.catalog-hero {
  display: grid;
  grid-template-columns: minmax(0, .73fr) minmax(0, 1fr);
  height: clamp(350px, 33vw, 450px);
}
.catalog-hero-copy { padding: clamp(24px, 5vw, 65px); align-self: center; }
.catalog-hero h1, .offer-hero h1, .gallery-intro h1 {
  font: 400 clamp(44px, 7vw, 94px)/.98 var(--display);
  letter-spacing: -.06em;
}
.catalog-hero h1 em { display: block; color: var(--foam); }
.catalog-hero p { margin-top: 20px; max-width: 36ch; color: #e3eeec; }
.catalog-hero img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: center 62%; }
.portfolio-jumps, .album-nav { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin-block: 23px 12px; }
.portfolio-jumps a, .album-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 15px;
  border: 1px solid #b8cfca;
  border-radius: 100px;
  background: white;
  color: #143f43;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}
.portfolio-jumps a:hover, .album-nav a:hover { background: var(--foam); }
.album-nav a[aria-current] { background: var(--water); color: white; border-color: var(--water); }
.portfolio-section { padding-block: 26px 40px; }
.portfolio-section > h2, .album-section h2, .offer-inclusions h2 { color: var(--water); font: 400 clamp(30px, 4vw, 50px)/1.08 var(--display); letter-spacing: -.035em; }
.portfolio-section > p { margin-top: 6px; color: #3e555a; }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 275px), 1fr)); gap: 18px; margin-top: 20px; }
.portfolio-card { min-width: 0; background: white; border: 1px solid #d1dedb; border-radius: 13px; overflow: hidden; display: flex; flex-direction: column; }
.portfolio-card-image { overflow: hidden; display: block; }
.portfolio-card-image:focus-visible { outline-offset: -4px; }
.portfolio-photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: #d6e5e5; }
.portfolio-card-image .portfolio-photo { transition: transform .28s ease; }
.portfolio-card-image:hover .portfolio-photo { transform: scale(1.045); }
.portfolio-flyer { object-position: center 27%; }
.portfolio-photo.portfolio-photo-upper { object-position: center 37%; }
.portfolio-copy { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: clamp(15px, 2.7vw, 24px); }
.portfolio-copy h3 { margin: 0; color: var(--water); font: 400 clamp(24px, 2.5vw, 34px)/1.08 var(--display); }
.portfolio-copy h3 a { text-decoration: none; }
.portfolio-copy p { margin: 0; font-size: 14px; }
.portfolio-copy .portfolio-meta, .offer-hero .portfolio-meta { color: #315e5d; font-size: 12px; font-weight: 700; }
.portfolio-card-footer { margin-top: auto; padding-top: 13px; }
.portfolio-card-footer .text-link { min-height: 44px; }
.portfolio-price, .portfolio-rate span { color: #115957; font-weight: 750; }
.portfolio-price small, .portfolio-rate small { color: #43595d; font-weight: 500; }

.offer-breadcrumb { margin-block: 16px 11px; }
.offer-breadcrumb a { min-height: 40px; }
.offer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .61fr);
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: clamp(18px, 3vw, 36px);
  padding-bottom: 56px;
}
.offer-sidebar { grid-column: 2; grid-row: 1 / span 2; display: grid; gap: 20px; }
.offer-hero .portfolio-photo { aspect-ratio: 16 / 10; object-position: center 53%; }
.offer-hero .portfolio-photo-upper { object-position: center 37%; }
.offer-hero-copy { padding: clamp(16px, 2.5vw, 27px) clamp(16px, 3.5vw, 34px); }
.offer-hero .portfolio-meta { color: var(--foam); margin-bottom: 7px; }
.offer-hero h1 { font-size: clamp(33px, 4.3vw, 56px); text-wrap: balance; }
.offer-description { color: #2d464a; margin: 19px 0 0; font-size: clamp(15px, 1.6vw, 19px); max-width: 62ch; }
.offer-inclusions { background: #fff; border: 1px solid #d1dedb; border-radius: 13px; padding: clamp(17px, 3vw, 32px); }
.portfolio-list { padding: 0; margin-block: 16px 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 175px), 1fr)); gap: 9px; }
.portfolio-list li { padding: 8px 12px; border-radius: 5px; background: #ebf4ef; color: #174344; font-size: 14px; }
.portfolio-note { margin: 15px 0 0; color: #4c6165; font-size: 14px; }
.offer-inclusions .text-link { margin-top: 13px; }
.offer-booking { padding: clamp(17px, 2.6vw, 30px); }
.offer-group-price { margin-top: 13px; padding: 12px 14px; background: #ebf4ef; border-radius: 8px; color: #174344; font-size: 14px; }
.offer-group-price strong { font-size: 1.16em; }
.offer-group-example-title { margin-top: 8px; font-size: 13px; font-weight: 650; }
.offer-group-price dl { margin: 4px 0 0; }
.offer-group-price dl > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }
.offer-group-price dd { margin: 0; font-weight: 700; }
.offer-rates h2 { font: 400 clamp(25px, 3vw, 34px)/1.12 var(--display); }
.portfolio-rate-list { margin: 10px 0 0; padding: 0; list-style: none; background: white; border: 1px solid #d1dedb; border-radius: 11px; }
.portfolio-rate-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 13px; font-size: 14px; }
.portfolio-rate-list li + li { border-top: 1px solid #d1dedb; }
.portfolio-rate-list p { margin: 4px 0 0; font-size: 12px; color: #43595d; }
.portfolio-rate { display: grid; text-align: right; }
.consult-form { margin-top: 16px; }
.consult-form label { display: block; min-width: 0; margin-bottom: 13px; font-size: 13px; }
.consult-form :is(select, input, textarea) { width: 100%; min-width: 0; min-height: 47px; font-size: 16px; }
.consult-form input[type=date] { appearance: auto; }
.consult-optional { margin-block: 2px 12px; border-block: 1px solid #d9e5e0; }
.consult-optional summary { min-height: 44px; padding: 12px 3px; color: #164b4a; cursor: pointer; font-size: 13px; font-weight: 700; }
.consult-optional summary span { font-weight: 400; }
.consult-status { font-size: 13px; margin: 0 0 9px; color: #205552; }
.consult-status:empty { display: none; }
.consult-status.consult-error { color: #a12520; }
.button.consult-whatsapp { width: 100%; justify-content: space-between; min-height: 49px; gap: 10px; padding-inline: 14px; border-radius: 7px; background: #115c48; border-color: #115c48; color: #fff; font-size: 14px; }
.button.consult-whatsapp:hover { background: #0a4737; border-color: #0a4737; }
.consult-note { margin: 12px 0 0; color: #53666a; font-size: 12px; }

.gallery-intro { padding-block: clamp(26px, 5vw, 60px) 23px; color: var(--water); }
.gallery-intro p { font-size: clamp(14px, 1.6vw, 17px); margin-top: 13px; }
.album-intro { display: flex; align-items: end; justify-content: space-between; gap: 17px; flex-wrap: wrap; }
.album-intro h1 { font-size: clamp(38px, 6vw, 77px); }
.album-grid { display: grid; grid-template-columns: 1.14fr 1fr; gap: 15px; padding-bottom: 60px; }
.album-card { position: relative; min-height: clamp(210px, 31vw, 355px); border-radius: 14px; overflow: hidden; isolation: isolate; background: var(--water); color: white; text-decoration: none; }
.album-card img, .album-card::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.album-card img { object-fit: cover; z-index: -2; transition: transform .32s ease; }
.album-card::after { content: ''; background: linear-gradient(0deg, #041b27f5, #041b2710 74%); z-index: -1; }
.album-card:hover img { transform: scale(1.045); }
.album-card-content { position: absolute; inset: auto 0 0; padding: clamp(16px, 3.5vw, 35px); display: flex; align-items: end; justify-content: space-between; gap: 10px; }
.album-card-content strong { display: block; font: 400 clamp(29px, 4vw, 55px)/1.02 var(--display); letter-spacing: -.035em; }
.album-card-content small { display: block; margin-top: 6px; color: #d2ebe5; font-size: 13px; }
.album-arrow { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--foam); color: var(--water); font-size: 22px; }
.album-nav { margin-block: 0 27px; }
.album-section + .album-section { margin-top: 15px; }
.album-section h2 { margin-bottom: 14px; }
.photo-grid.album-photos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding-bottom: 21px; }
.album-photos .photo-tile { position: relative; border: 0; border-radius: 9px; isolation: isolate; background: var(--water); color: white; }
.album-photos .photo-tile img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; }
.album-photos .photo-tile > span { position: absolute; inset: auto 0 0; min-height: 0; padding: 23px 11px 9px; background: linear-gradient(0deg, #051923ef, #05192300); color: white; font-size: 12px; gap: 5px; line-height: 1.25; }
.album-photos .photo-tile > span > span { color: var(--foam); font-size: 17px; }

@media (min-width: 900px) {
  .portfolio-section[aria-labelledby="alquileres"] .portfolio-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .portfolio-section[aria-labelledby="alquileres"] .portfolio-card { grid-column: span 2; }
  .portfolio-section[aria-labelledby="alquileres"] .portfolio-card:nth-child(-n+2) { grid-column: span 3; }
}
@media (max-width: 830px) {
  .offer-layout { grid-template-columns: 1fr; grid-template-rows: auto; }
  .offer-sidebar { grid-column: auto; grid-row: auto; display: contents; }
  .offer-rates { grid-row: 4; }
  .photo-grid.album-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .catalog-hero { grid-template-columns: 1fr; height: auto; }
  .catalog-hero h1 em { display: inline; }
  .catalog-hero img { height: clamp(207px, 64vw, 340px); }
  .album-grid { grid-template-columns: 1fr; padding-bottom: 35px; }
  .album-card { min-height: 210px; }
  .album-intro > .button { min-height: 44px; }
  .photo-grid.album-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .album-photos .photo-tile > span { font-size: 11px; padding-inline: 7px; }
  .album-photos .photo-tile img { aspect-ratio: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .portfolio-card-image:hover .portfolio-photo, .album-card:hover img { transform: none; }
}
