body {
  min-height: 100%;
  color: #1a3b5d;
}

html {
  min-height: 100%;
}

.cloud-bg-overlay {
  background: linear-gradient(
    to bottom,
    rgba(240, 246, 252, 0.9),
    rgba(240, 246, 252, 0.8),
    rgba(255, 255, 255, 0.95)
  );
}

.orbit-path {
  border: 2px dashed #cbd5e1;
  border-radius: 50%;
}

.glass-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(26, 59, 93, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.85);
}

.diagram {
  position: relative;
  width: min(320px, 90vw);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.diagram-ring {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: conic-gradient(
    from 210deg,
    rgba(250, 154, 93, 0.8),
    rgba(47, 128, 237, 0.9),
    rgba(250, 154, 93, 0.8)
  );
  box-shadow: 0 14px 30px rgba(26, 59, 93, 0.18);
}

.diagram-core {
  position: relative;
  z-index: 1;
  width: 58%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fdfefe 0%, #eef4fb 70%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    inset 0 0 14px rgba(255, 255, 255, 0.6),
    0 10px 24px #1a3b5d24;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
}

.diagram-node {
  position: absolute;
  padding: 6px 10px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.75rem;
  color: #fff;
  box-shadow: 0 10px 20px rgba(26, 59, 93, 0.18);
  white-space: nowrap;
}
@media (min-width: 640px) {
  .diagram-node {
    padding: 8px 14px;
    font-size: 0.875rem;
  }
}

.node-orange {
  background: linear-gradient(90deg, #ffad77 0%, #fa9a5d 100%);
}

.node-blue {
  background: linear-gradient(90deg, #6ac3ff 0%, #2f80ed 100%);
}

.orbit-path {
  border: 2px dashed #cbd5e1;
  border-radius: 50%;
}

.cloud-divider {
  position: relative;
  height: 100px;
  width: 100%;
  overflow: hidden;
  background: transparent;
}

.texture-overlay {
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%239C92AC' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.frosted-glass {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-display {
  font-family: 'Montserrat', sans-serif;
}

.diagram-node-top-center {
  top: 2%;
  left: 50%;
  transform: translateX(-50%);
}

.diagram-node-left-center {
  left: -2%;
  top: 50%;
  transform: translateY(-50%);
}
@media (min-width: 640px) {
  .diagram-node-left-center {
    left: -6%;
  }
}

.diagram-node-right-center {
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
}
@media (min-width: 640px) {
  .diagram-node-right-center {
    right: -6%;
  }
}

.diagram-node-bottom-center {
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
}

.animate-spin-slow {
  animation: spin 60s linear infinite;
}

.corner-badge-offset {
  transform: translate(15%, -15%);
}

.icon-64 {
  font-size: 48px;
}
@media (min-width: 768px) {
  .icon-64 {
    font-size: 64px;
  }
}

/* ============================================================
   BOTONES REUTILIZABLES
   ============================================================ */

/* Base compartida */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 150ms ease;
  border: none;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}

/* Primario naranja (sólido) */
.btn-primary {
  background-color: #fa9d6b;
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 14px rgba(250, 157, 107, 0.35);
}
.btn-primary:hover {
  background-color: #fb8c4d;
  box-shadow: 0 6px 20px rgba(250, 157, 107, 0.45);
}

/* Secundario azul (sólido) */
.btn-secondary {
  background-color: #486b99;
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 14px rgba(72, 107, 153, 0.3);
}
.btn-secondary:hover {
  background-color: #3a5a84;
  box-shadow: 0 6px 20px rgba(72, 107, 153, 0.4);
}

/* Outline gris */
.btn-outline {
  background: transparent;
  color: #475569;
  border: 2px solid #94a3b8;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
}
.btn-outline:hover {
  background: #f1f5f9;
}

/* Ghost / Pill */
.btn-ghost {
  background: #fff;
  color: #486b99;
  border: 1px solid #e2e8f0;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  font-weight: 600;
}
.btn-ghost:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Gradientes (alias para compatibilidad) */
.btn-gradient {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.375rem;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(26, 59, 93, 0.18);
  transition:
    transform 150ms ease,
    box-shadow 150ms ease,
    filter 150ms ease;
}
.btn-gradient:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(26, 59, 93, 0.22);
  filter: brightness(1.02);
}
.btn-gradient:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(26, 59, 93, 0.2);
  filter: brightness(0.98);
}
.btn-gradient-orange {
  background: linear-gradient(90deg, #ff9966 0%, #fa9d6b 100%);
  color: #1e293b;
} /* texto oscuro: ratio ≥7:1 sobre fondo claro */
.btn-gradient-blue {
  background: linear-gradient(90deg, #1b78b5 0%, #486b99 100%);
} /* inicio oscurecido: ratio ≥4.77:1 con texto blanco */

/* ============================================================
   TARJETAS REUTILIZABLES
   ============================================================ */

/* Glassmorphism */
.card-glass {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(26, 59, 93, 0.1);
  padding: 1.5rem;
}

/* Tarjeta estadística */
.card-stat {
  background: #fff;
  border-radius: 0.75rem;
  border: 1px solid #f1f5f9;
  box-shadow: 0 4px 12px rgba(26, 59, 93, 0.08);
  padding: 1rem;
  text-align: center;
}

/* Tarjeta feature */
.card-feature {
  background: rgba(240, 246, 252, 0.5);
  border-radius: 1.5rem;
  border: 1px solid #bfdbfe;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

/* Tarjeta testimonial */
.card-testimonial {
  background: #f8fafc;
  border-radius: 0.75rem;
  border: 1px solid #f1f5f9;
  padding: 1rem;
}

/* ============================================================
   FORMULARIOS REUTILIZABLES
   ============================================================ */

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.6);
  color: #1e293b;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition:
    box-shadow 150ms ease,
    border-color 150ms ease;
}
.form-input::placeholder {
  color: #94a3b8;
}
.form-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px #fa9a5d;
  border-color: transparent;
}

/* ============================================================
   ICONOS CIRCULARES REUTILIZABLES
   ============================================================ */

.icon-circle {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============================================================
   SOMBRAS REUTILIZABLES PARA TARJETAS
   ============================================================ */

.card-shadow {
  box-shadow: 0 10px 25px rgba(26, 59, 93, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* ============================================================
   DREAMOMS FLYWHEEL — Ecosistema Femenino
   Colores con contraste WCAG AA sobre texto blanco:
   · Maternidad   #C2410C  (5.20:1)
   · Mujer        #BE185D  (5.74:1)
   · Salud Mental #1E40AF  (8.59:1)
   · Empresas     #0F766E  (5.18:1)
   ============================================================ */

/* Estructura adaptada de webfx (.revenue-flywheel) */
.dreamoms-flywheel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  padding: 24px 12px;
}
@media (min-width: 1280px) {
  .dreamoms-flywheel {
    max-width: 780px;
    padding: 40px 20px;
  }
}

.dreamoms-flywheel .flywheel-content-wrapper {
  position: absolute;
  top: 24px;
  left: 12px;
  right: 12px;
  bottom: 24px;
  pointer-events: none;
  z-index: 2;
}
@media (min-width: 1280px) {
  .dreamoms-flywheel .flywheel-content-wrapper {
    top: 40px;
    left: 20px;
    right: 20px;
    bottom: 40px;
  }
}

.dreamoms-flywheel .flywheel-content {
  position: absolute;
  max-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease,
    transform 0.4s ease;
  pointer-events: none;
}

.dreamoms-flywheel .flywheel-content.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Posicionamiento por cuadrante — porcentajes equivalentes a webfx (110/553≈20%, 90/553≈16%) */
.dreamoms-flywheel .flywheel-content[data-index='0'] {
  top: 20%;
  left: 0;
  text-align: left;
}
.dreamoms-flywheel .flywheel-content[data-index='1'] {
  top: 16%;
  right: 0;
  text-align: right;
}
.dreamoms-flywheel .flywheel-content[data-index='2'] {
  bottom: 18%;
  left: 0;
  text-align: left;
}
.dreamoms-flywheel .flywheel-content[data-index='3'] {
  bottom: 20%;
  right: 0;
  text-align: right;
}

/* Stat highlight (cifra destacada) */
.dreamoms-flywheel .flywheel-content-stat {
  margin-top: 0.5rem;
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.3;
}

/* Fuente / source */
.dreamoms-flywheel .flywheel-content-source {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  font-style: italic;
  color: #475569;
  line-height: 1.3;
}

/* Tablet (≤1024px): tipografía más chica, igual que webfx */
@media (max-width: 1024px) {
  .dreamoms-flywheel .flywheel-content {
    max-width: 160px;
  }
  .dreamoms-flywheel .flywheel-content-heading,
  .dreamoms-flywheel .flywheel-content-description {
    font-size: 14px;
  }
}

/* Mobile (≤767px): apila descripciones arriba/abajo del wheel y oculta líneas de extensión */
@media (max-width: 767px) {
  .dreamoms-flywheel {
    padding: 30px 10px 108px;
  }
  .dreamoms-flywheel .flywheel-extension {
    display: none;
  }
  .dreamoms-flywheel .flywheel-content-wrapper {
    inset: 0;
  }
  .dreamoms-flywheel .flywheel-content {
    max-width: 100%;
    width: 100%;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
    text-align: center !important;
    padding: 0 20px;
  }
  .dreamoms-flywheel .flywheel-content[data-index='0'],
  .dreamoms-flywheel .flywheel-content[data-index='1'] {
    top: 0;
    bottom: auto;
  }
  .dreamoms-flywheel .flywheel-content[data-index='2'],
  .dreamoms-flywheel .flywheel-content[data-index='3'] {
    bottom: 0;
    top: auto;
  }
  .dreamoms-flywheel .flywheel-content.active {
    transform: translateX(-50%) translateY(0);
  }
  .dreamoms-flywheel .flywheel-content-heading {
    font-size: 18px;
  }
  .dreamoms-flywheel .flywheel-content-description {
    font-size: 16px;
    line-height: 1.5;
  }
}

.dreamoms-flywheel .flywheel-content.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dreamoms-flywheel .flywheel-content-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 6px 0;
}

.dreamoms-flywheel .flywheel-content-description {
  color: #222;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
}

.dreamoms-flywheel .flywheel-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  position: relative;
  z-index: 1;
}

/* Cuadrantes */
.dreamoms-flywheel .flywheel-quadrant {
  cursor: pointer;
  transition:
    d 450ms cubic-bezier(0.4, 0, 0.2, 1),
    filter 250ms ease,
    transform 250ms ease;
  transform-origin: center;
  transform-box: fill-box;
}
.dreamoms-flywheel .flywheel-quadrant:hover {
  filter: brightness(1.05);
}
.dreamoms-flywheel .flywheel-quadrant:focus-visible {
  outline: 3px solid #1a3b5d;
  outline-offset: 2px;
}

.dreamoms-flywheel .flywheel-arrow,
.dreamoms-flywheel .flywheel-text-path {
  pointer-events: none;
  user-select: none;
}

/* Líneas de extensión: estado base muestra solo la corta */
.dreamoms-flywheel .extension-expanded {
  opacity: 0;
  transition: opacity 350ms ease;
}
.dreamoms-flywheel .line-extended {
  opacity: 0;
  transition: opacity 350ms ease;
}
.dreamoms-flywheel .line-initial {
  opacity: 1;
  transition: opacity 350ms ease;
}
.dreamoms-flywheel .line-dot {
  opacity: 0;
  transition: opacity 350ms ease 150ms;
}

.dreamoms-flywheel .flywheel-extension.active .extension-expanded {
  opacity: 1;
}
.dreamoms-flywheel .flywheel-extension.active .line-extended {
  opacity: 1;
}
.dreamoms-flywheel .flywheel-extension.active .line-initial {
  opacity: 0;
}
.dreamoms-flywheel .flywheel-extension.active .line-dot {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .dreamoms-flywheel .flywheel-quadrant,
  .dreamoms-flywheel .flywheel-content,
  .dreamoms-flywheel .extension-expanded,
  .dreamoms-flywheel .line-extended,
  .dreamoms-flywheel .line-initial,
  .dreamoms-flywheel .line-dot {
    transition: none;
  }
}

/* Colores semánticos para títulos */
.dreamoms-flywheel .text-q-maternidad {
  color: #c2410c;
}
.dreamoms-flywheel .text-q-mujer {
  color: #be185d;
}
.dreamoms-flywheel .text-q-salud {
  color: #1e40af;
}
.dreamoms-flywheel .text-q-empresas {
  color: #0f766e;
}

/* Sección hero a ancho completo */
.hero-fullbleed {
  width: 100%;
  padding-inline: clamp(1rem, 4vw, 3rem);
}
