/* ==========================================================================
   1. VARIABLES GLOBALES Y PALETA DE COLORES
   ========================================================================== */
:root {
  --primary-color: #58999A;
  /* Verde agua extraído del logo (fondos, bordes, decoración) */
  --primary-dark: #3D7273;
  /* Verde oscuro para TEXTO: cumple el contraste mínimo de accesibilidad */
  --cta-color: #FBF4E1;
  /* Crema botones */
  --cta-hover: #F2E4BF;
  --text-dark: #112C2C;
  /* Verde oscuro estilo Elementor */
  --text-muted: #4A5568;
  --bg-white: #FFFFFF;
  --bg-light: #F9FBFC;
  --bg-soft: #EFF6F5;

  --font-main: 'Poppins', system-ui, -apple-system, sans-serif;

  --header-height: 95px;
  /* Alto de la cabecera fija con el logo entero original */
}

/* ==========================================================================
   2. FUENTES LOCALES (WOFF2)
   ========================================================================== */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/poppins-v24-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/poppins-v24-latin-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/poppins-v24-latin-700.woff2') format('woff2');
}

/* ==========================================================================
   3. RESET MÍNIMO OPTIMIZADO
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 100%;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq,
.contacto,
.cta-final,
.resenas,
.modalidades {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

/* ==========================================================================
   3.b ACCESIBILIDAD
   ========================================================================== */
:focus-visible {
  outline: 3px solid var(--primary-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

.section-band :focus-visible,
.cta-final :focus-visible,
.header :focus-visible {
  outline-color: #FFFFFF;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 1000;
  background-color: var(--cta-color);
  color: var(--text-dark);
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   4. HEADER Y NAVEGACIÓN (CON LOGO ÍNTEGRO Y FONDO VERDE)
   ========================================================================== */
.header {
  background-color: var(--primary-color);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 15px rgba(17, 44, 44, 0.08);
  padding: 8px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* Logo + Lema en el Header */
.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

/* Imagen del emblema circular */
.logo-img {
  height: 60px; /* Altura perfecta para la cabecera */
  width: auto;
  display: block;
  filter: brightness(0) invert(1); /* Pasa el icono a blanco puro */
  transition: transform 0.3s ease;
}

.logo-link:hover .logo-img {
  transform: scale(1.04);
}

/* Lema con estilo Slogan fino y elegante */
.logo-claim {
  display: none; /* En móviles se oculta para no apretar el menú */
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.35); /* Línea vertical separadora */
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.72rem;
  font-weight: 400; /* Letra fina */
  letter-spacing: 3px; /* Espaciado entre letras tipo eslogan */
  text-transform: uppercase;
  line-height: 1.2;
}

/* A partir de pantallas de tablet y ordenador se muestra el lema */
@media (min-width: 600px) {
  .logo-claim {
    display: block;
  }
}

@media (min-width: 768px) {
  .logo-img-completo {
    height: 82px;
  }
}

/* Lista del Menú */
.nav-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-block;
  text-decoration: none;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 2px;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--cta-color);
}

@media (min-width: 600px) {
  .nav-list {
    gap: 30px;
  }
}

.nav-item-extra {
  display: none;
}

@media (min-width: 1100px) {
  .nav-item-extra {
    display: block;
  }
}

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */
.hero {
  background-color: var(--bg-white);
  color: var(--text-dark);
  padding: 26px 0 45px;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.hero-encabezado {
  text-align: center;
  max-width: 580px;
}

.hero-image {
  width: 100%;
  max-width: 450px;
}

.hero-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

.hero-content {
  text-align: center;
  max-width: 580px;
}

.hero-subtitle {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0;
}

.hero-content h1 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
  margin-bottom: 16px;
  text-wrap: balance;
}

.hero-intro {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 15px;
  line-height: 1.5;
}

.hero-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 25px;
}

.btn,
.btn-resenas {
  display: inline-block;
  background-color: var(--cta-color);
  color: var(--text-dark);
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.btn:hover,
.btn:focus-visible,
.btn-resenas:hover,
.btn-resenas:focus-visible {
  background-color: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.btn-resenas {
  padding: 14px 38px;
}

@media (min-width: 600px) {
  .hero-subtitle {
    font-size: 1.15rem;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }
}

@media (min-width: 850px) {
  .hero {
    padding: 70px 0;
  }

  .hero-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    grid-template-areas:
      "foto titular"
      "foto cuerpo";
    align-content: center;
    column-gap: 50px;
    row-gap: 0;
  }

  .hero-image {
    grid-area: foto;
    max-width: 460px;
    align-self: center;
  }

  .hero-encabezado {
    grid-area: titular;
    align-self: end;
    max-width: none;
  }

  .hero-content {
    grid-area: cuerpo;
    align-self: start;
    max-width: none;
  }

  .hero-content h1 {
    font-size: 1.85rem;
  }
}

/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP
   ========================================================================== */
.whatsapp-pill {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #128C4A;
  color: #FFFFFF;
  padding: 12px 22px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 18px rgba(18, 140, 74, 0.35);
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-pill:hover,
.whatsapp-pill:focus-visible {
  background-color: #0E7038;
  transform: translateY(-3px);
  box-shadow: 0 6px 22px rgba(18, 140, 74, 0.55);
}

.whatsapp-pill svg {
  flex-shrink: 0;
}

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  background-color: rgba(255, 255, 255, 0.97);
  border-top: 1px solid rgba(17, 44, 44, 0.08);
  box-shadow: 0 -4px 20px rgba(17, 44, 44, 0.1);
}

.mobile-cta-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 10px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
}

.mobile-cta-wa {
  background-color: #128C4A;
  color: #FFFFFF;
}

@media (min-width: 700px) {
  .mobile-cta {
    display: none;
  }
}

@media (max-width: 699px) {
  .whatsapp-pill {
    display: none;
  }
}

/* ==========================================================================
   BANDA DE TÍTULO REUTILIZABLE
   ========================================================================== */
.section-band {
  background-color: var(--primary-color);
  padding: 22px 20px;
  text-align: center;
  margin-bottom: 60px;
}

.section-band h2 {
  color: #FFFFFF;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
}

@media (min-width: 850px) {
  .section-band h2 {
    font-size: 1.9rem;
  }
}

/* ==========================================================================
   7. SECCIÓN MI FORMA DE TRABAJAR (BARRAS ANIMADAS)
   ========================================================================== */
.metodologia {
  background-color: var(--bg-white);
  padding-bottom: 80px;
}

.metodologia-container {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.metodologia-texto {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.metodologia-texto p {
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 1.8;
}

.metodologia-texto strong {
  color: var(--primary-dark);
}

.metodologia-barras {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
}

.barra-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.barra-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.barra-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}

.barra-valor {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  font-variant-numeric: tabular-nums;
}

.barra-fondo {
  background-color: rgba(88, 153, 154, 0.08);
  border-radius: 50px;
  height: 32px;
  overflow: hidden;
  border: 1px solid rgba(88, 153, 154, 0.18);
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
}

.barra-relleno {
  position: relative;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #F2E4BF 0%, var(--cta-color) 60%, #FFF9EC 100%);
  border-radius: 50px;
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 2px 8px rgba(251, 244, 225, 0.8), inset 0 1px 1px rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

.barra-relleno::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.75) 50%,
    transparent 100%
  );
  animation: barraBrillo 3s infinite;
}

@keyframes barraBrillo {
  0% { left: -100%; }
  30% { left: 150%; }
  100% { left: 150%; }
}

.js .barra-relleno {
  width: 0;
}

@media (prefers-reduced-motion: reduce) {
  .barra-relleno::after {
    animation: none;
  }
}

@media (min-width: 850px) {
  .metodologia-container {
    flex-direction: row;
    align-items: center;
    gap: 70px;
  }

  .metodologia-texto {
    flex: 1.1;
  }

  .metodologia-barras {
    flex: 1;
  }
}

/* ==========================================================================
   SECCIÓN SOBRE MÍ
   ========================================================================== */
.sobremi {
  background-color: var(--bg-white);
  padding-bottom: 80px;
}

.sobremi-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.sobremi-texto {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sobremi-texto p {
  color: var(--text-dark);
  font-size: 1.02rem;
  line-height: 1.8;
}

.sobremi-texto strong {
  color: var(--text-dark);
  font-weight: 700;
}

.sobremi-galeria {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto 45px;
}

.sobremi-galeria::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 14px;
  width: 100%;
  height: 100%;
  background-color: rgba(88, 153, 154, 0.2);
  border-radius: 16px;
  z-index: 1;
}

.sg-item {
  margin: 0;
}

.sg-grande img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(17, 44, 44, 0.08);
}

.sg-superpuesta {
  position: absolute;
  z-index: 3;
  bottom: -32px;
  left: -3%;
  width: 44%;
}

@media (min-width: 600px) {
  .sg-superpuesta {
    bottom: -38px;
    left: -6%;
    width: 42%;
  }
}

.sg-superpuesta img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  border: 6px solid var(--bg-white);
  box-shadow: 0 12px 28px rgba(17, 44, 44, 0.16);
}

@media (min-width: 850px) {
  .sobremi-container {
    flex-direction: row;
    align-items: center;
    gap: 60px;
  }

  .sobremi-texto {
    flex: 1.2;
  }

  .sobremi-galeria {
    flex: 0.9;
  }
}

/* ==========================================================================
   SECCIÓN RESEÑAS
   ========================================================================== */
.resenas {
  background-color: var(--bg-light);
  padding: 80px 0;
  text-align: center;
}

.resenas-title {
  color: var(--primary-dark);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.resenas-subtitulo {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 45px;
}

.resenas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 50px;
}

.resenas-card {
  background-color: var(--bg-white);
  border-radius: 16px;
  padding: 35px 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(88, 153, 154, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resenas-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(88, 153, 154, 0.12);
}

.resenas-stars {
  color: #B87500;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.resenas-texto {
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 25px;
  flex-grow: 1;
}

a.resenas-author {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  border-top: 1px solid #F0F4F4;
  padding-top: 15px;
  width: 100%;
  transition: opacity 0.2s ease;
}

a.resenas-author:hover {
  opacity: 0.85;
}

.resenas-google-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  object-fit: contain;
}

.resenas-author-info {
  display: flex;
  flex-direction: column;
}

.resenas-name {
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.95rem;
}

.resenas-verified {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.resenas-cta {
  margin-top: 10px;
}

@media (min-width: 850px) {
  .resenas-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}

/* ==========================================================================
   SECCIÓN: ¿A QUIÉN ACOMPAÑO?
   ========================================================================== */
.target-audience {
  padding: 80px 0;
  background-color: var(--bg-white);
}

.target-header {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 45px;
  text-align: center;
}

.target-img {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
  object-fit: contain;
}

.target-title-group .section-title {
  color: var(--primary-dark);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.target-title-group .section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 5px;
}

.target-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .target-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.target-card {
  background-color: var(--bg-white);
  border-radius: 16px;
  padding: 35px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
}

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

.card-yes {
  border: 2px solid rgba(151, 196, 193, 0.4);
  border-top: 6px solid var(--primary-color);
}

.card-no {
  border: 1.5px solid #EAEAEA;
  border-top: 6px solid #BDC3C7;
}

.target-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--text-dark);
}

.card-yes h3 {
  color: var(--primary-dark);
}

.target-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.target-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.5;
}

.icon-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.icon-check {
  background-color: rgba(151, 196, 193, 0.25);
  color: var(--primary-dark);
}

.icon-cross {
  background-color: #F0F2F3;
  color: #5E6A6B;
}

/* ==========================================================================
   SECCIÓN: ¿EN QUÉ PUEDO AYUDARTE?
   ========================================================================== */
.specialties {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.specialties .section-title {
  color: var(--primary-dark);
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.specialties .section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 50px;
}

.specialties-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 850px;
  margin: 0 auto;
}

.specialty-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
  background-color: var(--bg-white);
  padding: 25px 30px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(151, 196, 193, 0.2);
}

.specialty-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.specialty-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.specialty-item:hover .specialty-img {
  transform: scale(1.06);
}

.specialty-content h3 {
  color: var(--primary-dark);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.specialty-content p {
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .specialty-item {
    grid-template-columns: 120px 1fr;
    gap: 30px;
    padding: 25px 35px;
  }

  .specialty-img {
    width: 120px;
    height: 120px;
  }
}

/* ==========================================================================
   CABECERA DE SECCIÓN REUTILIZABLE
   ========================================================================== */
.section-heading {
  text-align: center;
  margin-bottom: 50px;
}

.section-heading .section-title {
  color: var(--primary-dark);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.25;
  margin-bottom: 8px;
  text-wrap: balance;
}

.section-heading .section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 620px;
  margin: 0 auto;
}

/* ==========================================================================
   SECCIÓN: ¿QUÉ INCLUYE EL ACOMPAÑAMIENTO?
   ========================================================================== */
.incluye {
  background-color: var(--bg-white);
  padding: 80px 0;
}

.incluye-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.incluye-card {
  background-color: var(--bg-white);
  border: 1px solid rgba(88, 153, 154, 0.15);
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 4px 20px rgba(17, 44, 44, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  align-items: start;
}

.incluye-card:hover {
  transform: translateY(-6px);
  border-color: rgba(88, 153, 154, 0.35);
  box-shadow: 0 14px 32px rgba(17, 44, 44, 0.07);
}

.incluye-icono {
  grid-row: 1 / span 2;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: rgba(88, 153, 154, 0.12);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.incluye-card:hover .incluye-icono {
  transform: scale(1.06);
}

.incluye-card-title {
  color: var(--primary-dark);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 6px;
  align-self: center;
}

.incluye-card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

@media (min-width: 640px) {
  .incluye-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .incluye-card {
    display: block;
    padding: 32px 28px;
  }

  .incluye-icono {
    width: 60px;
    height: 60px;
    margin-bottom: 22px;
  }

  .incluye-card-title {
    font-size: 1.15rem;
    margin-bottom: 10px;
  }
}

@media (min-width: 950px) {
  .incluye-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}

/* ==========================================================================
   SECCIÓN: ASÍ SERÁ EL PROCESO
   ========================================================================== */
.proceso {
  background-color: var(--bg-light);
  padding: 80px 0;
}

.proceso-lista {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  max-width: 1000px;
  margin-inline: auto;
}

.proceso-paso {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 35px;
}

.proceso-paso:last-child {
  padding-bottom: 0;
}

.proceso-paso:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 66px;
  bottom: 8px;
  left: 29px;
  width: 2px;
  background-color: rgba(88, 153, 154, 0.3);
}

.proceso-numero {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: #FFFFFF;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(88, 153, 154, 0.35);
}

.proceso-contenido {
  background-color: var(--bg-white);
  border: 1px solid rgba(88, 153, 154, 0.12);
  border-radius: 16px;
  padding: 24px 26px;
  box-shadow: 0 4px 20px rgba(17, 44, 44, 0.03);
}

.proceso-contenido h3 {
  color: var(--primary-dark);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.proceso-contenido p {
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.7;
}

@media (min-width: 850px) {
  .proceso-lista {
    flex-direction: row;
    gap: 30px;
  }

  .proceso-paso {
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    padding-bottom: 0;
  }

  .proceso-paso:not(:last-child)::before {
    top: 30px;
    bottom: auto;
    left: calc(50% + 45px);
    right: calc(-50% + 15px);
    width: auto;
    height: 2px;
  }

  .proceso-numero {
    margin-bottom: 24px;
  }

  .proceso-contenido {
    width: 100%;
    flex-grow: 1;
  }
}

/* ==========================================================================
   SECCIÓN: ELIGE TU MODALIDAD
   ========================================================================== */
.modalidades {
  background-color: var(--bg-white);
  padding: 80px 0;
}

.modalidades-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 950px;
  margin: 0 auto;
}

.modalidad-card {
  background-color: var(--bg-white);
  border: 1px solid rgba(88, 153, 154, 0.2);
  border-top: 6px solid var(--primary-color);
  border-radius: 16px;
  padding: 28px 22px;
  box-shadow: 0 6px 24px rgba(17, 44, 44, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.modalidad-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(88, 153, 154, 0.14);
}

.modalidad-icono {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: rgba(88, 153, 154, 0.12);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.modalidad-title {
  color: var(--primary-dark);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 25px;
}

.modalidad-lista {
  list-style: none;
  margin: 0 0 30px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modalidad-lista li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.5;
}

.btn-modalidad {
  display: block;
  margin-top: auto;
  padding-top: 14px;
  padding-bottom: 14px;
  text-align: center;
  background-color: var(--primary-dark);
  color: #FFFFFF;
}

.btn-modalidad:hover,
.btn-modalidad:focus-visible {
  background-color: var(--text-dark);
}

@media (min-width: 600px) {
  .modalidad-card {
    padding: 38px 32px;
  }

  .modalidad-icono {
    width: 68px;
    height: 68px;
    margin-bottom: 20px;
  }
}

@media (min-width: 768px) {
  .modalidades-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   SECCIÓN: LLAMADA A LA ACCIÓN FINAL
   ========================================================================== */
.cta-final {
  background-color: var(--primary-color);
  padding: 75px 0;
  text-align: center;
}

.cta-final-container {
  max-width: 720px;
}

.cta-final h2 {
  color: #FFFFFF;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta-final p {
  color: #FFFFFF;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 35px;
}

.btn-cta-final {
  padding: 17px 38px;
  font-size: 1.05rem;
  box-shadow: 0 8px 24px rgba(17, 44, 44, 0.18);
}

.btn-cta-final:hover,
.btn-cta-final:focus-visible {
  box-shadow: 0 12px 30px rgba(17, 44, 44, 0.25);
}

@media (min-width: 850px) {
  .cta-final {
    padding: 90px 0;
  }

  .cta-final h2 {
    font-size: 2.4rem;
  }
}

/* ==========================================================================
   SECCIÓN: PREGUNTAS FRECUENTES
   ========================================================================== */
.faq {
  background-color: var(--bg-light);
  padding: 80px 0;
}

.faq-container {
  max-width: 860px;
}

.faq-lista {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background-color: var(--bg-white);
  border: 1px solid rgba(88, 153, 154, 0.18);
  border-radius: 16px;
  padding: 4px 24px;
  box-shadow: 0 4px 18px rgba(17, 44, 44, 0.03);
}

.faq-item[open] {
  border-color: rgba(88, 153, 154, 0.45);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  color: var(--primary-dark);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.4;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(88, 153, 154, 0.12);
  color: var(--primary-dark);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 26px;
  text-align: center;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-respuesta {
  padding: 0 0 20px;
}

.faq-respuesta p {
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 70ch;
}

.faq-ayuda {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 30px;
}

.faq-ayuda a {
  color: var(--primary-dark);
  font-weight: 600;
}

/* ==========================================================================
   SECCIÓN: FORMACIÓN
   Bloque deliberadamente compacto (menos aire y título más pequeño que el
   resto): es una sección de apoyo, no un argumento de venta.
   ========================================================================== */
.formacion {
  background-color: var(--bg-white);
  padding: 60px 0;
}

.formacion-container {
  max-width: 900px;
}

.formacion-heading {
  margin-bottom: 32px;
}

.formacion-heading .section-title {
  font-size: 1.45rem;
}

.formacion-lista {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0;
  padding: 0;
  text-align: left;
}

.formacion-item {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 16px 18px;
  background-color: var(--bg-light);
  border: 1px solid rgba(88, 153, 154, 0.18);
  border-radius: 16px;
}

.formacion-icono {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: rgba(88, 153, 154, 0.12);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.formacion-texto {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.formacion-titulo {
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
}

.formacion-centro {
  color: var(--primary-dark);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.3;
}

/* Línea de formación no reglada: mismo bloque, menor jerarquía */
.formacion-extra {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(88, 153, 154, 0.18);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.formacion-extra-label {
  display: block;
  margin-bottom: 3px;
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

@media (min-width: 700px) {
  .formacion-lista {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .formacion-extra-label {
    display: inline;
    margin-bottom: 0;
  }

  /* En una línea: ETIQUETA · Curso */
  .formacion-extra-label::after {
    content: ' · ';
    color: rgba(88, 153, 154, 0.5);
  }
}

/* ==========================================================================
   SECCIÓN CONTACTO
   ========================================================================== */
.contacto {
  background-color: var(--bg-white);
  padding-bottom: 80px;
}

.contacto-container {
  max-width: 800px;
  text-align: center;
}

.contacto-intro {
  color: var(--text-dark);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 35px;
}

.contacto-canales {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0 0 40px;
  padding: 0;
  text-align: left;
}

.canal {
  display: flex;
  align-items: center;
  gap: 15px;
  height: 100%;
  padding: 16px 18px;
  background-color: var(--bg-white);
  border: 1px solid rgba(88, 153, 154, 0.22);
  border-radius: 16px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(17, 44, 44, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

a.canal:hover,
a.canal:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(88, 153, 154, 0.5);
  box-shadow: 0 12px 26px rgba(17, 44, 44, 0.09);
}

.canal-dato {
  background-color: var(--bg-light);
  box-shadow: none;
}

.canal-icono {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: rgba(88, 153, 154, 0.12);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.canal-texto {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.canal-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.canal-valor {
  color: var(--text-dark);
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

@media (min-width: 600px) {
  .contacto-canales {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* ==========================================================================
   AJUSTE DE AIRE VERTICAL EN MÓVIL
   ========================================================================== */
@media (max-width: 599px) {

  .formacion,
  .resenas,
  .target-audience,
  .specialties,
  .incluye,
  .proceso,
  .modalidades,
  .faq {
    padding-top: 55px;
    padding-bottom: 55px;
  }

  .cta-final {
    padding: 55px 0;
  }

  .metodologia,
  .sobremi,
  .contacto {
    padding-bottom: 55px;
  }

  .section-band {
    margin-bottom: 40px;
  }

  .section-heading,
  .resenas-subtitulo {
    margin-bottom: 35px;
  }
}

/* ==========================================================================
   PÁGINAS DE TEXTO LEGAL
   ========================================================================== */
.page-content {
  max-width: 820px;
  padding-top: 55px;
  padding-bottom: 80px;
}

.page-content h1 {
  color: var(--primary-dark);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 8px;
}

.page-updated {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 35px;
}

.page-content h2 {
  color: var(--text-dark);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 38px 0 12px;
}

.page-content p {
  color: var(--text-dark);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 14px;
}

.page-content ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.page-content li {
  color: var(--text-dark);
  font-size: 0.97rem;
  line-height: 1.7;
  margin-bottom: 9px;
}

.page-content a {
  color: var(--primary-dark);
  font-weight: 600;
}

.datos-titular {
  background-color: var(--bg-light);
  border: 1px solid rgba(88, 153, 154, 0.2);
  border-left: 5px solid var(--primary-color);
  border-radius: 12px;
  padding: 22px 26px;
  margin-bottom: 22px;
}

.datos-titular ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.datos-titular li {
  margin-bottom: 7px;
}

.datos-titular li:last-child {
  margin-bottom: 0;
}

.nota-destacada {
  background-color: rgba(251, 244, 225, 0.55);
  border: 1px solid rgba(242, 228, 191, 0.9);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 22px 0;
}

.nota-destacada p:last-child {
  margin-bottom: 0;
}

.table-wrapper {
  overflow-x: auto;
  margin-bottom: 22px;
  border-radius: 12px;
  border: 1px solid rgba(88, 153, 154, 0.2);
}

.cookies-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.cookies-table th,
.cookies-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(88, 153, 154, 0.15);
}

.cookies-table th {
  background-color: var(--primary-color);
  color: #FFFFFF;
  font-weight: 600;
  white-space: nowrap;
}

.cookies-table tr:last-child td {
  border-bottom: none;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: var(--text-dark);
  color: #E4EDED;
  padding: 45px 0 100px;
  text-align: center;
  font-size: 0.9rem;
}

.footer-logo {
  width: auto;
  height: 110px;
  margin: 0 auto 18px;
}

.footer-brand {
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.footer-claim {
  color: #B9CBCB;
  margin-bottom: 18px;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  padding: 9px 18px;
  border: 1px solid rgba(228, 237, 237, 0.3);
  border-radius: 50px;
  color: #E4EDED;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.footer-social:hover,
.footer-social:focus-visible {
  background-color: rgba(251, 244, 225, 0.12);
  border-color: var(--cta-color);
  color: var(--cta-color);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  margin-bottom: 20px;
}

.footer-nav a {
  color: #E4EDED;
  text-decoration: none;
  border-bottom: 1px solid rgba(228, 237, 237, 0.35);
  padding-bottom: 2px;
}

.footer-nav a:hover {
  color: var(--cta-color);
  border-bottom-color: var(--cta-color);
}

.footer :focus-visible {
  outline-color: var(--cta-color);
}

.footer-copy {
  color: #9FB5B5;
  font-size: 0.82rem;
}