/* =============================================================
   styles.css — Tu Fiesta Ideal Murcia
   Archetype: Glassmorphism Modern (adaptado fiestas/celebraciones)
   Actualizado: 2026-07-12
   ============================================================= */

/* =============================================================
   1. TOKENS (custom properties)
   ============================================================= */
:root {
  /* Colores de marca */
  --coral:       #D9564A;
  --coral-2:     #C24038;
  --coral-light: #FDECEA;
  --blue:        #3D6BE0;
  --blue-2:      #2B5BC8;
  --blue-light:  #EBF0FF;
  --yellow:      #EBB840;
  --yellow-2:    #D4A030;
  --yellow-light:#FEF8EE;
  --green-wa:    #25D366;
  --green-wa-2:  #1DA551;

  /* Fondos */
  --bg:          #F8F8F6;
  --bg-2:        #F2F1EE;
  --bg-card:     rgba(255, 255, 255, 0.80);
  --glass:       rgba(255, 255, 255, 0.72);
  --glass-2:     rgba(255, 255, 255, 0.50);

  /* Texto */
  --ink:         #1A2040;
  --ink-soft:    #3D4878;
  --ink-mute:    #8892BB;
  --ink-on-dark: #FFFFFF;

  /* Bordes y sombras */
  --border:      rgba(79, 126, 247, 0.12);
  --border-card: rgba(255, 255, 255, 0.90);
  --shadow-sm:   0 2px 8px rgba(26, 32, 64, 0.06);
  --shadow-md:   0 8px 32px rgba(26, 32, 64, 0.10);
  --shadow-lg:   0 20px 60px rgba(26, 32, 64, 0.14);
  --shadow-coral:0 8px 32px rgba(217, 86, 74, 0.26);

  /* Tipografías */
  --sans:    "Poppins", "Inter", system-ui, -apple-system, sans-serif;
  --body:    "Outfit", "Inter", system-ui, -apple-system, sans-serif;

  /* Espaciado */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl:8rem;

  /* Layout */
  --container: 1200px;
  --radius:    16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Transiciones */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:    cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce:cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Nav height */
  --nav-h: 72px;
}

/* =============================================================
   2. RESET & BASE
   ============================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 {
  font-family: var(--sans);
  text-wrap: balance;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
ul { list-style: none; }

::selection {
  background: var(--coral);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   3. UTILIDADES
   ============================================================= */
.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  padding: .6rem 1.2rem;
  background: var(--coral);
  color: #fff;
  z-index: 9999;
  border-radius: 8px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .9rem;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.text-coral { color: var(--coral); }
.text-blue  { color: var(--blue); }

/* =============================================================
   4. TIPOGRAFÍA
   ============================================================= */
.section-kicker {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: .6rem;
}

.section-title {
  font-family: var(--sans);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1rem;
}

.section-sub {
  font-family: var(--body);
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 56ch;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header .section-sub {
  margin-inline: auto;
}

/* =============================================================
   5. BOTONES
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .95rem;
  padding: .75rem 1.75rem;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background .2s var(--ease-out),
    color .2s var(--ease-out),
    border-color .2s var(--ease-out),
    transform .2s var(--ease-bounce),
    box-shadow .2s var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Coral (primario) */
.btn--coral {
  background: var(--coral);
  color: #fff;
  box-shadow: var(--shadow-coral);
}
.btn--coral:hover {
  background: var(--coral-2);
  box-shadow: 0 12px 40px rgba(255, 107, 91, 0.40);
}

/* Ghost */
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(26, 32, 64, 0.20);
}
.btn--ghost:hover {
  background: var(--bg-2);
  border-color: var(--blue);
  color: var(--blue);
}

/* WhatsApp */
.btn--whatsapp {
  background: var(--green-wa);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.30);
}
.btn--whatsapp:hover {
  background: var(--green-wa-2);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.40);
}

/* Google */
.btn--google {
  background: #fff;
  color: var(--ink);
  border: 2px solid rgba(26, 32, 64, 0.12);
  box-shadow: var(--shadow-sm);
}
.btn--google:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}

/* Dark */
.btn--dark {
  background: var(--ink);
  color: #fff;
}
.btn--dark:hover { background: #2a3060; }

/* Blue */
.btn--blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 24px rgba(79, 126, 247, 0.30);
}
.btn--blue:hover {
  background: var(--blue-2);
  box-shadow: 0 12px 32px rgba(79, 126, 247, 0.40);
}

/* Sizes */
.btn--lg { padding: .9rem 2.2rem; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

/* =============================================================
   6. GLASS CARD base
   ============================================================= */
.glass-card {
  background: var(--glass);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}

@supports (backdrop-filter: blur(16px)) {
  .glass-card {
    background: var(--glass-2);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
  }
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* =============================================================
   7. REVEAL ANIMATIONS
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity .7s var(--ease-out),
    transform .7s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Safety: data-split elements that also have .reveal */
.reveal[data-split] {
  opacity: 1;
  transform: none;
}

/* =============================================================
   8. COOKIE BANNER
   ============================================================= */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 9000;
  width: min(600px, calc(100% - 2rem));
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform .5s var(--ease-out);
}

.cookie-banner.is-visible {
  transform: translateX(-50%) translateY(0);
}

.cookie-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
}

.cookie-text { flex: 1 1 200px; }
.cookie-text p { font-size: .88rem; line-height: 1.6; opacity: .9; }
.cookie-text a { color: var(--yellow); text-decoration: underline; }

.cookie-actions {
  display: flex;
  gap: .6rem;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .85rem;
  padding: .55rem 1.1rem;
  border-radius: 100px;
  cursor: pointer;
  transition: all .2s var(--ease-out);
}

.cookie-btn--solid {
  background: var(--coral);
  color: #fff;
  border: 2px solid transparent;
}
.cookie-btn--solid:hover { background: var(--coral-2); }

.cookie-btn--ghost {
  background: transparent;
  color: rgba(255,255,255,.8);
  border: 2px solid rgba(255,255,255,.3);
}
.cookie-btn--ghost:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
}

/* =============================================================
   9. SPLASH
   ============================================================= */
.splash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .5s var(--ease-out), visibility .5s;
  /* Safety: hide at 4.5s even if JS fails */
  animation: splashSafety .01s 4.5s forwards;
}

@keyframes splashSafety {
  to { opacity: 0; pointer-events: none; visibility: hidden; }
}

.splash.is-out {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.splash-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.splash-logo {
  animation: splashBob 2s ease-in-out infinite;
}

.splash-logo img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 32px rgba(217, 86, 74, .20);
}

@keyframes splashBob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.splash-tagline {
  font-family: var(--sans);
  font-size: .95rem;
  color: var(--ink-mute);
  font-weight: 500;
}

.splash-bar-wrap {
  width: 160px;
  height: 4px;
  background: var(--bg-2);
  border-radius: 100px;
  overflow: hidden;
}

.splash-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--coral), var(--blue));
  border-radius: 100px;
  animation: splashLoad 2s var(--ease-soft) forwards;
}

@keyframes splashLoad {
  from { width: 0; }
  to   { width: 100%; }
}

/* =============================================================
   10. NAVEGACIÓN
   ============================================================= */
.nav {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 900;
  height: var(--nav-h);
  transition: background .3s, box-shadow .3s;
}

.nav.is-scrolled {
  background: rgba(250, 251, 255, .95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--coral-light);
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.1;
}

.nav-links {
  display: none;
  gap: .25rem;
  margin-left: auto;
}

.nav-link {
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: .4rem .75rem;
  border-radius: 100px;
  transition: color .2s, background .2s;
}
.nav-link:hover {
  color: var(--coral);
  background: var(--coral-light);
}

.nav-cta {
  margin-left: auto;
  font-size: .88rem;
  padding: .55rem 1.25rem;
}

.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  margin-left: auto;
  border-radius: .5rem;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .2s;
}
.nav-hamburger.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: rgba(250, 251, 255, .97);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  transform: translateX(100%);
  transition: transform .35s var(--ease-out);
  z-index: 899;
}

.mobile-menu.is-open { transform: translateX(0); }

.mobile-link {
  font-family: var(--sans);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  padding: .5rem 1rem;
  border-radius: .5rem;
  transition: color .2s;
}
.mobile-link:hover { color: var(--coral); }

.mobile-cta {
  margin-top: 1rem;
  font-size: 1rem;
  padding: .8rem 2.5rem;
}

/* =============================================================
   11. HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: 4rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Mesh gradient animado */
.hero-mesh {
  position: absolute;
  inset: -20% -10% -20% -10%;
  z-index: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(61, 107, 224, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(235, 184, 64, 0.14) 0%, transparent 50%),
    radial-gradient(circle at 60% 80%, rgba(217, 86, 74, 0.16) 0%, transparent 55%),
    radial-gradient(circle at 10% 80%, rgba(61, 107, 224, 0.09) 0%, transparent 50%);
  filter: blur(60px) saturate(150%);
  animation: meshDrift 20s ease-in-out infinite alternate;
}

@keyframes meshDrift {
  0%   { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.15) rotate(8deg); }
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.025;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
  flex: 1;
}

.hero-content {
  text-align: center;
  max-width: 640px;
}

.hero-kicker {
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1.25rem;
  display: inline-block;
  padding: .4rem 1rem;
  background: var(--coral-light);
  border-radius: 100px;
  border: 1px solid rgba(255, 107, 91, .2);
}

.hero-title {
  font-family: var(--sans);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1.0;
  color: var(--ink);
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-title-accent {
  color: var(--coral);
  position: relative;
  display: inline-block;
}

.hero-sub {
  font-family: var(--body);
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
  max-width: 48ch;
  margin-inline: auto;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
}

.badge {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  padding: .35rem .8rem;
  background: rgba(255,255,255,.8);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--ink-soft);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Hero visual */
.hero-visual {
  width: 100%;
  max-width: 480px;
}

.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: visible;
}

.hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), 0 0 0 6px rgba(255,255,255,.6);
  animation: heroFloat 5s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.hero-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .6rem;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--radius);
  padding: .65rem 1rem;
  box-shadow: var(--shadow-md);
  pointer-events: none;
}

.hero-float-card strong {
  display: block;
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink);
}
.hero-float-card span {
  font-size: .72rem;
  color: var(--ink-mute);
}

.float-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.hero-float-card--1 {
  bottom: 1.5rem;
  left: -1rem;
  animation: floatCard1 4s ease-in-out infinite;
}
.hero-float-card--2 {
  top: 2rem;
  right: -1rem;
  animation: floatCard2 5s ease-in-out infinite;
}

@keyframes floatCard1 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
@keyframes floatCard2 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--ink-mute);
  opacity: .6;
  animation: scrollHintFade 2s ease-in-out 3s forwards;
}
@keyframes scrollHintFade {
  to { opacity: 0; }
}

.scroll-dot {
  animation: scrollDotBounce 1.5s ease-in-out infinite;
}
@keyframes scrollDotBounce {
  0%, 100% { cy: 12; }
  50%       { cy: 26; }
}

/* =============================================================
   12. SOBRE NOSOTROS
   ============================================================= */
.sobre {
  padding: var(--space-xl) 0;
  background: var(--bg);
}

.sobre-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.sobre-content .section-kicker { margin-bottom: .6rem; }
.sobre-content .section-title { margin-bottom: 1.25rem; }
.sobre-text {
  color: var(--ink-soft);
  margin-bottom: 1rem;
  font-size: 1.03rem;
}
.sobre-content .btn { margin-top: 1.5rem; }

.sobre-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-card {
  background: linear-gradient(135deg, #fff 0%, var(--bg-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .3rem;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.stat-card--wide {
  grid-column: 1 / -1;
}

.stat-num {
  font-family: var(--sans);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--coral);
  line-height: 1;
}
.stat-plus {
  font-family: var(--sans);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
  margin-top: -0.5rem;
}
.stat-label {
  font-family: var(--body);
  font-size: .8rem;
  color: var(--ink-mute);
  line-height: 1.4;
}
.stat-icons {
  font-size: 1.5rem;
  letter-spacing: .1rem;
  margin-bottom: .25rem;
}

.stat-badge-row {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
}
.stat-badge {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  padding: .35rem .85rem;
  background: var(--blue-light);
  color: var(--blue-2);
  border-radius: 100px;
  border: 1px solid rgba(79, 126, 247, .2);
}

/* =============================================================
   13. MARQUEE STRIP
   ============================================================= */
.marquee-section {
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-2) 100%);
  padding: .9rem 0;
  overflow: hidden;
}

.marquee-track {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-inner {
  display: inline-flex;
  gap: 1.5rem;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-inner span {
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  white-space: nowrap;
  flex-shrink: 0;
}

.marquee-inner .sep {
  color: rgba(255,255,255,.4);
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =============================================================
   14. SALAS
   ============================================================= */
.salas {
  padding: var(--space-xl) 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

.salas-grid {
  display: grid;
  gap: 1.75rem;
}

.sala-card {
  border-radius: var(--radius-xl);
}

.sala-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.sala-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease-out);
}
.sala-card:hover .sala-img-wrap img {
  transform: scale(1.04);
}

.sala-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 700;
  padding: .3rem .8rem;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 100px;
  letter-spacing: .04em;
}

.sala-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.sala-nombre {
  font-family: var(--sans);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink);
}

.sala-capacidad {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 600;
  color: var(--blue);
}

.sala-desc {
  font-family: var(--body);
  font-size: .95rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

.sala-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .3rem .6rem;
  margin-top: .25rem;
}

.sala-features li {
  font-family: var(--body);
  font-size: .85rem;
  color: var(--ink-soft);
}

/* =============================================================
   15. SERVICIOS
   ============================================================= */
.servicios {
  position: relative;
  padding: var(--space-xl) 0;
  overflow: hidden;
}

.servicios-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 50%, rgba(79, 126, 247, 0.07) 0%, transparent 60%),
    radial-gradient(circle at 90% 30%, rgba(255, 107, 91, 0.07) 0%, transparent 60%),
    var(--bg);
  z-index: 0;
}

.servicios .container { position: relative; z-index: 1; }

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.servicio-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius-lg);
  cursor: default;
}

.servicio-icono {
  font-size: 2.2rem;
  line-height: 1;
  display: block;
  transition: transform .3s var(--ease-bounce);
}
.servicio-card:hover .servicio-icono {
  transform: scale(1.2) rotate(-5deg);
}

.servicio-nombre {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.servicio-desc {
  font-family: var(--body);
  font-size: .87rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* =============================================================
   16. GALERÍA
   ============================================================= */
.galeria {
  padding: var(--space-xl) 0;
  background: var(--bg);
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
  grid-auto-rows: 200px;
}

.galeria-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: none;
  padding: 0;
  background: transparent;
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease-out);
  display: block;
}

.galeria-item:hover img { transform: scale(1.06); }

.galeria-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 32, 64, .45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s var(--ease-out);
}
.galeria-item:hover .galeria-overlay { opacity: 1; }

.galeria-item--tall { grid-row: span 2; }
.galeria-item--wide { grid-column: span 2; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox[hidden] { display: none; }

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 30, .92);
  cursor: pointer;
}

.lightbox-img {
  position: relative;
  z-index: 1;
  max-width: min(90vw, 1000px);
  max-height: 90vh;
  border-radius: var(--radius-lg);
  object-fit: contain;
  box-shadow: 0 40px 100px rgba(0,0,0,.5);
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: background .2s;
}
.lightbox-close:hover { background: rgba(255,255,255,.25); }

/* =============================================================
   17. OPINIONES / REVIEWS
   ============================================================= */
.opiniones {
  padding: var(--space-xl) 0;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
}

/* Score header — estilo exacto de la foto */
.opiniones-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  text-align: center;
}

.opiniones-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
}

.score-num {
  font-family: var(--sans);
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.04em;
}

.score-stars {
  display: flex;
  gap: .1rem;
}
.score-stars span {
  font-size: 1.5rem;
  color: #FBBC04;
  line-height: 1;
}

.score-sub {
  font-family: var(--body);
  font-size: .88rem;
  color: var(--ink-mute);
}

.section-header-text {
  text-align: center;
}
.section-header-text .section-title { margin-bottom: 0; }

/* Reviews grid — 3 columnas como en la foto */
.reviews-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.review-card {
  background: #fff;
  border: 1px solid rgba(26, 32, 64, .08);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.review-stars {
  color: #FBBC04;
  font-size: 1rem;
  letter-spacing: .05em;
}

.review-text {
  font-family: var(--body);
  font-size: .9rem;
  color: var(--ink-soft);
  line-height: 1.65;
  flex: 1;
}

.review-footer {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: auto;
}

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}

.review-name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .85rem;
  color: var(--ink);
}

.review-time {
  font-family: var(--body);
  font-size: .78rem;
  color: var(--ink-mute);
}

/* Review única centrada (la última fila con 1 reseña) */
.review-card--single {
  max-width: 480px;
  margin-inline: auto;
}

/* CTA de Reviews — exactamente como la foto */
.reviews-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* =============================================================
   18. CÓMO RESERVAR
   ============================================================= */
.como-reservar {
  padding: var(--space-xl) 0;
  background: var(--bg);
}

.pasos-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.paso {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.paso:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.paso::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--coral), var(--blue));
}

.paso-num {
  font-family: var(--sans);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(79, 126, 247, .12);
  line-height: 1;
  margin-bottom: .75rem;
  letter-spacing: -0.04em;
}

.paso-icon {
  font-size: 2.2rem;
  margin-bottom: .75rem;
}

.paso-title {
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .5rem;
}

.paso-desc {
  font-family: var(--body);
  font-size: .9rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

.como-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.como-cta-note {
  font-family: var(--body);
  font-size: .88rem;
  color: var(--ink-mute);
}

/* =============================================================
   19. CONTACTO
   ============================================================= */
.contacto {
  position: relative;
  padding: var(--space-xl) 0;
  overflow: hidden;
}

.contacto-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(79, 126, 247, .08) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(255, 107, 91, .08) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  z-index: 0;
}

.contacto .container { position: relative; z-index: 1; }

.contacto-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}

/* Formulario */
.contacto-form-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

.contacto-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

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

.form-label {
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: .02em;
}

.form-input {
  width: 100%;
  font-family: var(--body);
  font-size: .95rem;
  color: var(--ink);
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  transition: border-color .2s var(--ease-out), box-shadow .2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 107, 91, .12);
  background: #fff;
}

.form-input::placeholder { color: var(--ink-mute); }

.form-textarea { resize: vertical; min-height: 80px; }

.form-note {
  font-family: var(--body);
  font-size: .78rem;
  color: var(--ink-mute);
  text-align: center;
  line-height: 1.5;
}
.form-note a { color: var(--coral); }

/* Info de contacto */
.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-block { }

.info-title {
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .4rem;
}

.info-block p {
  font-family: var(--body);
  font-size: .92rem;
  color: var(--ink-soft);
}

.info-link {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--coral);
  transition: color .2s;
}
.info-link:hover { color: var(--coral-2); }

.info-horario {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.info-horario li {
  font-family: var(--body);
  font-size: .9rem;
  color: var(--ink-soft);
}

.info-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

/* =============================================================
   20. FOOTER
   ============================================================= */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.8);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 2px solid rgba(255,255,255,.15);
}

.footer-tagline {
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  margin-bottom: .4rem;
}

.footer-place {
  font-family: var(--body);
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.25rem;
}

.footer-social {
  display: flex;
  gap: .75rem;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  color: rgba(255,255,255,.7);
  transition: background .2s, color .2s, transform .2s;
}
.social-link:hover {
  background: var(--coral);
  color: #fff;
  transform: translateY(-2px);
  border-color: transparent;
}

.footer-title {
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 1rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer-links ul li,
.footer-links ul a {
  font-family: var(--body);
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  transition: color .2s;
}
.footer-links ul a:hover { color: var(--coral); }

.footer-map-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 600;
  color: var(--yellow);
  transition: color .2s;
}
.footer-map-link:hover { color: var(--yellow-2); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  text-align: center;
}

.footer-copy {
  font-family: var(--body);
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}

.footer-credit {
  font-family: var(--body);
  font-size: .82rem;
  color: rgba(255,255,255,.3);
}

.footer-credit a {
  color: var(--coral);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =============================================================
   21. WHATSAPP FAB
   ============================================================= */
.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 800;
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--green-wa);
  color: #fff;
  padding: .75rem 1.25rem .75rem 1rem;
  border-radius: 100px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .40);
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .3s var(--ease-bounce), box-shadow .3s;
  animation: fabPulse 3s ease-in-out infinite;
}

@keyframes fabPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, .40); }
  50%       { box-shadow: 0 8px 32px rgba(37, 211, 102, .60), 0 0 0 8px rgba(37, 211, 102, .10); }
}

.whatsapp-fab:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 12px 36px rgba(37, 211, 102, .50);
}

.whatsapp-fab-label {
  display: none;
}

/* =============================================================
   22. SCROLL-TO-TOP
   ============================================================= */
.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 800;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform .3s var(--ease-bounce), box-shadow .2s, opacity .3s;
  opacity: 0;
}
.scroll-top:not([hidden]) { opacity: 1; }
.scroll-top:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--coral);
}

/* =============================================================
   23. EFECTOS REDUCIDOS (solo intrusivos)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-mesh { animation: none; }
  .hero-img { animation: none; }
  .hero-float-card--1, .hero-float-card--2 { animation: none; }
  .splash-logo { animation: none; }
  .whatsapp-fab { animation: none; }
  .marquee-inner { animation-duration: 60s; }
  /* NO desactivar: hovers, tilts, reveals, transitions */
}

/* =============================================================
   24. RESPONSIVE — TABLET (min-width: 540px)
   ============================================================= */
@media (min-width: 540px) {
  .whatsapp-fab-label { display: block; }

  .servicios-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pasos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =============================================================
   25. RESPONSIVE — TABLET (min-width: 720px)
   ============================================================= */
@media (min-width: 720px) {
  .nav-links { display: flex; }
  .nav-hamburger { display: none; }
  .nav-cta { margin-left: auto; }

  .hero-inner {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }
  .hero-content {
    text-align: left;
    flex: 1;
  }
  .hero-content .hero-badges,
  .hero-content .hero-actions { justify-content: flex-start; }
  .hero-content .hero-sub { margin-inline: 0; }
  .hero-visual { flex: 0 0 420px; }
  .hero-img { height: 480px; }

  .sobre-grid { grid-template-columns: 1fr 1fr; }

  .salas-grid { grid-template-columns: repeat(2, 1fr); }

  .reviews-grid { grid-template-columns: repeat(2, 1fr); }

  .galeria-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
  }

  .contacto-grid { grid-template-columns: 1fr 1fr; }
  .contacto-form-wrap { padding: 2.5rem; }

  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }

  .opiniones-header {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 3rem;
  }
  .opiniones-score { align-items: flex-start; }
  .section-header-text { text-align: left; }
}

/* =============================================================
   26. RESPONSIVE — DESKTOP (min-width: 960px)
   ============================================================= */
@media (min-width: 960px) {
  .hero-img { height: 560px; }

  .salas-grid { grid-template-columns: repeat(3, 1fr); }

  .servicios-grid { grid-template-columns: repeat(4, 1fr); }

  .reviews-grid { grid-template-columns: repeat(3, 1fr); }

  .review-card--single {
    grid-column: 2 / 3;
    max-width: none;
    margin-inline: 0;
  }

  .pasos-grid { grid-template-columns: repeat(4, 1fr); }

  .galeria-grid { grid-auto-rows: 240px; }
}

/* =============================================================
   27. RESPONSIVE — LARGE DESKTOP (min-width: 1280px)
   ============================================================= */
@media (min-width: 1280px) {
  .hero-img { height: 620px; }
  .hero-visual { flex: 0 0 500px; }
}
