/* ============================================================
   main.css — Variables, reset, typography, layout base
   Diospadre Parque Acuático
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;600;700;900&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,700;1,9..40,400&display=swap');

/* ── FUENTES  ───────────────────────────────────────── */
@font-face {
  font-family: 'Neulis-Black';
            src: url(../fonts/Neulis-Black.otf);
}

@font-face {
  font-family: 'Neulis-bold';
            src: url(../fonts/Neulis-Bold.otf);
}

@font-face {
  font-family: 'Neulis-ExtraBold';
            src: url(../fonts/Neulis-ExtraBold.otf);
}

@font-face {
  font-family: 'Neulis-sans';
            src: url(../fonts/neulis-sans.otf);
}

@font-face {
  font-family: 'sanchez-Black';
            src: url(../fonts/Sanchez-Black.otf);
}

/* ── CSS Variables ───────────────────────────────────────── */
:root {
  /* Brand colors */
  --color-primary:   #0099FF;
  --color-primary-dark: #007ACC;
  --color-primary-light: #33ADFF;
  --color-cta:       #FF6600;
  --color-cta-dark:  #CC5200;
  --color-secondary: #009933;
  --color-secondary-dark: #007A28;
  --color-headings:  #003366;
  --color-headings-light: #004D99;

  /* Neutrals */
  --color-text:      #1A1A2E;
  --color-muted:     #5A6272;
  --color-border:    #D0DCE8;
  --color-bg:        #FFFFFF;
  --color-bg-alt:    #F0F6FF;
  --color-bg-dark:   #0A1628;

  /* Typography */
  --font-display: 'Neulis-sans', sans-serif;
  --font-body:    'Neulis-sans', sans-serif;
  --font-title:    'Neulis-sans', sans-serif;
  --font-h2:    'Neulis-sans', sans-serif;
  --font-sans:    'Neulis-sans', sans-serif;

  /* Spacing scale */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Radii */
  --radius-sm:  0.375rem;
  --radius-md:  0.75rem;
  --radius-lg:  1.25rem;
  --radius-xl:  2rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 4px rgba(0,51,102,.08), 0 2px 8px rgba(0,51,102,.04);
  --shadow-md:  0 4px 16px rgba(0,51,102,.12), 0 2px 6px rgba(0,51,102,.06);
  --shadow-lg:  0 8px 32px rgba(0,51,102,.16), 0 4px 12px rgba(0,51,102,.08);
  --shadow-cta: 0 4px 20px rgba(255,102,0,.4);
  --shadow-primary: 0 4px 20px rgba(0,153,255,.35);

  /* Transitions */
  --transition: 0.25s ease;
  --transition-slow: 0.4s ease;

  /* Layout */
  --container-max: 1200px;
  --nav-height: 72px;
}

.card-images{
  display: block;
  width: 100%;
}
.card-images img{
  display: block;
  width: 100%;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
h1,h2,h3,h5,h6 {
  font-family: var(--font-h2);
  color: var(--color-headings);
  line-height: 1.2;
  font-weight: 700;
}
h4 {
  font-family: var(--font-h2);
  color: var(--color-primary);
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.125rem; }
p  { max-width: 68ch; }

/* ── Layout helpers ──────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;

  padding-inline: 1.25rem;
}
section {
  padding-block: var(--space-4xl);
}

.bg-alt { 
  background: var(--color-bg-alt); 
  padding: 6% 0 8% 0;
}
.bg-dark {
  background: var(--color-bg-dark);
  color: #fff;
}
.bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #fff; }
.bg-dark p { color: rgba(255,255,255,.8); }

.text-center { text-align: center; }

.section-header {
  margin-bottom: var(--space-2xl);
}
.section-header h2 { margin-bottom: var(--space-sm); }
.section-header p {
  color: var(--color-muted);
  font-size: 1.05rem;
  margin-inline: auto;
}
.contaider-padding-4{
  padding: 4%;
}
/* 

  /////////////////////////////////////

                PIXELIA
  
  /////////////////////////////////////

*/
.padding-bottom-30{
  padding-bottom: 13% !important;
}
.padding-cont{
  padding: 7% 0 8% 0;
}
.padding-cont-small{
  padding: 5% 0 5% 0;
}
.cont__restaurante{
  padding: 10% 0 5% 0;
  position: relative;
}
picture img{
  border-radius: 1.25rem;
}
.txt__blanco{
  color: #FFF;
  font-size: 18px;
  width: 100%;
}
.sobre-naranja{
  position: absolute;
  top: -10px;
  left: 32%;
  background: #FF5500 !important;
  color: #fff !important;
  padding: 5px 15px;
  border-radius: 30px;
  border:2px solid #fff;
}
.f-rojo{
  background: #EF5350;
  padding: 2% 4%;
}
.f-naranja{
  background: #ff5500;
  padding: 4%;
}
.f-azul{
  background: #003e7c !important;
}
.f-azul-c{
  background: #00AAFF !important;
}
.f-amarillo{
  background: #ffd500 !important;
}
.sobre-amarillo{
  position: absolute;
  top: -10px;
  left: 32%;
  background: #ffd500 !important;
  color: #0c0808 !important;
  padding: 5px 15px;
  border-radius: 30px;
  border:2px solid #fff;
}
.sobre-verde{
  position: absolute;
  top: -10px;
  left: 32%;
  background: #0ac769 !important;
  color: #0c0808 !important;
  padding: 5px 15px;
  border-radius: 30px;
  border:2px solid #fff;
}
.precio__semana{
  background: #EFEFEF;
  display: grid;
  grid-template-columns: 20% 1fr;
  padding: 1% 5%;
  border-radius: 50px;
  margin-top: 40px;
  width: 75%;
}
.txt__precio-semana{
  color: #00AAFF;
  font-size: 60px;
  font-weight: 800;
}
.txt__cotiza{
  color: #ffd500;
  font-size: 38px;
  font-family: 'sanchez-Black';
  line-height: 40px;
}
.txt__amarillo{
  color: #ffd500;
  font-size: 24px;
  text-shadow: 1px 2px 0px rgba(0,0,0,.1);
  font-weight: bold;
}
.txt__gratis{
  color: #003e7c;
  font-size: 50px;
  font-family: 'sanchez-Black';
  line-height: 40px;
}
.txt__costo-g{
  font-size: 60px;
  font-weight: 800;
}
.pricing-grid-1{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 900px;
  margin-inline: auto;
}
/* .pricing-card-1 {
  background: var(--color-bg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  padding: 5% 0;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
} */
.pricing-card-1.f-amarillo {
  background-color: #ffcc00; /* El amarillo exacto de tu boleto */
  color: #003366; /* El azul oscuro del texto */
  padding: 20px 30px 20px 45px; /* Más espacio a la izquierda para el recorte */
  border-radius: 8px;
  font-family: 'Poppins', Arial, sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 250px; /* Ajusta según el ancho que busques */
  
  /* --- MÁSCARA PARA EL BORDE IZQUIERDO --- */
  /* Colocamos el círculo transparente en el 0% (izquierda) */
  --mask: radial-gradient(circle 15px at 0% 50%, #0000 98%, #000 102%) 0% 100%/100% 60px repeat-y;
  
  -webkit-mask: var(--mask);
          mask: var(--mask);
}
.pricing-card-1.f-azul {
  background-color: #003366; /* El azul oscuro exacto de tu imagen */
  color: #ffcc00; /* El amarillo llamativo para el texto */
  padding: 20px 30px 20px 45px; /* Más espacio a la izquierda para el recorte */
  border-radius: 8px;
  font-family: 'Poppins', Arial, sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center; /* Centra las dos líneas de texto */
  min-width: 250px; /* Ajusta según el ancho que necesites */
  
  /* --- MÁSCARA PARA EL BORDE IZQUIERDO --- */
  --mask: radial-gradient(circle 15px at 0% 50%, #0000 98%, #000 102%) 0% 100%/100% 60px repeat-y;
  
  -webkit-mask: var(--mask);
          mask: var(--mask);
}
.pricing-card-1.f-azul-c {
  background-color: #00a2ff; /* El azul exacto de tu imagen */
  color: #ffffff;
  padding: 30px 40px 30px 30px; /* Más espacio a la derecha para el recorte */
  border-radius: 8px; /* Bordes suaves redondeados a la izquierda */
  font-family: 'Poppins', sans-serif; /* O la tipografía redonda que uses */
  position: relative;
  max-width: 450px; /* Ajustable a tus necesidades */
  
  /* --- AQUÍ SE CREA EL RECORTE DEL CUPÓN --- */
  /* Creamos círculos transparentes espaciados verticalmente */
  --mask: radial-gradient(circle 15px at 100% 50%, #0000 98%, #000 102%) 100% 100%/100% 60px repeat-y;
  
  /* Aplicamos la máscara para navegadores modernos y Webkit (Chrome/Safari) */
  -webkit-mask: var(--mask);
          mask: var(--mask);
}
.cont-hero{
  position: absolute;
  left: 19%;
  top: 7%;
}
.hero-content{
  display: grid;
}
.blanco{
  color: #fff !important;
}
.txt-negro{
  color: #000 !important;
}
.fondo-naranja{
  color: #ffd500;
  background: #FF5500;
  border-radius: 30px;
  padding: 5px 20px;
}
.margin-bottom{
  margin-bottom: 40px;
}
.btn-horario {
  background: #00a54a;
  box-shadow: var(--shadow-secondary);
}
.btn-horario p {
  color: #ffd500;
}
.btn-horario small {
  color: #fff;
}
.btn-precios {
  background: #ff5500;
  color: #fff;
  box-shadow: var(--shadow-secondary);
}
.blanco-c{
  background-color: #ffffff;
  position: relative;
  padding-bottom:13%;
}
.azul{
  background-color: #00AAFF;
  position: relative;
  padding-bottom:13%;
}
.naranja{
  color: #FF5500;
}
.azul-txt{
  color: #00AAFF;
}
.olas-cont{
  position: relative;
  padding: 2% 0 8% 0;
}
.cont-azul{
  position: relative;
}
.container-home {
  background: #fff;
  width: 100%;
  padding: 0 20%;
  margin-inline: auto;
  padding-inline: 1.25rem;
  position: relative;
}
.destacado{
  background: #22C1C3;
  background: linear-gradient(0deg,rgba(34, 193, 195, 1) 0%, rgba(44, 176, 108, 1) 100%) !important;
  color:#fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-wave-v{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
}
.hero-wave{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2;
}
.txt-equipo{
  font-size: 2rem;
  font-weight: 600;
}
.txt_equipo-precio{
  font-size: 2.5rem !important;
  color: #fff !important;
  font-weight: 800 !important;
}
.maps{
  display: flex;
  padding: 0 !important;
  width: 100%;
}
.maps iframe{
  width: 100%;
  height: 500px;
}
.bg-textos{
  background: url(../img/fondo/fondo-textos.jpg) 50% 50% repeat;
}
.contenedor-texto-principal{
  background: rgba(255,255,255,.85);
  box-shadow: 0 0 0 10px rgba(255,255,255), 
  4px 4px 16px 2px rgb(92, 162, 235), 
  -1px -1px 6px 0 rgb(122, 221, 102);
  border: 1px solid  rgb(213, 213, 213);
  padding: var(--space-2xl);
  border-radius: 5px;
}
.bg-txt__principales{
  background: url(../img/fondo/textos-principales.jpg) 50% 50% repeat;
}
.text-marca {
  font-family: 'sanchez-Black';
  text-transform: uppercase;
}
.text-marca.naranja {
  font-size: 2.7rem;
}
.hero-content h1 {
  text-align: center;
  line-height: .8em;
}
.black{
  color:#333 !important;
}
.fondo-papel{
  background: url(../img/fondo/papel.jpg) 50% 50% repeat;
}
.informacion-atraccion{
  background: url(../img/fondo/informacion-atraccion.jpg) 50% 50% no-repeat;
  background-size: cover;
  padding: 10% 0;
}
/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover { background: var(--color-primary-dark); }



.btn-cta {
  background: var(--color-secondary);
  color: #fff;
  box-shadow: var(--shadow-secondary);
}
.btn-cta:hover { background: var(--color-cta-dark); }

.btn-whatsapp {
  background: #128C7E;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.7);
}

.btn-outline-n {
  background: transparent;
  color: #333;
  border: 2px solid rgba(255,255,255,.7);
}

.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.12); }

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

.btn-outline-cta {
  background: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}


.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.8125rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }

/* ── Nav ─────────────────────────────────────────────────── */
.site-header {
  border-top: 5px solid #FFCC00;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  padding: 0 30%;
  transition: background var(--transition), box-shadow var(--transition);
  background: rgba(255,255,255);
}

/* Hero-internal nav (transparent by default) */
/* .site-header.nav-hero { background: transparent; } */
.site-header.nav-hero .nav-logo { color: #fff; }
.site-header.nav-hero .nav-link { color: rgba(255,255,255,.9); }
.site-header.nav-hero .nav-dropdown-label { color: rgba(255,255,255,.9); }
.site-header.nav-hero .nav-dropdown-label-n { color: rgba(0,0,0); }
.site-header.nav-hero .nav-toggle span { background: #fff; }

.site-header.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: var(--shadow-sm);
}
.site-header.scrolled .nav-logo,
.site-header.scrolled .nav-link,
.site-header.scrolled .nav-dropdown-label { color: var(--color-headings); }

.site-header.scrolled .nav-toggle span { background: var(--color-headings); }

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  width: 100%;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  transition: color var(--transition);
}
.nav-logo em { font-style: normal; color: var(--color-cta); }

.nav-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  inset: 0;
  background: var(--color-bg-dark);
  padding: calc(var(--nav-height) + 2rem) 2rem 2rem;
  z-index: 999;
  gap: 0;
}
.nav-menu.open { display: flex; }
.nav-menu > li > .nav-link,
.nav-dropdown-label {
  display: block;
  padding: 0.875rem 0;
  font-weight: 500;
  font-size: 1.1rem;
  color: rgba(255,255,255,.9);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: color var(--transition);
  cursor: pointer;
}
.nav-menu > li > .nav-link:hover,
.nav-dropdown-label:hover { color: var(--color-primary); }
.nav-link.active { color: var(--color-cta) !important; }

.nav-dropdown-menu {
  display: none;
  padding: 0.5rem 0 0.5rem 1rem;
}
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu .nav-link {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: rgba(255,255,255,.7);
}
.nav-dropdown-menu .nav-link:hover { color: var(--color-primary); }

.nav-cta {
  display: none;
  margin-left: auto;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px;
  margin-left: auto;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

#canvas-hero {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url(../img/hero/alberca-olas-home.jpg) 50% 50%;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: var(--space-4xl) 0 var(--space-2xl);
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--color-secondary);
  letter-spacing: 0.15em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  width: max-content;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--space-md);
}

.hero h1 { color: #fff; margin-bottom: var(--space-md); }

.hero-lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.88);
  max-width: 52ch;
  margin-bottom: var(--space-xl);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}
.hero-badge {
  background: rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-full);
  padding: 0.375rem 0.875rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #333;
}

/* Campamento hero */
.hero-campamento {
  background: url(../img/hero/campamento-balneario.jpg) 50% 50%;
}
.hero-membrecias {
  background: url(../img/hero/membrecias-hero.jpg) 50% 50%;
}
.hero-masajes {
  background: url(../img/hero/masajes-hero.jpg) 50% 50%;
}
.hero-amenidades {
  background: url(../img/hero/amenidades-hero.jpg) 50% 50%;
}
.hero-mobiliario {
  background: url(../img/hero/mobiliario-hero.jpg) 50% 50%;
}

/* Small hero (inner pages) */
.hero-sm {
    min-height: 65vh;
  justify-content: flex-end;
  justify-content: center;
  text-align: justify;
}
.hero-sm .hero-content {
  padding-bottom: 0;
  padding-top: var(--nav-height);
}
.hero-sm h1 {  font-size: clamp(1.75rem, 4vw, 2.75rem); }
.hero-sm .hero-actions { justify-content:end; }


/* LLM-optimized text — visually subtle, not hidden from crawlers */
.hero-llm-text {
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(255,255,255,.45);
  max-width: 70ch;
  margin-top: var(--space-lg);
}

/* ── Info cards ─────────────────────────────────────────── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.info-grid-2 {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 10px;
}
/* ── Wave dividers ───────────────────────────────────────── */
.wave-divider {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: -2px;
}
.wave-divider svg { display: block; width: 100%; }

/* ── Hero waves (multi-layer animated sea waves) ───────────────────────── */
.hero {
  --hero-wave-height: 80px;
}
.hero-waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: var(--hero-wave-height);
  z-index: 2; /* sits above media but below hero content (z-index:3) */
  pointer-events: none;
  overflow: hidden;
}
.hero-waves .wave {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 200%;
  height: 100%;
  transform: translate3d(0,0,0);
}
.hero-waves .wave svg { width: 200%; height: 100%; display: block; }

/* Increased speed for a livelier sea — shorter durations */
.wave--1 { animation: waveMove 5s linear infinite; }
.wave--2 { transform: translateY(12px); animation: waveMove 7s linear infinite reverse; }
.wave--3 { transform: translateY(24px); animation: waveMove 9s linear infinite; }

/* Use provided blue palette with 80% alpha; top layer is lighter */
.wave--1 { color: rgba(42,190,254,0.8); }
.wave--2 { color: rgba(0,139,255,0.8); }
.wave--3 { color: rgba(0,91,223,0.8); }

.wave svg { transform-origin: center bottom; will-change: transform; }
/* SVG paths now have deeper curvature; reduce scaleY accordingly */
.wave--1 svg { transform: scaleY(1.2); }
.wave--2 svg { transform: scaleY(1.35); }
.wave--3 svg { transform: scaleY(1.5); }

@keyframes waveMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-60%); }
}

/* Make waves subtler on small screens */
@media (max-width: 640px) {
  .hero-waves { height: 72px; }
  .wave--1 svg { transform: scaleY(1.0); }
  .wave--2 svg { transform: scaleY(1.1); }
  .wave--3 svg { transform: scaleY(1.2); }
}

/* ── WhatsApp float ──────────────────────────────────────── */
.wa-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #25D366;
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  transition: transform var(--transition), box-shadow var(--transition);
}
.wa-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 6px 28px rgba(37,211,102,.6);
}
.wa-btn svg { width: 22px; height: 22px; fill: #fff; flex-shrink: 0; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,.8);
  padding-block: var(--space-3xl) var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand h3 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,.6); max-width: 28ch; }

.footer-social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  transition: background var(--transition), color var(--transition);
}
.footer-social a:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.footer-social svg { width: 18px; height: 18px; }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: var(--space-md);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-sm); }
.footer-col ul li a {
  color: rgba(255,255,255,.75);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--color-primary); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.9rem;
  color: rgba(255,255,255,.75);
  margin-bottom: var(--space-sm);
}
.footer-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; fill: var(--color-primary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,.4);
}

/* --- Galería --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  cursor: pointer;
  border: none;
  padding: 0;
  background: none;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3; /* Proporción para que no se corten tanto */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 51, 102, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-hover-overlay,
.gallery-item:focus .gallery-hover-overlay {
  opacity: 1;
}

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

.lightbox[hidden] { display: none; }

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.lightbox-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  animation: scaleIn 0.3s ease;
}

.lightbox-figure img {
  /* Aumentamos el tamaño para que ocupe casi toda la pantalla */
  max-width: 95vw;
  max-height: 95vh;
  border-radius: 8px;
  display: block;
  object-fit: contain;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}

.lightbox-caption { display: none; } /* Ocultamos el caption por ahora */

.lightbox-close, .lightbox-nav {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,0.25); }

@media (max-width: 768px) {
  .lightbox-nav { display: none; }
  .lightbox-close { top: 10px; right: 10px; background: rgba(0,0,0,0.3); }
  .lightbox-figure img { max-width: 98vw; max-height: 85vh; }
}
