/* =============================================================
   HOTEL LOGÍSTICO — Design System
   ============================================================= */

/* ── Fonts ── */
/* Google Fonts cargadas via <link> en el <head> del HTML para evitar render-blocking */

/* ── Tokens ── */
:root {
  --dark:        #141414;
  --dark-2:      #1e1e1e;
  --accent:      #b8976a;
  --accent-light:#e8d9c0;
  --light:       #faf9f7;
  --cream:       #f3ede4;
  --white:       #ffffff;
  --text:        #2a2a2a;
  --muted:       #777;
  --border:      #e5dfd6;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --nav-h:     72px;

  --ease:      cubic-bezier(.4, 0, .2, 1);
  --ease-out:  cubic-bezier(0, 0, .2, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Utilities ── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--dark);
  text-wrap: balance;
}

.section-heading em {
  font-style: italic;
  color: var(--accent);
}

.section-body {
  font-size: .9375rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 520px;
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }


/* =============================================================
   NAVIGATION
   ============================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}

.nav.at-top {
  background: transparent;
}

.nav.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

/* Logo */
.nav__logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: filter .4s var(--ease);
}
.nav.at-top .nav__logo img   { filter: brightness(0) invert(1); }
.nav.scrolled .nav__logo img { filter: none; }

/* Links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__links a {
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color .2s;
}

.nav.at-top .nav__links a   { color: rgba(255,255,255,.85); }
.nav.scrolled .nav__links a { color: var(--text); }
.nav.at-top .nav__links a:hover   { color: #fff; }
.nav.scrolled .nav__links a:hover { color: var(--accent); }

/* CTA button */
.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.4rem;
  border-radius: 3px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--white);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-nav:hover {
  background: #a5865a;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(184,151,106,.35);
}
.btn-nav:active { transform: translateY(0) scale(.98); box-shadow: none; }
.btn-nav:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 6px;
}
.nav__hamburger span {
  display: block;
  width: 26px; height: 1.5px;
  transition: transform .3s var(--ease), opacity .3s;
}
.nav.at-top .nav__hamburger span   { background: var(--white); }
.nav.scrolled .nav__hamburger span { background: var(--dark); }

.nav__hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile drawer */
.nav__drawer {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
  flex-direction: column;
  gap: 1.5rem;
  z-index: 99;
}
.nav__drawer.open { display: flex; }
.nav__drawer a {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text);
  padding: .4rem 0;
  border-bottom: 1px solid var(--border);
}
.nav__drawer .btn-nav { align-self: flex-start; margin-top: .5rem; }


/* =============================================================
   HERO
   ============================================================= */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    170deg,
    rgba(10,10,10,.60) 0%,
    rgba(10,10,10,.45) 50%,
    rgba(10,10,10,.65) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 1.5rem;
  max-width: 760px;
}

.hero__logo {
  display: block;
  width: clamp(140px, 24vw, 240px);
  height: auto;
  margin: 0 auto 2rem;
  filter: brightness(0) invert(1);
  opacity: 0;
  animation: fadeUp .9s .1s var(--ease-out) forwards;
}

.hero__eyebrow {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp .9s .3s var(--ease-out) forwards;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp .9s .5s var(--ease-out) forwards;
  text-wrap: balance;
}

.hero__subtitle {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,.80);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp .9s .7s var(--ease-out) forwards;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: 1rem 2.2rem;
  border-radius: 3px;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--white);
  transition: background .2s, transform .2s, box-shadow .2s;
  opacity: 0;
  animation: fadeUp .9s .9s var(--ease-out) forwards;
}
.hero__cta:hover {
  background: #a5865a;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(184,151,106,.4);
}
.hero__cta:active { transform: translateY(0) scale(.98); box-shadow: none; }
.hero__cta:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

.hero__cta svg { flex-shrink: 0; }

.hero__scroll {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  opacity: 0;
  animation: fadeIn 1s 1.4s forwards;
}
.hero__scroll span {
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.hero__scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: .5; }
  50%       { transform: scaleY(.6); opacity: 1; }
}


/* =============================================================
   INTRO / ABOUT
   ============================================================= */
.intro {
  padding: 7rem 0;
}

.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.intro__text .section-heading { margin-bottom: 1.25rem; }
.intro__text .section-body    { margin-bottom: 2rem; }

.intro__divider {
  width: 48px; height: 1px;
  background: var(--accent);
  margin: 1.5rem 0;
}

.intro__stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.intro__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  margin-bottom: .25rem;
}

.intro__stat span {
  font-size: .75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.intro__image-wrap {
  position: relative;
}

.intro__image-wrap::before {
  content: '';
  position: absolute;
  top: 1.5rem; right: -1.5rem;
  bottom: -1.5rem; left: 1.5rem;
  border: 1px solid var(--accent-light);
  border-radius: 2px;
  z-index: 0;
  pointer-events: none;
}

.intro__image-wrap img {
  position: relative;
  z-index: 1;
  border-radius: 2px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: 0 20px 60px rgba(0,0,0,.12);
}


/* =============================================================
   ROOMS
   ============================================================= */
.rooms {
  padding: 7rem 0;
  background: var(--cream);
}

.rooms__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3.5rem;
  gap: 2rem;
}

.rooms__header-right .section-body { margin-top: .75rem; }

.rooms__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.room-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(184,151,106,.1);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex;
  flex-direction: column;
}
.room-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(184,151,106,.18);
}

.room-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

/* ── Room Card Carousel ── */
.carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel__track {
  display: flex;
  height: 100%;
  will-change: transform;
}

.carousel__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(20,20,20,.5);
  color: #fff;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0;
  transition: opacity .25s, background .2s;
}
.carousel__btn:hover { background: rgba(20,20,20,.75); }
.room-card:hover .carousel__btn { opacity: 1; }
.carousel__btn--prev { left: .5rem; }
.carousel__btn--next { right: .5rem; }

.carousel__dots {
  position: absolute;
  bottom: .6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .35rem;
  z-index: 2;
}

.carousel__dot {
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  transition: background .25s;
  padding: 0;
}
.carousel__dot.active { background: #fff; }

.room-card__badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--dark);
  color: var(--white);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .35rem .85rem;
  border-radius: 2px;
}

.room-card__body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.room-card__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: .5rem;
  color: var(--dark);
}

.room-card__desc {
  font-size: .875rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.room-card__amenities {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1.5rem;
  flex: 1;
  align-content: flex-start;
}

.pill {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .04em;
  padding: .3rem .8rem;
  border-radius: 2px;
  background: var(--cream);
  color: var(--text);
  border: 1px solid var(--border);
}

.room-card__footer {
  display: flex;
  align-items: center;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.room-card__footer .btn-consult {
  width: 100%;
  justify-content: center;
}

.room-card__price strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 300;
  color: var(--dark);
  font-variant-numeric: tabular-nums;
}
.room-card__price span {
  font-size: .75rem;
  color: var(--muted);
  display: block;
  margin-top: .1rem;
}

.btn-consult {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .6rem 1.2rem;
  border-radius: 3px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: var(--dark);
  color: var(--white);
  transition: background .2s, transform .2s;
}
.btn-consult:hover {
  background: var(--accent);
  transform: translateY(-1px);
}
.btn-consult:active { transform: translateY(0) scale(.98); }
.btn-consult:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }


/* =============================================================
   CTA BANNER
   ============================================================= */
.cta-banner {
  background: var(--dark-2);
  padding: 5.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(184,151,106,.15) 0%, transparent 70%);
}

.cta-banner__content { position: relative; z-index: 1; }

.cta-banner__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: .75rem;
  letter-spacing: -.01em;
}

.cta-banner__sub {
  font-size: .9375rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 2.25rem;
}

.btn-wa-lg {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: 1rem 2.4rem;
  border-radius: 3px;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: #25d366;
  color: var(--white);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-wa-lg:hover {
  background: #1ebe5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,.3);
}
.btn-wa-lg:active { transform: translateY(0) scale(.98); box-shadow: none; }
.btn-wa-lg:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }


/* =============================================================
   SERVICES
   ============================================================= */
.services {
  padding: 7rem 0;
}

.services__header {
  margin-bottom: 4rem;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.service-item {
  padding: 2.25rem 1.75rem;
  border-right: 1px solid var(--border);
  background: var(--white);
  transition: background .25s;
}
.service-item:last-child { border-right: none; }
.service-item:hover { background: var(--cream); }

.service-item__icon {
  width: 40px; height: 40px;
  margin-bottom: 1rem;
  color: var(--accent);
}

.service-item__name {
  font-size: .875rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: .3rem;
}

.service-item__desc {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.6;
}


/* =============================================================
   GALLERY
   ============================================================= */
.gallery {
  padding: 7rem 0;
  background: var(--cream);
}

.gallery__header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.gallery__header .section-body { margin: .75rem auto 0; }

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 280px 280px;
  gap: .75rem;
}

.gallery__item {
  overflow: hidden;
  border-radius: 3px;
  cursor: pointer;
}

.gallery__item img {
  transition: transform .6s var(--ease);
}
.gallery__item:hover img { transform: scale(1.06); }

/* Mosaic layout */
.gallery__item--1 { grid-column: span 5; grid-row: span 2; }
.gallery__item--2 { grid-column: span 4; grid-row: span 1; }
.gallery__item--3 { grid-column: span 3; grid-row: span 1; }
.gallery__item--4 { grid-column: span 7; grid-row: span 1; }


/* =============================================================
   LOCATION
   ============================================================= */
.location {
  padding: 7rem 0;
}

.location__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.location__map {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,.1);
  aspect-ratio: 1 / 1;
}
.location__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.location__info .section-heading { margin-bottom: 1rem; }

.location__address {
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.location__address strong { color: var(--text); font-weight: 500; }

.location__nearby {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 2.5rem;
}

.location__nearby-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .875rem;
}
.location__nearby-item span:first-child { color: var(--text); }
.location__nearby-item span:last-child  { color: var(--muted); font-style: italic; }

.btn-map {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.6rem;
  border-radius: 3px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  border: 1.5px solid var(--dark);
  color: var(--dark);
  transition: background .2s, color .2s, transform .2s;
}
.btn-map:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-map:active { transform: translateY(0) scale(.98); }
.btn-map:focus-visible { outline: 2px solid var(--dark); outline-offset: 3px; }


/* =============================================================
   CONTACT
   ============================================================= */
.contact {
  padding: 7rem 0;
  background: var(--dark);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: start;
}

.contact__info .section-eyebrow { color: var(--accent-light); opacity: .7; }
.contact__info .section-heading { color: var(--white); margin-bottom: .75rem; }
.contact__info .section-body    { color: rgba(255,255,255,.5); margin-bottom: 2.5rem; }

.contact__channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 4px;
  margin-bottom: .75rem;
  transition: transform .2s;
}
.contact__channel:hover { transform: translateX(4px); }

.contact__channel--wa    { background: rgba(37,211,102,.12); border: 1px solid rgba(37,211,102,.2); }
.contact__channel--phone { background: rgba(184,151,106,.1); border: 1px solid rgba(184,151,106,.2); }

.contact__channel-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact__channel--wa    .contact__channel-icon { background: rgba(37,211,102,.2); color: #25d366; }
.contact__channel--phone .contact__channel-icon { background: rgba(184,151,106,.2); color: var(--accent); }

.contact__channel-name {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: .2rem;
}
.contact__channel-value {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
}

/* Form */
.contact__form-card {
  background: var(--white);
  border-radius: 4px;
  padding: 2.5rem;
}

.contact__form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 1.75rem;
}

.form-field {
  margin-bottom: 1.1rem;
}

.form-field label {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: .45rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--light);
  outline: none;
  transition: border-color .2s;
  appearance: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  background: var(--white);
}
.form-field textarea { resize: vertical; min-height: 90px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.btn-submit {
  width: 100%;
  padding: .9rem;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--dark);
  color: var(--white);
  margin-top: .5rem;
  transition: background .2s, transform .2s;
}
.btn-submit:hover {
  background: var(--accent);
  transform: translateY(-1px);
}
.btn-submit:active { transform: translateY(0) scale(.98); }
.btn-submit:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.form-note {
  font-size: .75rem;
  color: var(--muted);
  text-align: center;
  margin-top: .75rem;
}


/* =============================================================
   FOOTER
   ============================================================= */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 2.5rem 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

footer .logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .6;
}

.footer__copy {
  font-size: .78rem;
  color: rgba(255,255,255,.3);
}

.footer__links {
  display: flex;
  gap: 1.5rem;
}
.footer__links a {
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  transition: color .2s;
}
.footer__links a:hover { color: var(--accent); }

.footer__dev {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer__dev a {
  font-size: .7rem;
  letter-spacing: .08em;
  color: rgba(255,255,255,.2);
  text-decoration: none;
  transition: color .2s;
}

.footer__dev a:hover {
  color: rgba(255,255,255,.5);
}


/* =============================================================
   FLOATING WHATSAPP
   ============================================================= */
.wa-float {
  position: fixed;
  bottom: 1.75rem; right: 1.75rem;
  z-index: 200;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.6);
}
.wa-float svg { width: 28px; height: 28px; }


/* =============================================================
   TOAST
   ============================================================= */
.toast {
  position: fixed;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--dark);
  color: var(--white);
  padding: .75rem 1.5rem;
  border-radius: 4px;
  font-size: .875rem;
  font-weight: 500;
  border-left: 3px solid var(--accent);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  white-space: nowrap;
  z-index: 300;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


/* =============================================================
   RESPONSIVE — TABLET
   ============================================================= */
@media (max-width: 1024px) {
  .rooms__grid { grid-template-columns: repeat(2, 1fr); }

  .services__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  .service-item:nth-child(3) { border-right: none; }
  .service-item:nth-child(4),
  .service-item:nth-child(5) { border-top: 1px solid var(--border); }

  .gallery__grid { grid-template-rows: 220px 220px; }
}


/* =============================================================
   RESPONSIVE — MOBILE
   ============================================================= */
@media (max-width: 768px) {
  /* Nav */
  .nav__links, .btn-nav { display: none; }
  .nav__hamburger { display: flex; }

  /* Intro */
  .intro__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .intro__image-wrap::before { display: none; }
  .intro__image-wrap img { aspect-ratio: 16 / 9; }

  /* Rooms */
  .rooms__header { flex-direction: column; align-items: flex-start; }
  .rooms__grid   { grid-template-columns: 1fr; }

  /* Services */
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .service-item   { border-right: none; border-bottom: 1px solid var(--border); }
  .service-item:last-child { border-bottom: none; }

  /* Gallery */
  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 200px);
  }
  .gallery__item--1 { grid-column: span 2; grid-row: span 1; }
  .gallery__item--2,
  .gallery__item--3,
  .gallery__item--4 { grid-column: span 1; grid-row: span 1; }

  /* Location */
  .location__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .location__map { aspect-ratio: 4 / 3; }

  /* Contact */
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* Footer */
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 1rem; }

  /* Form row */
  .form-row { grid-template-columns: 1fr; }

}


/* =============================================================
   ROOMS — 4 CARDS (2×2 grid)
   ============================================================= */
.rooms__grid--4 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
  .rooms__grid--4 { grid-template-columns: 1fr; }
}


/* =============================================================
   POOL SECTION — mobile-first
   ============================================================= */
.pool-section {
  padding: 0;
  overflow: hidden;
}

/* ── MÓVIL: imagen arriba, texto abajo ── */
.pool-section__grid {
  display: flex;
  flex-direction: column;
}

.pool-section__image {
  width: 100%;
  height: 260px;
  overflow: hidden;
  flex-shrink: 0;
}

.pool-section__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .6s var(--ease);
}

.pool-section__content {
  background: var(--cream);
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pool-section__content .section-heading { margin-bottom: 1rem; }
.pool-section__content .section-body    { margin-bottom: 0; }

.pool-badge-soon {
  display: inline-block;
  margin-top: 2rem;
  padding: .55rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: transparent;
  color: var(--accent);
  font-family: 'Cormorant Garamond', serif;
  font-size: .9rem;
  font-style: italic;
  letter-spacing: .12em;
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
}

/* ── DESKTOP: imagen izquierda, texto derecha ── */
@media (min-width: 769px) {
  .pool-section__grid {
    flex-direction: row;
    min-height: 500px;
  }
  .pool-section__image {
    flex: 1;
    height: auto;
  }
  .pool-section__image:hover img { transform: scale(1.04); }
  .pool-section__content {
    flex: 1;
    padding: 5rem 4rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .pool-section__content { padding: 4rem 2.5rem; }
}


/* =============================================================
   FORM — VALIDACIÓN VISUAL
   ============================================================= */
.form-field input.is-invalid,
.form-field textarea.is-invalid {
  border-color: #d94f4f;
  background: #fff8f8;
}

.form-error {
  display: none;
  font-size: .75rem;
  color: #d94f4f;
  margin-top: .3rem;
  font-weight: 500;
}


/* =============================================================
   LIGHTBOX
   ============================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0,0,0,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox__img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 3px;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
  transform: scale(.95);
  transition: transform .3s var(--ease);
  width: auto;
  height: auto;
}

.lightbox.active .lightbox__img { transform: scale(1); }

.lightbox__close {
  position: absolute;
  top: 1.25rem; right: 1.5rem;
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: color .2s, transform .2s;
  padding: .25rem .5rem;
}
.lightbox__close:hover {
  color: var(--white);
  transform: rotate(90deg);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  color: #fff;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, transform .2s;
  z-index: 2;
  border: 1px solid rgba(255,255,255,.2);
}
.lightbox__nav:hover { background: rgba(255,255,255,.25); }
.lightbox__nav:active { transform: translateY(-50%) scale(.92); }
.lightbox__nav--prev { left: 1.25rem; }
.lightbox__nav--next { right: 1.25rem; }
.lightbox__nav[hidden] { display: none; }

.lightbox__counter {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.55);
  font-size: .75rem;
  font-family: var(--font-body);
  letter-spacing: .08em;
  pointer-events: none;
}

@media (max-width: 600px) {
  .lightbox__nav--prev { left: .5rem; }
  .lightbox__nav--next { right: .5rem; }
}


/* =============================================================
   FOOTER DEV — texto completo
   ============================================================= */
.footer__dev {
  color: rgba(255,255,255,.2);
  font-size: .7rem;
}


/* =============================================================
   HERO TRUST LINE
   ============================================================= */
.hero__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.25rem;
  opacity: 0;
  animation: fadeUp .9s 1.1s var(--ease-out) forwards;
}
.hero__trust-stars { color: var(--accent); font-size: .85rem; letter-spacing: .05em; }
.hero__trust-text  { font-size: .8rem; color: rgba(255,255,255,.7); }
.hero__trust-sep   { color: rgba(255,255,255,.3); font-size: .8rem; }
.hero__trust-link  {
  font-size: .8rem;
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}
.hero__trust-link:hover { color: #fff; }


/* =============================================================
   TESTIMONIALS
   ============================================================= */
.testimonials {
  padding: 7rem 0;
  background: var(--light);
}

.testimonials__header {
  margin-bottom: 3.5rem;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: 4px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(184,151,106,.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-card__stars {
  color: var(--accent);
  font-size: .85rem;
  letter-spacing: .04em;
}

.testimonial-card__text {
  font-size: .9375rem;
  line-height: 1.75;
  color: var(--text);
  flex: 1;
}

.testimonial-card__text::before { content: '\201C'; }
.testimonial-card__text::after  { content: '\201D'; }

.testimonial-card__author {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.testimonial-card__name {
  font-size: .875rem;
  font-weight: 600;
  color: var(--dark);
}

.testimonial-card__origin {
  font-size: .75rem;
  color: var(--muted);
}

.testimonials__cta {
  text-align: center;
  margin-top: 2.5rem;
}

.testimonials__cta a {
  font-size: .8rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}
.testimonials__cta a:hover { color: var(--accent); }

@media (max-width: 768px) {
  .testimonials__grid { grid-template-columns: 1fr; }
}


/* =============================================================
   FAQ
   ============================================================= */
.faq {
  padding: 7rem 0;
  background: var(--cream);
}

.faq__header {
  margin-bottom: 3.5rem;
}

.faq__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 4rem;
}

.faq__item {}

.faq__question {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: .5rem;
}

.faq__answer {
  font-size: .9rem;
  line-height: 1.75;
  color: var(--muted);
}

@media (max-width: 768px) {
  .faq__grid { grid-template-columns: 1fr; gap: 1.75rem; }
}


/* =============================================================
   SKIP TO CONTENT — accesibilidad teclado
   ============================================================= */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--accent);
  color: var(--white);
  padding: .5rem 1.2rem;
  border-radius: 3px;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .03em;
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }
