/*
  cardiologohermosillo.mx
  Dr. Santiago Sandoval Navarrete — Cardiólogo Intervencionista
  CSS custom para bloques HTML de Gutenberg
  Prefijo de clases: .ch-
  Versión: 2.7.0

  ÍNDICE
  ──────────────────────────────────────────────
  1.  VARIABLES GLOBALES
  2.  RESET MÍNIMO
  3.  CONTENEDOR BASE
  4.  BOTONES
  5.  HERO
  6.  HEADER
  7.  TRUST BAR
  8.  SERVICIOS
  8b. TARJETA CONSULTA
  8c. CATETERISMO
  9.  SOBRE EL DR.          (pendiente)
  10. TESTIMONIOS           (pendiente)
  11. PODCAST (homepage)
  11b. PODCAST PAGE — Hero
  11c. PODCAST PAGE — Episodio destacado
  11d. PODCAST PAGE — Grilla de episodios
  11e. PODCAST PAGE — Modal
  11f. PODCAST PAGE — CTA bridge
  12. BLOG                  (pendiente)
  13. CONTACTO / FORMULARIO
  14. FOOTER
  15. MEDIA QUERIES (max-width: 768px)
      15a. Variables móvil
      15b. Contenedor
      15c. Hero — imagen y overlay
      15d. Hero — layout inner
      15e. Hero — logo móvil
      15f. Hero — bloque inferior título + CTA
      15g. Hero — tipografía móvil
      15h. Hero — CTA móvil
      15i. Header — transparente sin scroll
      15j. Header — logo: tamaño y al ras
      15k. Header — logo oculto en inicio sin scroll
      15l. Header — hamburguesa
      15m. Header — menú desplegado
      15n. Hero — padding-top compensado
      15o. Trust bar
      15p. Servicios — orden texto arriba
      15q. Tarjeta consulta
      15r. Cateterismo — orden texto arriba
      15s. Formulario móvil
      15t. Podcast homepage móvil
      15u. Podcast page móvil   ← NUEVO v2.7.0
  15v. FOOTER — TABLETA (max-width: 1024px)
  15w. FOOTER — MÓVIL (max-width: 768px)
  16. ACCESIBILIDAD
  ──────────────────────────────────────────────
*/


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   1. VARIABLES GLOBALES
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
:root {
  --ch-navy:           #1B2E5E;
  --ch-blue:           #2BA8D8;
  --ch-blue-dark:      #1B3A6B;
  --ch-blue-text:      #3B6FA0;
  --ch-blue-light:     #D6E8F7;
  --ch-gradient:       linear-gradient(135deg, #4A90D9 0%, #5DD6B0 100%);
  --ch-white:          #FFFFFF;
  --ch-gray-bg:        #E8EAED;
  --ch-gray-light:     #F5F7FA;
  --ch-gray-text:      #555555;
  --ch-dark-text:      #333333;
  --ch-border:         #D8DCE6;
  --ch-spotify:        #1DB954;
  --ch-spotify-dark:   #17a349;
  --ch-font-title:     'Playfair Display', Georgia, serif;
  --ch-font-body:      'Inter', 'Helvetica Neue', Arial, sans-serif;
  --ch-radius:         8px;
  --ch-radius-btn:     50px;
  --ch-radius-card:    12px;
  --ch-shadow:         0 4px 20px rgba(27, 46, 94, 0.12);
  --ch-shadow-hover:   0 8px 32px rgba(27, 46, 94, 0.20);
  --ch-transition:     0.2s ease;
  --ch-section-py:     80px;
  --ch-section-py-sm:  48px;
  --ch-container:      1160px;
}
/* FIN 1. VARIABLES GLOBALES */


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   2. RESET MÍNIMO
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.ch-section *,
.ch-section *::before,
.ch-section *::after {
  box-sizing: border-box;
}
/* — Nuke definitivo text-decoration Astra — */
.entry-content a,
.entry-content a:link,
.entry-content a:visited,
.entry-content a:hover,
.entry-content a:focus,
.entry-content a:active {
    text-decoration: none;
}
/* FIN 2. RESET MÍNIMO */


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   3. CONTENEDOR BASE
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.ch-container {
  width: 100%;
  max-width: var(--ch-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
/* FIN 3. CONTENEDOR BASE */


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   4. BOTONES
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.ch-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--ch-radius-btn);
  font-family: var(--ch-font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--ch-transition);
  text-align: center;
}

.ch-btn--primary {
  background-color: var(--ch-blue);
  color: var(--ch-white);
  border-color: var(--ch-blue);
}

.ch-btn--primary:hover {
  background-color: var(--ch-blue-dark);
  border-color: var(--ch-blue-dark);
  color: var(--ch-white);
  transform: translateY(-2px);
  box-shadow: var(--ch-shadow-hover);
}

.ch-btn--outline {
  background-color: transparent;
  color: var(--ch-white);
  border-color: var(--ch-white);
}

.ch-btn--outline:hover {
  background-color: var(--ch-white);
  color: var(--ch-navy);
}

/* Botón outline blanco — usado en /podcast hero y modales */
.ch-btn--outline-white {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.55);
  color: var(--ch-white);
  border-radius: 14px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  will-change: transform, opacity;
}
.ch-btn--outline-white:link,
.ch-btn--outline-white:visited {
  color: var(--ch-white);
  text-decoration: none;
}
.ch-btn--outline-white:hover,
.ch-btn--outline-white:focus {
  border-color: var(--ch-white);
  background: rgba(255, 255, 255, 0.1);
  color: var(--ch-white);
  text-decoration: none;
}
.ch-btn--outline-white:active {
  background: rgba(255, 255, 255, 0.18);
}

/* Botón Spotify — reutilizable global */
.ch-btn--spotify {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--ch-radius-btn);
  background-color: var(--ch-spotify);
  border: 2px solid var(--ch-spotify);
  color: var(--ch-white) !important;
  font-family: var(--ch-font-body);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none !important;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(29, 185, 84, 0.28);
  transition:
    background-color 0.2s ease,
    border-color     0.2s ease,
    transform        0.2s ease,
    box-shadow       0.2s ease;
}
.ch-btn--spotify:link,
.ch-btn--spotify:visited {
  color: var(--ch-white) !important;
  text-decoration: none !important;
}
.ch-btn--spotify:hover,
.ch-btn--spotify:focus {
  background-color: var(--ch-spotify-dark);
  border-color: var(--ch-spotify-dark);
  color: var(--ch-white) !important;
  text-decoration: none !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(29, 185, 84, 0.42);
}
/* FIN 4. BOTONES */


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   5. HERO
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.page-id-10 .entry-content,
.page-id-10 .site-content,
.page-id-10 #content {
  padding: 0 !important;
  margin: 0 !important;
}

.ch-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.ch-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('https://2026.cardiologohermosillo.mx/wp-content/uploads/2026/03/Cardiologo-Santiago-Sandoval-desktop.webp');
  background-size: cover;
  background-position: center 15%;
  background-repeat: no-repeat;
}

.ch-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.05);
}

.ch-hero__overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,   0,   0,   0.28) 0%,
    rgba(0,   0,   0,   0.08) 18%,
    rgba(255, 255, 255, 0.00) 38%,
    rgba(255, 255, 255, 0.18) 62%,
    rgba(255, 255, 255, 0.00) 100%
  );
}

@keyframes ch-fade-down {
  from { opacity: 0; transform: translateY(-24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes ch-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes ch-fade-scale {
  from { opacity: 0; transform: scale(0.90); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes ch-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes ch-heartbeat {
  0%   { transform: scale(1); }
  6%   { transform: scale(1.10); }
  12%  { transform: scale(0.97); }
  18%  { transform: scale(1.07); }
  26%  { transform: scale(1); }
  100% { transform: scale(1); }
}

.ch-hero__inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 72px 24px 64px;
  max-width: var(--ch-container);
  width: 100%;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
}

.ch-hero__logo--mobile   { display: none; }
.ch-hero__bottom--mobile { display: none; }

.ch-hero__top {
  width: 100%;
  text-align: center;
  flex-shrink: 0;
}

.ch-hero__title {
  font-family: var(--ch-font-body);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--ch-white);
  line-height: 1.15;
  margin: 0 0 14px 0;
  letter-spacing: 0.01em;
  text-shadow: none;
  will-change: opacity, transform;
  animation: ch-fade-down 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.ch-hero__subtitle {
  font-family: var(--ch-font-body);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 500;
  color: var(--ch-white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
  text-shadow: none;
  will-change: opacity, transform;
  animation: ch-fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.ch-hero__center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding-bottom: 40px;
}

.ch-hero__logo img {
  width: 480px;
  height: auto;
  max-width: 100%;
  display: block;
  
  
  animation: ch-fade-scale 1s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both;
}

.ch-hero .ch-btn.ch-hero__cta {
  display: inline-block;
  font-family: var(--ch-font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 16px 52px;
  border-radius: 14px;
  background-color: var(--ch-navy);
  border: 2px solid var(--ch-navy);
  color: var(--ch-white);
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    0 4px 20px rgba(27, 46, 94, 0.50),
    0 1px 4px  rgba(27, 46, 94, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  will-change: opacity, transform;
  animation:
    ch-fade-in   0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.8s both,
    ch-heartbeat 2.2s ease-in-out 1.8s infinite;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.ch-hero .ch-btn.ch-hero__cta:link,
.ch-hero .ch-btn.ch-hero__cta:visited { color: var(--ch-white); text-decoration: none; }

.ch-hero .ch-btn.ch-hero__cta:hover,
.ch-hero .ch-btn.ch-hero__cta:focus,
.ch-hero .ch-btn.ch-hero__cta:focus-visible,
.ch-hero .ch-btn.ch-hero__cta:active {
  background-color: var(--ch-blue-dark);
  border-color: var(--ch-blue-dark);
  color: var(--ch-white);
  text-decoration: none;
  animation-play-state: paused;
  transform: translateY(-3px) scale(1.04);
  box-shadow:
    0 10px 32px rgba(27, 46, 94, 0.60),
    0 3px 10px  rgba(27, 46, 94, 0.30),
    0 0  0 3px  rgba(43, 168, 216, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}
/* FIN 5. HERO */


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   6. HEADER
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* — 6a. Transición base — */
#masthead.site-header,
#masthead .ast-primary-header-bar,
#masthead .main-header-bar {
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

/* — 6b. Inicio sin scroll: transparente — */
.home #masthead.site-header:not(.ch-header--scrolled),
.home #masthead.site-header:not(.ch-header--scrolled) .ast-primary-header-bar,
.home #masthead.site-header:not(.ch-header--scrolled) .main-header-bar,
.home #masthead.site-header:not(.ch-header--scrolled) .main-header-bar-navigation,
.home #masthead.site-header:not(.ch-header--scrolled) .ast-mobile-header-wrap,
.home #masthead.site-header:not(.ch-header--scrolled) #ast-mobile-header {
  background-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* — 6c. Logo oculto sin scroll — */
.home #masthead.site-header:not(.ch-header--scrolled) .site-logo,
.home #masthead.site-header:not(.ch-header--scrolled) .custom-logo-link,
.home #masthead.site-header:not(.ch-header--scrolled) .site-branding {
  opacity: 0 !important;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

/* — 6d. Con scroll: navy — */
.home #masthead.site-header.ch-header--scrolled,
.home #masthead.site-header.ch-header--scrolled .ast-primary-header-bar,
.home #masthead.site-header.ch-header--scrolled .main-header-bar,
.home #masthead.site-header.ch-header--scrolled .ast-mobile-header-wrap,
.home #masthead.site-header.ch-header--scrolled #ast-mobile-header {
  background-color: var(--ch-navy) !important;
  background: var(--ch-navy) !important;
  box-shadow: 0 2px 16px rgba(27, 46, 94, 0.25) !important;
}

/* — 6e. Logo visible al scroll + swap blanco — */
.home #masthead.site-header.ch-header--scrolled .site-logo,
.home #masthead.site-header.ch-header--scrolled .custom-logo-link,
.home #masthead.site-header.ch-header--scrolled .site-branding {
  opacity: 1 !important;
  pointer-events: auto;
  transition: opacity 0.35s ease;
  display: block !important;
}

.home #masthead.site-header.ch-header--scrolled .custom-logo-link img,
.home #masthead.site-header.ch-header--scrolled .site-logo img {
  content: url('https://2026.cardiologohermosillo.mx/wp-content/uploads/2026/03/Santiago_Sandoval_Navarrete_Logotipo_blanco.webp');
  filter: none !important;
  transition: none;
}

/* — 6f. Menú desktop: blanco — */
.home #masthead .main-header-menu .menu-item > a,
.home #masthead .main-header-menu .menu-item > a:link,
.home #masthead .main-header-menu .menu-item > a:visited {
  color: var(--ch-white) !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.55), 0 2px 12px rgba(0,0,0,0.35);
}

.home #masthead .main-header-menu .menu-item > a:hover,
.home #masthead .main-header-menu .menu-item > a:focus {
  color: var(--ch-white) !important;
  text-shadow: 0 1px 6px rgba(0,0,0,0.70), 0 0 20px rgba(43,168,216,0.60);
}

/* — 6g. Páginas internas: navy siempre — */
body:not(.home) #masthead.site-header,
body:not(.home) #masthead .ast-primary-header-bar,
body:not(.home) #masthead .main-header-bar,
body:not(.home) #masthead .ast-mobile-header-wrap,
body:not(.home) #masthead #ast-mobile-header {
  background-color: var(--ch-navy) !important;
  background: var(--ch-navy) !important;
  box-shadow: 0 2px 16px rgba(27, 46, 94, 0.18) !important;
}

/* — 6h. Logo blanco páginas internas — */
body:not(.home) #masthead .custom-logo-link img,
body:not(.home) #masthead .site-logo img {
  content: url('https://2026.cardiologohermosillo.mx/wp-content/uploads/2026/03/Santiago_Sandoval_Navarrete_Logotipo_blanco.webp');
  filter: none !important;
}

/* — 6i. Menú blanco páginas internas — */
body:not(.home) #masthead .main-header-menu .menu-item > a,
body:not(.home) #masthead .main-header-menu .menu-item > a:link,
body:not(.home) #masthead .main-header-menu .menu-item > a:visited { color: var(--ch-white) !important; }

body:not(.home) #masthead .main-header-menu .menu-item > a:hover,
body:not(.home) #masthead .main-header-menu .menu-item > a:focus   { color: var(--ch-blue) !important; }

/* — 6j. Hamburguesa: blanca global — */
#masthead .menu-toggle,
#masthead .ast-mobile-header-wrap .menu-toggle {
  color: var(--ch-white) !important;
}

#masthead .menu-toggle-icon,
#masthead .menu-toggle-icon::before,
#masthead .menu-toggle-icon::after {
  background-color: var(--ch-white) !important;
}

/* — 6k. Menú móvil desplegado: navy + blanco — */
#ast-hf-mobile-menu,
#ast-hf-mobile-menu .site-navigation,
#ast-hf-mobile-menu .main-navigation,
#ast-hf-mobile-menu .main-header-menu,
#ast-hf-mobile-menu ul,
#ast-hf-mobile-menu ul li,
.ast-mobile-header-content,
.ast-below-header-actual-nav,
.ast-mobile-nav-wrap {
  background-color: var(--ch-navy) !important;
  background: var(--ch-navy) !important;
}

#ast-hf-mobile-menu .menu-item > a,
#ast-hf-mobile-menu .menu-item > a:link,
#ast-hf-mobile-menu .menu-item > a:visited,
#ast-hf-mobile-menu a.menu-link,
#ast-hf-mobile-menu a.menu-link:link,
#ast-hf-mobile-menu a.menu-link:visited {
  color: var(--ch-white) !important;
  background-color: transparent !important;
}

#ast-hf-mobile-menu .menu-item > a:hover,
#ast-hf-mobile-menu .menu-item > a:focus,
#ast-hf-mobile-menu a.menu-link:hover,
#ast-hf-mobile-menu a.menu-link:focus {
  color: var(--ch-blue) !important;
  background-color: transparent !important;
}

/* — 6l. Hero padding-top compensado — */
.home.ast-theme-transparent-header .ch-hero__inner { padding-top: 100px; }

/* — 6m. Fix Astra transparent header: position fixed — */
.ast-theme-transparent-header #masthead,
.ast-theme-transparent-header .site-header {
  position: fixed !important;
  top: 0 !important; left: 0 !important; right: 0 !important;
  width: 100% !important;
  z-index: 100 !important;
}

.home.ast-theme-transparent-header #masthead:not(.ch-header--scrolled) .ast-primary-header-bar,
.home.ast-theme-transparent-header #masthead:not(.ch-header--scrolled) .main-header-bar {
  background-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}

.home.ast-theme-transparent-header #masthead.ch-header--scrolled .ast-primary-header-bar,
.home.ast-theme-transparent-header #masthead.ch-header--scrolled .main-header-bar {
  background-color: var(--ch-navy) !important;
  background: var(--ch-navy) !important;
  box-shadow: 0 2px 16px rgba(27, 46, 94, 0.25) !important;
}

body:not(.home).ast-theme-transparent-header #masthead .ast-primary-header-bar,
body:not(.home).ast-theme-transparent-header #masthead .main-header-bar {
  background-color: var(--ch-navy) !important;
  background: var(--ch-navy) !important;
}

/* — 6p. Header compacto — */
#masthead .ast-main-header-wrap,
#masthead .ast-primary-header-bar,
#masthead .main-header-bar,
#masthead .site-primary-header-wrap,
#masthead .ast-builder-grid-row,
#masthead .ast-builder-layout-element,
#masthead .ast-site-identity,
#masthead .site-branding {
  min-height: unset !important;
  height: auto !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

#masthead .custom-logo-link,
#masthead .site-logo-img {
  display: flex !important;
  align-items: center !important;
  padding: 2.5px 0 !important;
}

#masthead .custom-logo-link img,
#masthead .site-logo img,
#masthead img.custom-logo {
  max-width: 207px !important;
  max-height: 55px !important;
  width: auto !important;
  height: auto !important;
  display: block !important;
}

#masthead .main-header-menu .menu-item > a,
#masthead .main-header-menu > li > a {
  font-size: 0.82rem !important;
  letter-spacing: 0.04em !important;
  padding-top: 2.5px !important;
  padding-bottom: 2.5px !important;
  line-height: 1 !important;
}
/* FIN 6. HEADER */


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   7. TRUST BAR
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.ch-tagline {
  background-color: var(--ch-navy);
  padding: 48px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}

.ch-tagline .ch-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ch-tagline .ch-tagline__text {
  font-family: var(--ch-font-title);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 400;
  font-style: italic;
  color: var(--ch-white);
  text-align: center;
  line-height: 1.45;
  margin: 0 !important;
  padding: 0;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(16px);
  animation: ch-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-timeline: view();
  animation-range: entry 0% entry 40%;
  will-change: opacity, transform;
}

@supports not (animation-timeline: view()) {
  .ch-tagline .ch-tagline__text {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
/* FIN 7. TRUST BAR */


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   8. SERVICIOS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.ch-servicios {
  background-color: var(--ch-white);
  padding: var(--ch-section-py) 0;
}

.ch-servicios > .ch-servicio:first-child { padding-top: 0; }

.ch-servicio { padding: 48px 0; }
.ch-servicio + .ch-servicio { border-top: 1px solid var(--ch-border); }

.ch-servicio__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.ch-servicio__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ch-servicio__title {
  font-family: var(--ch-font-title);
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
  font-weight: 400;
  color: var(--ch-dark-text);
  line-height: 1.2;
  margin: 0;
}

.ch-servicio__desc {
  font-family: var(--ch-font-body);
  font-size: 1rem;
  color: var(--ch-gray-text);
  line-height: 1.75;
  margin: 0;
  max-width: 48ch;
}

.ch-servicio__media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ch-servicio__img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 560px;
  border-radius: 20px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
/* FIN 8. SERVICIOS */


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   8b. TARJETA CONSULTA
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.ch-consulta {
  background-color: var(--ch-gray-light);
  padding: var(--ch-section-py) 0;
}

.ch-consulta__card {
  max-width: 680px;
  margin: 0 auto;
  background: linear-gradient(145deg, #2563b0 0%, #2BA8D8 45%, #3ecfaa 100%);
  border-radius: 28px;
  padding: 64px 56px 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  box-shadow:
    0 32px 80px rgba(37, 99, 176, 0.38),
    0 8px 24px rgba(27, 46, 94, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  position: relative;
  overflow: hidden;
}

.ch-consulta__bg-ecg {
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 120px;
  pointer-events: none; opacity: 1;
}
.ch-consulta__bg-ecg svg { width: 100%; height: 100%; display: block; }

.ch-consulta__card::before {
  content: ''; position: absolute;
  top: -80px; right: -80px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  pointer-events: none;
}

.ch-consulta__card::after {
  content: ''; position: absolute;
  bottom: -50px; left: -50px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}

.ch-consulta__icon {
  color: rgba(255,255,255,0.75);
  margin-bottom: 20px;
  position: relative; z-index: 1;
}

.ch-consulta__label {
  font-family: var(--ch-font-body);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.70);
  margin: 0 0 16px 0;
  position: relative; z-index: 1;
}

.ch-consulta__title {
  font-family: var(--ch-font-title);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400; color: var(--ch-white);
  line-height: 1.2; margin: 0 0 28px 0;
  position: relative; z-index: 1;
  text-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.ch-consulta__price-wrap {
  display: flex; align-items: flex-start;
  justify-content: center; gap: 8px;
  margin-bottom: 28px;
  position: relative; z-index: 1;
}

.ch-consulta__price {
  font-family: var(--ch-font-body);
  font-size: clamp(3.2rem, 7vw, 4.8rem);
  font-weight: 800; color: var(--ch-white);
  line-height: 1; letter-spacing: -0.03em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.20), 0 0 40px rgba(255,255,255,0.15);
}

.ch-consulta__currency {
  font-family: var(--ch-font-body);
  font-size: 1rem; font-weight: 600;
  color: rgba(255,255,255,0.70);
  align-self: flex-end; padding-bottom: 8px;
  letter-spacing: 0.06em;
}

.ch-consulta__divider {
  width: 48px; height: 2px;
  background: rgba(255,255,255,0.30);
  border-radius: 2px; margin-bottom: 32px;
  position: relative; z-index: 1;
}

.ch-consulta .ch-consulta__card .ch-consulta__cta {
  display: inline-block; position: relative; z-index: 2;
  padding: 18px 56px; border-radius: 14px;
  background-color: var(--ch-white); color: var(--ch-navy);
  font-family: var(--ch-font-body);
  font-size: 0.88rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  text-decoration: none; border: 2px solid transparent;
  margin-bottom: 24px;
  box-shadow:
    0 8px 32px rgba(0,0,0,0.22),
    0 2px 8px rgba(0,0,0,0.12),
    inset 0 1px 0 rgba(255,255,255,0.90);
  animation: ch-heartbeat 2.2s ease-in-out 1s infinite;
  will-change: transform;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.ch-consulta .ch-consulta__card .ch-consulta__cta:link,
.ch-consulta .ch-consulta__card .ch-consulta__cta:visited { color: var(--ch-navy); text-decoration: none; }

.ch-consulta .ch-consulta__card .ch-consulta__cta:hover,
.ch-consulta .ch-consulta__card .ch-consulta__cta:focus,
.ch-consulta .ch-consulta__card .ch-consulta__cta:focus-visible {
  background-color: var(--ch-navy); color: var(--ch-white);
  text-decoration: none; animation-play-state: paused;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 16px 48px rgba(0,0,0,0.30), 0 0 0 3px rgba(255,255,255,0.45);
}

.ch-consulta .ch-consulta__card .ch-consulta__cta:active { color: var(--ch-white); text-decoration: none; }

.ch-consulta__trust {
  font-family: var(--ch-font-body);
  font-size: 0.78rem; font-weight: 400;
  color: rgba(255,255,255,0.60); margin: 0;
  display: flex; align-items: center;
  justify-content: center; gap: 6px;
  letter-spacing: 0.02em;
  position: relative; z-index: 1;
}
.ch-consulta__trust svg { flex-shrink: 0; opacity: 0.70; }
/* FIN 8b. TARJETA CONSULTA */


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   8c. CATETERISMO
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.ch-cateterismo {
  background-color: var(--ch-white);
  padding: var(--ch-section-py) 0;
}

.ch-cateterismo__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  max-width: 1200px;
  margin-left: auto; margin-right: auto;
}

.ch-cateterismo__text { display: flex; flex-direction: column; gap: 24px; }

.ch-cateterismo__title {
  font-family: var(--ch-font-title);
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
  font-weight: 400; color: var(--ch-dark-text);
  line-height: 1.2; margin: 0;
}

.ch-cateterismo__desc {
  font-family: var(--ch-font-body);
  font-size: 1rem; color: var(--ch-gray-text);
  line-height: 1.75; margin: 0;
}

.ch-cateterismo__cta {
  display: inline-block; align-self: flex-start;
  font-family: var(--ch-font-body);
  font-size: 0.85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  padding: 16px 40px; border-radius: 14px;
  background-color: var(--ch-navy); border: 2px solid var(--ch-navy);
  color: var(--ch-white); text-decoration: none !important; cursor: pointer;
  box-shadow: 0 4px 20px rgba(27,46,94,0.40), 0 1px 4px rgba(27,46,94,0.20);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ch-cateterismo__cta:link,
.ch-cateterismo__cta:visited { color: var(--ch-white); text-decoration: none; }

.ch-cateterismo__cta:hover,
.ch-cateterismo__cta:focus {
  background-color: var(--ch-blue-dark); border-color: var(--ch-blue-dark);
  color: var(--ch-white); text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(27,46,94,0.50), 0 0 0 3px rgba(43,168,216,0.30);
}

.ch-cateterismo__media { display: flex; align-items: center; justify-content: center; }

.ch-cateterismo__img {
  width: 100%; height: auto; display: block;
  max-width: 520px; border-radius: 20px; object-fit: contain;
}
/* FIN 8c. CATETERISMO */


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   9.  SOBRE EL DR.          (pendiente)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   10. TESTIMONIOS           (pendiente)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   11. PODCAST (homepage)
   Layout: 2 columnas desktop · 1 columna móvil
   Facade pattern: iframe Spotify se inyecta al hacer clic
   Script: inline en functions.php → wp_footer
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* — 11a. Sección principal — */
.ch-podcast {
  position: relative;
  background-color: var(--ch-navy);
  background-image:
    radial-gradient(ellipse at 0% 100%,   rgba(43,  168, 216, 0.14) 0%, transparent 52%),
    radial-gradient(ellipse at 100% 0%,   rgba(27,  58,  107, 0.70) 0%, transparent 52%),
    radial-gradient(ellipse at 50% 50%,   rgba(29,  185, 84,  0.04) 0%, transparent 65%);
  padding: var(--ch-section-py) 0;
  overflow: hidden;
}

/* — 11b. Waveform decorativo de fondo — */
.ch-podcast__deco {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 55%;
  height: 100%;
  pointer-events: none;
  display: flex;
  align-items: center;
  overflow: hidden;
  opacity: 0.055;
  color: var(--ch-blue);
}

.ch-podcast__deco svg {
  width: 100%;
  height: auto;
  flex-shrink: 0;
}

/* — 11c. Grid interior — */
.ch-podcast__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

/* — 11d. Columna de contenido — */
.ch-podcast__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* — 11e. Eyebrow con logo Spotify — */
.ch-podcast__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ch-font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.20em;
  color: var(--ch-spotify);
  margin-bottom: 18px;
}

.ch-podcast__spotify-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--ch-spotify);
}

/* — 11f. Título — */
.ch-podcast__title {
  font-family: var(--ch-font-title);
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  font-weight: 700;
  color: var(--ch-white);
  line-height: 1.12;
  margin: 0 0 20px 0;
  letter-spacing: -0.01em;
}

/* — 11g. Descripción — */
.ch-podcast__desc {
  font-family: var(--ch-font-body);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
  margin: 0 0 32px 0;
  max-width: 46ch;
}

/* — 11h. Estadísticas del podcast — */
.ch-podcast__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 36px;
}

.ch-podcast__meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ch-podcast__meta-value {
  font-family: var(--ch-font-body);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ch-white);
  line-height: 1;
  letter-spacing: -0.01em;
}

.ch-podcast__meta-label {
  font-family: var(--ch-font-body);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.42);
}

.ch-podcast__meta-divider {
  width: 1px;
  height: 32px;
  background-color: rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}

/* — 11i. CTA Spotify — */
.ch-podcast__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--ch-radius-btn);
  background-color: var(--ch-spotify);
  border: 2px solid var(--ch-spotify);
  color: var(--ch-white) !important;
  font-family: var(--ch-font-body);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none !important;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(29, 185, 84, 0.28);
  transition:
    background-color 0.2s ease,
    border-color     0.2s ease,
    transform        0.2s ease,
    box-shadow       0.2s ease;
}

.ch-podcast__cta:link,
.ch-podcast__cta:visited {
  color: var(--ch-white) !important;
  text-decoration: none !important;
}

.ch-podcast__cta:hover,
.ch-podcast__cta:focus {
  background-color: var(--ch-spotify-dark);
  border-color: var(--ch-spotify-dark);
  color: var(--ch-white) !important;
  text-decoration: none !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(29, 185, 84, 0.42);
}

.ch-podcast__cta svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* — 11j. Columna del player — */
.ch-podcast__player {
  position: relative;
}

/* — 11k. Tarjeta facade — */
.ch-podcast__facade {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--ch-radius-card);
  overflow: hidden;
  cursor: pointer;
  transition:
    transform    0.25s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow   0.25s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s ease;
  outline: none;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.ch-podcast__facade:hover,
.ch-podcast__facade:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.40);
  border-color: rgba(29, 185, 84, 0.30);
}

.ch-podcast__facade--hidden {
  display: none;
}

/* — 11l. Zona thumbnail — */
.ch-podcast__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  background: linear-gradient(135deg, #0d1f3c 0%, #1B3A6B 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ch-podcast__thumb-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 50%, rgba(43,  168, 216, 0.28) 0%, transparent 55%),
    radial-gradient(circle at 82% 30%, rgba(29,  185, 84,  0.18) 0%, transparent 48%);
}

/* — 11m. Ecualizador animado — */
.ch-podcast__thumb-eq {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  opacity: 0.18;
}

.ch-podcast__eq-bar {
  display: block;
  width: 5px;
  border-radius: 3px;
  background-color: var(--ch-spotify);
  animation: ch-eq-bounce 1.4s ease-in-out infinite;
}

.ch-podcast__eq-bar:nth-child(1) { height: 28px; animation-delay: 0.0s;  }
.ch-podcast__eq-bar:nth-child(2) { height: 48px; animation-delay: 0.18s; }
.ch-podcast__eq-bar:nth-child(3) { height: 64px; animation-delay: 0.06s; }
.ch-podcast__eq-bar:nth-child(4) { height: 80px; animation-delay: 0.26s; }
.ch-podcast__eq-bar:nth-child(5) { height: 64px; animation-delay: 0.12s; }
.ch-podcast__eq-bar:nth-child(6) { height: 44px; animation-delay: 0.32s; }
.ch-podcast__eq-bar:nth-child(7) { height: 28px; animation-delay: 0.20s; }

@keyframes ch-eq-bounce {
  0%, 100% { transform: scaleY(1);    }
  50%       { transform: scaleY(0.35); }
}

/* — 11n. Botón play central — */
.ch-podcast__play {
  position: relative;
  z-index: 1;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background-color: var(--ch-spotify);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow:
    0 0 0 10px rgba(29, 185, 84, 0.16),
    0 0 0 20px rgba(29, 185, 84, 0.07),
    0 8px 28px rgba(0, 0, 0, 0.40);
  transition:
    transform  0.22s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  flex-shrink: 0;
}

.ch-podcast__facade:hover .ch-podcast__play,
.ch-podcast__facade:focus-visible .ch-podcast__play {
  transform: scale(1.12);
  box-shadow:
    0 0 0 14px rgba(29, 185, 84, 0.20),
    0 0 0 28px rgba(29, 185, 84, 0.08),
    0 12px 36px rgba(0, 0, 0, 0.50);
}

.ch-podcast__play svg {
  width: 26px;
  height: 26px;
  margin-left: 4px;
  color: var(--ch-white);
}

/* — 11o. Info del episodio — */
.ch-podcast__ep-info {
  padding: 20px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ch-podcast__ep-label {
  font-family: var(--ch-font-body);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ch-spotify);
}

.ch-podcast__ep-title {
  font-family: var(--ch-font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ch-white);
  line-height: 1.35;
  margin: 0;
}

.ch-podcast__ep-hint {
  font-family: var(--ch-font-body);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.42);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.ch-podcast__ep-hint svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.35);
}

/* — 11p. Embed (oculto hasta activación) — */
.ch-podcast__embed {
  border-radius: var(--ch-radius-card);
  overflow: hidden;
}

.ch-podcast__embed iframe {
  display: block;
  width: 100%;
  border: none;
  border-radius: var(--ch-radius-card);
}

.ch-podcast__embed--hidden {
  display: none;
}
/* FIN 11. PODCAST (homepage) */


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   11b. PODCAST PAGE — CONTENEDOR & HERO
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.ch-podcast-page {
  background: var(--ch-navy);
  width: 100%;
}

.ch-podcast-page *,
.ch-podcast-page *::before,
.ch-podcast-page *::after {
  box-sizing: border-box;
}

.ch-podcast-page__hero {
  padding: 80px 24px 72px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.ch-podcast-page__hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 10% 50%, rgba(43, 168, 216, 0.11) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 90% 25%, rgba(93, 214, 176, 0.08) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 50% 90%, rgba(74, 144, 217, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.ch-podcast-page__hero-inner {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

/* — Eyebrow "PODCAST" — */
.ch-podcast-page__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ch-spotify);
  margin: 0 0 20px;
  line-height: 1;
}

/* — Título principal — */
.ch-podcast-page__title {
  font-family: var(--ch-font-title);
  font-size: clamp(3rem, 6.5vw, 5rem);
  font-weight: 700;
  font-style: italic;
  color: var(--ch-white);
  line-height: 1.0;
  margin: 0 0 22px;
  letter-spacing: -0.01em;
}

/* — Descripción: blanco con alta legibilidad — */
.ch-podcast-page__desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.72;
  margin: 0 0 30px;
  max-width: 400px;
}

/* — Stats — */
.ch-podcast-page__stats {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.ch-podcast-page__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ch-podcast-page__stat-num {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ch-white);
  line-height: 1;
  display: block;
}

.ch-podcast-page__stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  display: block;
}

.ch-podcast-page__stat-sep {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.18);
  display: block;
}
/* FIN 11b. PODCAST PAGE — HERO */


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   11c. PODCAST PAGE — EPISODIO DESTACADO
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.ch-podcast-page__featured {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 26px;
}

.ch-podcast-page__featured-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ch-blue);
  margin-bottom: 12px;
}

.ch-podcast-page__featured-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ch-white);
  line-height: 1.42;
  margin: 0 0 18px;
}

.ch-podcast-page__featured-player {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  background: rgba(0, 0, 0, 0.3);
}

.ch-podcast-page__featured-player iframe {
  display: block;
  width: 100%;
  border: none;
}

.ch-podcast-page__featured-link {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ch-podcast-page__featured-link:link,
.ch-podcast-page__featured-link:visited {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
}

.ch-podcast-page__featured-link:hover,
.ch-podcast-page__featured-link:focus {
  color: var(--ch-white);
  text-decoration: none;
}
/* FIN 11c. PODCAST PAGE — EPISODIO DESTACADO */


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   11d. PODCAST PAGE — GRILLA DE EPISODIOS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.ch-podcast-page__episodes {
  padding: 72px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.ch-podcast-page__episodes-inner {
  max-width: 960px;
  margin: 0 auto;
}

.ch-podcast-page__episodes-header {
  margin-bottom: 40px;
}

.ch-podcast-page__episodes-title {
  font-family: var(--ch-font-title);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-style: italic;
  color: var(--ch-white);
  margin: 0 0 10px;
  font-weight: 700;
}

.ch-podcast-page__episodes-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  line-height: 1.5;
}

/* — Grid 2 columnas — */
.ch-ep-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* — Card individual — */
.ch-ep-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition:
    background  0.22s ease,
    border-color 0.22s ease,
    transform   0.25s ease,
    box-shadow  0.25s ease;
  will-change: transform;
  outline: none;
  -webkit-user-select: none;
  user-select: none;
}

.ch-ep-card:hover,
.ch-ep-card:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(43, 168, 216, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Número de episodio — badge con gradiente */
.ch-ep-card__badge {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 13px;
  background: var(--ch-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--ch-white);
  letter-spacing: 0.04em;
  line-height: 1;
}

.ch-ep-card__body {
  flex: 1;
  min-width: 0;
}

/* Títulos: blancos, legibles para tercera edad */
.ch-ep-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ch-white);
  margin: 0 0 7px;
  line-height: 1.42;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Descripción: blanco atenuado */
.ch-ep-card__desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Botón play circular */
.ch-ep-card__play-btn {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ch-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  will-change: transform;
}

.ch-ep-card:hover .ch-ep-card__play-btn,
.ch-ep-card:focus-visible .ch-ep-card__play-btn {
  background: var(--ch-spotify);
  transform: scale(1.1);
}
/* FIN 11d. PODCAST PAGE — GRILLA */


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   11e. PODCAST PAGE — MODAL DE EPISODIO
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.ch-ep-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.ch-ep-modal.is-open {
  opacity: 1;
  pointer-events: all;
}

.ch-ep-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 45, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.ch-ep-modal__box {
  position: relative;
  z-index: 1;
  background: #18295a;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  padding: 34px;
  width: min(560px, calc(100vw - 40px));
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(43, 168, 216, 0.1);
  transform: translateY(30px);
  transition: transform 0.32s ease;
  will-change: transform;
}

.ch-ep-modal.is-open .ch-ep-modal__box {
  transform: translateY(0);
}

/* Botón cerrar */
.ch-ep-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: rgba(255, 255, 255, 0.75);
    transition: background 0.2s ease, color 0.2s ease;
    box-shadow: none !important;
    line-height: 1 !important;
}

.ch-ep-modal__close:hover {
    background: rgba(255, 255, 255, 0.16) !important;
    color: var(--ch-white);
}

.ch-ep-modal__close svg {
    width: 14px;
    height: 14px;
    display: block;
    flex-shrink: 0;
    pointer-events: none;
}

.ch-ep-modal__close:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--ch-white);
}

/* Etiqueta del show */
.ch-ep-modal__show {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 44px 10px 0;
}

/* Título del episodio */
.ch-ep-modal__title {
  font-family: var(--ch-font-title);
  font-size: 1.25rem;
  color: var(--ch-white);
  margin: 0 44px 22px 0;
  line-height: 1.35;
}

/* Player */
.ch-ep-modal__player {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  background: rgba(0, 0, 0, 0.3);
  min-height: 152px;
}

.ch-ep-modal__player iframe {
  display: block;
  width: 100%;
  height: 152px;
  border: none;
}

/* Skeleton loading */
.ch-ep-modal__skeleton {
  width: 100%;
  height: 152px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.04) 100%
  );
  background-size: 200% 100%;
  animation: ch-ep-skeleton 1.5s ease infinite;
}

@keyframes ch-ep-skeleton {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* CTA dentro del modal */
.ch-ep-modal__cta-block {
  background: rgba(43, 168, 216, 0.1);
  border: 1px solid rgba(43, 168, 216, 0.2);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
}

.ch-ep-modal__cta-question {
  font-size: 0.96rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 14px;
  line-height: 1.45;
}

.ch-ep-modal__cta-btn.ch-btn {
    width: 100%;
    justify-content: center;
    display: flex;
    background: var(--ch-gradient);
    border-color: transparent;
    color: var(--ch-white) !important;
    text-decoration: none !important;
    font-size: 1rem;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.ch-ep-modal__cta-btn.ch-btn:link,
.ch-ep-modal__cta-btn.ch-btn:visited {
    color: var(--ch-white) !important;
    text-decoration: none !important;
}

.ch-ep-modal__cta-btn.ch-btn:hover,
.ch-ep-modal__cta-btn.ch-btn:focus {
    opacity: 0.88;
    transform: translateY(-2px);
    color: var(--ch-white) !important;
    text-decoration: none !important;
}
/* FIN 11e. PODCAST PAGE — MODAL */


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   11f. PODCAST PAGE — CTA BRIDGE
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.ch-podcast-page__cta-bridge {
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #1a3a7a 0%, #0d2050 60%, #091836 100%);
  border-top: 1px solid rgba(43, 168, 216, 0.2);
}

.ch-podcast-page__cta-bridge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 85% at 50% 50%, rgba(43, 168, 216, 0.09) 0%, transparent 70%);
  pointer-events: none;
}

.ch-podcast-page__cta-bridge-inner {
  position: relative;
  z-index: 1;
  max-width: 580px;
  margin: 0 auto;
}

.ch-podcast-page__cta-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ch-blue);
  margin: 0 0 14px;
}

.ch-podcast-page__cta-title {
  font-family: var(--ch-font-title);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-style: italic;
  color: var(--ch-white);
  line-height: 1.2;
  margin: 0 0 16px;
  font-weight: 700;
}

.ch-podcast-page__cta-text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 34px;
  line-height: 1.6;
}

/* Botón más grande para tercera edad */
.ch-podcast-page__cta-btn.ch-btn {
  font-size: 1.05rem;
  padding: 17px 40px;
}
/* FIN 11f. PODCAST PAGE — CTA BRIDGE */


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   12. BLOG                  (pendiente)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   13. CONTACTO / FORMULARIO
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* — 13a. Wrapper de sección — */
.ch-formulario {
  background-color: var(--ch-gray-light);
  padding: var(--ch-section-py) 0;
}

/* — 13b. Contenedor centrado con max-width de conversión — */
.ch-formulario .ch-container {
  max-width: 860px !important;
}

/* — 13c. Wrapper del formulario FluentForms — */
.fluentform,
.fluentform .ff-el-form-control,
.ffs_default_wrap {
  width: 100% !important;
}

/* — 13d. Campos — */
.fluentform .ff-el-form-control {
  min-height: 48px !important;
  padding: 12px 16px !important;
  font-family: var(--ch-font-body) !important;
  font-size: 1rem !important;
  border-radius: var(--ch-radius) !important;
  border: 1.5px solid var(--ch-border) !important;
  background-color: var(--ch-white) !important;
  color: var(--ch-dark-text) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  box-sizing: border-box !important;
}

.fluentform .ff-el-form-control:focus {
  border-color: var(--ch-blue) !important;
  box-shadow: 0 0 0 3px rgba(43, 168, 216, 0.18) !important;
  outline: none !important;
}

/* — 13e. Labels — */
.fluentform .ff-el-input--label label {
  font-family: var(--ch-font-body) !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: var(--ch-dark-text) !important;
  margin-bottom: 6px !important;
}

/* — 13f. Espaciado entre campos — */
.fluentform .ff-el-group {
  margin-bottom: 20px !important;
}

/* — 13g. Botón submit — */
.fluentform .ff_submit_btn_wrapper .ff-btn-submit,
.fluentform button[type="submit"] {
  width: 100% !important;
  min-height: 52px !important;
  padding: 14px 32px !important;
  font-family: var(--ch-font-body) !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.10em !important;
  border-radius: 14px !important;
  background-color: var(--ch-navy) !important;
  border: 2px solid var(--ch-navy) !important;
  color: var(--ch-white) !important;
  cursor: pointer !important;
  margin-top: 8px !important;
  animation: ch-heartbeat 2.2s ease-in-out 2s infinite !important;
  transition: background-color 0.2s ease, box-shadow 0.2s ease !important;
  box-shadow:
    0 4px 20px rgba(27, 46, 94, 0.40),
    0 1px 4px rgba(27, 46, 94, 0.20) !important;
}

.fluentform .ff_submit_btn_wrapper .ff-btn-submit:hover,
.fluentform button[type="submit"]:hover {
  background-color: var(--ch-blue-dark) !important;
  border-color: var(--ch-blue-dark) !important;
  animation-play-state: paused !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 28px rgba(27, 46, 94, 0.50) !important;
}
/* FIN 13. CONTACTO / FORMULARIO */


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   14. FOOTER
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.site-footer .ch-footer-col--left,
.site-footer .ch-footer-col--right {
  padding: 56px 0;
}

.site-footer .ast-footer-row-1 .footer-widget-area,
.site-footer .ast-footer-row-1 .ast-footer-widget-area {
  background-color: var(--ch-gray-bg) !important;
}

.site-footer .ast-footer-row-1 .ast-builder-grid-row {
  max-width: var(--ch-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.ch-footer-name {
  font-family: var(--ch-font-title);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ch-navy);
  margin: 0 0 6px 0;
  line-height: 1.2;
}

.ch-footer-specialty {
  font-family: var(--ch-font-body);
  font-size: 0.9rem;
  color: var(--ch-gray-text);
  margin: 0 0 14px 0;
}

.ch-footer-cert {
  display: inline-block;
  font-family: var(--ch-font-body);
  font-size: 0.9rem;
  color: var(--ch-blue-text);
  text-decoration: none;
  line-height: 1.5;
  margin-bottom: 20px;
  transition: color var(--ch-transition);
}

.ch-footer-cert:hover,
.ch-footer-cert:focus {
  color: var(--ch-blue);
  text-decoration: underline;
}

.ch-footer-credentials {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ch-footer-credentials li {
  font-family: var(--ch-font-body);
  font-size: 0.88rem;
  color: var(--ch-dark-text);
  line-height: 1.4;
}

.ch-footer-address {
  font-family: var(--ch-font-body);
  font-size: 0.9rem;
  color: var(--ch-dark-text);
  line-height: 1.6;
  font-style: normal;
  margin: 0 0 20px 0;
}

.ch-footer-divider {
  border: none;
  border-top: 1px solid var(--ch-border);
  margin: 0 0 20px 0;
}

.ch-footer-contact {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ch-footer-contact li {
  font-family: var(--ch-font-body);
  font-size: 0.9rem;
  color: var(--ch-dark-text);
  line-height: 1.4;
}

.ch-footer-contact a {
  color: var(--ch-blue-text);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--ch-transition);
}

.ch-footer-contact a:hover,
.ch-footer-contact a:focus {
  color: var(--ch-blue);
  text-decoration: underline;
}

.ch-footer-privacy {
  font-family: var(--ch-font-body);
  font-size: 0.9rem;
  color: var(--ch-blue-text);
  text-decoration: none;
  transition: color var(--ch-transition);
}

.ch-footer-privacy:hover,
.ch-footer-privacy:focus {
  color: var(--ch-blue);
  text-decoration: underline;
}

.site-footer .footer-bar-section {
  background-color: var(--ch-navy) !important;
  color: var(--ch-white) !important;
}

.site-footer .footer-bar-section,
.site-footer .footer-bar-section p {
  font-family: var(--ch-font-body);
  font-size: 0.85rem;
  color: var(--ch-white) !important;
  line-height: 1.6;
}

.site-footer .footer-bar-section a,
.site-footer .footer-bar-section a:visited {
  color: rgba(255, 255, 255, 0.75) !important;
  text-decoration: none;
  transition: color var(--ch-transition);
}

.site-footer .footer-bar-section a:hover,
.site-footer .footer-bar-section a:focus {
  color: var(--ch-blue) !important;
  text-decoration: underline;
}
/* FIN 14. FOOTER */


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   15. MEDIA QUERIES (max-width: 768px)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 768px) {

  /* — 15a. Variables móvil — */
  :root { --ch-section-py: var(--ch-section-py-sm); }

  /* — 15b. Contenedor — */
  .ch-container { padding-left: 16px; padding-right: 16px; }

  /* — 15c. Hero — imagen y overlay — */
  .ch-hero__bg {
    background-image: url('https://2026.cardiologohermosillo.mx/wp-content/uploads/2026/03/Cardiologo-Santiago-Sandoval-Navarrete-movil.webp');
    background-position: center -120px;
    background-size: cover;
  }

  .ch-hero__overlay {
    background: linear-gradient(
      to bottom,
      rgba(255,255,255,0.00) 35%,
      rgba(0,0,0,0.18) 55%,
      rgba(0,0,0,0.35) 100%
    );
  }

  .ch-hero__overlay::after { display: none; }

  /* — 15d. Hero — layout inner — */
  .ch-hero__inner {
    align-items: center; justify-content: flex-start;
    padding: 16px 20px 32px; gap: 0;
    left: 0; transform: none; max-width: 100%;
  }

  /* — 15e. Hero — logo móvil — */
  .ch-hero__logo--mobile {
    display: block; flex-shrink: 0;
    width: 100%; text-align: center; margin-bottom: 0;
    animation: ch-fade-in 0.8s cubic-bezier(0.22,1,0.36,1) 0.1s both;
  }

  .ch-hero__logo--mobile img { width: 240px; height: auto; display: inline-block; }
  .ch-hero__top    { display: none; }
  .ch-hero__center { display: none; }

  /* — 15f. Hero — bloque inferior — */
  .ch-hero__bottom--mobile {
    display: flex; flex-direction: column;
    align-items: flex-end; gap: 10px;
    flex-shrink: 0; width: 100%;
    margin-top: auto; padding-bottom: 60px;
  }

  /* — 15g. Hero — tipografía móvil — */
  .ch-hero__title--mobile {
    font-family: var(--ch-font-body);
    font-size: clamp(2.6rem, 11vw, 3.6rem);
    font-weight: 300; color: var(--ch-white);
    line-height: 1.05; margin: 0;
    letter-spacing: -0.01em; text-align: right;
    text-shadow: 0 2px 12px rgba(0,0,0,0.35), 0 1px 4px rgba(0,0,0,0.25);
    will-change: opacity, transform;
    animation: ch-fade-up 0.9s cubic-bezier(0.22,1,0.36,1) 0.25s both;
  }

  .ch-hero__subtitle--mobile {
    font-family: var(--ch-font-body);
    font-size: clamp(1.2rem, 5vw, 1.4rem);
    font-weight: 400; color: rgba(255,255,255,0.92);
    line-height: 1.3; margin: 0; text-align: right;
    text-shadow: 0 1px 6px rgba(0,0,0,0.25);
    will-change: opacity, transform;
    animation: ch-fade-up 0.9s cubic-bezier(0.22,1,0.36,1) 0.4s both;
  }

  /* — 15h. Hero — CTA móvil — */
  .ch-hero .ch-hero__bottom--mobile .ch-hero__cta--mobile {
    display: inline-block; font-family: var(--ch-font-body);
    font-size: 0.85rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.12em;
    padding: 15px 36px; border-radius: 14px;
    background-color: var(--ch-navy); border: 2px solid var(--ch-navy);
    color: var(--ch-white); text-decoration: none; cursor: pointer; margin-top: 4px;
    box-shadow:
      0 4px 20px rgba(27,46,94,0.50),
      0 1px 4px  rgba(27,46,94,0.25),
      inset 0 1px 0 rgba(255,255,255,0.08);
    will-change: opacity, transform;
    animation:
      ch-fade-in   0.8s cubic-bezier(0.22,1,0.36,1) 0.6s both,
      ch-heartbeat 2.2s ease-in-out 1.6s infinite;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
  }

  .ch-hero .ch-hero__bottom--mobile .ch-hero__cta--mobile:link,
  .ch-hero .ch-hero__bottom--mobile .ch-hero__cta--mobile:visited,
  .ch-hero .ch-hero__bottom--mobile .ch-hero__cta--mobile:active {
    color: var(--ch-white); text-decoration: none;
  }

  .ch-hero .ch-hero__bottom--mobile .ch-hero__cta--mobile:hover,
  .ch-hero .ch-hero__bottom--mobile .ch-hero__cta--mobile:focus {
    background-color: var(--ch-blue-dark); border-color: var(--ch-blue-dark);
    color: var(--ch-white); text-decoration: none;
    animation-play-state: paused; transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(27,46,94,0.55), 0 2px 8px rgba(27,46,94,0.25);
  }

  /* — 15i. Header — transparente sin scroll — */
  .home #masthead.site-header:not(.ch-header--scrolled) .ast-mobile-header-wrap,
  .home #masthead.site-header:not(.ch-header--scrolled) .ast-mobile-header-content,
  .home #masthead.site-header:not(.ch-header--scrolled) #ast-mobile-header,
  .home #masthead.site-header:not(.ch-header--scrolled) .main-header-bar-wrap,
  .home #masthead.site-header:not(.ch-header--scrolled) .ast-primary-header-bar {
    background-color: transparent !important;
    background: transparent !important;
  }

  /* — 15j. Header — logo al ras — */
  #masthead .ast-builder-layout-element[data-section="section-header-mobile-trigger"],
  #masthead .ast-builder-layout-element[data-section="section-header-mobile-trigger"] .ast-button-wrap {
    height: auto !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    padding: 0 4px !important;
  }

  /* — 15k. Header — logo oculto inicio sin scroll — */
  .home #masthead.site-header:not(.ch-header--scrolled) .site-branding,
  .home #masthead.site-header:not(.ch-header--scrolled) .site-logo,
  .home #masthead.site-header:not(.ch-header--scrolled) .custom-logo-link {
    display: none !important;
  }

  /* — 15l. Header — hamburguesa — */
  #masthead .ast-grid-right-section,
  #masthead .site-header-primary-section-right {
    justify-content: flex-end !important;
    align-items: center !important;
  }

  #masthead .ast-button-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
  }

  #masthead .menu-toggle,
  #masthead .ast-button-wrap .menu-toggle {
    padding: 10px 12px !important;
    min-height: 44px !important;
    min-width: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-radius: 8px !important;
    border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
    color: var(--ch-white) !important;
  }

  #masthead .menu-toggle-icon,
  #masthead .menu-toggle-icon::before,
  #masthead .menu-toggle-icon::after {
    background-color: var(--ch-white) !important;
    height: 2px !important;
    width: 20px !important;
  }

  /* — 15m. Header — menú desplegado — */
  #ast-hf-mobile-menu li.menu-item {
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
  }

  #ast-hf-mobile-menu li.menu-item > a,
  #ast-hf-mobile-menu li.menu-item > a.menu-link {
    display: flex !important;
    align-items: center !important;
    padding: 18px 24px !important;
    margin: 0 !important;
    min-height: 56px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.08em !important;
    line-height: 1.3 !important;
  }

  #ast-hf-mobile-menu {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }

  /* — 15n. Hero — padding-top compensado — */
  .home .ch-hero__inner { padding-top: 16px; }

  /* — 15o. Trust bar — */
  .ch-tagline { padding: 36px 0; min-height: 120px; }
  .ch-tagline__text { font-size: clamp(1.3rem, 5.5vw, 1.7rem); }

  /* — 15p. Servicios — texto siempre arriba — */
  .ch-servicio__inner { grid-template-columns: 1fr; gap: 28px; }
  .ch-servicio__img   { max-width: 100%; aspect-ratio: 16 / 10; border-radius: 16px; }
  .ch-servicio__desc  { max-width: 100%; }

  .ch-servicio--normal .ch-servicio__text   { order: 1; }
  .ch-servicio--normal .ch-servicio__media  { order: 2; }
  .ch-servicio--reverse .ch-servicio__text  { order: 1; }
  .ch-servicio--reverse .ch-servicio__media { order: 2; }

  .ch-servicios__heading { margin-bottom: 40px; }
  .ch-servicio           { padding: 36px 0; }

  /* — 15q. Tarjeta consulta — */
  .ch-consulta__card  { padding: 40px 28px; border-radius: 20px; }
  .ch-consulta__title { font-size: clamp(1.4rem, 6vw, 1.8rem); }
  .ch-consulta__price { font-size: clamp(2rem, 8vw, 2.6rem); }

  .ch-consulta .ch-consulta__card .ch-consulta__cta {
    width: 100%; text-align: center; padding: 16px 24px;
  }

  /* — 15r. Cateterismo — texto arriba, imagen abajo — */
  .ch-cateterismo__inner {
    grid-template-columns: 1fr; gap: 28px;
    max-width: 100%; padding: 0 8px;
  }

  .ch-cateterismo__text  { order: 1; }
  .ch-cateterismo__media { order: 2; }
  .ch-cateterismo__img   { max-width: 100%; }

  .ch-cateterismo__cta {
    width: 100%; text-align: center; align-self: stretch;
  }

  /* — 15s. Formulario móvil — */
  .ch-formulario .ch-container {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .fluentform .ff-el-form-control {
    font-size: 16px !important;
  }

  /* — 15t. Podcast homepage móvil — */
  .ch-podcast__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ch-podcast__deco {
    width: 100%;
    right: 0;
    opacity: 0.035;
  }

  .ch-podcast__desc { max-width: 100%; }
  .ch-podcast__meta { gap: 14px; }
  .ch-podcast__meta-value { font-size: 1.2rem; }

  .ch-podcast__thumb { aspect-ratio: 16 / 8; }

  .ch-podcast__play { width: 58px; height: 58px; }
  .ch-podcast__play svg { width: 22px; height: 22px; }

  .ch-podcast__ep-info  { padding: 16px 20px 18px; }
  .ch-podcast__ep-title { font-size: 0.95rem; }

  /* — 15u. Podcast page móvil — */
  .ch-podcast-page__hero {
    padding: 56px 20px 52px;
  }

  .ch-podcast-page__hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .ch-podcast-page__title {
    font-size: 2.8rem;
  }

  .ch-podcast-page__desc {
    max-width: 100%;
  }

  .ch-podcast-page__stats {
    gap: 14px;
  }

  .ch-podcast-page__featured {
    padding: 20px;
  }

  /* Grid a 1 columna */
  .ch-ep-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ch-podcast-page__episodes {
    padding: 52px 20px;
  }

  /* Modal — sube desde abajo (bottom sheet) */
  .ch-ep-modal {
    align-items: flex-end;
  }

  .ch-ep-modal__box {
    width: 100%;
    border-radius: 22px 22px 0 0;
    padding: 26px 20px 32px;
  }

  .ch-podcast-page__cta-bridge {
    padding: 60px 20px;
  }

  .ch-podcast-page__cta-btn.ch-btn {
    width: 100%;
    justify-content: center;
    display: flex;
  }

} /* FIN 15. MEDIA QUERIES */


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   15v. FOOTER — TABLETA (max-width: 1024px)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 1024px) {

  .site-footer .ast-footer-row-1 .ast-builder-grid-row {
    gap: 40px;
    padding-left: 32px;
    padding-right: 32px;
  }

} /* FIN 15v. FOOTER TABLETA */


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   15w. FOOTER — MÓVIL (max-width: 768px)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 768px) {

  .site-footer .ast-footer-row-1 .ast-builder-grid-row {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 40px;
    padding-right: 40px;
  }

  .site-footer .ch-footer-col--left {
    padding: 40px 0 32px;
    border-bottom: 1px solid var(--ch-border);
  }

  .site-footer .ch-footer-col--right {
    padding: 32px 0 40px;
  }

} /* FIN 15w. FOOTER MÓVIL */


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   16. ACCESIBILIDAD
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (prefers-reduced-motion: reduce) {
  .ch-hero__title,
  .ch-hero__subtitle,
  .ch-hero__logo img,
  .ch-hero .ch-btn.ch-hero__cta,
  .ch-hero__logo--mobile,
  .ch-hero__title--mobile,
  .ch-hero__subtitle--mobile,
  .ch-hero .ch-hero__bottom--mobile .ch-hero__cta--mobile,
  .ch-consulta .ch-consulta__card .ch-consulta__cta,
  .ch-tagline__text,
  .ch-podcast__eq-bar,
  .ch-ep-modal__skeleton {
    animation: none; opacity: 1; transform: none;
  }
}
/* FIN 16. ACCESIBILIDAD */