/* ==============================================================================
   ESMUJER - REDISEÑO MODERNO DE ALTO RENDIMIENTO
   Estilo idéntico a la maqueta oficial Es Mujer RG
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  --font-main: 'Montserrat', system-ui, -apple-system, sans-serif;
  --color-primary: #0c1840;
  --color-primary-dark: #23174f;
  --color-magenta: #cd23ac;
  --color-magenta-hover: #b81798;
  --color-purple: #5d3890;
  --color-purple-light: #f3e9f9;
  --color-bg-strip: #f8f4fc;
  --color-bg-footer: #faf5fc;
  --color-text: #23174f;
  --color-text-muted: #505565;
  --color-border: #ede1f4;
  --radius-card: 20px;
  --radius-pill: 50px;
  --shadow-card: 0 10px 30px rgba(93, 56, 144, 0.06);
  --shadow-hover: 0 16px 36px rgba(93, 56, 144, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

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

/* ==============================================================================
   1. HEADER & NAVEGACIÓN
   ============================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid #f6eff9;
}

.header-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.nav-link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--color-primary);
  position: relative;
  padding: 8px 2px;
}

.nav-link:hover {
  color: var(--color-magenta);
}

.nav-link.active {
  color: var(--color-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--color-magenta);
  border-radius: 2px;
}

.btn-header-agenda {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #cd23ac 0%, #db38a8 100%);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 18px rgba(197, 34, 150, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-header-agenda:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(197, 34, 150, 0.4);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-primary);
  margin: 5px 0;
  border-radius: 3px;
  transition: 0.3s;
}

/* ==============================================================================
   2. HERO PRINCIPAL (PANORÁMICO EDGE-TO-EDGE)
   ============================================================================== */
.hero-fullwidth {
  position: relative;
  width: 100%;
  background-color: #ffffff;
  background-image: url('/wp-content/uploads/2026/01/hero-banner-bg.png?v=5');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  min-height: 530px;
  display: flex;
  align-items: center;
  padding: 55px 0 45px;
  border-bottom: 1px solid #f6ecfa;
  overflow: hidden;
}

.hero-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 430px;
  width: 100%;
}

.hero-main-content {
  max-width: 540px;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.hero-tag .tag-line {
  display: inline-block;
  width: 26px;
  height: 2px;
  background: #cd23ac;
  border-radius: 2px;
}

.hero-tag .tag-text {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #7b3294;
}

.hero-heading {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  color: #0c1840;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero-heading .text-magenta {
  color: #cd23ac;
  display: inline-block;
}

.hero-subtext {
  font-size: 15.5px;
  line-height: 1.55;
  color: #505565;
  margin-bottom: 26px;
  max-width: 460px;
}

.btn-hero-agenda {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #d82cad 0%, #bd1897 100%);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 32px;
  border-radius: 50px;
  box-shadow: 0 10px 24px rgba(189, 24, 151, 0.32);
  transition: all 0.25s ease;
}

.btn-hero-agenda:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(189, 24, 151, 0.45);
}

/* Franja inferior de 4 características */
.hero-features-bar {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(235, 222, 246, 0.9);
  border-radius: 50px;
  padding: 12px 26px;
  box-shadow: 0 8px 24px rgba(93, 56, 144, 0.06);
  max-width: fit-content;
  margin-top: 36px;
  z-index: 2;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
}

.hero-feature-item:not(:last-child) {
  border-right: 1.5px solid #ebdcf2;
}

.hero-feature-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  border: 1.5px solid #cd23ac;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cd23ac;
  background: #ffffff;
}

.hero-feature-text {
  font-size: 12px;
  font-weight: 700;
  color: #20263e;
  line-height: 1.3;
}

/* ==============================================================================
   3. SECCIÓN QUIÉNES SOMOS
   ============================================================================== */
.about-section {
  padding: 80px 0 70px;
  background: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: 60px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-magenta);
  margin-bottom: 16px;
}

.section-label .label-line {
  display: inline-block;
  width: 28px;
  height: 2.5px;
  background: var(--color-magenta);
  border-radius: 2px;
}

.about-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.about-title-brand {
  background: linear-gradient(135deg, #5d3890 0%, #cd23ac 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.about-description {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.specialties-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}

.specialty-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
  background: #fdfafd;
  border-radius: 16px;
  border: 1px solid #f6ecfa;
  transition: all 0.25s ease;
}

.specialty-item:hover {
  background: #ffffff;
  border-color: #e2cbee;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(93, 56, 144, 0.06);
}

.specialty-icon-box {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fcebfa 0%, #f4e3f8 100%);
  border: 1.5px solid #e8bce4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cd23ac;
  box-shadow: 0 4px 10px rgba(205, 35, 172, 0.12);
}

.specialty-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.35;
}

.about-card-frame {
  padding: 12px;
  background: linear-gradient(135deg, #fcebfa 0%, #eeddf6 100%);
  border-radius: 32px;
  box-shadow: 0 20px 45px rgba(93, 56, 144, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  max-height: 520px;
}

.about-card-frame img {
  border-radius: 24px;
  width: 100%;
  height: 100%;
  max-height: 496px;
  object-fit: cover;
  display: block;
}

/* ==============================================================================
   4. STATS STRIP (MÁS DE 30 AÑOS...)
   ============================================================================== */
.stats-strip {
  background: #f8f4fc;
  border-top: 1.5px solid #ebdcf2;
  border-bottom: 1.5px solid #ebdcf2;
  padding: 38px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 32px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 28px;
}

.stat-item:not(:last-child) {
  border-right: 1.5px solid #dfcceb;
}

.stat-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  color: #7b3294;
  padding: 10px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #ebdcf2;
  box-shadow: 0 4px 14px rgba(93, 56, 144, 0.06);
}

.stat-info strong, .stat-text h3 {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: #23174f;
  margin-bottom: 4px;
  line-height: 1.25;
}

.stat-info span, .stat-text p {
  display: block;
  font-size: 13.5px;
  color: #666666;
  line-height: 1.4;
}

/* ==============================================================================
   5. NUESTRO EQUIPO
   ============================================================================== */
.team-section {
  padding: 90px 0 80px;
  background: #ffffff;
  text-align: center;
}

.team-heading {
  font-size: 34px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.3;
  margin: 14px auto 50px;
  max-width: 720px;
}

.team-heading .text-purple {
  color: var(--color-purple);
}

.team-grid-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 28px;
}

.team-grid-bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 800px;
  margin: 0 auto;
}

.doctor-card {
  position: relative;
  background: #ffffff;
  border: 1.5px solid #ebdcf2;
  border-radius: 24px;
  padding: 36px 26px 30px;
  box-shadow: 0 10px 28px rgba(93, 56, 144, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

.doctor-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 3px;
  background: linear-gradient(90deg, #cd23ac, #db38a8);
  border-radius: 0 0 4px 4px;
}

.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(93, 56, 144, 0.12);
  border-color: #d8b8e8;
}

.doctor-avatar-box {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #faf3fd 0%, #f4e6f9 100%);
  border: 2px solid #e8bce4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cd23ac;
  margin-bottom: 20px;
  box-shadow: 0 6px 16px rgba(205, 35, 172, 0.12);
}

.doctor-name {
  font-size: 17.5px;
  font-weight: 800;
  color: #23174f;
  margin-bottom: 14px;
  line-height: 1.3;
}

.doctor-bio {
  font-size: 13px;
  line-height: 1.65;
  color: #666666;
}

/* ==============================================================================
   6. NUESTRA PASIÓN (PANORÁMICO EDGE-TO-EDGE)
   ============================================================================== */
.passion-fullwidth {
  position: relative;
  width: 100%;
  background-color: #ffffff;
  background-image: url('/wp-content/uploads/2026/01/passion-banner-bg.png?v=5');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 65px 0;
  overflow: hidden;
  border-top: 1px solid #f6ecfa;
  border-bottom: 1px solid #f6ecfa;
}

.passion-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: 100%;
}

.passion-main-content {
  max-width: 540px;
  padding-right: 20px;
}

.passion-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.18;
  margin: 12px 0 18px;
  letter-spacing: -0.5px;
}

.passion-title .text-magenta {
  color: var(--color-magenta);
}

.passion-description {
  font-size: 15.5px;
  line-height: 1.65;
  color: #555555;
  margin-bottom: 30px;
}
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.btn-pill-magenta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #cd23ac 0%, #db38a8 100%);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 32px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 24px rgba(197, 34, 150, 0.32);
  transition: all 0.25s ease;
}

.btn-pill-magenta:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(197, 34, 150, 0.45);
}

.passion-image-frame {
  position: relative;
}

.passion-image-frame img {
  border-radius: 40px 0 0 40px;
  box-shadow: -15px 15px 40px rgba(93, 56, 144, 0.1);
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* ==============================================================================
   7. FOOTER
   ============================================================================== */
.site-footer {
  background: var(--color-bg-footer);
  border-top: 1px solid var(--color-border);
  padding: 60px 0 25px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.25fr 1.25fr 0.95fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-map-embed {
  margin-top: 12px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(93, 56, 144, 0.08);
  border: 1px solid #ebdcf2;
  line-height: 0;
}

.footer-map-embed iframe {
  width: 100%;
  height: 125px;
  border: 0;
  display: block;
}

.footer-heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 18px;
}

.footer-menu {
  list-style: none;
}

.footer-menu li {
  margin-bottom: 8px;
}

.footer-menu a {
  font-size: 13.5px;
  color: var(--color-purple);
  font-weight: 500;
}

.footer-menu a:hover {
  color: var(--color-magenta);
  text-decoration: underline;
}

.footer-address {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.footer-contact-list {
  list-style: none;
}

.footer-contact-list li {
  margin-bottom: 10px;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--color-primary);
}

.footer-contact-link:hover {
  color: var(--color-magenta);
}

.footer-icon {
  color: var(--color-magenta);
}

.footer-col-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.footer-logo img {
  height: 60px;
  width: auto;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 13.5px;
  color: var(--color-purple);
  font-weight: 500;
  line-height: 1.4;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid #ebdcf2;
  font-size: 12px;
  color: #7a7786;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-legal-links a:hover {
  color: var(--color-magenta);
}

.credit-link {
  color: #5d3890;
  font-weight: 600;
  transition: color 0.2s ease;
}

.credit-link:hover {
  color: #cd23ac;
  text-decoration: underline;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 58px;
  height: 58px;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  z-index: 99999;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  background: #333333;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

/* ==============================================================================
   7.5. HARMONIZACIÓN Y ALINEACIÓN DE PÁGINAS INTERIORES
   (Servicios, Diplomados, Citas, FAQ, Aviso, Términos, Errores)
   ============================================================================== */

/* Hero Panorámico para Páginas Interiores (Mismo sistema visual que Index) */
.subpage-hero, .page-hero-banner, .page-header {
  width: 100%;
  background: linear-gradient(135deg, #fdfbff 0%, #f5ecf9 50%, #fceef9 100%);
  padding: 58px 0 50px;
  border-bottom: 1px solid #ebdcf2;
  position: relative;
  overflow: hidden;
}

.subpage-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(205, 35, 172, 0.08) 0%, rgba(93, 56, 144, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.subpage-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.subpage-hero .hero-tag {
  justify-content: center;
  margin-bottom: 14px;
}

.subpage-title, .page-hero-banner h1, .page-header h1, .page-header .entry-title {
  font-size: 40px;
  font-weight: 800;
  color: #0c1840;
  letter-spacing: -0.6px;
  line-height: 1.18;
  margin: 0 0 14px;
}

.subpage-subtitle, .page-hero-banner p, .page-header p {
  font-size: 16.5px;
  color: #4a455a;
  font-weight: 500;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Sección principal de páginas interiores */
.subpage-section {
  padding: 64px 0 76px;
  background-color: #ffffff;
}

/* Grid de Servicios (/servicios/) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.service-card {
  background: #ffffff;
  border: 1.5px solid #ebdcf2;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(93, 56, 144, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #5d3890 0%, #cd23ac 50%, #f09ce0 100%);
  z-index: 2;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(93, 56, 144, 0.13);
  border-color: #dfbae6;
}

.service-card-img {
  width: 100%;
  height: 210px;
  overflow: hidden;
  background: #f8f4fc;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.05);
}

.service-card-body {
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  text-align: center;
}

.service-badge {
  display: inline-block;
  align-self: center;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #5d3890;
  background: #f2eafd;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.service-card-title {
  font-size: 16.5px;
  font-weight: 700;
  color: #23174f;
  line-height: 1.35;
  margin-bottom: 10px;
}

.service-card-desc {
  font-size: 13.5px;
  color: #5b586b;
  line-height: 1.55;
  margin-bottom: 18px;
}

.service-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: #cd23ac;
  padding: 8px 18px;
  border-radius: 50px;
  background: #fdf4fb;
  border: 1px solid #f2d2ec;
  transition: all 0.25s ease;
  align-self: center;
}

.service-card-cta:hover {
  background: #cd23ac;
  color: #ffffff;
  border-color: #cd23ac;
}

/* Página de Diplomados (/diplomados/) */
.diplomado-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}

.diplomado-card, .form-card, .branch-card, .legal-card {
  background: #ffffff;
  border: 1.5px solid #ebdcf2;
  border-radius: 24px;
  padding: 36px 34px;
  box-shadow: 0 12px 32px rgba(93, 56, 144, 0.07);
  position: relative;
  overflow: hidden;
}

.diplomado-card::before, .form-card::before, .branch-card::before, .legal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #5d3890 0%, #cd23ac 50%, #f09ce0 100%);
}

.diplomado-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #f3e9f9 0%, #fcebf8 100%);
  color: #5d3890;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 50px;
  border: 1px solid #e8bce4;
  margin-bottom: 18px;
}

.diplomado-heading {
  font-size: 26px;
  font-weight: 800;
  color: #23174f;
  line-height: 1.25;
  margin-bottom: 8px;
}

.diplomado-date {
  font-size: 15px;
  font-weight: 600;
  color: #cd23ac;
  margin-bottom: 24px;
}

.diplomado-block {
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f2e8f7;
}

.diplomado-block:last-of-type {
  border-bottom: none;
  margin-bottom: 26px;
  padding-bottom: 0;
}

.diplomado-block h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: #23174f;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.diplomado-list {
  list-style: none;
  padding: 0;
}

.diplomado-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 14.5px;
  color: #4a455a;
  font-weight: 500;
}

.diplomado-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #cd23ac;
  font-weight: 800;
}

/* Página Agenda tu Cita (/agenda-tu-cita/) */
.agenda-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: start;
}

.form-card-title {
  font-size: 24px;
  font-weight: 800;
  color: #23174f;
  margin-bottom: 8px;
}

.form-card-desc {
  font-size: 14.5px;
  color: #5b586b;
  margin-bottom: 24px;
  line-height: 1.55;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  margin-bottom: 7px;
  color: #23174f;
  font-size: 13.5px;
  font-weight: 700;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e2d2ee;
  border-radius: 12px;
  font-family: var(--font-main);
  font-size: 14.5px;
  color: #23174f;
  background: #fdfbff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-control:focus {
  outline: none;
  border-color: #cd23ac;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(205, 35, 172, 0.12);
}

.btn-submit-cita {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(90deg, #b81c9e 0%, #d428b4 100%);
  color: #ffffff;
  border: none;
  padding: 15px 28px;
  border-radius: 50px;
  font-family: var(--font-main);
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(205, 35, 172, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-submit-cita:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(205, 35, 172, 0.38);
}

.branches-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.branch-card {
  padding: 28px 26px;
}

.branch-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: #23174f;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.branch-card p {
  font-size: 14px;
  color: #505565;
  line-height: 1.6;
  margin-bottom: 14px;
}

.branch-map {
  margin-top: 14px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #ebdcf2;
  line-height: 0;
}

/* Página Preguntas Frecuentes (/preguntas-frecuentes/) */
.faq-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 44px;
  align-items: start;
}

.faq-item {
  background: #ffffff;
  border: 1.5px solid #ebdcf2;
  border-radius: 18px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(93, 56, 144, 0.05);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item.active {
  border-color: #cd23ac;
  box-shadow: 0 10px 28px rgba(93, 56, 144, 0.1);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: #fdfbff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 700;
  color: #23174f;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.faq-question:hover {
  background: #f8f2fc;
  color: #cd23ac;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f3e9f9;
  color: #cd23ac;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: #cd23ac;
  color: #ffffff;
}

.faq-answer {
  display: none;
  padding: 18px 24px 22px;
  background: #ffffff;
  color: #4a455a;
  font-size: 14.5px;
  line-height: 1.7;
  border-top: 1px solid #f3e9f9;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-answer p {
  margin-bottom: 12px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.faq-answer li {
  margin-bottom: 6px;
}

/* Páginas Legales (Aviso de Privacidad / Términos) */
.legal-card, .page-body-content {
  background: #ffffff;
  border: 1.5px solid #ebdcf2;
  border-radius: 24px;
  padding: 45px 40px;
  box-shadow: 0 10px 32px rgba(93, 56, 144, 0.06);
  max-width: 960px;
  margin: 0 auto;
  line-height: 1.8;
  color: #3b3a4a;
}

.legal-card h2, .page-body-content h2 {
  color: #23174f;
  font-size: 21px;
  font-weight: 700;
  margin: 28px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #ebdcf2;
}

.legal-card p, .page-body-content p {
  margin-bottom: 16px;
}

.legal-card ul, .page-body-content ul {
  padding-left: 24px;
  margin-bottom: 18px;
}

.legal-card li, .page-body-content li {
  margin-bottom: 8px;
}

/* ==============================================================================
   8. RESPONSIVE BREAKPOINTS (Mobile & Tablet)
   ============================================================================== */
@media (max-width: 992px) {
  .hero-fullwidth {
    background-position: 75% center;
    padding: 45px 0 35px;
    min-height: auto;
  }
  .passion-fullwidth {
    background-position: 75% center;
    padding: 50px 0;
    min-height: auto;
  }
  .hero-heading {
    font-size: 38px;
  }
  .hero-features-bar {
    flex-wrap: wrap;
    border-radius: 20px;
    gap: 12px;
    padding: 14px 16px;
  }
  .hero-feature-item:not(:last-child) {
    border-right: none;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .stat-item:not(:last-child) {
    border-right: none;
  }
  .team-grid-top {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
    margin: 0 auto 24px;
  }
  .team-grid-bottom {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
    margin: 0 auto;
  }
  .passion-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .passion-image-frame img {
    border-radius: 24px;
    height: 320px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .diplomado-grid, .agenda-grid, .faq-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .subpage-title {
    font-size: 34px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  /* Prevenir zoom automático molesto en iOS */
  input, select, textarea, .form-control {
    font-size: 16px !important;
  }

  .container {
    padding: 0 18px;
  }

  /* Header Móvil */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 10000;
  }
  .header-container {
    padding: 10px 18px;
  }
  .header-logo img {
    height: 42px;
    width: auto;
  }
  .mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: 8px;
    background: #faf4fb;
  }
  .mobile-toggle span {
    width: 22px;
    height: 2.5px;
    margin: 2.5px 0;
  }
  .nav-menu {
    position: fixed;
    top: 62px;
    left: 0;
    width: 100%;
    height: calc(100vh - 62px);
    max-height: calc(100vh - 62px);
    background: #ffffff;
    flex-direction: column;
    padding: 28px 20px 36px;
    gap: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    display: none;
    z-index: 99999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-menu.nav-open {
    display: flex;
  }
  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 14px;
    text-align: center;
  }
  .nav-link {
    font-size: 16.5px;
    padding: 10px 14px;
    display: block;
  }
  .nav-cta-wrapper {
    width: 100%;
    padding-top: 10px;
  }
  .btn-header-agenda {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 15px;
  }

  /* Hero Principal Móvil */
  .hero-fullwidth {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.92) 55%, rgba(255, 255, 255, 0.72) 100%), url('/wp-content/uploads/2026/01/hero-banner-bg.png?v=5');
    background-position: 75% 25%;
    background-size: cover;
    padding: 36px 0 26px;
    min-height: auto;
  }
  .hero-container {
    min-height: auto;
    gap: 28px;
  }
  .hero-main-content {
    max-width: 100%;
    text-align: left;
  }
  .hero-heading {
    font-size: 32px;
    line-height: 1.15;
    margin-bottom: 14px;
  }
  .hero-subtext {
    font-size: 14.5px;
    line-height: 1.5;
    margin-bottom: 22px;
  }
  .btn-hero-agenda {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    padding: 13px 22px;
    font-size: 14.5px;
  }
  .hero-features-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    padding: 12px 14px;
    border-radius: 16px;
  }
  .hero-feature-item {
    gap: 10px;
    padding: 4px;
  }
  .feature-icon-box {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }
  .feature-label {
    font-size: 13px;
  }

  /* Quiénes somos Móvil */
  .about-section {
    padding: 50px 0;
  }
  .about-title {
    font-size: 30px;
  }
  .about-card-frame {
    max-height: 340px;
    border-radius: 20px;
  }
  .specialties-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Franja de confianza Móvil */
  .stats-strip {
    padding: 26px 0;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .stat-item {
    padding: 14px 16px;
    background: #ffffff;
    border: 1px solid #ebdcf2;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(93, 56, 144, 0.04);
  }
  .stat-item:not(:last-child) {
    border-right: none;
    border-bottom: none;
  }

  /* Equipo Médico Móvil */
  .team-section {
    padding: 55px 0 50px;
  }
  .team-heading {
    font-size: 26px;
    margin: 10px auto 35px;
  }
  .team-grid-top, .team-grid-bottom {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto 20px;
    gap: 20px;
  }
  .doctor-card {
    padding: 28px 20px 24px;
    border-radius: 20px;
  }

  /* Nuestra Pasión Móvil */
  .passion-fullwidth {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.92) 55%, rgba(255, 255, 255, 0.75) 100%), url('/wp-content/uploads/2026/01/passion-banner-bg.png?v=5');
    background-position: 75% 25%;
    padding: 38px 0;
    min-height: auto;
  }
  .passion-title {
    font-size: 28px;
  }
  .passion-text {
    font-size: 14.5px;
    line-height: 1.55;
    margin-bottom: 22px;
  }
  .btn-passion-paquetes {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  /* Subpáginas Móvil */
  .subpage-hero {
    padding: 38px 0 32px;
  }
  .subpage-title {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 10px;
  }
  .subpage-subtitle {
    font-size: 14.5px;
    line-height: 1.5;
  }
  .subpage-section {
    padding: 42px 0 54px;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-card-img {
    height: 190px;
  }
  .diplomado-card, .form-card, .branch-card, .legal-card, .page-body-content {
    padding: 24px 18px;
    border-radius: 18px;
  }
  .diplomado-heading {
    font-size: 22px;
  }
  .form-card-title {
    font-size: 21px;
  }

  /* Footer Móvil */
  .site-footer {
    padding: 45px 0 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
  }
  .footer-map-embed iframe {
    height: 135px;
  }
  .footer-col-brand {
    align-items: center;
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-tooltip {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-heading {
    font-size: 28px;
  }
  .hero-features-bar {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .btn-hero-agenda, .btn-submit-cita, .btn-passion-paquetes {
    width: 100%;
    max-width: 100%;
  }
  .about-title, .passion-title, .subpage-title {
    font-size: 25px;
  }
}
