﻿:root {
  --bg: #f3e6d9;
  --surface: rgba(255, 255, 255, 0.9);
  --card: rgba(255, 252, 247, 0.96);
  --text: #20110a;
  --muted: #6b5548;
  --accent: #e2765c;
  --accent-2: #f1a17f;
  --line: rgba(32, 17, 10, 0.08);
  --contour: rgba(194, 128, 92, 0.36);
  --shadow: 0 22px 70px rgba(145, 110, 80, 0.22);
  --radius: 18px;
}

html { scroll-behavior: smooth; }

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  word-break: normal;
  hyphens: auto;
  user-select: none;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

img { 
  -webkit-user-drag: none; 
  user-select: none;
  max-width: 100%;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: -moz-crisp-edges;
  image-rendering: -o-crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
  backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
main { position: relative; z-index: 1; }

.bg-animated {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 16% 18%, rgba(237, 218, 191, 0.28), transparent 44%),
              radial-gradient(circle at 82% 12%, rgba(225, 204, 175, 0.24), transparent 36%),
              linear-gradient(120deg, #faf5ec 0%, #f4ecdf 55%, #efe4d4 100%);
  overflow: hidden;
  z-index: 0;
}

.bg-animated::after {
  content: '';
  position: absolute;
  inset: -20%;
  background: conic-gradient(from 180deg, rgba(237, 218, 191, 0.12), rgba(225, 204, 175, 0.12), rgba(255, 255, 255, 0.1), rgba(237, 218, 191, 0.12));
  filter: blur(120px);
  animation: spin 24s linear infinite;
}

.petal-layer,
#petal-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.petal {
  position: absolute;
  top: -12vh;
  left: 0;
  width: 16px;
  height: 14px;
  animation: fall var(--fall-duration, 14s) linear infinite;
  animation-delay: var(--start-delay, 0s);
}

.petal__inner {
  display: block;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 30% 30%, #ffe4f0 0%, #f7b6cf 55%, #f06292 100%);
  border-radius: 70% 80% 70% 80%;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.08));
  animation: flutter var(--sway-duration, 4.6s) ease-in-out infinite alternate;
  opacity: 0.9;
}

.orb {
  display: none;
}

.section {
  position: relative;
  padding: 96px min(8vw, 120px);
  z-index: 1;
}

.section__header {
  max-width: 720px;
  margin-bottom: 28px;
}

.eyebrow {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--accent);
  margin: 0 0 10px;
  font-weight: 700;
}

.hero .eyebrow,
.hero .subtitle {
  color: #ffffff;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 10px;
  justify-content: center;
  flex-direction: column;
}

.brand > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.brand .eyebrow {
  font-size: 24px;
  margin: 0 0 2px 0;
  letter-spacing: 0.1em;
}

.brand__logo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: center/cover no-repeat url('img/img6.jpeg');
  border: 3.5px solid rgba(243,183,213,0.55);
  box-shadow: 0 16px 38px rgba(0,0,0,0.28);
  flex-shrink: 0;
}

.brand__logo--small {
  width: 74px;
  height: 74px;
  border-width: 2.5px;
  margin-right: 10px;
}

.brand__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  margin-top: 2px;
  border-radius: 12px;
  background: linear-gradient(120deg, rgba(243,183,213,0.16), rgba(228,140,184,0.14));
  border: 1px solid rgba(243,183,213,0.38);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 13px;
  color: var(--text);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

h1 { font-size: clamp(64px, 8vw, 110px); font-family: 'Playfair Display', serif; letter-spacing: -0.012em; }

.brand h1 { margin: 0; }

h2 { 
  font-size: clamp(30px, 3.5vw, 42px); 
  font-weight: 700;
  background: linear-gradient(120deg, var(--text), var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 2px 4px rgba(226, 118, 92, 0.15));
  position: relative;
  transition: filter 0.4s ease;
  padding-bottom: 12px;
}
h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
  transition: width 0.6s ease;
}
h2:hover::after {
  width: 40%;
}
h2 { 
  margin: 0 0 6px 0;
}
h3 { font-size: 20px; font-weight: 700; }

.subtitle { font-size: 21px; color: var(--muted); margin: 16px 0 24px; max-width: 760px; }
.muted { color: var(--muted); margin: 0; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
  justify-items: center;
  padding-top: 150px;
  min-height: 75vh;
  background: url('img/img21.png') center/cover no-repeat;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 50%, rgba(225,204,175,0.32), transparent 42%),
    radial-gradient(circle at 100% 50%, rgba(225,204,175,0.32), transparent 42%),
    radial-gradient(circle at 50% 0%, rgba(237,218,191,0.24), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(237,218,191,0.24), transparent 40%);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(0,0,0,0.20), transparent 50%),
              linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.35));
  pointer-events: none;
  z-index: 0;
  box-shadow: inset 0 0 60px rgba(0,0,0,0.45);
}

.hero__content { z-index: 2; animation: float 8s ease-in-out infinite alternate; }
.hero h1 {
  color: #fff;
  text-shadow: 0 14px 38px rgba(0,0,0,0.45);
}

.hero__info { display: flex; flex-wrap: wrap; gap: 16px; margin: 24px 0; }

.section.reveal { transform: translateY(20px); animation: float-in 0.9s ease-out forwards; }

.card { will-change: transform, opacity, filter; }
.card:hover { transform: translateY(-8px) scale(1.03); box-shadow: 0 34px 96px rgba(145,110,80,0.36); border-color: rgba(194, 128, 92, 0.68); filter: saturate(1.12); }
.info-chip {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  backdrop-filter: blur(8px);
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

.hero__card {
  background: var(--card);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  padding: 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 420px;
}
.hero__card-header { display: flex; align-items: center; justify-content: space-between; }
.hero__card-title { font-size: 22px; margin: 10px 0 16px; }
.hero__list { margin: 0; padding-left: 18px; color: var(--muted); }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); display: inline-block; box-shadow: 0 0 12px rgba(243,183,213,0.55); }

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,244,236,0.95));
  border: 1.5px solid var(--contour);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 4px 12px rgba(145,110,80,0.12), 0 12px 28px rgba(145,110,80,0.15), 0 22px 60px rgba(145,110,80,0.22);
  backdrop-filter: blur(12px);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, filter .35s ease, opacity .5s ease;
  opacity: 0;
  transform: translateY(12px);
}
.card.visible { opacity: 1; transform: translateY(0); }
.card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 6px 16px rgba(145,110,80,0.18), 0 16px 40px rgba(145,110,80,0.25), 0 32px 86px rgba(145,110,80,0.36); border-color: rgba(194, 128, 92, 0.58); filter: saturate(1.1); }

.icon-card .icon,
.area-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: linear-gradient(135deg, rgba(243,183,213,0.18), rgba(228,140,184,0.18));
  margin-bottom: 14px;
}

.service-card {
  padding: 18px;
}

.service-thumb {
  width: 140px;
  height: 90px;
  border-radius: 12px;
  overflow: hidden;
  margin: 0 0 12px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.16);
}
.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}

.service-photo {
  width: 100%;
  height: 200px;
  min-height: 200px;
  max-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f8f8f8;
  border-radius: 8px;
}
.service-photo img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease, filter 0.3s ease;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.service-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

/* Efecto hover para tarjetas de servicio */
.service-card:hover .service-photo img {
  transform: scale(1.05);
  filter: saturate(1.1) contrast(1.1);
}

/* Mejoras adicionales para calidad de imagen */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .service-photo img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: auto;
  }
}

.service-photo {
  will-change: transform;
}

/* Estilos para sección de Reservaciones y Hospedaje */
#reservaciones-hospedaje {
  position: relative;
  padding: 96px min(8vw, 120px);
  z-index: 1;
}

#reservaciones-hospedaje .reservas-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.reservas-intro {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 30px;
  text-align: center;
  font-weight: 500;
}

.tarifas-section {
  margin-bottom: 30px;
}

.tarifas-section h3 {
  text-align: center;
  font-size: 28px;
  color: var(--text);
  margin-bottom: 25px;
  font-weight: 700;
}

.tarjeta-habitacion {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 8px 25px rgba(226, 118, 92, 0.1);
  border: 2px solid rgba(226, 118, 92, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.tarjeta-habitacion:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(226, 118, 92, 0.3);
  border-color: rgba(226, 118, 92, 0.9);
}

.tarjeta-habitacion h4 {
  font-size: 20px;
  color: var(--accent);
  margin-bottom: 15px;
  font-weight: 600;
}

.precios {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.precio-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(226, 118, 92, 0.1);
}

.precio-item:last-child {
  border-bottom: none;
}

.precio-item .tipo {
  color: var(--muted);
  font-size: 16px;
}

.precio-item .valor {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}

.reservas-contacto {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  text-align: center;
  margin-bottom: 30px;
  font-style: italic;
}

.reservas-acciones {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Galería con diseño oscuro y dorado elegante */
#galeria {
  background: #0f0f0f;
  color: #f5f5f5;
  position: relative;
  overflow: hidden;
}

#galeria .section__header {
  text-align: center;
  margin-bottom: 50px;
}

#galeria .section__header h2 {
  color: #c9a24a;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(201, 162, 74, 0.3);
}

#galeria .eyebrow {
  color: #f5f5f5;
  opacity: 0.8;
  font-size: 1.1rem;
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.gallery-item {
  position: relative;
  background: #1c1c1c;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
  transform: translateY(20px) scale(0.9);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }
.gallery-item:nth-child(7) { animation-delay: 0.7s; }

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  filter: saturate(0.8) brightness(0.9);
}

.gallery-item:hover {
  transform: translateY(-15px) scale(1.08) rotate(1deg);
  box-shadow: 0 25px 50px rgba(201, 162, 74, 0.4);
  border-color: #c9a24a;
  z-index: 10;
  position: relative;
}

.gallery-item:hover img {
  filter: saturate(1.2) brightness(1.1) contrast(1.1);
  border-color: #c9a24a;
  box-shadow: 0 0 30px rgba(201, 162, 74, 0.5);
  transform: scale(1.1);
}

/* Efecto de brillo dorado animado */
.gallery-item::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(201, 162, 74, 0.3), transparent);
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.gallery-item:hover::before {
  opacity: 1;
  animation: shimmer 0.6s ease;
}

/* Efecto de partículas doradas */
.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(201, 162, 74, 0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Animación de brillo */
@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Efecto de pulsación sutil */
.gallery-item {
  animation: fadeInUp 0.8s ease forwards, pulse 2s ease-in-out infinite 3s;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

/* Efecto de onda al hacer clic */
.gallery-item:active {
  transform: translateY(-15px) scale(0.95) rotate(-1deg);
  transition: all 0.1s ease;
}

/* Efecto de resplandor continuo */
.gallery-item img {
  position: relative;
}

.gallery-item img::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle, rgba(201, 162, 74, 0.1) 0%, transparent 70%);
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  0% { opacity: 0.3; }
  100% { opacity: 0.8; }
}

.gallery-actions {
  text-align: center;
  margin-top: 30px;
}

.gallery-actions .btn {
  background: linear-gradient(135deg, #c9a24a, #b8911f);
  color: #f5f5f5;
  border: 2px solid #c9a24a;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(201, 162, 74, 0.3);
}

.gallery-actions .btn:hover {
  background: linear-gradient(135deg, #d4a94a, #c9a24a);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(201, 162, 74, 0.4);
}

/* Animación de aparición suave */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive para galería */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  #galeria .section__header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .gallery-item img {
    height: 180px;
  }
  
  #galeria .section__header {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  #reservaciones-hospedaje .reservas-content {
    padding: 30px 15px;
  }
  
  .reservas-intro {
    font-size: 16px;
  }
  
  .tarifas-section h3 {
    font-size: 24px;
  }
  
  .tarjeta-habitacion {
    padding: 16px;
  }
  
  .tarjeta-habitacion h4 {
    font-size: 18px;
  }
  
  .precio-item .tipo {
    font-size: 14px;
  }
  
  .precio-item .valor {
    font-size: 16px;
  }
  
  .reservas-acciones {
    flex-direction: column;
    align-items: center;
  }
  
  .reservas-acciones .btn {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  #reservaciones-hospedaje .reservas-content {
    padding: 25px 10px;
  }
  
  .reservas-intro {
    font-size: 15px;
    line-height: 1.5;
  }
  
  .tarifas-section h3 {
    font-size: 20px;
  }
}

/* Sección moderna de servicios */
.services-modern {
  padding-top: 90px;
}
.services-modern .section__header { max-width: 720px; }
.services-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.service-tile {
  position: relative;
  overflow: hidden;
  border: 1.5px solid var(--contour);
  background: radial-gradient(160% 140% at 18% 18%, rgba(225,196,160,0.18), rgba(252,245,235,0.95)),
              linear-gradient(160deg, rgba(252,247,240,0.94), rgba(238,226,212,0.9));
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(145,110,80,0.2);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, filter .35s ease;
  opacity: 0;
  transform: translateY(18px) scale(.98);
  animation: tileRise .7s ease forwards;
  animation-delay: calc(var(--i, 0) * 80ms);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 380px;
}
.service-tile:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 26px 70px rgba(145,110,80,0.24);
  border-color: rgba(194, 128, 92, 0.48);
  filter: saturate(1.05);
}
.service-tile::before {
  content: '';
  position: absolute;
  inset: -40% -60%;
  background: radial-gradient(ellipse at center, rgba(225,196,160,0.16), transparent 55%);
  transform: rotate(8deg);
  opacity: 0;
  transition: opacity .4s ease;
}
.service-tile:hover::before { opacity: 1; }
.service-media {
  height: 200px;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 30%, rgba(225,196,160,0.2), rgba(248,240,229,0.94)),
              linear-gradient(135deg, #f7f0e6, #ecddcc);
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-blend-mode: overlay, normal;
  margin: -6px -6px 14px;
  overflow: hidden;
  position: relative;
  object-fit: cover;
  width: 100%;
  min-height: 200px;
  max-height: 200px;
}
.service-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0.7) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.service-media::after { display: none; }
.service-body {
  position: relative;
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(243,183,213,0.9), rgba(228,140,184,0.9));
  opacity: 0.85;
}
.service-body h3 { 
  margin-bottom: 12px; 
  font-size: 20px; 
  letter-spacing: 0.01em; 
  color: var(--text); 
  line-height: 1.3;
  font-weight: 600;
}
.service-body p { 
  margin: 0; 
  color: #2e405c; 
  font-size: 15px;
  line-height: 1.5;
  flex: 1;
}

@keyframes tileRise {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.card-grid {
  display: grid;
  gap: 18px;
}
.trio { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.duo { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.quartet { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.rooms { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.gallery-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}

#galeria {
  position: relative;
  overflow: hidden;
}
#galeria::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.48), rgba(0,0,0,0.32));
  pointer-events: none;
  z-index: 1;
}
#galeria > * {
  position: relative;
  z-index: 2;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 22px 50px rgba(32,17,10,0.14);
  border: 1.5px solid var(--contour);
  background: #fdf6ed;
  transition: transform .25s ease, box-shadow .25s ease;
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2);
  pointer-events: none;
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  object-position: center 8%;
  filter: brightness(1.05) contrast(1.16) saturate(1.12);
  display: block;
}
.gallery-item:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 30px 74px rgba(32,17,10,0.18);
}
.gallery-item:hover img {
  filter: brightness(1.08) contrast(1.18) saturate(1.16);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 20;
  padding: 20px;
}
.lightbox::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.92) 100%);
  pointer-events: none;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox__img {
  max-width: min(1200px, 92vw);
  max-height: 80vh;
  height: 80vh;
  object-fit: cover;
  object-position: center 8%;
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.4);
  border: 2px solid rgba(255,255,255,0.12);
}
.lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  border-radius: 999px;
  width: 44px;
  height: 44px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.lightbox__close:hover { background: rgba(0,0,0,0.75); }

.room-card { padding: 0; overflow: hidden; }
.room-media {
  height: 280px;
  background: linear-gradient(135deg, rgba(0,0,0,0.28), rgba(0,0,0,0.18)),
              url('https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?auto=format&fit=crop&w=900&q=80') center/cover;
  background-blend-mode: multiply;
  background-position: center 12%;
  background-size: cover;
  filter: brightness(0.98) contrast(1.12) saturate(1.08);
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}
.rooms .room-card:nth-child(1) .room-media {
  background: linear-gradient(135deg, rgba(0,0,0,0.28), rgba(0,0,0,0.18)),
              url('img/img4.jpeg') center/cover;
}
.rooms .room-card:nth-child(2) .room-media {
  background: linear-gradient(135deg, rgba(0,0,0,0.28), rgba(0,0,0,0.18)),
              url('img/img3.jpeg') center/cover;
}
.rooms .room-card:nth-child(3) .room-media {
  background: linear-gradient(135deg, rgba(0,0,0,0.28), rgba(0,0,0,0.18)),
              url('img/img2-Picsart-AiImageEnhancer (1).jpeg') center/cover;
}
.card-body { padding: 18px 20px 20px; }
.price { font-size: 20px; font-weight: 700; margin: 6px 0 8px; color: var(--accent); }

.area-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.area-card p, .icon-card p { color: var(--text); font-weight: 500; }

.list-card ul { margin: 0; padding-left: 18px; color: var(--muted); }

/* Asegurar visibilidad de párrafos en tarjetas */
.card p:not(.muted):not(.price):not(.eyebrow) { 
  color: var(--text);
  font-weight: 500;
}

.cta-row { display: flex; justify-content: center; margin-top: 30px; }

.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; }

.btn {
  position: relative;
  border: 1px solid transparent;
  padding: 14px 24px;
  font-size: 15px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.15;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease, filter .25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
}
.hero .btn.primary {
  background: linear-gradient(120deg, #ff945a, #ff6c78);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 20px 48px rgba(255, 142, 122, 0.36);
}
.hero .btn.primary:hover { box-shadow: 0 26px 66px rgba(255, 142, 122, 0.48); }
.hero .btn.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 34px rgba(0,0,0,0.22);
}
.hero .btn.ghost:hover {
  color: #ffefe6;
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.16);
}

.btn.primary {
  background: linear-gradient(125deg, var(--accent), var(--accent-2));
  color: #fff;
  border-color: rgba(243,183,213,0.65);
  box-shadow: 0 16px 44px rgba(243,183,213,0.32);
}
.btn.primary:hover { transform: translateY(-3px); box-shadow: 0 22px 60px rgba(243,183,213,0.45); filter: saturate(1.05); }
.btn.primary:active { transform: translateY(0); box-shadow: 0 12px 30px rgba(243,183,213,0.32); }
.btn.ghost {
  background: transparent;
  border-color: rgba(70,54,62,0.2);
  color: var(--text);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}
.btn.ghost:hover { border-color: rgba(243,183,213,0.55); color: var(--accent); background: rgba(255,255,255,0.18); transform: translateY(-2px); }
.btn.ghost:active { transform: translateY(0); box-shadow: 0 8px 20px rgba(0,0,0,0.12); }
.btn::after {
  content: '';
  position: absolute;
  inset: -120% -20%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: rotate(12deg);
  transition: transform .5s ease, opacity .5s ease;
  opacity: 0;
}
.btn:hover::after { transform: rotate(12deg) translateX(40%); opacity: 1; }

.footer {
  padding: 40px min(8vw, 120px);
  background: linear-gradient(180deg, rgba(0,0,0,0.03), rgba(0,0,0,0.08));
  border-top: 1px solid var(--line);
}
.footer__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}
.footer__content--compact { width: 100%; }
.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.footer__fineprint p {
  margin: 4px 0;
  font-size: 13px;
  color: var(--muted);
}
.footer__legal { display: flex; align-items: center; justify-content: center; width: 100%; }
.footer__bar {
  text-align: center;
  padding: 12px;
  font-size: 13px;
  color: #4f6585;
  border-top: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.32);
  backdrop-filter: blur(4px);
}

.fab {
  position: fixed;
  right: 18px;
  bottom: 110px;
  z-index: 6;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  border: none;
  padding: 14px 18px;
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
  font-weight: 800;
  letter-spacing: 0.02em;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.fab:hover { transform: translateY(-2px); box-shadow: 0 22px 48px rgba(0,0,0,0.32); }
.fab:active { transform: translateY(0); }

.hidden { display: none; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }


@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-24px) scale(1.02); }
}

@keyframes spin { to { transform: rotate(360deg); } }

@keyframes fall {
  to { transform: translate3d(0, 115vh, 0); }
}

@keyframes float-in {
  0% { opacity: 0; transform: translateY(30px) scale(0.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes flutter {
  0% { transform: translateX(-18px) rotate(-12deg) scale(1); }
  50% { transform: translateX(0) rotate(6deg) scale(1.05); }
  100% { transform: translateX(18px) rotate(14deg) scale(0.96); }
}

@media (max-width: 900px) {
  .hero { padding-top: 110px; }
  .cta-card { flex-direction: column; align-items: flex-start; }
  .brand__logo { width: 72px; height: 72px; }
}

@media (max-width: 640px) {
  .section { padding: 70px 22px; }
  .hero__actions { width: 100%; }
  .info-chip { width: 100%; }
  .area-card { flex-direction: column; align-items: flex-start; }
  .fab { bottom: 120px; }
}

/* === MEJORAS RESPONSIVE COMPLETAS === */

/* Mobile First - Tablets y móviles pequeños */
@media (max-width: 768px) {
  /* Ajustes generales */
  body {
    font-size: 16px;
    line-height: 1.5;
    word-break: keep-word;
    overflow-wrap: break-word;
    hyphens: none;
  }
  
  /* Secciones */
  .section {
    padding: 50px 20px;
  }
  
  .section__header {
    max-width: 100%;
    margin-bottom: 24px;
  }
  
  /* Hero - Imagen de fondo responsive */
  .hero {
    padding-top: 100px;
    min-height: 90vh;
    background-size: cover;
    background-position: center 30%;
  }
  
  .hero::before {
    background: 
      radial-gradient(circle at 0% 50%, rgba(225,204,175,0.4), transparent 50%),
      radial-gradient(circle at 100% 50%, rgba(225,204,175,0.4), transparent 50%),
      radial-gradient(circle at 50% 0%, rgba(0,0,0,0.6), transparent 60%),
      radial-gradient(circle at 50% 100%, rgba(0,0,0,0.7), transparent 60%);
  }
  
  .hero::after {
    box-shadow: inset 0 0 80px rgba(0,0,0,0.6);
  }
  
  /* Brand y logo */
  .brand {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
  }
  
  .brand__logo {
    width: 80px;
    height: 80px;
    border-width: 3px;
  }
  
  .brand .eyebrow {
    font-size: 18px;
    letter-spacing: 0.05em;
    color: var(--accent);
  }
  
  h1 {
    font-size: clamp(36px, 7vw, 48px);
    line-height: 1.1;
    margin-bottom: 8px;
  }
  
  h2 {
    font-size: clamp(24px, 5vw, 32px);
    line-height: 1.2;
  }
  
  h3 {
    font-size: 18px;
    line-height: 1.3;
  }
  
  .subtitle {
    font-size: 16px;
    line-height: 1.5;
    margin: 12px 0 20px;
    max-width: 100%;
  }
  
  .brand__pill {
    font-size: 12px;
    padding: 4px 12px;
  }
  
  /* Info chips */
  .hero__info {
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
  }
  
  .info-chip {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    text-align: center;
    border-radius: 12px;
  }
  
  /* Botones */
  .hero__actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  
  .btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    text-align: center;
    border-radius: 12px;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Card grids */
  .card-grid.trio,
  .card-grid.rooms,
  .card-grid.duo,
  .card-grid.quartet {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  /* Tarjetas */
  .card {
    padding: 20px;
    border-radius: 16px;
  }
  
  .room-card {
    border-radius: 16px;
    overflow: hidden;
  }
  
  .room-media {
    height: 200px;
    border-radius: 16px 16px 0 0;
  }
  
  .card-body {
    padding: 20px;
  }
  
  .price {
    font-size: 24px;
    margin: 8px 0 12px;
  }
  
  /* Servicios */
  .service-photo {
    height: 200px;
    min-height: 200px;
    max-height: 200px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
  }
  .service-photo img {
    height: 200px;
    object-fit: cover;
    object-position: center;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .service-tile {
    min-height: 120px;
  }
  
  .service-body {
    padding: 16px;
  }
  
  /* Galería */
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
  }
  
  .gallery-item img {
    aspect-ratio: 1 / 1;
    object-position: center;
  }
  
  /* Footer */
  .footer {
    padding: 30px 20px;
  }
  
  .footer__content {
    flex-direction: column;
    gap: 24px;
  }
  
  .footer__brand {
    text-align: center;
  }
  
  .footer__fineprint {
    text-align: center;
  }
  
  .footer__legal {
    text-align: center;
  }
  
  /* Lightbox */
  .lightbox__img {
    max-width: 95vw;
    max-height: 85vh;
  }
  
  /* FAB */
  .fab {
    bottom: 80px;
    right: 20px;
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 25px;
  }
}

/* Móviles muy pequeños */
@media (max-width: 480px) {
  .section {
    padding: 40px 16px;
  }
  
  .hero {
    padding-top: 80px;
    min-height: 85vh;
  }
  
  .brand__logo {
    width: 60px;
    height: 60px;
    border-width: 2.5px;
  }
  
  .brand .eyebrow {
    font-size: 16px;
    color: var(--accent);
  }
  
  h1 {
    font-size: clamp(28px, 6vw, 36px);
  }
  
  h2 {
    font-size: clamp(20px, 4.5vw, 28px);
  }
  
  h3 {
    font-size: 16px;
  }
  
  .subtitle {
    font-size: 15px;
  }
  
  .btn {
    padding: 14px 20px;
    font-size: 15px;
    min-height: 48px;
  }
  
  .card {
    padding: 16px;
  }
  
  .card-body {
    padding: 16px;
  }
  
  .room-media {
    height: 160px;
  }
  
  .service-photo {
    height: 200px;
    min-height: 200px;
    max-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
  }
  .service-photo img {
    height: 200px;
    object-fit: cover;
    object-position: center;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
  }
  
  .info-chip {
    font-size: 13px;
    padding: 10px 14px;
  }
  
  .fab {
    bottom: 70px;
    right: 16px;
    padding: 10px 16px;
    font-size: 13px;
  }
}

/* Tablets grandes y desktops pequeños */
@media (min-width: 769px) and (max-width: 1024px) {
  .section {
    padding: 80px 40px;
  }
  
  .hero {
    padding-top: 120px;
  }
  
  .brand__logo {
    width: 90px;
    height: 90px;
  }
  
  .card-grid.trio {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .card-grid.rooms {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Optimizaciones para pantallas ultra anchas */
@media (min-width: 1400px) {
  .section__header {
    max-width: 800px;
  }
  
  .hero__content {
    max-width: 1200px;
    margin: 0 auto;
  }
}

/* Prevenir corte de palabras y mejorar legibilidad */
@media (max-width: 768px) {
  * {
    word-break: keep-word !important;
    overflow-wrap: break-word !important;
    hyphens: none !important;
  }
  
  p, .muted, .info-chip, .btn, .subtitle {
    word-break: keep-word !important;
    overflow-wrap: break-word !important;
    hyphens: none !important;
    line-height: 1.4 !important;
  }
  
  .brand h1, h2, h3 {
    word-break: keep-word !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
    line-height: 1.1 !important;
  }
  
  .tarjeta-habitacion,
  .service-tile,
  .room-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .tarjeta-habitacion h4,
  .service-tile h3,
  .room-card h3 {
    font-size: 18px !important;
    line-height: 1.3 !important;
    margin-bottom: 12px !important;
  }
  
  .tarjeta-habitacion p,
  .service-tile p,
  .room-card p {
    font-size: 14px !important;
    line-height: 1.4 !important;
    margin-bottom: 10px !important;
  }
  
  .precio-item {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    margin-bottom: 8px !important;
    flex-wrap: nowrap !important;
  }
  
  .precio-item .tipo {
    flex: 1 !important;
    margin-right: 10px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  
  .precio-item .valor {
    flex-shrink: 0 !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    font-size: 16px !important;
  }
  
  .reservas-intro {
    font-size: 16px !important;
    line-height: 1.5 !important;
    word-wrap: break-word !important;
  }
  
  .reservas-contacto {
    font-size: 15px !important;
    line-height: 1.5 !important;
    word-wrap: break-word !important;
  }
  
  /* Evitar que los botones se corten */
  .btn {
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
  }
  
  /* Mejorar espaciado en textos largos */
  .card-body p {
    margin-bottom: 12px !important;
  }
  
  /* Optimizar enlaces largos */
  .info-chip a {
    white-space: nowrap !important;
  }
}

/* Ajustes para orientación horizontal en móvil */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
    padding-top: 60px;
  }
  
  .section {
    padding: 40px 20px;
  }
}





















