/* =========================
   Delta Kinesiología (Premium)
   ========================= */

:root{
  --dk-blue-900: #0a4e6d;  /* principal */
  --dk-blue-700: #2075a1;  /* secundario */
  --dk-blue-300: #77bee6;  /* acento suave */
  --white: #ffffff;
  --ink: #0b1220;

  --radius-xl: 20px;
  --shadow-soft: 0 20px 60px rgba(10, 78, 109, .18);
  --shadow-line: 0 1px 0 rgba(10, 78, 109, .08);

  --container: 1100px;

  --wa-green: #25d33c;
  --wa-green-dark: #1ebe5d;
}

/* Reset básico */
*{ box-sizing: border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
}

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display:block; }

.container{
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(10,78,109,.10);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
}

.brand-logo{
  height: 36px; /* ajustá al logo */
}

.nav{
  display:flex;
  align-items:center;
  gap: 14px;
  font-weight: 600;
  color: rgba(11,18,32,.78);
}

.nav a{
  padding: 10px 10px;
  border-radius: 999px;
}

.nav a:hover{
  background: rgba(119,190,230,.18);
  color: var(--dk-blue-900);
}

.nav-cta{
  background: var(--dk-blue-900);
  color: white !important;
  padding: 10px 14px !important;
  box-shadow: var(--shadow-line);
}

.nav-cta:hover{
  background: #08425d;
}

/* Hero */
.hero{
  position: relative;
  min-height: 72vh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  transform: scale(1.06); /* evita bordes con blur */
  filter: blur(10px) brightness(.85) saturate(.95);
}

.hero-overlay{
  position:absolute;
  inset:0;
  /* overlay premium: gradiente + tinte azul */
  background:
    radial-gradient(1200px 600px at 20% 20%, rgba(119,190,230,.22), transparent 60%),
    linear-gradient(90deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.70) 40%, rgba(10,78,109,.35) 100%);
}

.hero-inner{
  position: relative;
  z-index: 2;
  padding: 26px 0;
  display: grid;
  grid-template-columns: 1fr;
}

.hero-card{
  max-width: 560px;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(10,78,109,.12);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: 22px;
}

.hero-eyebrow{
  margin: 0 0 10px 0;
  font-weight: 700;
  letter-spacing: .4px;
  color: rgba(10,78,109,.82);
}

.hero-title{
  margin: 0 0 10px 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  color: var(--dk-blue-900);
}

.hero-subtitle{
  margin: 0 0 16px 0;
  color: rgba(11,18,32,.72);
  font-size: 16px;
  line-height: 1.6;
}

.hero-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  gap: 10px;  
}

.btn-primary{
  background: var(--wa-green);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(72, 211, 37, 0.28);
}

.btn-primary:hover{
  background: var(--wa-green-dark);
}

.btn-ghost{
  background: rgba(255,255,255,.9);
  border-color: rgba(10,78,109,.18);
  color: var(--dk-blue-900);
}

.btn-ghost:hover{
  background: rgba(119,190,230,.16);
}

.btn i{
  line-height: 1;
  font-size: 25px;
}

.hero-trust{
  display:flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding-top: 8px;
  border-top: 1px solid rgba(10,78,109,.10);
  color: rgba(11,18,32,.72);
  font-weight: 650;
  font-size: 14px;
}

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

.dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--dk-blue-300);
  box-shadow: 0 0 0 4px rgba(119,190,230,.20);
}

/* =========================
   Redes sociales circulares
   ========================= */

.redes-section h2{
  margin: 0 0 8px 0;
  color: var(--dk-blue-900);
}

.redes-section{
  padding: 16px 0;
  background: rgba(119,190,230,.10);
  border-top: 1px solid rgba(10,78,109,.06);
  border-bottom: 1px solid rgba(10,78,109,.06);
}

.redes-circulares{
  display: flex;
  justify-content: start;
  gap: 26px;
  margin-top: 26px;
}

.social-circle{
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  background: #ffffff;
  border: 1px solid rgba(10,78,109,.16);
  box-shadow: 0 14px 34px rgba(10,78,109,.14);

  transition: transform .25s ease, box-shadow .25s ease;
}

.social-circle i{
  font-size: 30px;
}

/* Hover premium */
.social-circle:hover{
  transform: translateY(-6px);
  box-shadow: 0 24px 52px rgba(10,78,109,.22);
}

/* Colores oficiales */
.social-circle.ig i{
  color: #E1306C;
}

.social-circle.fb i{
  color: #1877F2;
}

.social-circle.wa i{
  color: var(--wa-green);
}

/* Mobile */
@media (max-width: 600px){
  .social-circle{
    width: 60px;
    height: 60px;
  }

  .social-circle i{
    font-size: 26px;
  }

  .redes-circulares{
    justify-content: center;
  }

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


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


}

/* =========================
   Obras Sociales – Slider
   ========================= */

.obras-section{
  padding: 64px 0;
  background: #ffffff;
  overflow: hidden;
  
}

.obras-section h2{
  margin: 0 0 8px 0;
  color: var(--dk-blue-900);
}

.obras-section p{
  margin: 0 0 8px 0;
  color: var(--dk-blue-900);
}


/* wrapper visual del slider */
.logos-slider{
  width: 100%;
  overflow: hidden;
  margin-top: 36px;
  position: relative;

  /* margen visual alineado al container */
  padding-left: max(16px, calc((100vw - var(--container)) / 2));
  padding-right: max(16px, calc((100vw - var(--container)) / 2));
}

/* difuminado en bordes */
.logos-slider::before,
.logos-slider::after{
  content: "";
  position: absolute;
  top: 0;
  width: 70px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logos-slider::before{
  left: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0) 100%);
}

.logos-slider::after{
  right: 0;
  background: linear-gradient(270deg, #fff 0%, rgba(255,255,255,0) 100%);
}

.logos-slider:hover .logos-track{
  animation-play-state: paused;
}

.logos-track{
  display: flex;
  width: max-content;
  animation: scroll-logos 40s linear infinite;
}

.logos-track img{
  height: 56px;
  margin: 0 36px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .85;
  transition: filter .25s ease, opacity .25s ease;
}

/* Hover (desktop) */
.logos-track img:hover{
  filter: grayscale(0%);
  opacity: 1;
}

/* Animación */
@keyframes scroll-logos{
  from{
    transform: translateX(0);
  }
  to{
    transform: translateX(-50%);
  }
}

/* Mobile ajustes */
@media (max-width: 600px){
  .logos-track img{
    height: 42px;
    margin: 0 24px;
  }
}

/* =========================
   Opiniones de Google
   ========================= */

  .opiniones-section h2{
  margin: 0 0 8px 0;
  color: var(--dk-blue-900);
  }

  .opiniones-section p{
  margin: 0 0 8px 0;
  color: var(--dk-blue-900);
  }

.opiniones-section{
  padding: 64px 0;
  background: rgba(119,190,230,.10);
  border-top: 1px solid rgba(10,78,109,.06);
  border-bottom: 1px solid rgba(10,78,109,.06);
}

/* Header + rating */
.opiniones-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.rating-box{
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(10,78,109,.12);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: 0 14px 34px rgba(10,78,109,.12);
}

.rating-score{
  font-size: 28px;
  font-weight: 900;
  color: var(--dk-blue-900);
  line-height: 1;
}

.rating-stars{
  color: #f5b301;
  font-size: 16px;
  letter-spacing: 1px;
}

.rating-meta{
  font-size: 13px;
  font-weight: 650;
  color: rgba(11,18,32,.65);
}

/* Slider */
.opiniones-slider{
  margin-top: 26px;
  overflow: hidden;
}

.opiniones-track{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(360px, 86vw);
  gap: 16px;

  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;

  scrollbar-width: none;
}
.opiniones-track::-webkit-scrollbar{
  display: none;
}

/* Card */
.review-card{
  scroll-snap-align: start;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(10,78,109,.12);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 14px 34px rgba(10,78,109,.10);
}

.review-head{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.avatar{
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  background: rgba(119,190,230,.22);
  border: 1px solid rgba(10,78,109,.10);
  color: var(--dk-blue-900);
}

.review-name{
  font-weight: 800;
  color: rgba(11,18,32,.85);
}

.review-stars{
  color: #f5b301;
  font-size: 14px;
  letter-spacing: 1px;
  margin-top: 2px;
}

.review-text{
  margin: 0 0 10px;
  color: rgba(11,18,32,.72);
  line-height: 1.55;
}

.review-date{
  font-size: 13px;
  font-weight: 650;
  color: rgba(11,18,32,.55);
}

/* Controles */
.opiniones-controls{
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.ctrl{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(10,78,109,.16);
  background: rgba(255,255,255,.92);
  color: var(--dk-blue-900);
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(10,78,109,.12);
}

.ctrl:hover{
  background: rgba(119,190,230,.18);
}

/* =========================
   Novedades (Tarjetas con ícono)
   ========================= */

.novedades-section{
  padding: 32px 0;
  background: #ffffff;
}

.novedades-section h2{
  margin: 0 0 8px 0;
  color: var(--dk-blue-900);
}

.novedades-section p{
  margin: 0 0 8px 0;
  color: var(--dk-blue-900);
}

.news-grid{
  margin-top: 22px;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-card{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(10,78,109,.12);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 14px 34px rgba(10,78,109,.10);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.news-card:hover{
  transform: translateY(-5px);
  box-shadow: 0 22px 48px rgba(10,78,109,.18);
}

.news-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.news-pill{
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .6px;
  border: 1px solid rgba(10,78,109,.12);
}

.news-date{
  font-weight: 650;
  font-size: 13px;
  color: rgba(11,18,32,.60);
}

/* Icono circular */
.news-icon{
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 2px 0 12px;
  border: 1px solid rgba(10,78,109,.12);
}

.news-icon i{
  font-size: 22px;
  color: var(--dk-blue-900);
}

.news-title{
  margin: 0 0 8px 0;
  color: var(--dk-blue-900);
  font-size: 18px;
  line-height: 1.25;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-text{
  margin: 0 0 12px 0;
  color: rgba(11,18,32,.72);
  line-height: 1.55;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-link{
  margin-top: auto;

  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: rgba(10,78,109,.92);
}

.news-link:hover{
  text-decoration: underline;
}

/* Variantes (pill + icon background) */
.news-pill.aviso{
  background: rgba(255, 152, 0, .14);
  color: #b75a00;
}
.news-icon.aviso{
  background: rgba(255, 152, 0, .10);
}

.news-pill.servicio{
  background: rgba(32, 117, 161, .14);
  color: #145a7e;
}
.news-icon.servicio{
  background: rgba(32, 117, 161, .10);
}

.news-pill.nuevo{
  background: rgba(24, 197, 1, 0.411);
  color: #0a4e6d;
}
.news-icon.nuevo{
  background: rgba(24, 197, 1, 0.411);
}

/* Mobile: Novedades como mini slider horizontal */
@media (max-width: 600px){
  .news-grid{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(160, 86vw);
    grid-template-columns: 1fr;
    gap: 14px;

    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;

    scrollbar-width: none;
  }
  .news-grid::-webkit-scrollbar{ display:none; }

  .news-card{
    scroll-snap-align: start;
  }
}

/* =========================
   Servicios (Íconos + nombre)
   ========================= */

.servicios-iconos-section{
  padding: 64px 0;
  background: rgba(119,190,230,.10);
  border-top: 1px solid rgba(10,78,109,.06);
  border-bottom: 1px solid rgba(10,78,109,.06);
}

  .servicios-iconos-section h2{
  margin: 0 0 8px 0;
  color: var(--dk-blue-900);
  }

  .servicios-iconos-section p{
  margin: 0 0 8px 0;
  color: var(--dk-blue-900);
  }

.services-icons-grid{
  margin-top: 22px;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.service-icon-card{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(10,78,109,.12);
  border-radius: 18px;
  padding: 16px 12px;
  box-shadow: 0 14px 34px rgba(10,78,109,.10);

  display: grid;
  justify-items: center;
  text-align: center;
  gap: 10px;

  transition: transform .25s ease, box-shadow .25s ease;
}

.service-icon-card:hover{
  transform: translateY(-5px);
  box-shadow: 0 22px 48px rgba(10,78,109,.18);
}

.service-icon-bubble{
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;

  background: rgba(119,190,230,.18);
  border: 1px solid rgba(10,78,109,.12);
}

.service-icon-bubble i{
  font-size: 26px;
  color: var(--dk-blue-900);
}

.service-icon-name{
  font-weight: 900;
  color: rgba(11,18,32,.82);
  line-height: 1.2;
  font-size: 14px;

  /* si el nombre es largo, no rompe la card */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Responsive */
@media (max-width: 1100px){
  .services-icons-grid{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 820px){
  .services-icons-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px){
  .services-icons-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

/* =========================
   Ubicación
   ========================= */

.ubicacion-section{
  padding: 32px 0;
  background: #ffffff;
  border-top: 1px solid rgba(10,78,109,.06);
  border-bottom: 1px solid rgba(10,78,109,.06);
}

.ubicacion-section h2{
  margin: 0 0 8px 0;
  color: var(--dk-blue-900);
}

.ubicacion-section p{
  margin: 0 0 8px 0;
  color: var(--dk-blue-900);
}

.ubicacion-grid{
  margin-top: 22px;
  display: grid;
  grid-template-columns: 
    minmax(0, calc((100vw - var(--container)) / 2 + 1fr))
    minmax(0, 1.2fr);

  gap: 18px;
  align-items: stretch;
}

.ubicacion-card{
  background: rgba(119,190,230,.10);
  border: 1px solid rgba(10,78,109,.12);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 14px 34px rgba(10,78,109,.10);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ubi-row{
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.ubi-icon{
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid rgba(10,78,109,.12);
  flex: 0 0 auto;
}

.ubi-icon i{
  font-size: 18px;
  color: var(--dk-blue-900);
}

.ubi-label{
  font-weight: 900;
  color: rgba(11,18,32,.78);
  font-size: 13px;
}

.ubi-value{
  color: rgba(11,18,32,.72);
  line-height: 1.5;
  margin-top: 2px;
}

.ubi-actions{
  display: flex;
  justify-content: center;
  margin-top: 8px;
  gap: 10px;
  flex-wrap: wrap;
}

.ubi-note{
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(10,78,109,.10);
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(11,18,32,.72);
  font-weight: 650;
}

.map-wrap{
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(10,78,109,.12);
  box-shadow: 0 14px 34px rgba(10,78,109,.10);
  background: #fff;
  min-height: 360px;
}

.map-iframe{
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.ubicacion-columnas{
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 18px;
  align-items: stretch;
}

.unicacion-columnas-texto{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  height: 100%;
}

/* Responsive */
@media (max-width: 900px){
  .ubicacion-grid{
    grid-template-columns: 1fr;
  }
  .map-wrap, .map-iframe{
    min-height: 320px;
  }
  .ubicacion-columnas{
    grid-template-columns: 1fr;
  }  
}

/* =========================
   Profesionales (Dueños)
   ========================= */

.equipo-section{
  padding: 64px 0;
  background: rgba(119,190,230,.10);
}

.equipo-section h2{
  margin: 0 0 8px 0;
  color: var(--dk-blue-900);
}

.equipo-section p{
  margin: 0;
  color: rgba(11,18,32,.70);
}

/* Siempre 2 columnas, también en mobile */
.equipo-grid-fixed{
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.pro-card{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(10,78,109,.12);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 14px 34px rgba(10,78,109,.10);
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}

.pro-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(10,78,109,.16);
}

/* Foto circular */
.pro-avatar{
  width: 132px;
  height: 132px;
  margin: 0 auto 12px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(10,78,109,.12);
  background: rgba(119,190,230,.12);
  box-shadow: 0 10px 22px rgba(10,78,109,.10);
}

.pro-avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Nombre */
.pro-nombre{
  margin: 6px 0 4px 0;
  font-size: 18px;
  font-weight: 900;
  color: var(--dk-blue-900);

  /* evita que rompa el layout */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Rol */
.pro-rol{
  margin: 0 0 10px 0;
  font-weight: 800;
  font-size: 14px;
  color: rgba(10,78,109,.78);
}

/* Matrículas */
.pro-matriculas{
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.matricula{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 850;
  font-size: 12px;

  border: 1px solid rgba(10,78,109,.12);
  background: rgba(119,190,230,.12);
  color: rgba(11,18,32,.78);

  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Ajustes mobile: siguen 2 columnas, pero compacta todo */
@media (max-width: 600px){
  .equipo-grid-fixed{
    gap: 12px;
  }

  .pro-card{
    padding: 14px;
  }

  .pro-avatar{
    width: 92px;
    height: 92px;
    margin-bottom: 10px;
  }

  .pro-nombre{
    font-size: 15px;
  }

  .pro-rol{
    font-size: 13px;
    margin-bottom: 8px;
  }

  .matricula{
    font-size: 11px;
    padding: 7px 10px;
  }
}

/*----------------------------------------------*/

/* Mobile ajustes */
@media (max-width: 600px){
  .opiniones-top{
    justify-content: center;
    text-align: center;
  }

  .rating-box{
    justify-content: center;
  }
}


/* Secciones placeholder */
.placeholder-section{
  padding: 56px 0;
}

.placeholder-section.alt{
  background: rgba(119,190,230,.10);
  border-top: 1px solid rgba(10,78,109,.06);
  border-bottom: 1px solid rgba(10,78,109,.06);
}

.placeholder-section h2{
  margin: 0 0 8px 0;
  color: var(--dk-blue-900);
}

.placeholder-section p{
  margin: 0;
  color: rgba(11,18,32,.70);
}

/* Footer */
.site-footer{
  background: var(--dk-blue-900);
  color: rgba(255,255,255,.92);
  padding: 18px 0;
}

.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}

.footer-links{
  display:flex;
  gap: 14px;
}

.footer-links a{
  color: rgba(255,255,255,.92);
  opacity: .9;
}

.footer-links a:hover{
  opacity: 1;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 820px){
  .nav{ display:none; } /* simple para mobile; luego metemos menú hamburguesa */
  .hero{ min-height: 78vh; }
  .hero-card{ max-width: 100%; }
}

/* =========================
   Header + Hamburguesa clásico
   ========================= */

.nav-desktop{
  display: flex;
}

.menu-toggle{
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(10,78,109,.14);
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 24px rgba(10,78,109,.10);
  cursor: pointer;
  font-size: 22px;
  color: var(--dk-blue-900);
}

/* Mobile menu oculto */
.nav-mobile{
  display: none;
  background: rgba(255,255,255,.95);
  border-top: 1px solid rgba(10,78,109,.10);
}

.nav-mobile a{
  display: block;
  padding: 14px 16px;
  font-weight: 800;
  color: rgba(11,18,32,.78);
}

.nav-mobile a:hover{
  background: rgba(119,190,230,.18);
  color: var(--dk-blue-900);
}

.nav-mobile-cta{
  margin: 10px 16px 16px;
  background: var(--dk-blue-900);
  color: #fff !important;
  border-radius: 999px;
  text-align: center;
}

/* Estado abierto */
.site-header.is-open .nav-mobile{
  display: block;
}

/* Mobile layout */
@media (max-width: 820px){
  .nav-desktop{
    display: none;
  }

  .menu-toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header-mobile{
    position: relative;
    justify-content: center;
  }

  .brand{
    margin: 0 auto;
  }

  .menu-toggle{
    position: absolute;
    left: 0;
    right: auto;
    top: 50%;
    transform: translateY(-50%);
  }

  .brand{
    margin: 0 auto;
  }
}

/* =========================
   WhatsApp Badge (tipo NICAR)
   ========================= */

.whatsapp-badge{
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 999;

  display: flex;
  align-items: center;
  gap: 12px;

  text-decoration: none;
  font-weight: 800;
}

/* Badge de texto */
.wa-badge-text{
  background: #ffffff;
  color: var(--dk-blue-900);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;

  box-shadow: 0 10px 28px rgba(0,0,0,.18);
  white-space: nowrap;

  transition: transform .25s ease, opacity .25s ease;
}

/* Círculo WhatsApp */
.wa-badge-icon{
  width: 56px;
  height: 56px;
  border-radius: 50%;

  background: var(--wa-green);
  color: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 28px;

  box-shadow: 0 18px 40px rgba(37, 211, 102, .45);

  animation: wa-pulse 2.6s infinite;

  transition: transform .25s ease, box-shadow .25s ease;
}

/* Hover */
.whatsapp-badge:hover .wa-badge-icon{
  transform: scale(1.06);
  box-shadow: 0 26px 60px rgba(37, 211, 102, .6);
  animation: none; /* se apaga el pulso al hover */
}

.whatsapp-badge:hover .wa-badge-text{
  transform: translateX(-4px);
}

/* =========================
   Pulse Glow Animado
   ========================= */

@keyframes wa-pulse{
  0%{
    box-shadow:
      0 0 0 0 rgba(37, 211, 102, .45),
      0 18px 40px rgba(37, 211, 102, .45);
  }

  70%{
    box-shadow:
      0 0 0 18px rgba(37, 211, 102, 0),
      0 26px 60px rgba(37, 211, 102, .55);
  }

  100%{
    box-shadow:
      0 0 0 0 rgba(37, 211, 102, 0),
      0 18px 40px rgba(37, 211, 102, .45);
  }
}

/* =========================
   Mobile: solo ícono
   ========================= */

@media (max-width: 600px){
  .wa-badge-text{
    display: none;
  }

  .wa-badge-icon{
    width: 62px;
    height: 62px;
    font-size: 30px;
  }
}

/* =========================
   Slide Panel (Pilates)
   ========================= */

.slide-panel{
  position: fixed;
  inset: 0;
  z-index: 1001;

  background:
    linear-gradient(
      rgba(255,255,255,0.85),
      rgba(255,255,255,0.85)
    ),
    url("assets/img/fondo-pilates.jpeg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateX(100%);
  transition: transform .35s ease;
  overflow-y: auto;
}

.slide-panel ul{
  color: var(--dk-blue-900);
    font-size: 16px;
}

.slide-panel h2{
  color: var(--dk-blue-900);
  font-size: 32px;
}

.slide-panel p{
  color: var(--dk-blue-900);
    font-size: 20px;
}

.ancla-wpp-pilates{
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

/* Panel visible */
.slide-panel.is-open{
  transform: translateX(0);
}

.slide-panel-header{
  position: sticky;
  top: 0;
  z-index: 1;

  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(10,78,109,.10);
  padding: 14px 0;
}

.slide-back{
  margin-left: 16px;
  background: transparent;
  border: none;
  font-weight: 900;
  font-size: 16px;
  color: var(--dk-blue-900);
  cursor: pointer;
}

.slide-back:hover{
  text-decoration: underline;
}

.slide-panel-content{
  padding: 32px 0;
}

/* Desktop: panel más angosto (no full screen) */
@media (min-width: 900px){
  .slide-panel{
    width: 520px;
    left: auto;
    right: 0;
    box-shadow: -24px 0 60px rgba(10,78,109,.25);
  }
}

/* =========================
   Badge Pilates flotante
   ========================= */

.pilates-badge{
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%) translateX(20px);
  z-index: 900;

  display: flex;
  align-items: center;
  gap: 10px;

  background: rgb(255, 255, 255);
  border: 1px solid rgba(10,78,109,.18);
  border-radius: 999px;
  padding: 10px 14px;

  box-shadow:
    0 0 0 0 rgba(119,190,230,.55),
    0 14px 34px rgba(10,78,109,.25);

  opacity: 0;
  pointer-events: none;

  transition:
    opacity .25s ease,
    transform .35s cubic-bezier(.2,.8,.2,1);

  animation: pilates-glow 2.8s infinite ease-in-out;
}

/* visible */
.pilates-badge.is-show{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

/* Contenido clickeable */
.pilates-badge-link{
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--dk-blue-900);
  white-space: nowrap;
}

/* Icono circular */
.pilates-badge-icon{
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;

  background: rgba(119,190,230,.28);
  border: 1px solid rgba(10,78,109,.18);
}


/* Texto */
.pilates-badge-text{
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.pilates-badge-text strong{
  font-size: 14px;
}

.pilates-badge-text span{
  font-size: 12px;
  color: rgba(11,18,32,.6);
  font-weight: 650;
}

/* Botón cerrar */
.pilates-badge-close{
  border: none;
  background: transparent;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  color: rgba(11,18,32,.45);
}

.pilates-badge-close:hover{
  color: var(--dk-blue-900);
}

.pilates-badge-icon{
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;

  display: grid;
  place-items: center;

  background: #0069f34b;
  border: 1px solid rgba(10,78,109,.18);
}

.pilates-badge-icon img{
  width: 100%;
  height: 100%;
  object-fit: cover;   /* recorta bien */
  border-radius: 50%;
}

/* Glow animado estilo neón */
@keyframes pilates-glow{
  0%{
    box-shadow:
      0 0 0 0 rgba(119,190,230,.55),
      0 14px 34px rgba(10,78,109,.25);
  }
  50%{
    box-shadow:
      0 0 0 14px rgba(119,190,230,0),
      0 18px 40px rgba(10,78,109,.32);
  }
  100%{
    box-shadow:
      0 0 0 0 rgba(119,190,230,0),
      0 14px 34px rgba(10,78,109,.25);
  }
}

/* Mobile tweaks */
@media (max-width: 600px){
  .pilates-badge{
    right: 12px;
    padding: 8px 12px;
  }

  .pilates-badge-icon{
    width: 38px;
    height: 38px;
  }

  .pilates-badge-text span{
    display: none; /* más limpio en mobile */
  }
}

