:root {
  --brick: #a1655d;
  --blue: #3c70af;
  --sky: #79afde;
  --olive: #5a6137;
  --sand: #ebd6ae;
  --ivory: #f7f6ee;
  --ocean: #073e53;
  --ink: #273025;
  --muted: #66705f;
  --line: rgba(90, 97, 55, 0.25);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --space: clamp(5rem, 10vw, 10rem);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 400 16px/1.5 var(--sans);
  overflow-x: hidden;
}
body,
button,
input,
select,
textarea {
  font-family: var(--sans);
}
img {
  display: block;
  max-width: 100%;
}
button,
a {
  color: inherit;
}
button {
  cursor: pointer;
}
.container {
  width: min(100% - 48px, 1680px);
  margin-inline: auto;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(3.2rem, 6.2vw, 7rem);
}
a {
  text-decoration: none;
}
.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  padding: 10px;
  background: #fff;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: none;
}
.scroll-progress {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
}
.scroll-progress span {
  display: block;
  height: 100%;
  background: var(--sand);
  transform: scaleX(0);
  transform-origin: left;
}
.site-nav {
  position: fixed;
  z-index: 100;
  top: 0;
  width: 100%;
  color: #fff;
  transition: 0.3s;
}
.site-nav.is-scrolled {
  background: rgba(7, 62, 83, 0.96);
}
.site-nav__inner {
  height: 90px;
  padding: 0 clamp(24px, 4vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: 0.3s;
}
.is-scrolled .site-nav__inner {
  height: 70px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand__logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.brand__name {
  font-family: var(--serif);
  font-size: 1.35rem;
}
.site-nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.site-nav__link {
  border: 0;
  background: none;
  color: inherit;
  font-size: 0.82rem;
}
.site-nav__link.is-active {
  border-bottom: 1px solid currentColor;
}
.site-nav__toggle {
  display: none;
  border: 0;
  background: none;
}
.site-nav__toggle span {
  display: block;
  width: 26px;
  height: 1px;
  margin: 7px;
  background: #fff;
}
.admin-menu {
  position: relative;
}
.admin-dropdown {
  position: absolute;
  right: 0;
  top: 40px;
  z-index: 20;
  width: 300px;
  padding: 24px;
  background: var(--ivory);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 26px 50px -28px rgba(7, 40, 51, 0.45);
}
.admin-login {
  display: grid;
  gap: 12px;
}
.admin-login h2 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.admin-login label {
  display: grid;
  gap: 4px;
}
.admin-login input {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
}
.btn {
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  background: none;
  font-weight: 600;
  transition:
    background 0.22s,
    color 0.22s;
}
.btn span {
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.22s;
}
.btn:hover span {
  transform: translateX(6px);
}
.btn--pill {
  border-radius: 99px;
}
.btn--primary {
  background: var(--olive);
  color: #fff;
}
.btn--primary:hover {
  background: var(--brick);
}
.btn--sand {
  background: var(--sand);
  color: var(--ocean);
}
.btn--sand:hover {
  background: #fff;
}
.hero {
  position: relative;
  height: 100svh;
  min-height: 700px;
  color: #fff;
  isolation: isolate;
}
.hero__frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--ivory);
}
.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 40, 51, 0.58), transparent 70%),
    linear-gradient(0deg, rgba(7, 40, 51, 0.45), transparent 55%);
  z-index: 1;
}
.hero__content {
  position: absolute;
  z-index: 2;
  left: clamp(24px, 7vw, 130px);
  top: 51%;
  transform: translateY(-50%);
  max-width: 850px;
}
.hero h1 {
  font-size: clamp(4.5rem, 9vw, 10rem);
  margin-bottom: 28px;
}
.hero__content > p:last-child {
  max-width: 520px;
  font-size: 1.08rem;
}
.booking-bar {
  position: absolute;
  z-index: 3;
  left: clamp(24px, 7vw, 130px);
  right: clamp(24px, 7vw, 130px);
  bottom: 38px;
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  background: rgba(247, 246, 238, 0.96);
  color: var(--ink);
}
.booking-bar label {
  padding: 14px 22px;
  border-right: 1px solid var(--line);
}
.booking-bar label span {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}
.booking-bar input {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  padding-top: 5px;
}
.hero__scroll {
  position: absolute;
  z-index: 3;
  right: 35px;
  top: 50%;
  writing-mode: vertical-rl;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero__intro {
  display: none;
}
.intro {
  padding: var(--space) 0;
}
.intro__grid {
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: 8vw;
}
.statement {
  font-size: clamp(3.4rem, 6.5vw, 7.8rem);
  max-width: 1400px;
  color: rgba(39, 48, 37, 0.22);
  background: linear-gradient(
    90deg,
    var(--ink) var(--reveal, 0%),
    rgba(39, 48, 37, 0.22) 0
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.intro__copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  gap: 50px;
  margin: 60px 0 0 auto;
  max-width: 820px;
  color: var(--muted);
}
.image-mask {
  overflow: hidden;
  border-radius: 18px;
}
.image-mask img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.motion-ready .image-mask {
  clip-path: none;
  transition: clip-path 1.15s var(--ease);
}
.motion-ready .image-mask img {
  transform: none;
  transition: transform 1.25s var(--ease);
}
.motion-ready .image-mask.is-revealed {
  clip-path: none;
}
.motion-ready .image-mask.is-revealed img {
  transform: none;
}
.rooms {
  padding: var(--space) 0;
  background: var(--sand);
}
.rooms__layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 6vw;
}
.rooms__head {
  padding-bottom: 55px;
}
.rooms__head h2 {
  font-size: clamp(3.4rem, 5.5vw, 6.3rem);
}
.rooms__head p:not(.eyebrow) {
  max-width: 420px;
  margin-top: 20px;
  color: var(--muted);
}
.room-card {
  position: relative;
  display: grid;
  grid-template-columns: 50px 1fr 55px;
  gap: 25px;
  align-items: start;
  padding: 38px 8px;
  border-top: 1px solid rgba(39, 48, 37, 0.35);
  outline-offset: 5px;
  transition: color 0.25s;
}
.room-card:last-child {
  border-bottom: 1px solid rgba(39, 48, 37, 0.35);
}
.room-card__index {
  font-size: 0.75rem;
}
.room-card__name {
  font-size: clamp(2.5rem, 4vw, 4.8rem);
  margin-bottom: 10px;
}
.room-card__desc {
  max-width: 440px;
  color: var(--muted);
}
.room-card__features {
  display: flex;
  gap: 18px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.room-card__btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  transition: 0.25s;
}
.room-card:is(:hover, :focus, .is-active) .room-card__btn {
  background: var(--olive);
  border-color: var(--olive);
  color: #fff;
}
.room-card__media {
  display: none;
}
.rooms__preview {
  position: sticky;
  top: 100px;
  height: calc(100vh - 150px);
  margin: 0;
}
.rooms__preview img {
  transition:
    opacity 0.3s,
    transform 0.8s var(--ease);
}
.rooms__preview.is-changing img {
  opacity: 0.1;
  transform: scale(1.03);
}
.gallery-section {
  padding: var(--space) 0;
  background: var(--ivory);
}
.gallery-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 45px;
}
.gallery-section h2 {
  margin: 0;
}
.gallery__controls {
  display: flex;
  align-items: center;
  gap: 18px;
}
.gallery__controls button {
  width: 50px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--olive);
  color: #fff;
}
.gallery {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0 max(24px, calc((100vw - 1680px) / 2));
}
.gallery::-webkit-scrollbar {
  display: none;
}
.gallery__item {
  flex: 0 0 min(76vw, 1280px);
  height: min(67vw, 750px);
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  scroll-snap-align: start;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.gallery__item:hover img {
  transform: scale(1.025);
}
.wave {
  height: 130px;
  line-height: 0;
}
.wave svg {
  display: block;
  width: 100%;
  height: 100%;
}
/* onda posterior (eco): tono medio detrás de la onda principal */
.wave__back {
  fill: var(--sand);
}
.wave--ivory-blue {
  background: var(--ivory);
}
.wave--ivory-blue .wave__front {
  fill: var(--ocean);
}
.wave--blue-ivory {
  background: var(--ocean);
}
.wave--blue-ivory .wave__front {
  fill: var(--ivory);
}
.wave--ivory-brick {
  background: var(--ivory);
}
.wave--ivory-brick .wave__front {
  fill: var(--brick);
}
.wave--brick-ivory {
  background: var(--brick);
}
.wave--brick-ivory .wave__front {
  fill: var(--ivory);
}
.services {
  padding: var(--space) 0;
  background: var(--ocean);
  color: var(--sand);
}
.services__head {
  max-width: 1100px;
  margin-bottom: 80px;
}
.services__head h2 {
  font-size: clamp(3.5rem, 6.8vw, 7rem);
  color: rgba(235, 214, 174, 0.2);
  background: linear-gradient(
    90deg,
    var(--sand) var(--reveal, 0%),
    rgba(235, 214, 174, 0.2) 0
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.services__editorial {
  display: grid;
  grid-template-columns: 1.3fr repeat(2, 0.8fr);
  gap: 5vw;
  align-items: start;
}
.experience:nth-child(2) {
  margin-top: 14vw;
}
.experience:nth-child(3) {
  margin-top: 5vw;
}
.experience figure {
  aspect-ratio: 4/5;
  margin: 0 0 25px;
}
.experience--lead figure {
  aspect-ratio: 1/1.15;
}
.experience > span {
  font-size: 0.7rem;
}
.experience h3 {
  font-size: clamp(2.3rem, 3.5vw, 4rem);
  margin: 12px 0;
}
.experience p {
  color: rgba(255, 255, 255, 0.7);
}
.experience small {
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.amenities__line {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 100px;
  padding-top: 35px;
  border-top: 1px solid rgba(235, 214, 174, 0.35);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.atmosphere {
  padding: var(--space) 0;
}
.atmosphere .statement {
  max-width: 1500px;
}
.destination {
  padding: 0 0 var(--space);
}
.destination__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.75fr;
  gap: 7vw;
  align-items: center;
}
.destination__main {
  height: min(70vw, 860px);
  margin: 0;
}
.destination__main img {
  height: 108%;
}
.destination__copy h2 {
  font-size: clamp(4rem, 7vw, 7rem);
}
.destination__copy > p:not(.eyebrow) {
  max-width: 480px;
  color: var(--muted);
}
.destination__small {
  width: 70%;
  margin: 70px 0 0 auto;
}
.testimonials {
  padding: var(--space) 0;
  background: var(--brick);
  color: #fff;
}
.testimonials__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 60px;
}
.testimonials h2 {
  margin: 0;
}
.rating-summary {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rating-summary__score {
  font-family: var(--serif);
  font-size: 2rem;
}
.rating-summary__stars {
  color: var(--sand);
}
.rating-summary__count {
  font-size: 0.75rem;
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}
.review-card {
  padding: 45px 5vw 20px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.35);
}
.review-card + .review-card {
  padding-left: 5vw;
}
.review-card:last-child {
  border: 0;
}
.review-card__quote {
  font: 400 clamp(1.7rem, 2.4vw, 2.8rem) / 1.12 var(--serif);
  margin: 35px 0 60px;
}
.review-card h3 {
  font: 500 0.9rem var(--sans);
  margin-bottom: 5px;
}
.review-card small {
  opacity: 0.7;
}
.faq-section {
  padding: var(--space) 0;
}
.faq-section__inner {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 8vw;
}
.faq-section h2 {
  font-size: clamp(3.5rem, 5vw, 5.5rem);
}
.faq__item {
  border-top: 1px solid var(--line);
}
.faq__question {
  width: 100%;
  min-height: 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 0;
  background: none;
  text-align: left;
  font-size: 1.05rem;
}
.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.35s;
}
.faq__answer > p {
  overflow: hidden;
  margin: 0;
  max-width: 650px;
  color: var(--muted);
}
.faq__item.is-open .faq__answer {
  grid-template-rows: 1fr;
}
.faq__item.is-open .faq__answer > p {
  margin-bottom: 28px;
}
.booking {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 80px 5vw;
}
.booking__image {
  position: absolute;
  inset: 0;
}
.booking__image:after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 62, 83, 0.38);
}
.booking__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.booking__panel {
  position: relative;
  z-index: 2;
  width: min(780px, 100%);
  margin-left: auto;
  padding: clamp(30px, 5vw, 70px);
  background: var(--olive);
  color: #fff;
}
.booking__panel h2 {
  font-size: clamp(3.8rem, 6vw, 6.5rem);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.form-field {
  display: grid;
  gap: 5px;
}
.form-field--full {
  grid-column: 1/-1;
}
.form-field label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 0;
  background: transparent;
  color: #fff;
}
.form-field select option {
  color: var(--ink);
}
.form-error {
  min-height: 15px;
  color: #ffd4ce;
  font-size: 0.72rem;
}
.booking-form__submit {
  margin-top: 28px;
}
.booking-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 20px;
}
.booking-summary dd {
  margin: 0;
}
.contact {
  padding: var(--space) 0;
  background: var(--sky);
}
.contact__grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 7vw;
}
.contact h2 {
  font-size: clamp(4rem, 6vw, 6.5rem);
}
.contact a {
  display: block;
  margin: 14px 0;
}
.contact__socials {
  display: flex;
  gap: 22px;
  margin-top: 45px;
}
.contact__map {
  height: 560px;
  overflow: hidden;
  border-radius: 18px;
}
.contact__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.7);
}
.site-footer {
  padding: 80px 0 35px;
  background: var(--ocean);
  color: var(--sand);
}
.site-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.site-footer__title {
  font: 400 clamp(5rem, 11vw, 12rem) / 0.72 var(--serif);
  letter-spacing: -0.05em;
}
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(235, 214, 174, 0.3);
  padding-top: 25px;
}
.site-footer nav {
  display: flex;
  gap: 25px;
}
.room-modal[hidden] {
  display: none;
}
.room-modal {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: grid;
  place-items: center;
}
.room-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}
.room-modal__content {
  position: relative;
  width: min(900px, 92vw);
  max-height: 90vh;
  overflow: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ivory);
}
.room-modal__media {
  position: relative;
}
.room-modal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.room-modal__media button {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  font-size: 1.8rem;
}
.room-modal__body {
  padding: 50px;
}
.room-modal__body h2 {
  font-size: 4rem;
}
.lightbox {
  display: none;
  position: fixed;
  z-index: 400;
  inset: 0;
  background: rgba(3, 25, 33, 0.94);
  place-items: center;
  color: #fff;
}
.lightbox.is-open {
  display: grid;
}
.lightbox figure {
  max-width: 90vw;
  max-height: 85vh;
  margin: 0;
}
.lightbox img {
  max-height: 78vh;
}
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  font-size: 2rem;
}
.reveal-group > * {
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}
.motion-ready .reveal-group:not(.is-revealed) > * {
  opacity: 1;
  transform: none;
}
.reveal-group > *:nth-child(2) {
  transition-delay: 0.1s;
}
.reveal-group > *:nth-child(3) {
  transition-delay: 0.2s;
}
.reveal-group > *:nth-child(4) {
  transition-delay: 0.3s;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
@media (max-width: 1100px) {
  .container {
    width: min(100% - 32px, 1680px);
  }
  .site-nav__toggle {
    display: block;
  }
  .site-nav__links {
    position: fixed;
    inset: 0 0 auto;
    max-height: 100dvh;
    overflow-y: auto;
    background: var(--ocean);
    padding: 100px 30px 35px;
    display: grid;
    transform: translateY(-110%);
    transition: 0.4s;
  }
  .site-nav__links.is-open {
    transform: none;
  }
  .admin-menu {
    width: 100%;
  }
  .admin-dropdown {
    position: static;
    width: 100%;
    margin-top: 12px;
    box-shadow: none;
  }
  .site-nav__toggle {
    position: relative;
    z-index: 2;
  }
  .hero {
    min-height: 760px;
  }
  .booking-bar {
    grid-template-columns: 1fr 1fr;
    left: 16px;
    right: 16px;
  }
  .booking-bar label:nth-child(3) {
    display: none;
  }
  .intro__grid,
  .faq-section__inner {
    grid-template-columns: 1fr;
  }
  .intro__grid {
    gap: 30px;
  }
  .intro__copy {
    margin-top: 35px;
  }
  .destination__grid {
    grid-template-columns: 1fr;
  }
  .rooms__layout {
    display: block;
  }
  .rooms__preview {
    display: none;
  }
  .room-card {
    grid-template-columns: 35px 1fr 50px;
  }
  .room-card__media {
    display: block;
    grid-column: 1/-1;
    height: 55vw;
    min-height: 260px;
    overflow: hidden;
    border-radius: 14px;
  }
  .room-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .services__editorial {
    grid-template-columns: 1fr 1fr;
  }
  .experience--lead {
    grid-column: 1/-1;
  }
  .experience:nth-child(2),
  .experience:nth-child(3) {
    margin-top: 0;
  }
  .testimonials__grid {
    grid-template-columns: 1fr;
  }
  .review-card,
  .review-card + .review-card {
    padding: 35px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  }
  .contact__grid {
    grid-template-columns: 1fr;
  }
  .site-footer__top {
    display: block;
  }
  .room-modal__content {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  h2 {
    font-size: clamp(3rem, 15vw, 5rem);
  }
  .hero__content {
    left: 20px;
    right: 20px;
  }
  .hero h1 {
    font-size: clamp(4rem, 20vw, 6rem);
  }
  .booking-bar {
    bottom: 25px;
    grid-template-columns: 1fr 1fr;
  }
  .booking-bar .btn {
    grid-column: 1/-1;
  }
  .hero__scroll {
    display: none;
  }
  .intro__copy,
  .services__editorial,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .room-card__features {
    display: block;
  }
  .gallery-section__head {
    align-items: start;
  }
  .gallery__item {
    flex-basis: 86vw;
    height: 70vh;
  }
  .gallery__controls {
    gap: 8px;
  }
  .gallery__controls button {
    width: 44px;
  }
  .experience--lead {
    grid-column: auto;
  }
  .experience figure,
  .experience--lead figure {
    aspect-ratio: 4/5;
  }
  .testimonials__head {
    display: block;
  }
  .booking {
    padding: 20px 12px;
  }
  .booking__panel {
    padding: 30px 20px;
  }
  .contact__map {
    height: 400px;
  }
  .site-footer__title {
    font-size: 20vw;
  }
  .site-footer__bottom {
    display: block;
  }
  .site-footer nav {
    margin-top: 20px;
  }
  .wave {
    height: 70px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .scroll-reveal-text {
    -webkit-text-fill-color: currentColor !important;
    background: none !important;
  }
  .image-mask {
    clip-path: none !important;
  }
  .image-mask img {
    transform: none !important;
  }
}
@keyframes heroFrame {
  0% {
    inset: 18vh 18vw;
    border-radius: 22px;
  }
  100% {
    inset: 0;
    border-radius: 0;
  }
}
@keyframes heroIntro {
  0%,
  55% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}
@media (prefers-reduced-motion: no-preference) {
  body:not(.has-arrived) .hero__frame {
    animation: heroFrame 1.75s var(--ease) both;
  }
  .hero__intro {
    display: flex;
    position: absolute;
    z-index: 5;
    inset: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: var(--ivory);
    color: var(--olive);
    font: 400 clamp(3rem, 6vw, 7rem) / 0.8 var(--serif);
    animation: heroIntro 1.75s var(--ease) both;
  }
  .hero__intro strong {
    font-weight: 400;
  }
  .hero__content,
  .booking-bar,
  .site-nav,
  .hero__scroll {
    animation: arrivalContent 0.8s 1.15s var(--ease) both;
  }
  @keyframes arrivalContent {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
  .hero__content {
    animation-name: arrivalHero;
  }
}
@keyframes arrivalHero {
  from {
    opacity: 0;
    transform: translateY(calc(-50% + 16px));
  }
  to {
    opacity: 1;
    transform: translateY(-50%);
  }
}
.gallery {
  cursor: grab;
  touch-action: pan-y;
}
.gallery.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}
.gallery.is-dragging .gallery__item {
  pointer-events: none;
}
body.has-arrived .hero__intro {
  display: none !important;
}
body.has-arrived .hero__content,
body.has-arrived .booking-bar,
body.has-arrived .site-nav,
body.has-arrived .hero__scroll {
  animation: none !important;
}

/* ============================================================
   Panel de administración (admin.html)
   ============================================================ */
.admin-body {
  background: var(--ivory);
  color: var(--ink);
}
.admin-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}
.admin-header__inner {
  max-width: 1120px;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 16px;
}
.admin-header__brand {
  display: grid;
  gap: 3px;
}
.admin-header__title {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1;
}
.admin-header__sub {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.admin-header__actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.admin-header__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
  transition: color 0.2s;
}
.admin-header__link:hover {
  color: var(--ink);
}
.admin-header__link .material-symbols-outlined {
  font-size: 1.15rem;
}
.admin-header .btn {
  display: inline-flex;
  align-items: center;
}

.admin-main {
  max-width: 1120px;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
.admin-main__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.admin-title {
  font-size: clamp(2.75rem, 6vw, 4rem);
  margin-bottom: 10px;
}
.admin-subtitle {
  max-width: 48ch;
  margin: 0;
  color: var(--muted);
}

.admin-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 0.8rem;
  color: var(--muted);
}
.stat {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.stat strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--ink);
}
.stat--pendiente strong {
  color: var(--blue);
}
.stat--confirmada strong {
  color: var(--olive);
}
.stat--cancelada strong {
  color: var(--brick);
}

.admin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.admin-filters__field {
  display: grid;
  gap: 6px;
  min-width: 190px;
}
.admin-filters__field--grow {
  flex: 1;
  min-width: 240px;
}
.admin-filters__field label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.admin-filters input,
.admin-filters select {
  width: 100%;
  min-height: 42px;
  padding: 6px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.95rem;
}
.admin-filters input:focus,
.admin-filters select:focus {
  outline: 0;
  border-bottom-color: var(--olive);
}
.admin-filters__input-icon {
  position: relative;
}
.admin-filters__input-icon .material-symbols-outlined {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  color: var(--muted);
  pointer-events: none;
}
.admin-filters__input-icon input {
  padding-left: 26px;
}

.admin-list {
  display: grid;
}
.res-card {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) 2fr;
  gap: 28px;
  align-items: center;
  padding: 24px 4px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.2s;
}
.res-card:first-child {
  border-top: 1px solid var(--line);
}
.res-card:hover {
  background: rgba(90, 97, 55, 0.05);
}
.res-card__main {
  display: flex;
  align-items: center;
  gap: 16px;
}
.res-avatar {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.3rem;
  background: rgba(39, 48, 37, 0.08);
  color: var(--ink);
}
.res-avatar--pendiente {
  background: rgba(60, 112, 175, 0.14);
  color: var(--blue);
}
.res-avatar--confirmada {
  background: rgba(90, 97, 55, 0.16);
  color: var(--olive);
}
.res-avatar--cancelada {
  background: rgba(161, 101, 93, 0.16);
  color: var(--brick);
}
.res-card__name {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 2px;
}
.res-card__meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.res-card__cols {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 1fr auto;
  gap: 20px;
  align-items: center;
}
.res-card__col {
  display: grid;
  gap: 3px;
}
.res-card__cols .estado {
  justify-self: start;
}
.res-card__label {
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.res-card__value {
  font-size: 0.9rem;
}

.estado {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}
.estado--pendiente {
  background: rgba(60, 112, 175, 0.14);
  color: var(--blue);
}
.estado--confirmada {
  background: rgba(90, 97, 55, 0.16);
  color: var(--olive);
}
.estado--cancelada {
  background: rgba(161, 101, 93, 0.16);
  color: var(--brick);
}

.admin-empty {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 80px 20px;
  text-align: center;
  color: var(--muted);
}
.admin-empty[hidden] {
  display: none;
}
.admin-empty .material-symbols-outlined {
  font-size: 2.5rem;
  opacity: 0.5;
}
.admin-empty p {
  margin: 0;
  max-width: 42ch;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 20px;
}
.admin-modal[hidden] {
  display: none;
}
.admin-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 40, 51, 0.55);
}
.admin-modal__content {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--ivory);
  border-radius: 10px;
}
.admin-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 32px 36px 20px;
}
.admin-modal__title {
  font-size: 1.9rem;
  margin: 0 0 4px;
}
.admin-modal__id {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.admin-modal__close {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  transition: background 0.2s;
}
.admin-modal__close:hover {
  background: rgba(39, 48, 37, 0.06);
}
.admin-modal__body {
  padding: 8px 36px 28px;
}
.admin-modal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.detail-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px 24px;
}
.detail-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.detail-card__head .material-symbols-outlined {
  font-size: 1.2rem;
  color: var(--muted);
}
.detail-card__head h3 {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
}
.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}
.detail-row:first-of-type {
  border-top: 0;
}
.detail-label {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.detail-value {
  text-align: right;
}
.detail-comment {
  margin-top: 22px;
  display: grid;
  gap: 6px;
}
.detail-comment__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
}
.detail-status-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.admin-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 20px 36px 28px;
  border-top: 1px solid var(--line);
}
.admin-modal__footer[hidden],
.admin-modal__confirm[hidden] {
  display: none;
}
.admin-modal__footer-right {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.admin-modal__confirm {
  padding: 22px 36px 28px;
  border-top: 1px solid var(--line);
}
.admin-modal__confirm-msg {
  margin: 0 0 16px;
  font-size: 0.95rem;
}
.admin-modal__confirm-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.admin-modal .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.admin-modal .btn span {
  margin-left: 0;
}
.admin-modal .btn:hover span {
  transform: none;
}
.admin-modal .btn .material-symbols-outlined {
  font-size: 1.15rem;
}
.admin-btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.admin-btn--ghost:hover {
  background: rgba(39, 48, 37, 0.06);
}
.admin-btn--danger {
  background: transparent;
  color: var(--brick);
}
.admin-btn--danger:hover {
  color: #7f463f;
}
.admin-btn--danger-outline {
  background: transparent;
  border-color: rgba(161, 101, 93, 0.5);
  color: var(--brick);
}
.admin-btn--danger-outline:hover {
  background: rgba(161, 101, 93, 0.1);
}
.admin-btn--danger-solid {
  background: var(--brick);
  color: #fff;
}
.admin-btn--danger-solid:hover {
  background: #8f544c;
}
.admin-modal .btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.admin-edit[hidden] {
  display: none;
}
.admin-edit .form-field label {
  color: var(--muted);
}
.admin-edit .form-field input,
.admin-edit .form-field select,
.admin-edit .form-field textarea {
  color: var(--ink);
  border-bottom-color: var(--line);
}
.admin-edit .form-field input:focus,
.admin-edit .form-field select:focus,
.admin-edit .form-field textarea:focus {
  outline: 0;
  border-bottom-color: var(--olive);
}
.admin-edit .form-field select option {
  color: var(--ink);
}
.admin-edit .form-error {
  color: var(--brick);
}
.admin-edit .form-field.has-error input,
.admin-edit .form-field.has-error select,
.admin-edit .form-field.has-error textarea {
  border-bottom-color: var(--brick);
}

@media (max-width: 900px) {
  .res-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .res-card__cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 20px;
  }
  .admin-modal__grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .admin-header__inner {
    flex-wrap: wrap;
    gap: 12px;
    padding-block: 14px;
  }
  .admin-header__title {
    font-size: 1.3rem;
  }
  .admin-header__actions {
    width: 100%;
    flex-wrap: wrap;
    gap: 14px 20px;
  }
  .admin-main__head {
    margin-bottom: 32px;
  }
  .admin-filters {
    gap: 18px;
  }
  .admin-filters__field,
  .admin-filters__field--grow {
    min-width: 0;
    width: 100%;
  }
  .res-card__cols {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .admin-modal__header,
  .admin-modal__body,
  .admin-modal__footer,
  .admin-modal__confirm {
    padding-left: 20px;
    padding-right: 20px;
  }
  .admin-modal__footer {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .admin-modal__footer-right {
    flex-direction: column;
  }
  .admin-modal__footer .btn {
    width: 100%;
    justify-content: center;
  }
  .admin-modal__confirm-actions .btn {
    flex: 1;
    justify-content: center;
  }
}
