/* ═══════════════════════════════════════════════
   TOKENS
═══════════════════════════════════════════════ */
:root {
  --rosa:        #F2A7BB;
  --rosa-claro:  #FDE8EF;
  --rosa-oscuro: #D4698A;
  --azul:        #7BB8D4;
  --azul-claro:  #D6EEF8;
  --azul-oscuro: #2A4E6C;
  --crema:       #FFFAF7;
  --texto:       #3A3A3A;
  --texto-suave: #6B6B6B;
  --verde-wa:    #25D366;

  --radius-sm:   12px;
  --radius-md:   20px;
  --radius-lg:   32px;
  --radius-pill: 100px;

  --sombra-rosa: 0 8px 32px rgba(242, 167, 187, 0.25);
  --sombra-azul: 0 8px 32px rgba(123, 184, 212, 0.25);
}

/* ═══════════════════════════════════════════════
   BASE
═══════════════════════════════════════════════ */
html, body {
  overflow-x: hidden;
  background-color: var(--crema);
  color: var(--texto);
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img { max-width: 100%; height: auto; }

.fm-script {
  font-family: 'Pacifico', cursive;
  color: var(--rosa-oscuro);
  font-size: 1.5rem;
  line-height: 1.4;
}

.fm-script-sm {
  font-family: 'Pacifico', cursive;
  color: var(--rosa-oscuro);
  font-size: 1.05rem;
  line-height: 1.5;
  margin: 0;
}

/* ═══════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════ */
.fm-nav {
  background-color: var(--crema);
  border-bottom: 1px solid rgba(242, 167, 187, 0.2);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  z-index: 1000;
}

.fm-logo-img {
  height: 100px;
  width: auto;
  border-radius: var(--radius-sm);
}

.fm-nav .nav-link {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--azul-oscuro);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-pill);
  transition: background 0.2s, color 0.2s;
}

.fm-nav .nav-link:hover {
  background: var(--rosa-claro);
  color: var(--rosa-oscuro);
}

.fm-btn-nav {
  background: var(--azul);
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.25rem;
  font-size: 0.95rem;
  border: none;
  transition: background 0.2s, transform 0.15s;
}

.fm-btn-nav:hover {
  background: var(--azul-oscuro);
  color: #fff;
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.fm-hero {
  position: relative;
  padding: 5rem 0 0rem;

}

.fm-hero-texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity:1;
  pointer-events: none;
}

.min-vh-hero {
  min-height: 82vh;
  align-items: stretch !important;
}

/* Eyebrow */
.fm-eyebrow {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--azul-oscuro);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.fm-eyebrow--azul { color: var(--azul); }

/* Título del hero */
.fm-hero-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  line-height: .7;
  color: var(--azul-oscuro);
  margin-bottom: 1.25rem;
}

.fm-hero-title .fm-script {
  font-size: clamp(2.4rem, 5vw, 4rem);
  display: block;
}

.fm-hero-sub {
  font-size: 1.1rem;
  color: var(--texto-suave);
  max-width: 48ch;
  margin-bottom: 2rem;
}

/* Pillars del hero */
.fm-pillar {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(242, 167, 187, 0.35);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--azul-oscuro);
  backdrop-filter: blur(6px);
}

.fm-pillar i { color: var(--rosa); }

/* Foto del hero */
.fm-hero-img-col {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  /* La columna se estira hasta el fondo del hero */
  align-self: stretch;
}

.fm-hero-photo-wrap {
  position: relative;
 
  max-width: 100%;
  /* Empuja la imagen al borde inferior del flex container */
  display: flex;
  align-items: flex-end;
  height: 100%;
}

.fm-hero-photo {
  width: 100%;
  /* Imagen recortada por arriba si el hero es más corto que la foto */
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  /* Sin sombra, sin blob — imagen limpia pegada al suelo */
  filter: drop-shadow(0 -8px 24px rgba(242, 167, 187, 0.18));
}

.fm-hero-quote {
  position: absolute;
  bottom: 50px;
  left: -4%;
  background: rgba(255, 255, 255, 0.9);
  border-left: 3px solid var(--rosa);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.1rem;
  z-index: 2;
  backdrop-filter: blur(8px);
  box-shadow: var(--sombra-rosa);
  max-width: 210px;
}

/* ═══════════════════════════════════════════════
   SEPARADORES DE NUBE (solo hero)
═══════════════════════════════════════════════ */
.fm-sep {
  line-height: 0;
  pointer-events: none;
  margin: -1px 0;
  margin-top: -100px;
  background: none;
}

.fm-sep-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 3;
}

@media(max-width: 992px){
  .fm-sep {
  margin-top: -60px;
}

}

@media(max-width: 502px){
  .fm-sep {
  margin-top: -30px;
}

}

/* ═══════════════════════════════════════════════
   SEPARADORES DE ONDA SVG ANIMADA
═══════════════════════════════════════════════ */
.fm-wave-sep {
  line-height: 0;
  pointer-events: none;
  margin-top: -2px;
  margin-bottom: -2px;
  position: relative;
  z-index: 2;
  /* El fondo del contenedor es el color de la sección de arriba */
  background-color: var(--crema);
}

/* Cuando la sección de arriba es azul claro */
.fm-wave-sep--azul-top { background-color: var(--azul-claro); }

/* Cuando la sección de arriba es rosa claro */
.fm-wave-sep--rosa-top { background-color: var(--rosa-claro); }

.fm-wave {
  display: block;
  width: 100%;
  height: 90px;
}

/* Onda trasera — se mueve más lento en dirección opuesta */
.fm-wave-back {
  animation: fm-wave-b 9s ease-in-out infinite alternate;
  transform-origin: center bottom;
}

/* Onda delantera — se mueve más rápido */
.fm-wave-front {
  animation: fm-wave-f 6s ease-in-out infinite alternate;
  transform-origin: center bottom;
}

@keyframes fm-wave-f {
  0%   { d: path("M0,55 C200,10 440,80 720,40 C1000,0 1240,75 1440,35 L1440,90 L0,90 Z"); }
  50%  { d: path("M0,40 C240,85 500,15 720,55 C940,90 1180,20 1440,50 L1440,90 L0,90 Z"); }
  100% { d: path("M0,65 C180,20 420,90 720,45 C1020,5 1260,80 1440,30 L1440,90 L0,90 Z"); }
}

@keyframes fm-wave-b {
  0%   { d: path("M0,40 C240,90 480,0 720,45 C960,90 1200,10 1440,50 L1440,90 L0,90 Z"); }
  50%  { d: path("M0,60 C200,15 460,85 720,35 C980,0 1220,75 1440,40 L1440,90 L0,90 Z"); }
  100% { d: path("M0,25 C280,80 520,5 720,55 C920,95 1160,20 1440,60 L1440,90 L0,90 Z"); }
}

/* Fallback: navegadores que no soportan d() animado
   — en ese caso la onda queda estática pero visible */
@supports not (d: path("")) {
  .fm-wave-back,
  .fm-wave-front { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  .fm-wave-back,
  .fm-wave-front { animation: none !important; }
}

/* ═══════════════════════════════════════════════
   SECCIONES GENÉRICAS
═══════════════════════════════════════════════ */
.fm-section {
  position: relative;
  padding: 3rem 0;
}

.fm-section-texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity:.7;
  pointer-events: none;
}

.fm-section-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  color: var(--azul-oscuro);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.fm-section-sub {
  color: var(--texto-suave);
  font-size: 1.05rem;
  margin-bottom: 20px;

}

/* Fondos de sección */
.fm-bg-white { background-color: var(--crema); }
.fm-bg-azul  { background-color: var(--azul-claro); }
.fm-bg-rosa  { background-color: var(--rosa-claro); }

/* ═══════════════════════════════════════════════
   SERVICIOS
═══════════════════════════════════════════════ */
.fm-serv-card {
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  height: 100%;
  transition: transform 0.25s, box-shadow 0.25s;
}

.fm-serv-card:hover {
  transform: translateY(-4px);
}

.fm-serv-card--azul {
  background: var(--azul-claro);
 
  box-shadow: var(--sombra-azul);
}

.fm-serv-card--rosa {
  background: var(--rosa-claro);
 
  box-shadow: var(--sombra-rosa);
}

.fm-serv-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  background: #fff;
  color: var(--azul-oscuro);
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}

.fm-serv-card--rosa .fm-serv-icon { color: var(--rosa-oscuro); }

.fm-serv-name {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--azul-oscuro);
  margin-bottom: 0.5rem;
}

/* Franja de servicios secundarios */
.fm-serv-strip {
  background: linear-gradient(135deg, var(--azul-oscuro) 0%, #3a6b8a 100%);
  border-radius: var(--radius-lg);
  padding: 0.25rem 0;
  margin-top: 0.5rem;
}

.fm-serv-strip-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 2rem 2rem;
  color: #fff;
}

.fm-serv-strip-item i {
  font-size: 1.75rem;
  color: var(--rosa);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.fm-serv-strip-item strong {
  display: block;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--azul-claro);
}

.fm-serv-strip-item p {
  font-size: 0.92rem;
  opacity: 0.88;
  margin: 0;
}

.fm-serv-strip-item--mid {
  border-left: 1px solid rgba(255,255,255,0.15);
  border-right: 1px solid rgba(255,255,255,0.15);
}

@media (max-width: 767px) {
  .fm-serv-strip-item--mid {
    border-left: none;
    border-right: none;
    border-top: 1px solid rgba(255,255,255,0.15);
    border-bottom: 1px solid rgba(255,255,255,0.15);
  }
}

/* ═══════════════════════════════════════════════
   ETAPAS — Swiper
═══════════════════════════════════════════════ */
.fm-etapa-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0.5rem;
}

.fm-etapa-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: var(--sombra-rosa);
  flex-shrink: 0;
}

.fm-etapa-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fm-etapa-label {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--azul-oscuro);
  text-align: center;
  margin: 0;
}

.fm-etapa-label span {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--texto-suave);
  display: block;
}

/* ═══════════════════════════════════════════════
   ZIGZAG — Atención Pediátrica
═══════════════════════════════════════════════ */
.fm-zigzag { padding: 0 0 1rem; }

.fm-zz-row {
  padding-bottom: 3rem;
  border-bottom: 1px dashed rgba(123, 184, 212, 0.3);
  margin-bottom: 2.5rem;
}

.fm-zz-row.mb-0 {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.fm-zz-icon-col {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.fm-zz-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
}

.fm-zz-icon--rosa {
  background: var(--rosa-claro);
  color: var(--rosa-oscuro);
  border: 2px solid rgba(242, 167, 187, 0.4);
}

.fm-zz-icon--azul {
  background: var(--azul-claro);
  color: var(--azul-oscuro);
  border: 2px solid rgba(123, 184, 212, 0.4);
}

.fm-zz-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--azul-oscuro);
  margin: 0;
}

.fm-zz-text-col p {
  font-size: 1rem;
  color: var(--texto-suave);
  margin: 0;
  max-width: 42ch;
}

.fm-zz-text-col.text-md-end p { margin-left: auto; }

/* ═══════════════════════════════════════════════
   SOBRE LA DRA.
═══════════════════════════════════════════════ */
.fm-dra-dato {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.fm-dra-dato i {
  color: var(--rosa);
  font-size: 1.1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 22px;
}

.fm-dra-dato strong {
  display: block;
  font-weight: 800;
  color: var(--azul-oscuro);
  font-size: 0.98rem;
}

.fm-dra-dato span {
  font-size: 0.93rem;
  color: var(--texto-suave);
}

/* Pillars de la Dra. */
.fm-dra-pillar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.7);
  border-radius: var(--radius-md);
  padding: 0.65rem 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--azul-oscuro);
  border: 1px solid rgba(123, 184, 212, 0.25);
}

.fm-dra-pillar i { color: var(--rosa); font-size: 1rem; }

/* Galería asimétrica */
.fm-dra-gallery { position: relative; }

.fm-dra-photo {
  border-radius: var(--radius-lg);
  width: 100%;
  object-fit: cover;
  display: block;
}

.fm-dra-photo--main {
}

.fm-dra-gallery .col-5 .fm-dra-photo {
  height: 170px;
}

.fm-dra-quote {
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
  background: rgba(255, 255, 255, 0.9);
  border-left: 3px solid var(--rosa);
  border-radius: var(--radius-md);
  padding: 0.8rem 1.1rem;
  box-shadow: var(--sombra-rosa);
  max-width: 220px;
  z-index: 2;
  backdrop-filter: blur(8px);
}

/* Galería Swiper */
.fm-galeria-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}

/* ═══════════════════════════════════════════════
   TESTIMONIOS
═══════════════════════════════════════════════ */
.fm-testi-card {
  background: var(--rosa-claro);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1.5px solid rgba(242, 167, 187, 0.3);
}

.fm-testi-stars {
  color: #FFB74D;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 2px;
}

.fm-testi-text {
  font-size: 1rem;
  color: var(--texto);
  font-style: italic;
  margin-bottom: 1rem;
  max-width: 52ch;
}

.fm-testi-autor {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--azul-oscuro);
}

.fm-testi-aside {
  padding: 1.5rem;
}

.fm-testi-aside-img {
  border-radius: var(--radius-lg);
  width: 100%;
max-width: 100%;
  object-fit: cover;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* ═══════════════════════════════════════════════
   UBICACIÓN
═══════════════════════════════════════════════ */
.fm-ubicacion-card {
  background: rgba(255,255,255,0.75);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(123, 184, 212, 0.2);
  box-shadow: var(--sombra-azul);
}

.fm-ubicacion-icon {
  font-size: 2rem;
  color: var(--rosa);
}

.fm-ubicacion-dir {
  font-size: 1rem;
  color: var(--texto);
  line-height: 1.8;
}

.fm-mapa-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--sombra-azul);
  border: 3px solid #fff;
}

.fm-mapa-label {
  background: var(--azul-oscuro);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.fm-mapa-wrap iframe {
  display: block;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* ═══════════════════════════════════════════════
   CTA FINAL
═══════════════════════════════════════════════ */
.fm-cta-final {
  position: relative;
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--azul) 0%, #3799eb 100%);
}

.fm-cta-texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  pointer-events: none;
}

.fm-cta-titulo {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.fm-cta-sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
}

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.fm-footer {
  background-color: var(--azul-oscuro);
  padding: 2.5rem 0;
  color: rgba(255, 255, 255, 0.75);
}

.fm-footer-logo {
  height: 80px;
  width: auto;
  border-radius: var(--radius-sm);
}

.fm-footer-tagline {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

.fm-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1rem;
  transition: background 0.2s;
  text-decoration: none;
}

.fm-footer-social a:hover {
  background: var(--rosa);
}

.fm-footer-site {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.fm-footer-copy {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.fm-footer-copy a {
  color: var(--rosa);
  text-decoration: none;
}

.fm-footer-copy a:hover {
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════
   BOTONES
═══════════════════════════════════════════════ */
.fm-btn-rosa {
  background: var(--rosa);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.5rem;
  border: none;
  font-size: 1rem;
  transition: background 0.2s, transform 0.15s;
}

.fm-btn-rosa:hover {
  background: var(--rosa-oscuro);
  color: #fff;
  transform: translateY(-2px);
}

.fm-btn-whatsapp {
  background: var(--verde-wa);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.5rem;
  border: none;
  font-size: 1rem;
  transition: background 0.2s, transform 0.15s;
}

.fm-btn-whatsapp:hover {
  background: #1da851;
  color: #fff;
  transform: translateY(-2px);
}

.fm-btn-outline {
  background: transparent;
  color: var(--azul-oscuro);
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.5rem;
  border: 2px solid var(--azul);
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}

.fm-btn-outline:hover {
  background: var(--azul);
  color: #fff;
}

.fm-btn-azul {
  background: var(--azul);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.5rem;
  border: none;
  font-size: 1rem;
  transition: background 0.2s, transform 0.15s;
}

.fm-btn-azul:hover {
  background: var(--azul-oscuro);
  color: #fff;
  transform: translateY(-2px);
}

.fm-btn-outline-azul {
  background: transparent;
  color: var(--azul-oscuro);
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.5rem;
  border: 2px solid var(--azul-oscuro);
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}

.fm-btn-outline-azul:hover {
  background: var(--azul-oscuro);
  color: #fff;
}

.fm-btn-blanco {
  background: #fff;
  color: var(--azul-oscuro);
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.75rem;
  border: none;
  font-size: 1rem;
  transition: opacity 0.2s, transform 0.15s;
}

.fm-btn-blanco:hover {
  opacity: 0.9;
  color: var(--azul-oscuro);
  transform: translateY(-2px);
}

.fm-btn-whatsapp-outline {
  background: transparent;
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.75rem;
  border: 2px solid var(--verde-wa);
  font-size: 1rem;
  transition: background 0.2s;
}

.fm-btn-whatsapp-outline:hover {
  background: var(--verde-wa);
  color: #fff;
}

.fm-btn-blanco-outline {
  background: transparent;
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.75rem;
  border: 2px solid rgba(255,255,255,0.6);
  font-size: 1rem;
  transition: background 0.2s;
}

.fm-btn-blanco-outline:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* ═══════════════════════════════════════════════
   SWIPER PAGINACIÓN
═══════════════════════════════════════════════ */
.fm-swiper-pag {
  position: relative !important;
  bottom: auto !important;
  margin-top: 1.5rem;
}

.fm-swiper-pag .swiper-pagination-bullet {
  background: var(--rosa);
  opacity: 0.4;
  width: 8px;
  height: 8px;
}

.fm-swiper-pag .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--rosa-oscuro);
}

/* ═══════════════════════════════════════════════
   MARQUEE ARRASTRABLE
═══════════════════════════════════════════════ */
.fm-marquee-wrap {
  /* Contenedor con máscara de fade en los bordes */
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.fm-marquee {
  overflow: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  padding: 0.5rem 0;
  border-top: 1.5px solid rgba(123, 184, 212, 0.25);
  border-bottom: 1.5px solid rgba(123, 184, 212, 0.25);
}

.fm-marquee:active { cursor: grabbing; }

.fm-marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  /* Animación CSS por defecto; JS la pausa al arrastrar */
  animation: fm-scroll 28s linear infinite;
  will-change: transform;
}

/* Pausa la animación cuando el usuario arrastra (clase añadida por JS) */
.fm-marquee-track.is-dragging {
  animation-play-state: paused;
}

@keyframes fm-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.fm-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--azul-oscuro);
  padding: 0.6rem 1.5rem;
  background: rgba(255,255,255,0.6);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(123, 184, 212, 0.2);
  margin: 0.25rem 0.4rem;
  backdrop-filter: blur(4px);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.fm-marquee-item i {
  color: var(--rosa);
  font-size: 0.95rem;
}

.fm-marquee-sep {
  font-size: 0.7rem;
  color: var(--rosa);
  opacity: 0.6;
  padding: 0 0.2rem;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 991px) {
  .fm-hero {
    padding: 3.5rem 0 0rem;
  }

  .min-vh-hero {
    min-height: unset;
  }

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

  .fm-hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .fm-hero-pillars {
    justify-content: center;
  }

  .fm-hero-img-col {
    margin-top: 2rem;
    align-items: center;
  }

  .fm-hero-photo-wrap {
    width: 320px;
    height: auto;
    align-items: flex-end;
  }

  .fm-hero-photo {
    border-radius: var(--radius-lg);
  }

  .fm-hero-quote {
    left: -10px;
    bottom: 50px;
  }

  .fm-dra-gallery {
    margin-top: 3rem;
  }

  .fm-dra-quote {
    right: 0;
    bottom: -2rem;
  }

  .fm-zz-text-col.text-md-end p {
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  .fm-section {
    padding: 3.5rem 0;
  }

  .fm-zz-row {
    padding-bottom: 2rem;
    margin-bottom: 1.5rem;
  }

  .fm-zz-icon-col {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .fm-dra-photo--main {

  }

  .fm-dra-gallery .col-5 .fm-dra-photo {
    height: 120px;
  }

  .fm-testi-text {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}
