:root{
  --bg:#02070c;
  --bg-soft:#07111b;
  --panel:#0b1723;
  --text:#f3f8ff;
  --muted:#b8c5d2;
  --blue:#5fd2f6;
  --brand:#0989c7;
  --green:#25D366;
  --line:rgba(135,207,235,.22);
  --radius:28px;
  --shadow:0 24px 80px rgba(0,0,0,.42);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;overflow-x:hidden}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.section-inner{width:min(1180px,calc(100% - 44px));margin-inline:auto}
.site-header{position:fixed;top:0;left:0;right:0;z-index:50;padding:14px 0;background:linear-gradient(180deg,rgba(2,7,12,.86),rgba(2,7,12,.56));backdrop-filter:blur(18px);border-bottom:1px solid rgba(255,255,255,.08)}
.navbar{width:min(1240px,calc(100% - 34px));margin:auto;display:flex;align-items:center;justify-content:space-between;gap:18px}
.brand img{width:58px;height:58px;object-fit:cover;border-radius:18px;box-shadow:0 10px 30px rgba(4,139,201,.28)}
.nav-panel{display:flex;align-items:center;gap:16px;font-size:13px;font-weight:700;color:rgba(243,248,255,.78)}
.nav-panel a:not(.whatsapp-pill){transition:.25s;color:rgba(243,248,255,.78)}
.nav-panel a:not(.whatsapp-pill):hover{color:#fff;transform:translateY(-1px)}
.lang-switch{display:flex;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);padding:4px;border-radius:999px;gap:2px}
.lang-switch button{border:0;background:transparent;color:var(--muted);font-weight:800;font-size:11px;border-radius:999px;padding:6px 8px;cursor:pointer}
.lang-switch button.active{background:rgba(95,210,246,.18);color:var(--blue)}
.whatsapp-pill{background:var(--green);color:#04130a!important;border-radius:999px;padding:11px 16px;font-weight:900;display:flex;align-items:center;gap:7px;box-shadow:0 12px 30px rgba(37,211,102,.25)}
.menu-toggle{display:none;width:44px;height:44px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:14px;cursor:pointer;padding:10px}
.menu-toggle span{display:block;height:2px;background:#fff;margin:5px 0;border-radius:10px}

.parallax-section{position:relative;min-height:78vh;overflow:hidden;display:flex;align-items:center;isolation:isolate}
.parallax-img{position:absolute;inset:-10% 0;width:100%;height:120%;object-fit:cover;z-index:-3;transform:translate3d(0,0,0) scale(1.04);will-change:transform}
.overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.72),rgba(0,0,0,.48),rgba(0,0,0,.3));z-index:-2}
.overlay.stronger{background:linear-gradient(90deg,rgba(0,0,0,.78),rgba(0,0,0,.57)),rgba(0,0,0,.2)}
.hero{min-height:100svh;padding-top:84px}
.hero-content{padding:120px 0 80px;text-align:left}
.section-badge{display:inline-flex;align-items:center;width:max-content;background:rgba(3,37,63,.94);color:var(--blue);border:1px solid rgba(95,210,246,.22);border-radius:999px;padding:9px 14px;font-weight:900;font-size:12px;letter-spacing:.04em;text-transform:uppercase;margin-bottom:22px}
h1,h2,h3{letter-spacing:-.055em;line-height:1.07;margin:0;color:var(--text)}
h1{font-size:clamp(52px,9vw,118px);max-width:980px;font-weight:950}
h2{font-size:clamp(38px,6vw,78px);font-weight:950;max-width:940px}
h3{font-size:22px;font-weight:900;letter-spacing:-.03em}
p{line-height:1.68;color:var(--muted);font-weight:600;margin:0}
.hero p{max-width:760px;margin-top:24px;font-size:clamp(18px,2vw,24px);color:#e3edf7}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:34px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:999px;padding:15px 20px;font-weight:900;border:1px solid rgba(255,255,255,.14);transition:.25s;min-height:52px}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:var(--green);color:#04120a;box-shadow:0 18px 48px rgba(37,211,102,.28);border-color:rgba(37,211,102,.5)}
.btn-secondary{background:rgba(255,255,255,.08);color:#fff;backdrop-filter:blur(16px)}
.icon,.social-dot{width:24px;height:24px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:950;font-size:13px;color:#fff}
.whatsapp{background:#25D366}.instagram{background:#E4405F}.facebook{background:#1877F2}.email{background:#63c7e6}

.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:-48px;position:relative;z-index:3}
.stats article{background:linear-gradient(180deg,rgba(255,255,255,.1),rgba(255,255,255,.055));border:1px solid var(--line);border-radius:24px;padding:24px;min-height:126px;box-shadow:var(--shadow);backdrop-filter:blur(18px)}
.stats strong{display:block;font-size:clamp(32px,4vw,52px);line-height:1;color:#fff;letter-spacing:-.05em}
.stats span{display:block;margin-top:12px;color:var(--muted);font-weight:800;font-size:14px}
.content-section{padding:110px 0}
.section-copy{text-align:left;margin-bottom:42px;max-width:990px}
.section-copy p{font-size:18px;max-width:890px;margin-top:24px}

.mosaic-gallery{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:190px;grid-auto-flow:dense;gap:18px}
.mosaic-gallery figure{margin:0;border-radius:24px;overflow:hidden;background:#0b1622;border:1px solid rgba(255,255,255,.08);box-shadow:0 22px 56px rgba(0,0,0,.25);min-height:0}
.mosaic-gallery figure.wide{grid-column:span 2;grid-row:span 2}
.mosaic-gallery figure.tall{grid-row:span 3}
.mosaic-gallery img{width:100%;height:100%;object-fit:cover;transition:transform .55s ease,filter .55s ease}
.mosaic-gallery figure:hover img{transform:scale(1.045);filter:saturate(1.06)}
.reviews-gallery{grid-auto-rows:150px}
.reviews-gallery figure.tall{grid-row:span 4}
.reviews-gallery figure:not(.tall){grid-row:span 3}
.reviews-gallery img{object-position:top center}
.text-link{display:inline-flex;margin-top:30px;color:#06151b;background:var(--blue);padding:14px 20px;border-radius:999px;font-weight:950;box-shadow:0 16px 40px rgba(95,210,246,.22)}
.services-section,.guide-section{min-height:78vh;padding:110px 0}
.services-content,.guide-content{text-align:left}
.services-content p,.guide-content p{font-size:20px;max-width:760px;margin-top:22px;color:#e7f0f9}
.chips{display:flex;flex-wrap:wrap;gap:12px;margin-top:34px;max-width:980px}
.chips span{display:inline-flex;align-items:center;border-radius:999px;padding:13px 18px;background:rgba(255,255,255,.105);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(18px);color:#fff;font-weight:900;box-shadow:0 12px 40px rgba(0,0,0,.16)}
.guide-content .btn{margin-top:32px}
.contact-section{padding:110px 0}
.contact-card{display:flex;align-items:center;justify-content:space-between;gap:32px;background:linear-gradient(135deg,rgba(95,210,246,.16),rgba(255,255,255,.055));border:1px solid var(--line);border-radius:34px;padding:44px;box-shadow:var(--shadow)}
.contact-card p{font-size:19px;margin-top:18px;max-width:620px}
.footer{background:#07111b;border-top:1px solid rgba(255,255,255,.08);padding:58px 0 26px}
.footer-grid{display:grid;grid-template-columns:1fr 1fr;gap:42px;align-items:center}
.footer-brand{display:grid;grid-template-columns:76px 1fr;column-gap:18px;row-gap:8px;align-items:center;text-align:left}
.footer-brand img{width:76px;height:76px;object-fit:cover;border-radius:22px;box-shadow:0 12px 34px rgba(4,139,201,.25);grid-row:span 3}
.footer-brand strong{color:var(--blue);font-size:18px;font-weight:950;letter-spacing:-.02em}
.footer-brand p{font-size:14px;max-width:360px}
.footer-social{text-align:left;justify-self:end;max-width:450px}
.social-icons{display:flex;gap:12px;margin:15px 0 12px}
.social-icons a{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(95,210,246,.08);border:1px solid rgba(95,210,246,.22);transition:.25s}
.social-icons a:hover{transform:translateY(-2px);background:rgba(95,210,246,.16)}
.social-icons span{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:white;font-weight:950}
.footer-social p{font-size:15px}
.footer-bottom{margin-top:40px;padding-top:22px;border-top:1px solid rgba(255,255,255,.08);display:flex;justify-content:space-between;gap:18px;color:rgba(232,242,250,.62);font-weight:800;font-size:13px}
.floating-whatsapp{position:fixed;right:22px;bottom:22px;z-index:40;width:58px;height:58px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--green);color:#07120b;font-weight:950;font-size:25px;box-shadow:0 16px 42px rgba(37,211,102,.32)}

@media (max-width:1050px){
  .menu-toggle{display:block}
  .nav-panel{position:absolute;top:82px;left:17px;right:17px;display:none;flex-direction:column;align-items:stretch;background:rgba(4,10,16,.96);border:1px solid rgba(255,255,255,.1);border-radius:24px;padding:18px;box-shadow:var(--shadow)}
  .nav-panel.open{display:flex}.nav-panel a{padding:10px 6px}.lang-switch{width:max-content}
  .stats{grid-template-columns:repeat(2,1fr)}
  .mosaic-gallery{grid-template-columns:repeat(3,1fr);grid-auto-rows:160px}
}
@media (max-width:720px){
  .section-inner{width:min(100% - 28px,1180px)}
  .brand img{width:52px;height:52px;border-radius:16px}
  .hero-content{padding:92px 0 64px}
  h1{font-size:clamp(46px,14vw,72px)}
  h2{font-size:clamp(34px,11vw,54px)}
  .hero-actions,.contact-card{align-items:stretch;flex-direction:column}.btn{width:100%}
  .stats{grid-template-columns:1fr;margin-top:18px}.stats article{min-height:auto}
  .content-section,.contact-section{padding:76px 0}
  .mosaic-gallery{grid-template-columns:repeat(2,1fr);grid-auto-rows:142px;gap:12px}
  .mosaic-gallery figure{border-radius:18px}.mosaic-gallery figure.wide{grid-column:span 2;grid-row:span 2}.mosaic-gallery figure.tall{grid-row:span 2}
  .reviews-gallery figure.tall,.reviews-gallery figure:not(.tall){grid-row:span 2}
  .services-section,.guide-section{min-height:72vh;padding:84px 0}.chips span{width:100%;justify-content:center;text-align:center}
  .contact-card{padding:28px;border-radius:26px}
  .footer-grid{grid-template-columns:1fr}.footer-social{justify-self:start}.footer-bottom{flex-direction:column}.floating-whatsapp{width:54px;height:54px;right:16px;bottom:16px}
}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.parallax-img{transform:none!important}}

/* Ajustes finales pedidos por Cris */
.hero h1{
  font-size:clamp(48px,7.4vw,96px);
  max-width:900px;
  line-height:1.08;
}
.hero-content{padding:108px 0 72px;}
.stats{
  margin-top:32px;
  margin-bottom:18px;
}

/* Galerías reequilibradas: sin huecos visuales ni fotos descolgadas */
.gallery-playa{
  grid-template-columns:repeat(4,1fr);
  grid-auto-rows:168px;
  gap:18px;
}
.gallery-playa figure{grid-column:span 1;grid-row:span 1;}
.gallery-playa figure:nth-child(1){grid-column:span 2;grid-row:span 2;}
.gallery-playa figure:nth-child(2){grid-row:span 2;}
.gallery-playa figure:nth-child(5){grid-column:span 2;grid-row:span 2;}
.gallery-playa figure:nth-child(9){grid-column:span 2;grid-row:span 1;}

.gallery-propiedades{
  grid-template-columns:repeat(4,1fr);
  grid-auto-rows:210px;
  gap:18px;
}
.gallery-propiedades figure,
.gallery-propiedades figure.wide,
.gallery-propiedades figure.tall{
  grid-column:span 1;
  grid-row:span 1;
}
.gallery-propiedades figure:nth-child(1),
.gallery-propiedades figure:nth-child(6),
.gallery-propiedades figure:nth-child(9){
  grid-column:span 2;
  grid-row:span 1;
}
.gallery-propiedades figure:nth-child(2),
.gallery-propiedades figure:nth-child(4),
.gallery-propiedades figure:nth-child(7),
.gallery-propiedades figure:nth-child(8),
.gallery-propiedades figure:nth-child(10),
.gallery-propiedades figure:nth-child(11),
.gallery-propiedades figure:nth-child(12){
  grid-column:span 1;
  grid-row:span 1;
}

/* Botón de reviews centrado */
.text-link{
  width:max-content;
  margin:36px auto 0;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* Footer: texto centrado verticalmente con el logo */
.footer-brand{
  display:flex;
  align-items:center;
  gap:34px;
  text-align:left;
}
.footer-brand img{
  width:82px;
  height:82px;
  flex:0 0 auto;
  grid-row:auto;
}
.footer-brand strong,
.footer-brand p{margin:0;}
.footer-brand strong{display:block;margin-bottom:8px;font-size:20px;}
.footer-brand p{font-size:16px;}

@media (max-width:1050px){
  .hero h1{font-size:clamp(46px,10vw,82px);}
  .gallery-playa,.gallery-propiedades{grid-template-columns:repeat(3,1fr);grid-auto-rows:155px;}
  .gallery-playa figure:nth-child(1),.gallery-playa figure:nth-child(5),.gallery-playa figure:nth-child(9),
  .gallery-propiedades figure:nth-child(1),.gallery-propiedades figure:nth-child(6),.gallery-propiedades figure:nth-child(9){grid-column:span 2;grid-row:span 1;}
}
@media (max-width:720px){
  .hero h1{font-size:clamp(42px,12vw,62px);}
  .stats{margin-top:20px;}
  .gallery-playa,.gallery-propiedades{grid-template-columns:repeat(2,1fr);grid-auto-rows:140px;gap:12px;}
  .gallery-playa figure:nth-child(1),.gallery-playa figure:nth-child(5),.gallery-playa figure:nth-child(9),
  .gallery-propiedades figure:nth-child(1),.gallery-propiedades figure:nth-child(6),.gallery-propiedades figure:nth-child(9){grid-column:span 2;grid-row:span 1;}
  .gallery-playa figure:nth-child(2){grid-row:span 1;}
  .footer-brand{gap:18px;align-items:center;}
  .footer-brand img{width:72px;height:72px;border-radius:20px;}
  .footer-brand strong{font-size:17px;margin-bottom:5px;}
  .footer-brand p{font-size:14px;}
  .text-link{max-width:100%;white-space:normal;text-align:center;}
}

/* === Últimos retoques: masonry automático + footer compacto + logos oficiales === */
.app-icon{
  width:24px;height:24px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;color:#fff;
}
.app-icon svg{width:15px;height:15px;fill:currentColor;display:block}
.app-whatsapp{background:#25D366;color:#fff}.app-instagram{background:#E4405F;color:#fff}.app-facebook{background:#1877F2;color:#fff}.app-email{background:#63c7e6;color:#fff}
.whatsapp-pill .app-icon{width:23px;height:23px}.whatsapp-pill .app-icon svg{width:14px;height:14px}
.btn .app-icon{margin-right:2px}
.floating-whatsapp{color:white!important}
.floating-whatsapp svg{width:29px;height:29px;fill:currentColor;display:block}

/* Opción 1: masonry automático para TODAS las galerías con fotos. 
   Al cambiar/agregar/quitar imágenes, las columnas se recalculan solas sin huecos grandes. */
.mosaic-gallery,
.gallery-playa,
.gallery-propiedades,
.reviews-gallery{
  display:block!important;
  column-count:4;
  column-gap:18px;
}
.mosaic-gallery figure,
.mosaic-gallery figure.wide,
.mosaic-gallery figure.tall,
.gallery-playa figure,
.gallery-propiedades figure,
.reviews-gallery figure{
  display:block!important;
  break-inside:avoid;
  page-break-inside:avoid;
  margin:0 0 18px!important;
  width:100%!important;
  grid-column:auto!important;
  grid-row:auto!important;
}
.mosaic-gallery img{
  width:100%;
  height:auto!important;
  object-fit:contain!important;
  display:block;
  background:#0b1622;
}
.gallery-playa img,
.gallery-propiedades img{object-position:center center}
.reviews-gallery img{object-position:top center}
@media (max-width:1050px){.mosaic-gallery,.gallery-playa,.gallery-propiedades,.reviews-gallery{column-count:3;column-gap:16px}.mosaic-gallery figure{margin-bottom:16px!important}}
@media (max-width:720px){.mosaic-gallery,.gallery-playa,.gallery-propiedades,.reviews-gallery{column-count:2;column-gap:12px}.mosaic-gallery figure{margin-bottom:12px!important}}
@media (max-width:460px){.mosaic-gallery,.gallery-playa,.gallery-propiedades,.reviews-gallery{column-count:1}}

/* Footer más comprimido y equilibrado */
.footer{padding:42px 0 18px!important}
.footer-grid{gap:28px!important;align-items:center!important}
.footer-brand{gap:26px!important;align-items:center!important}
.footer-brand img{width:74px!important;height:74px!important;border-radius:21px!important}
.footer-brand strong{font-size:16px!important;line-height:1.08!important;margin:0 0 6px!important;letter-spacing:-.03em!important}
.footer-brand p{font-size:14px!important;line-height:1.45!important;margin:0!important;max-width:270px!important}
.footer-social{max-width:390px!important}
.footer-social h3{font-size:20px!important;line-height:1.08!important;margin:0 0 12px!important}
.social-icons{gap:10px!important;margin:0 0 12px!important}
.social-icons a{width:42px!important;height:42px!important}
.social-icons a .app-icon{width:26px!important;height:26px!important}
.social-icons a .app-icon svg{width:15px!important;height:15px!important}
.footer-social p{font-size:14px!important;line-height:1.55!important;margin:0!important}
.footer-bottom{margin-top:24px!important;padding-top:16px!important}
@media (max-width:720px){
  .footer{padding:36px 0 18px!important}
  .footer-brand{gap:16px!important}
  .footer-brand img{width:68px!important;height:68px!important}
  .footer-brand strong{font-size:15px!important}
  .footer-brand p{font-size:13px!important}
}

/* === Corrección final v3: grids alineados, stats centradas y footer compacto === */
/* Estadísticas: números y textos centrados dentro de cada tarjeta */
.stats article{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:center!important;
  text-align:center!important;
}
.stats strong,
.stats span{
  width:100%!important;
  text-align:center!important;
}
.stats span{margin-top:14px!important;}

/* Grids editoriales alineados: NO masonry/column-count.
   Todas las fotos se recortan con object-fit: cover dentro de celdas parejas.
   Si se cambian imágenes, el layout permanece alineado y sin huecos grandes. */
.mosaic-gallery,
.gallery-playa,
.gallery-propiedades,
.reviews-gallery{
  display:grid!important;
  column-count:initial!important;
  column-gap:initial!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-auto-rows:190px!important;
  grid-auto-flow:dense!important;
  gap:18px!important;
  align-items:stretch!important;
}
.mosaic-gallery figure,
.mosaic-gallery figure.wide,
.mosaic-gallery figure.tall,
.gallery-playa figure,
.gallery-propiedades figure,
.reviews-gallery figure{
  display:block!important;
  margin:0!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  grid-column:span 1!important;
  grid-row:span 1!important;
  break-inside:auto!important;
  page-break-inside:auto!important;
  overflow:hidden!important;
}
.mosaic-gallery img,
.gallery-playa img,
.gallery-propiedades img,
.reviews-gallery img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
  display:block!important;
  background:#0b1622!important;
}
.reviews-gallery img{object-position:top center!important;}

/* Patrón visual repetible, alineado y sin agujeros */
.gallery-playa figure:nth-child(1),
.gallery-playa figure:nth-child(5),
.gallery-propiedades figure:nth-child(1),
.gallery-propiedades figure:nth-child(6){
  grid-column:span 2!important;
}
.gallery-playa figure:nth-child(8),
.gallery-propiedades figure:nth-child(9){
  grid-column:span 2!important;
}
.reviews-gallery{
  grid-auto-rows:310px!important;
}
.reviews-gallery figure,
.reviews-gallery figure.tall{
  grid-column:span 1!important;
  grid-row:span 1!important;
}

/* Footer más compacto: se elimina la frase secundaria desde HTML */
.footer{
  padding:30px 0 14px!important;
}
.footer-grid{
  grid-template-columns:1fr 1fr!important;
  gap:22px!important;
  align-items:center!important;
}
.footer-brand{
  gap:20px!important;
  align-items:center!important;
}
.footer-brand img{
  width:66px!important;
  height:66px!important;
  border-radius:19px!important;
}
.footer-brand strong{
  font-size:15px!important;
  line-height:1.05!important;
  margin:0!important;
  white-space:nowrap!important;
}
.footer-brand p{display:none!important;}
.footer-social{
  max-width:360px!important;
  justify-self:end!important;
}
.footer-social h3{
  font-size:18px!important;
  margin:0 0 9px!important;
  line-height:1.05!important;
}
.social-icons{
  gap:9px!important;
  margin:0 0 10px!important;
}
.social-icons a{
  width:38px!important;
  height:38px!important;
}
.social-icons a .app-icon{
  width:24px!important;
  height:24px!important;
}
.social-icons a .app-icon svg{
  width:14px!important;
  height:14px!important;
}
.footer-social p{
  font-size:13px!important;
  line-height:1.45!important;
  margin:0!important;
}
.footer-bottom{
  margin-top:18px!important;
  padding-top:12px!important;
  font-size:12px!important;
}

@media (max-width:1050px){
  .mosaic-gallery,
  .gallery-playa,
  .gallery-propiedades,
  .reviews-gallery{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    grid-auto-rows:170px!important;
    gap:16px!important;
  }
  .reviews-gallery{grid-auto-rows:280px!important;}
  .gallery-playa figure:nth-child(1),
  .gallery-playa figure:nth-child(5),
  .gallery-playa figure:nth-child(8),
  .gallery-propiedades figure:nth-child(1),
  .gallery-propiedades figure:nth-child(6),
  .gallery-propiedades figure:nth-child(9){grid-column:span 1!important;}
}
@media (max-width:720px){
  .mosaic-gallery,
  .gallery-playa,
  .gallery-propiedades,
  .reviews-gallery{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-auto-rows:150px!important;
    gap:12px!important;
  }
  .reviews-gallery{grid-auto-rows:245px!important;}
  .gallery-playa figure:nth-child(1),
  .gallery-propiedades figure:nth-child(1){grid-column:span 2!important;}
  .footer{padding:26px 0 14px!important;}
  .footer-grid{grid-template-columns:1fr!important;gap:18px!important;}
  .footer-social{justify-self:start!important;}
  .footer-brand img{width:62px!important;height:62px!important;}
  .footer-brand strong{font-size:14px!important;}
}
@media (max-width:460px){
  .mosaic-gallery,
  .gallery-playa,
  .gallery-propiedades,
  .reviews-gallery{
    grid-template-columns:1fr!important;
    grid-auto-rows:230px!important;
  }
  .reviews-gallery{grid-auto-rows:360px!important;}
  .gallery-playa figure:nth-child(1),
  .gallery-propiedades figure:nth-child(1){grid-column:span 1!important;}
}


/* === Cambios puntuales solicitados 25-06-26: grillas móviles 2 columnas + lightbox === */
.mosaic-gallery figure{cursor:zoom-in;}

@media (max-width:720px){
  .mosaic-gallery,
  .gallery-playa,
  .gallery-propiedades,
  .reviews-gallery{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
    column-count:initial!important;
    column-gap:initial!important;
  }
  .mosaic-gallery figure,
  .mosaic-gallery figure.wide,
  .mosaic-gallery figure.tall,
  .gallery-playa figure,
  .gallery-propiedades figure,
  .reviews-gallery figure,
  .reviews-gallery figure.tall,
  .reviews-gallery figure:not(.tall){
    grid-column:span 1!important;
    grid-row:span 1!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
  }
  .gallery-playa figure,
  .gallery-propiedades figure{aspect-ratio:1/1;}
  .reviews-gallery figure{aspect-ratio:3/4;}
  .mosaic-gallery img{width:100%!important;height:100%!important;object-fit:cover!important;}
  .reviews-gallery img{object-fit:cover!important;object-position:top center!important;}
}

@media (max-width:460px){
  .mosaic-gallery,
  .gallery-playa,
  .gallery-propiedades,
  .reviews-gallery{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-auto-rows:auto!important;
  }
}

.lightbox{
  position:fixed;
  inset:0;
  z-index:9999;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.92);
  padding:22px;
}
.lightbox.is-open{display:flex;}
.lightbox img{
  max-width:min(96vw,1400px);
  max-height:88vh;
  width:auto;
  height:auto;
  object-fit:contain;
  border-radius:12px;
  box-shadow:0 18px 70px rgba(0,0,0,.6);
}
.lightbox button{
  position:absolute;
  border:0;
  background:rgba(255,255,255,.14);
  color:#fff;
  width:48px;
  height:48px;
  border-radius:50%;
  font-size:30px;
  line-height:1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  backdrop-filter:blur(12px);
}
.lightbox button:hover{background:rgba(255,255,255,.24);}
.lightbox-close{top:18px;right:18px;}
.lightbox-prev{left:18px;top:50%;transform:translateY(-50%);}
.lightbox-next{right:18px;top:50%;transform:translateY(-50%);}
.lightbox-counter{
  position:absolute;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  color:#fff;
  background:rgba(255,255,255,.13);
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  padding:8px 13px;
  font-size:13px;
  font-weight:800;
}
@media (max-width:720px){
  .lightbox{padding:12px;}
  .lightbox img{max-width:96vw;max-height:84vh;border-radius:10px;}
  .lightbox button{width:42px;height:42px;font-size:26px;}
  .lightbox-prev,.lightbox-next{display:none;}
}

/* === Corrección final solicitada: guía restaurada + galerías uniformes === */
.gallery-playa,
.gallery-propiedades,
.reviews-gallery{
  display:grid!important;
  grid-auto-flow:row!important;
  gap:18px!important;
  align-items:stretch!important;
  column-count:initial!important;
  column-gap:initial!important;
}
.gallery-playa{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-rows:180px!important;}
.gallery-propiedades{grid-template-columns:repeat(5,minmax(0,1fr))!important;grid-auto-rows:170px!important;}
.reviews-gallery{grid-template-columns:repeat(5,minmax(0,1fr))!important;grid-auto-rows:300px!important;}
.gallery-playa figure,
.gallery-propiedades figure,
.reviews-gallery figure,
.gallery-playa figure.wide,
.gallery-propiedades figure.wide,
.reviews-gallery figure.wide,
.gallery-playa figure.tall,
.gallery-propiedades figure.tall,
.reviews-gallery figure.tall{
  grid-column:span 1!important;
  grid-row:span 1!important;
  width:100%!important;
  height:100%!important;
  margin:0!important;
}
.gallery-playa img,
.gallery-propiedades img,
.reviews-gallery img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
}
.reviews-gallery img{object-position:top center!important;}
.guide-section{min-height:78vh;padding:100px 0;}
.guide-content{position:relative;z-index:2;}
.guide-content p{font-size:20px;max-width:680px;margin:22px 0 30px;color:#e3edf7;}
@media (max-width:1050px){
  .gallery-playa,.gallery-propiedades,.reviews-gallery{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  .gallery-playa,.gallery-propiedades{grid-auto-rows:165px!important;}
  .reviews-gallery{grid-auto-rows:280px!important;}
}
@media (max-width:720px){
  .gallery-playa,.gallery-propiedades,.reviews-gallery{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
  }
  .gallery-playa,.gallery-propiedades{grid-auto-rows:150px!important;}
  .reviews-gallery{grid-auto-rows:245px!important;}
}
@media (max-width:460px){
  .gallery-playa,.gallery-propiedades,.reviews-gallery{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .gallery-playa,.gallery-propiedades{grid-auto-rows:142px!important;}
  .reviews-gallery{grid-auto-rows:230px!important;}
}
