/* =========================================
   VARIABLES Y CONFIGURACIÓN DE LUJO
   ========================================= */
:root {
  --negro-absoluto: #050505;
  --negro-suave: #121212;
  --dorado: #d4af37;
  --dorado-claro: #f5e6c8;
  --hueso: #f8f8f8;
  --gris-texto: #a0a0a0;
  --transicion: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* RESET Y BASES */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--negro-absoluto);
  color: var(--hueso);
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

body.menu-open { overflow: hidden; }

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.section-tag {
  color: var(--dorado);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.75rem;
  display: block;
  margin-bottom: 10px;
}

/* =========================================
   SEGURIDAD: CAMPO TRAMPA PARA BOTS (HONEYPOT)
   Los humanos nunca lo ven; los bots lo llenan
   y son rechazados silenciosamente por el servidor.
   ========================================= */
.hidden-honeypot {
  display: none !important;
  opacity: 0;
  position: absolute;
  top: -9999px;
  left: -9999px;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* =========================================
   ANIMACIONES AL SCROLL
   ========================================= */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 5%;
  background: rgba(5, 5, 5, 0.95);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.logo {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  border: 1px solid var(--dorado);
  background: #000;
  object-fit: cover;
}

.nav-links a {
  color: var(--hueso);
  text-decoration: none;
  margin-left: 25px;
  font-size: 0.85rem;
  transition: var(--transicion);
}

.nav-links a:hover { color: var(--dorado); }

.btn-reserva {
  background: var(--dorado);
  color: #000 !important;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 600;
}

/* HAMBURGUESA */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--hueso);
  border-radius: 2px;
  transition: all 0.35s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* MENÚ MÓVIL OVERLAY */
.mobile-menu {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.98);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  color: var(--hueso);
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  letter-spacing: 2px;
  transition: color 0.3s;
}

.mobile-menu a:hover { color: var(--dorado); }

.btn-reserva-mobile {
  background: var(--dorado);
  color: #000 !important;
  padding: 15px 30px;
  border-radius: 5px;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 600;
  letter-spacing: 1px;
}

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.video-container {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
}

#hero-video { width: 100%; height: 100%; object-fit: cover; }

.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 100%);
}

.hero-content { position: relative; z-index: 10; }

.hero h1 {
  font-size: clamp(3rem, 10vw, 5rem);
  color: var(--dorado);
  letter-spacing: 5px;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.subtitle {
  font-size: 1.2rem;
  font-style: italic;
  font-family: 'Playfair Display', serif;
  color: var(--hueso);
}

/* =========================================
   SOBRE MÍ
   ========================================= */
.about-section {
  padding: 120px 0;
  background-image: linear-gradient(rgba(5, 5, 5, 0.85), rgba(5, 5, 5, 0.85)), url('img/marble.jpg');
  background-attachment: fixed;
  background-size: cover;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.about-img-box { position: relative; }

.img-profile {
  width: 100%;
  border-radius: 5px;
  position: relative;
  z-index: 2;
  border: 1px solid var(--dorado);
  filter: contrast(1.1);
}

.img-frame {
  position: absolute;
  top: 20px; left: 20px;
  width: 100%; height: 100%;
  border: 2px solid var(--dorado);
  z-index: 1;
}

.bio-text {
  font-size: 1.1rem;
  color: var(--gris-texto);
  margin: 30px 0;
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.mv-item h3 {
  color: var(--dorado);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

/* =========================================
   ¿POR QUÉ ELEGIRNOS?
   ========================================= */
.ventajas-section {
  padding: 100px 0;
  background-color: var(--negro-suave);
  border-top: 1px solid rgba(212, 175, 55, 0.08);
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
}

.ventajas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  margin-top: 20px;
}

.ventaja-item {
  text-align: center;
  padding: 40px 30px;
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 8px;
  transition: var(--transicion);
  background: rgba(212, 175, 55, 0.02);
}

.ventaja-item:hover {
  border-color: var(--dorado);
  background: rgba(212, 175, 55, 0.05);
  transform: translateY(-6px);
}

.ventaja-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  color: var(--dorado);
}

.ventaja-icon svg {
  width: 100%;
  height: 100%;
}

.ventaja-item h3 {
  color: var(--dorado-claro);
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.ventaja-item p {
  font-size: 0.88rem;
  color: var(--gris-texto);
  line-height: 1.7;
}

/* =========================================
   SERVICIOS
   ========================================= */
.services-section { padding: 100px 0; background-color: var(--negro-absoluto); }

.center-title { text-align: center; margin-bottom: 60px; }
.center-title h2 { font-size: 2.5rem; color: var(--dorado); }

.category-block { margin-bottom: 80px; }

.category-block h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  border-left: 3px solid var(--dorado);
  padding-left: 20px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-item {
  background: var(--negro-suave);
  padding: 20px;
  border-radius: 10px;
  transition: var(--transicion);
  border: 1px solid rgba(212, 175, 55, 0.1);
}

.service-item:hover {
  transform: translateY(-10px);
  border-color: var(--dorado);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.img-wrapper {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 15px;
  aspect-ratio: 4/5;
}

.img-wrapper img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: var(--transicion);
}

.service-item:hover img { transform: scale(1.1); }

.service-item h4 {
  color: var(--dorado-claro);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.service-item p { font-size: 0.9rem; color: var(--gris-texto); }

/* BANNER POLÍTICAS */
.politicas-banner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  padding: 30px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.03);
}

.politica-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gris-texto);
  padding: 10px 20px;
  border-left: 2px solid var(--dorado);
}

.politica-icon { font-style: normal; font-size: 1.1rem; }

/* =========================================
   SECCIÓN DE RESEÑAS
   ========================================= */
.reviews-section {
  padding: 100px 0;
  background-color: var(--negro-suave);
}

/* ── Título y subtítulo de la sección ── */
.reviews-section .center-title h2 { color: var(--hueso); }

.reviews-subtitle {
  color: var(--gris-texto);
  font-size: 0.95rem;
  margin-top: 15px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* ── CARRUSEL ── */
.carousel-wrapper {
  position: relative;
  margin-bottom: 70px;
}

/* El track oculta todo excepto la card activa */
.carousel-track {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: stretch;
}

/* Cada slide: ocupa todo el ancho, oculto por defecto */
.xcard-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
  transform: translateX(30px);
  display: flex;
  align-items: stretch;
}

.xcard-slide.active {
  position: relative;
  opacity: 1;
  pointer-events: all;
  transform: translateX(0);
}

/* ── Controles del carrusel ── */
.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.06);
  color: var(--dorado);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transicion);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.carousel-btn:hover {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--dorado);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
  transform: scale(1.08);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(212, 175, 55, 0.25);
  cursor: pointer;
  transition: var(--transicion);
  padding: 0;
}

.carousel-dot.active {
  background: var(--dorado);
  transform: scale(1.3);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

/* ── XCard wrapper ── */
.xcard-wrap {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  border-radius: 18px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(212,175,55,0.3) 0%, rgba(212,175,55,0.06) 100%);
  transition: var(--transicion);
  animation: fadeInUp 0.5s ease forwards;
}

.xcard-wrap:hover {
  background: linear-gradient(135deg, rgba(212,175,55,0.55) 0%, rgba(212,175,55,0.18) 100%);
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.5);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Capa interior ── */
.xcard-inner {
  background: rgba(18, 18, 18, 0.97);
  border-radius: 16px;
  padding: 30px 34px;
  border: 1px solid rgba(212, 175, 55, 0.08);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── Cabecera ── */
.xcard-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.xcard-avatar-initial {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--dorado);
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.xcard-meta { display: flex; flex-direction: column; gap: 3px; }

.xcard-name {
  color: var(--hueso);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.xcard-stars {
  color: var(--dorado);
  font-size: 1rem;
  letter-spacing: 2px;
}

/* ── Texto ── */
.xcard-text {
  color: rgba(248, 248, 248, 0.88);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ── Fecha ── */
.xcard-date {
  color: var(--gris-texto);
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

/* ── Respuesta de Lizbeth ── */
.xcard-reply {
  display: flex;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
  margin-top: auto;
}

.xcard-reply-avatar {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.45);
  flex-shrink: 0;
}

.xcard-reply-avatar img { width: 100%; height: 100%; object-fit: cover; }

.xcard-reply-body { display: flex; flex-direction: column; gap: 4px; }

.xcard-reply-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.xcard-reply-name {
  color: var(--dorado);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.xcard-reply-ts { color: var(--gris-texto); font-size: 0.75rem; }

.xcard-reply-text {
  color: rgba(248, 248, 248, 0.65);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* ── Estados ── */
.reviews-empty {
  text-align: center;
  padding: 40px;
  color: var(--gris-texto);
  font-style: italic;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  width: 100%;
}

.reviews-loading {
  text-align: center;
  color: var(--gris-texto);
  font-size: 0.9rem;
  padding: 20px;
  width: 100%;
}

/* FORMULARIO DE RESEÑA */
.review-form-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: var(--negro-absoluto);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 50px;
}

.review-form-header {
  text-align: center;
  margin-bottom: 35px;
}

.review-form-header h3 {
  font-size: 1.8rem;
  color: var(--dorado);
  margin-bottom: 8px;
}

.review-form-header p {
  color: var(--gris-texto);
  font-size: 0.85rem;
}

.review-form { display: flex; flex-direction: column; gap: 20px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--dorado);
}

.form-group input,
.form-group textarea {
  background: var(--negro-suave);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 6px;
  color: var(--hueso);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  padding: 14px 16px;
  outline: none;
  transition: var(--transicion);
  width: 100%;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--dorado);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.1);
}

.form-group textarea { min-height: 110px; }

/* ESTRELLAS INTERACTIVAS */
.stars-rating {
  display: flex;
  gap: 6px;
  padding: 8px 0;
}

.star {
  font-size: 2rem;
  color: rgba(212, 175, 55, 0.2);
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
  user-select: none;
  line-height: 1;
}

.star.active { color: var(--dorado); }
.star.hover  { color: var(--dorado-claro); transform: scale(1.15); }

.btn-full { width: 100%; text-align: center; cursor: pointer; border: none; }

.form-feedback {
  text-align: center;
  font-size: 0.9rem;
  font-style: italic;
  min-height: 20px;
}

.form-feedback.success { color: #7ecb8f; }
.form-feedback.error   { color: #e07070; }

/* =========================================
   PORTAFOLIO / REDES
   ========================================= */
.social-section { padding: 80px 0; text-align: center; }

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.btn-social {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--negro-suave);
  color: var(--hueso);
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  border: 1px solid rgba(212, 175, 55, 0.3);
  transition: var(--transicion);
}

.btn-social:hover {
  background-color: var(--dorado);
  color: var(--negro-absoluto);
  border-color: var(--dorado);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

/* =========================================
   UBICACIÓN
   ========================================= */
.location-section { padding: 100px 0; background-color: var(--negro-absoluto); }

.address-text {
  text-align: center;
  margin-bottom: 30px;
  color: var(--hueso);
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.location-icon { font-style: normal; margin-right: 5px; }

.map-container { display: flex; justify-content: center; margin-bottom: 40px; }

.map-container iframe {
  width: 90%;
  max-width: 1000px;
  height: 400px;
  border: 1px solid var(--dorado);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: var(--transicion);
}

.map-container iframe:hover {
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.2);
}

.btn-container { text-align: center; }

/* =========================================
   BOTONES
   ========================================= */
.btn-reserva-gold {
  margin-top: 25px;
  padding: 15px 30px;
  border: 2px solid var(--dorado);
  color: var(--dorado);
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: var(--transicion);
  background: transparent;
  font-family: 'Montserrat', sans-serif;
}

.btn-reserva-gold:hover {
  background: var(--dorado);
  color: #000;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25d366;
  padding: 12px 25px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
  z-index: 2000;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.whatsapp-float:hover { transform: scale(1.05); }
.whatsapp-float img { width: 25px; margin-right: 10px; }

/* =========================================
   FOOTER
   ========================================= */
.main-footer {
  padding: 60px 0 20px;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  background-color: var(--negro-absoluto);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  text-align: left;
  margin-bottom: 40px;
}

.footer-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid var(--dorado);
  margin-bottom: 15px;
}

.footer-col h4 { color: var(--dorado); margin-bottom: 20px; font-size: 1.2rem; }
.footer-col p  { color: var(--gris-texto); font-size: 0.9rem; margin-bottom: 10px; }

.copyright {
  text-align: center;
  font-size: 0.75rem;
  color: var(--gris-texto);
  letter-spacing: 1px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {

  .nav-links { display: none; }
  .mobile-menu { display: flex; }
  .hamburger { display: flex; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 2.8rem; }
  .mission-vision { grid-template-columns: 1fr; }

  .ventajas-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .ventaja-item { padding: 25px 15px; }

  .politicas-banner { flex-direction: column; gap: 10px; }
  .politica-item { border-left: none; border-bottom: 1px solid rgba(212, 175, 55, 0.1); padding-bottom: 15px; }

  .map-container iframe { height: 300px; }

  .xcard-inner { padding: 20px 18px; }
  .carousel-btn { width: 38px; height: 38px; font-size: 1rem; }
  .review-form-wrapper { padding: 30px 20px; }
  .form-row { grid-template-columns: 1fr; }

  .whatsapp-float { bottom: 20px; right: 15px; padding: 10px 15px; font-size: 0.85rem; }
  .whatsapp-float img { width: 20px; }
}

@media (max-width: 480px) {
  .ventajas-grid { grid-template-columns: 1fr; }
  .center-title h2 { font-size: 1.8rem; }
  .hero h1 { font-size: 2.2rem; letter-spacing: 2px; }
}