/* Fuente y reset básico */
:root {
  --bg: #f6f8fc;
  --bg-2: #ffffff;
  --primary: #4dd1a1;
  --primary-2: #22b8cf;
  --text: #1f2a44;
  --muted: #5b6b88;
  --card: #ffffff;
  --card-2: #f2f5fb;
  --shadow: rgba(31, 42, 68, 0.12);
  --accent: #ffbe3c;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 10% 0%, #ffffff 0%, var(--bg) 60%),
              radial-gradient(900px 500px at 90% 10%, #e9eef8 0%, var(--bg-2) 60%);
  background-attachment: fixed;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  backdrop-filter: saturate(160%) blur(12px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(31,42,68,0.08);
  z-index: 1000;
}
.header__content { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.2px; }
.brand__logo { font-size: 24px; }
.brand__name { font-size: 18px; }
.nav { display: flex; gap: 18px; align-items: center; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; padding: 8px 10px; border-radius: 8px; }
.nav a:hover { background: rgba(31,42,68,0.06); }

/* Botón hamburguesa para móvil */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  gap: 4px;
  z-index: 1001;
}

.hamburger-line {
  width: 24px;
  height: 3px;
  background-color: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animación del botón hamburguesa cuando está activo */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Ocultar menú hamburguesa en desktop */
@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .header__content {
    position: relative;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  /* Ocultar la navegación original en móviles */
  .nav {
    display: none;
  }
  
  /* Crear el menú móvil como overlay */
  .nav.active {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(160%) blur(12px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 80px 20px 20px;
    gap: 0;
    border-left: 1px solid rgba(31,42,68,0.08);
    z-index: 1000;
  }
  
  .nav a {
    padding: 16px 20px;
    border-radius: 0;
    border-bottom: 1px solid rgba(31,42,68,0.08);
    text-align: left;
    font-size: 16px;
  }
  
  .nav a:last-child {
    border-bottom: none;
    margin-top: 20px;
    border-radius: 8px;
    text-align: center;
  }
  
  .nav a:hover {
    background: rgba(44, 90, 160, 0.1);
  }
  
  /* Overlay para cerrar el menú */
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 480px) {
  .brand__name {
    font-size: 16px;
  }
  
  .brand__logo {
    font-size: 20px;
  }
  
  .header__content {
    padding: 12px 0;
  }
  
  .nav {
    width: 100%;
    right: -100%;
  }
}

@media (max-width: 360px) {
  .brand__name {
    font-size: 14px;
  }
  
  .brand__logo {
    font-size: 18px;
  }
  
  .nav a {
    padding: 14px 16px;
    font-size: 15px;
  }
}

/* Hero */
.hero { padding: 80px 0 60px; text-align: center; position: relative; overflow: hidden; min-height: 70vh; display: flex; align-items: center; background: url('img/883165104-f7928eda9d4798db2d48a7faa3d5c0faee42a0a96f4cfb49aea341b9ee2e935a-d.webp') center/cover no-repeat; }
.hero::before, .hero::after { content: none; }
.hero__content { display: grid; gap: 18px; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(28px, 6vw, 48px); margin: 0; }
.hero p { color: var(--muted); font-size: clamp(16px, 2.8vw, 18px); margin: 0 auto; max-width: 720px; }
.hero__actions { display: flex; gap: 12px; justify-content: center; margin-top: 10px; }

/* Sections */
.section { padding: 60px 0; }
.section--accent { background: linear-gradient(180deg, rgba(31,42,68,0.03), rgba(31,42,68,0.015)); }
.section__title { font-size: 26px; margin: 0 0 22px; text-align: center; }
.section__title { position: relative; display: inline-block; padding-bottom: 8px; }
.section__title::after {
  content: "";
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 0; width: 120px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

/* Grid & Cards */
.grid { display: grid; gap: 18px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid--4 { grid-template-columns: repeat(2, 1fr);} .grid--3 { grid-template-columns: repeat(2, 1fr);} }
@media (max-width: 640px) { .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid #e6ecf5;
  border-radius: 16px;
  box-shadow: 0 8px 24px var(--shadow);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px var(--shadow); border-color: #d2dae7; }
.card--service { padding: 20px; text-align: center; }
.card__icon { font-size: 28px; }
.card--service h3 { margin: 8px 0 6px; font-size: 18px; }
.card--service p { margin: 0; color: var(--muted); }

.card--room .card__img {
  height: 160px;
  background-size: cover;
  background-position: center;
}
.card__img--matrimonial { background-image: linear-gradient(0deg, rgba(11,16,38,0.5), rgba(11,16,38,0.5)), url('https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?q=80&w=1200&auto=format&fit=crop'); }
.card__img--dos { background-image: linear-gradient(0deg, rgba(11,16,38,0.5), rgba(11,16,38,0.5)), url('https://images.unsplash.com/photo-1554284126-aa88f22d8b53?q=80&w=1200&auto=format&fit=crop'); }
.card__img--tres { background-image: linear-gradient(0deg, rgba(11,16,38,0.5), rgba(11,16,38,0.5)), url('https://images.unsplash.com/photo-1519710164239-da123dc03ef4?q=80&w=1200&auto=format&fit=crop'); }
.card--room .card__body { padding: 16px 18px; }
.card--room h3 { margin: 0 0 6px; }
.list { margin: 8px 0 0; padding: 0 0 0 18px; color: var(--muted); }

/* Form */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 8px; font-weight: 600; }
.form input, .form select, .form textarea {
  background: #ffffff;
  border: 1px solid #dbe3f0;
  color: var(--text);
  padding: 12px 14px;
  border-radius: 12px;
  outline: none;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(77, 209, 161, 0.18); }
.form__note { color: var(--muted); margin: 0; text-align: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; border-radius: 12px; text-decoration: none; font-weight: 700; cursor: pointer; }
.btn--primary { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--primary), var(--primary-2)); color: #0b1026; box-shadow: 0 8px 18px rgba(34, 184, 207, 0.35); }
.btn--primary::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: translateX(-100%);
}
.btn--primary:hover::after { animation: shine 1s ease; }
.btn--primary:hover { filter: brightness(1.05); }
.btn--ghost { border: 1px solid rgba(31,42,68,0.18); color: var(--text); }
.btn--ghost:hover { background: rgba(31,42,68,0.06); }
.btn--sm { padding: 8px 12px; font-weight: 600; }
.btn--full { width: 100%; }

/* Footer */
.footer { border-top: 1px solid rgba(31,42,68,0.12); padding: 24px 0; }
.footer__content { text-align: center; color: var(--muted); display: grid; gap: 6px; }
.footer__credit { font-size: 0.85em; opacity: 0.7; margin-top: 8px; }

/* Video Hero */
.hero__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero__content h1,
.hero__content p {
  color: white;
}

/* Galería */
.gallery {
  max-width: 100%;
  margin: 0 auto;
}

.gallery__container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 24px var(--shadow);
  margin-bottom: 20px;
}

.gallery__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.gallery__slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.gallery__slide img:hover {
  transform: scale(1.02);
}

.gallery__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
}

.gallery__btn {
  background: var(--primary);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(77, 209, 161, 0.3);
}

.gallery__btn:hover {
  background: var(--primary-2);
  transform: scale(1.1);
}

.gallery__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: scale(1);
}

.gallery__indicators {
  display: flex;
  gap: 8px;
  align-items: center;
}

.gallery__indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(31, 42, 68, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery__indicator.active {
  background: var(--primary);
  transform: scale(1.2);
}

.gallery__info {
  text-align: center;
  color: var(--muted);
}

.gallery__info p {
  margin: 0 0 10px 0;
  font-size: 16px;
}

.gallery__stats {
  font-weight: 600;
  color: var(--text);
}

/* Responsive para galería */
@media (max-width: 768px) {
  .gallery__container {
    height: 300px;
  }
  
  .gallery__btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .gallery__controls {
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .gallery__container {
    height: 250px;
  }
  
  .hero {
    min-height: 60vh;
  }
}

/* Animaciones */
@keyframes floatBlob {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(8px, -6px) scale(1.05); }
}
@keyframes shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(120%); }
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.lightbox__container {
  position: relative;
  margin: auto;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

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

.lightbox__close {
  position: absolute;
  top: -50px;
  right: -10px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  color: #333;
}

.lightbox__close:hover {
  background: white;
  transform: scale(1.1);
}

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  color: #333;
}

.lightbox__prev {
  left: -70px;
}

.lightbox__next {
  right: -70px;
}

.lightbox__prev:hover,
.lightbox__next:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.lightbox__counter {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.9);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

/* Responsive para móvil */
@media (max-width: 768px) {
  .lightbox__container {
    max-width: 95vw;
    max-height: 95vh;
  }
  
  .lightbox__close {
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    font-size: 20px;
  }
  
  .lightbox__prev,
  .lightbox__next {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .lightbox__prev {
    left: 10px;
  }
  
  .lightbox__next {
    right: 10px;
  }
  
  .lightbox__counter {
    bottom: 10px;
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* Sección de Ubicación */
.location {
  align-items: start;
  gap: 30px;
}

.location__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.location__address {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #2c5aa0;
  font-style: normal;
  line-height: 1.6;
}

.location__address strong {
  color: #2c5aa0;
  font-size: 1.1em;
}

.location__details {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.location__details h4 {
  color: #2c5aa0;
  margin-bottom: 10px;
  font-size: 1.1em;
}

.location__details p {
  margin: 8px 0;
}

.location__details a {
  color: #2c5aa0;
  text-decoration: none;
  font-weight: 500;
}

.location__details a:hover {
  text-decoration: underline;
}

.location__features {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
}

.location__features h4 {
  color: #2c5aa0;
  margin-bottom: 15px;
  font-size: 1.1em;
}

.location__features .list {
  margin: 0;
  padding-left: 20px;
}

.location__features .list li {
  margin-bottom: 8px;
  color: #495057;
}

.location__map h3 {
  color: #2c5aa0;
  margin-bottom: 15px;
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 350px;
}

/* Responsive para la sección de ubicación */
@media (max-width: 768px) {
  .location {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .location__info {
    order: 2;
  }
  
  .location__map {
    order: 1;
  }
  
  .map-container iframe {
    height: 250px;
  }
  
  .location__address,
  .location__details,
  .location__features {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .map-container iframe {
    height: 200px;
  }
  
  .location__address,
  .location__details,
  .location__features {
    padding: 12px;
  }
}
.section--video { text-align: center; }
.section--video .video-container { width: 100%; max-width: none; margin: 0 auto; aspect-ratio: 16 / 9; background: url('img/883165104-f7928eda9d4798db2d48a7faa3d5c0faee42a0a96f4cfb49aea341b9ee2e935a-d.webp') center/cover no-repeat, #000; }
.section--video video { width: 100%; height: 100%; display: block; object-fit: cover; }