/* ==========================================================================
   PSICOLAB - Gabinete de Psicología (Ciudad Real)
   Hoja de Estilos Tradicional (CSS Puro, Responsivo y Accesible)
   ========================================================================== */

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

/* --- Variables y Paleta de Colores Oficial --- */
:root {
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Paleta Corporativa (Extraída de logo.webp) */
  --primary-navy: #022A7F;
  --primary-dark: #0A1B3D;
  --primary-light: #0E3E9E;
  --accent-cyan: #007EFE;
  --accent-blue: #007EFE;
  --accent-bright: #3B82F6;

  /* Colores de Fondo y Superficie */
  --bg-page: #fafbfc;
  --bg-card: #ffffff;
  --bg-card-alt: #f0faff;
  --bg-hover: #eaf6fd;
  --bg-subtle: #f8fafc;

  /* Textos */
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  /* Bordes y Líneas */
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  --border-active: #188db7;

  /* Gradientes de Marca */
  --gradient-brand: linear-gradient(135deg, #007EFE 0%, #022A7F 100%);
  --gradient-card: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
  --gradient-hero-bg: radial-gradient(circle at 10% 20%, rgba(97, 197, 232, 0.1) 0%, rgba(250, 251, 252, 0.6) 80%);

  /* Sombras */
  --shadow-sm: 0 2px 6px rgba(0, 51, 102, 0.04);
  --shadow-md: 0 6px 18px rgba(0, 51, 102, 0.08);
  --shadow-lg: 0 14px 30px rgba(0, 51, 102, 0.12);
  --shadow-card: 0 8px 24px rgba(7, 49, 79, 0.06);

  /* Transiciones y Dimensiones */
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: 1200px;
  --nav-height: 74px;
}

/* --- Reseteo Global y Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 20px);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Decoraciones ambientales en segundo plano */
.bg-ambient-1 {
  position: fixed;
  top: -15%;
  right: -8%;
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(97, 197, 232, 0.12) 0%, rgba(24, 141, 183, 0.04) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.bg-ambient-2 {
  position: fixed;
  bottom: -15%;
  left: -8%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(3, 102, 214, 0.03) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Envoltorio principal */
.site-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1 0 auto;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 40px) 24px 60px;
}

/* Enlaces y Tipografía */
a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-navy);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-navy);
  line-height: 1.25;
}

/* ==========================================================================
   NAVEGACIÓN (HEADER & NAVBAR)
   ========================================================================== */
.header-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  z-index: 1000;
  transition: var(--transition);
}

.nav-container {
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 51, 102, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.brand-subtitle {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* Menú de Escritorio */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--text-secondary);
  border-radius: 10px;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--primary-navy);
  background-color: rgba(0, 51, 102, 0.05);
  transform: translateY(-1px);
}

.nav-link.active {
  color: var(--primary-navy);
  background-color: rgba(24, 141, 183, 0.12);
  font-weight: 700;
}

.nav-cta-btn {
  margin-left: 8px;
  padding: 9px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff !important;
  background: var(--gradient-brand);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(24, 141, 183, 0.28);
  transition: var(--transition);
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(7, 49, 79, 0.35);
}

/* Botón Hamburguesa Móvil */
.mobile-toggle-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--primary-navy);
  transition: var(--transition);
}

.mobile-toggle-btn:hover {
  background-color: var(--bg-hover);
}

/* Menú Móvil Desplegable */
.mobile-menu-drawer {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 2px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  padding: 20px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 10px;
  transform: translateY(-10px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-drawer.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu-drawer .nav-link {
  font-size: 1rem;
  padding: 12px 16px;
}

/* ==========================================================================
   BOTONES Y ELEMENTOS COMUNES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(24, 141, 183, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(7, 49, 79, 0.35);
}

.btn-secondary {
  background: #ffffff;
  color: var(--primary-navy) !important;
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--bg-card-alt);
  border-color: var(--accent-blue);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--accent-blue) !important;
  border: 1.5px solid var(--accent-blue);
}

.btn-outline:hover {
  background: var(--accent-blue);
  color: #fff !important;
}

/* ==========================================================================
   PÁGINA PRINCIPAL: HERO SECTION
   ========================================================================== */
.hero-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  padding: 20px 0 60px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin: 0;
}

.hero-title-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-top: -6px;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 540px;
}

.hero-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
}

.hero-benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--text-primary);
  font-weight: 500;
}

.benefit-icon {
  width: 22px;
  height: 22px;
  color: #10b981;
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  flex-wrap: wrap;
}

/* Imagen Hero y Tarjeta Flotante */
.hero-media-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-frame {
  position: relative;
  width: 100%;
  max-width: 460px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
}

.hero-image-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-image-frame:hover img {
  transform: scale(1.03);
}

.floating-badge-card {
  position: absolute;
  bottom: -22px;
  right: 10px;
  background: #ffffff;
  padding: 14px 20px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 51, 102, 0.16);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 14px;
  animation: floatCard 4s ease-in-out infinite alternate;
}

@keyframes floatCard {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.floating-icon-bubble {
  width: 44px;
  height: 44px;
  background: rgba(24, 141, 183, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
}

.floating-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.floating-card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SECCIONES INFORMATIVAS (METODOLOGÍA, ENFOQUES, TECNOLOGÍA)
   ========================================================================== */
.feature-section-block {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 38px 42px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  margin-bottom: 36px;
  transition: var(--transition);
}

.feature-section-block:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(24, 141, 183, 0.4);
}

.feature-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 20px;
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  background: rgba(24, 141, 183, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  flex-shrink: 0;
}

.feature-subtitle {
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-blue);
  margin-bottom: 2px;
}

.feature-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.feature-body-text {
  font-size: 1.04rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.feature-body-text b {
  color: var(--primary-dark);
}

.feature-pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.feature-pill-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card-alt);
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary-dark);
  border: 1px solid rgba(24, 141, 183, 0.15);
  transition: var(--transition);
}

.feature-pill-item:hover {
  background: #e2f4fb;
  transform: translateY(-2px);
}

.pill-check-icon {
  width: 18px;
  height: 18px;
  color: #10b981;
  flex-shrink: 0;
}

/* Banner de Cita Rápida al final de inicio */
.cta-banner {
  background: linear-gradient(135deg, #07314f 0%, #003366 50%, #188db7 100%);
  border-radius: 24px;
  padding: 48px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 16px 36px rgba(0, 51, 102, 0.25);
  margin-top: 20px;
}

.cta-banner h2 {
  color: #ffffff;
  font-size: 2rem;
  margin-bottom: 8px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  max-width: 580px;
}

.cta-banner .btn-cta {
  background: #ffffff;
  color: var(--primary-navy) !important;
  font-weight: 700;
  padding: 15px 32px;
  font-size: 1.02rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

.cta-banner .btn-cta:hover {
  transform: translateY(-3px);
  background: #f0faff;
  color: var(--accent-blue) !important;
}

/* ==========================================================================
   PÁGINA DE SERVICIOS
   ========================================================================== */
.page-header-block {
  margin-bottom: 40px;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.page-intro-lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 700px;
}

.services-category-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 18px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-cr-container + section .services-category-title {
  margin-top: 8px;
}

.services-category-title span.badge {
  font-size: 0.85rem;
  background: rgba(24, 141, 183, 0.12);
  color: var(--accent-blue);
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
}

.services-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.service-card-item {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  text-align: left;
  width: 100%;
}

.service-card-item:hover {
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.service-card-img-wrap {
  width: 170px;
  height: 170px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  background-color: #f1f5f9;
}

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

.service-card-item:hover .service-card-img-wrap img {
  transform: scale(1.06);
}

.service-card-content {
  flex: 1;
  padding: 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.service-card-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.service-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-blue);
  margin-top: 4px;
}

/* Modal Detalle de Servicio */
.service-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 49, 79, 0.65);
  backdrop-filter: blur(5px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-modal-backdrop.open {
  display: flex;
  opacity: 1;
}

.service-modal-container {
  background: #ffffff;
  width: 100%;
  max-width: 680px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  0% { transform: scale(0.92) translateY(20px); }
  100% { transform: scale(1) translateY(0); }
}

.modal-header-hero {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.modal-header-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-header-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(7, 49, 79, 0.8) 100%);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  font-size: 1.2rem;
  z-index: 10;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: #ffffff;
  transform: rotate(90deg);
}

.modal-body {
  padding: 28px 32px;
  overflow-y: auto;
}

.modal-service-category {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-blue);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.modal-service-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 16px;
}

.modal-service-text {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.modal-benefits-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.modal-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.modal-benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

/* ==========================================================================
   PÁGINA DE CITAS: SISTEMA DE RESERVAS TRADICIONAL
   ========================================================================== */
.booking-wizard-wrapper {
  background: var(--bg-card);
  border-radius: 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  padding: 36px 40px;
}

/* Stepper */
.stepper-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  position: relative;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.step-indicator-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  flex: 1;
  position: relative;
  text-align: center;
}

.step-indicator-item::after {
  content: '';
  position: absolute;
  top: 16px;
  left: 50%;
  width: 100%;
  height: 2px;
  background-color: var(--border-color);
  z-index: 1;
}

.step-indicator-item:last-child::after {
  display: none;
}

.step-bubble {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-muted);
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.step-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}

.step-indicator-item.active .step-bubble {
  border-color: var(--accent-blue);
  background: var(--accent-blue);
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(24, 141, 183, 0.2);
}

.step-indicator-item.active .step-label {
  color: var(--primary-navy);
  font-weight: 700;
}

.step-indicator-item.completed .step-bubble {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
}

.step-indicator-item.completed::after {
  background-color: #10b981;
}

/* Contenido de los pasos */
.wizard-step-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}

.wizard-step-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.wizard-section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.wizard-section-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Tarjetas de Selección de Servicio */
.services-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.service-choice-card {
  background: var(--bg-subtle);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  padding: 20px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-choice-card:hover {
  border-color: var(--accent-blue);
  background: var(--bg-card-alt);
  transform: translateY(-2px);
}

.service-choice-card.selected {
  border-color: var(--accent-blue);
  background: rgba(24, 141, 183, 0.08);
  box-shadow: 0 4px 14px rgba(24, 141, 183, 0.2);
}

.choice-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.choice-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.choice-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-blue);
}

.choice-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.choice-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Modalidad Selección */
.modality-toggle-box {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.modality-btn {
  flex: 1;
  min-width: 200px;
  padding: 14px 20px;
  border-radius: 14px;
  border: 2px solid var(--border-color);
  background: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  color: var(--text-secondary);
}

.modality-btn:hover {
  border-color: var(--accent-blue);
  background: var(--bg-card-alt);
}

.modality-btn.selected {
  border-color: var(--accent-blue);
  background: rgba(24, 141, 183, 0.08);
  color: var(--primary-navy);
}

/* Calendario Tradicional */
.calendar-component-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 24px;
  max-width: 480px;
  margin: 0 auto 28px;
  box-shadow: var(--shadow-sm);
}

.calendar-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.calendar-month-label {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.calendar-nav-arrow {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary-navy);
  transition: var(--transition);
}

.calendar-nav-arrow:hover:not(:disabled) {
  background: var(--bg-hover);
  color: var(--accent-blue);
}

.calendar-nav-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.calendar-weekdays-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.calendar-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.cal-day-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-primary);
}

.cal-day-cell:hover:not(.disabled):not(.empty) {
  background-color: var(--bg-card-alt);
  color: var(--accent-blue);
  border-color: rgba(24, 141, 183, 0.3);
}

.cal-day-cell.today {
  border-color: var(--accent-blue);
  font-weight: 700;
}

.cal-day-cell.selected {
  background: var(--accent-blue) !important;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(24, 141, 183, 0.4);
}

.cal-day-cell.disabled {
  color: #cbd5e1;
  cursor: not-allowed;
  pointer-events: none;
}

.cal-day-cell.empty {
  cursor: default;
  pointer-events: none;
}

/* Horarios */
.time-slots-container {
  max-width: 540px;
  margin: 0 auto 28px;
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
}

.time-slot-btn {
  padding: 12px 14px;
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-navy);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.time-slot-btn:hover {
  border-color: var(--accent-blue);
  background: var(--bg-card-alt);
}

.time-slot-btn.selected {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(24, 141, 183, 0.3);
}

/* Formulario de Cita */
.form-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-field-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-input-text, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--text-primary);
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  transition: var(--transition);
}

.form-input-text:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(24, 141, 183, 0.15);
}

/* Resumen de Confirmación */
.booking-summary-card {
  background: var(--bg-card-alt);
  border: 1.5px solid rgba(24, 141, 183, 0.25);
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.96rem;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(24, 141, 183, 0.2);
}

.summary-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
  font-weight: 700;
  font-size: 1.1rem;
}

.summary-label {
  color: var(--text-muted);
}

.summary-val {
  color: var(--primary-navy);
  font-weight: 600;
}

.wizard-footer-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  margin-top: 20px;
}

/* Modal de éxito de cita */
.booking-success-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 49, 79, 0.7);
  backdrop-filter: blur(5px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.booking-success-modal.open {
  display: flex;
}

.booking-success-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px;
  max-width: 520px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.success-check-bubble {
  width: 68px;
  height: 68px;
  background: #ecfdf5;
  color: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.2);
}

/* ==========================================================================
   PÁGINA DE EQUIPO
   ========================================================================== */
.team-profile-container {
  background: var(--bg-card);
  border-radius: 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin-bottom: 40px;
}

.team-profile-top {
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  align-items: flex-start;
  border-bottom: 1px solid var(--border-color);
}

.team-avatar-frame {
  width: 220px;
  height: 220px;
  border-radius: 20px;
  overflow: hidden;
  border: 4px solid #ffffff;
  box-shadow: var(--shadow-md);
  background: #e2e8f0;
}

.team-avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-header-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.team-name {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-navy);
}

.team-badges-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(24, 141, 183, 0.1);
  color: var(--accent-blue);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 600;
}

.badge-tag-col {
  background: rgba(0, 51, 102, 0.08);
  color: var(--primary-navy);
}

.team-bio-paragraph {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* Pestañas y Secciones del Curriculum */
.cv-tabs-nav {
  display: flex;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-color);
  padding: 0 32px;
  overflow-x: auto;
  gap: 8px;
}

.cv-tab-btn {
  padding: 16px 20px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.cv-tab-btn:hover {
  color: var(--primary-navy);
}

.cv-tab-btn.active {
  color: var(--accent-blue);
  border-bottom-color: var(--accent-blue);
  font-weight: 700;
}

.cv-tab-content-area {
  padding: 36px 40px;
}

.cv-tab-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}

.cv-tab-pane.active {
  display: block;
}

.cv-section-block {
  margin-bottom: 28px;
}

.cv-section-block:last-child {
  margin-bottom: 0;
}

.cv-subheading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cv-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cv-list-item {
  position: relative;
  padding-left: 24px;
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.cv-list-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-blue);
}

/* ==========================================================================
   PÁGINA DE CONTACTO
   ========================================================================== */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 36px;
  margin-bottom: 40px;
}

.contact-cards-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-card-box {
  background: var(--bg-card);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}

.contact-card-box:hover {
  transform: translateY(-2px);
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-md);
}

.contact-icon-bubble {
  width: 50px;
  height: 50px;
  background: rgba(24, 141, 183, 0.1);
  color: var(--accent-blue);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.contact-card-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.contact-form-card {
  background: var(--bg-card);
  border-radius: 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  padding: 36px;
}

.form-feedback-message {
  display: none;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 16px 20px;
  border-radius: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  animation: fadeIn 0.3s ease;
}

/* ==========================================================================
   PÁGINA FAQ (PREGUNTAS FRECUENTES)
   ========================================================================== */
.faq-filter-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.faq-filter-btn {
  padding: 10px 22px;
  border-radius: 30px;
  border: 1.5px solid var(--border-color);
  background: #ffffff;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.faq-filter-btn:hover {
  border-color: var(--accent-blue);
  color: var(--primary-navy);
}

.faq-filter-btn.active {
  background: var(--accent-blue);
  color: #ffffff;
  border-color: var(--accent-blue);
  box-shadow: 0 4px 12px rgba(24, 141, 183, 0.3);
}

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

.faq-item {
  background: var(--bg-card);
  border-radius: 18px;
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(24, 141, 183, 0.4);
}

.faq-question-btn {
  width: 100%;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-navy);
  transition: var(--transition);
}

.faq-toggle-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-toggle-icon {
  transform: rotate(180deg);
  background: var(--accent-blue);
  color: #ffffff;
}

.faq-answer-pane {
  display: none;
  padding: 0 26px 24px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

.faq-item.open .faq-answer-pane {
  display: block;
}

/* ==========================================================================
   PIE DE PÁGINA (FOOTER)
   ========================================================================== */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 28px 24px 24px;
  margin-top: auto;
  position: relative;
  z-index: 10;
}

.footer-content-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-nav-columns {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 180px;
}

.footer-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-navy);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.footer-link {
  font-size: 0.92rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--accent-blue);
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   RESPONSIVIDAD Y MEDIA QUERIES
   ========================================================================== */
@media (max-width: 992px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-desc {
    max-width: 100%;
  }

  .hero-benefits-list {
    align-items: flex-start;
    display: inline-flex;
    text-align: left;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-media-wrapper {
    margin-top: 10px;
  }

  .team-profile-top {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .team-badges-row {
    justify-content: center;
  }

  .contact-layout-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 68px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-toggle-btn {
    display: block;
  }

  .main-content {
    padding: calc(var(--nav-height) + 24px) 16px 40px;
  }

  .feature-section-block {
    padding: 26px 20px;
  }

  .service-card-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-card-img-wrap {
    width: 100%;
    height: 180px;
  }

  .service-card-content {
    padding: 20px;
  }

  .cta-banner {
    flex-direction: column;
    padding: 32px 24px;
    text-align: center;
  }

  .booking-wizard-wrapper {
    padding: 24px 18px;
  }

  .form-grid-layout {
    grid-template-columns: 1fr;
  }

  .stepper-header {
    gap: 4px;
  }

  .step-label {
    display: none;
  }

  .footer-nav-columns {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-bottom-bar {
    justify-content: center;
    text-align: center;
  }
}

/* ==========================================================================
   ESTILOS ESPECÍFICOS PARA VERSIÓN ALTERNATIVA (index2.html)
   Estilo Gabinete de Psicología Sanitaria en Ciudad Real
   ========================================================================== */

/* Cinta de Contacto Rápido Ciudad Real (index2.html) */
.clinic-quick-contact-strip {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 10px 20px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.quick-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.quick-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-navy);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.quick-contact-link:hover {
  color: var(--accent-blue);
}

.quick-contact-link.quick-wa {
  color: #16a34a;
}

.quick-contact-link.quick-wa:hover {
  color: #15803d;
}

.quick-badge {
  background: rgba(24, 141, 183, 0.12);
  color: var(--accent-blue);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* Hero Sanitario Ciudad Real */
.hero-cr-container {
  padding: 16px 0 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 36px;
  align-items: center;
  width: 100%;
}

.hero-cr-badge-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(24, 141, 183, 0.12);
  color: var(--accent-blue);
  border: 1px solid rgba(24, 141, 183, 0.25);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-cr-title {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--primary-navy);
  margin-bottom: 16px;
  letter-spacing: -0.8px;
}

.hero-cr-title .highlight {
  color: var(--accent-blue);
}

.hero-cr-lead {
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 100%;
}

.hero-cr-lead b {
  color: var(--primary-dark);
}

.hero-cr-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-whatsapp-hero {
  background: #25d366;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-hero:hover {
  background: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Tarjeta del Psicólogo en Hero */
.hero-doctor-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid var(--border-color);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  width: 100%;
}

.doctor-card-media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #eef4f8;
}

.doctor-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.doctor-verified-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(7, 49, 79, 0.88);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.doctor-card-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.doctor-card-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.doctor-card-title {
  font-size: 0.92rem;
  color: var(--accent-blue);
  font-weight: 600;
}

.doctor-card-col {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.doctor-card-col-sub {
  font-size: 0.74rem;
  line-height: 1.35;
  color: var(--text-muted);
}

/* Barra de Confianza Sanitaria */
.trust-strip-container {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 24px 32px;
  margin: 10px 0 50px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.trust-strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(24, 141, 183, 0.1);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 2px;
}

.trust-item-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Sección de Síntomas / Especialidades "¿En qué te ayudamos?" */
.section-headline-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.section-tag-pill {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--accent-blue);
  background: rgba(24, 141, 183, 0.1);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.section-main-heading {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 12px;
}

.section-sub-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   SECCIÓN MOTIVOS / SERVICIOS EN FILAS ALTERNADAS (INDEX)
   ========================================================================== */
.symptoms-rows-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 50px;
}

.symptom-row-item {
  display: flex;
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.symptom-row-item:hover {
  border-color: var(--accent-blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* Indicador lateral sutil en hover */
.symptom-row-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
}

.symptom-row-item:hover::before {
  opacity: 1;
}

/* Alternancia: fila par con imagen a la derecha */
.symptom-row-item:nth-child(even) {
  flex-direction: row-reverse;
}

.symptom-row-item:nth-child(even)::before {
  left: auto;
  right: 0;
}

.symptom-row-media {
  flex: 0 0 42%;
  min-height: 260px;
  position: relative;
  overflow: hidden;
  background-color: #f1f5f9;
}

.symptom-row-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.symptom-row-item:hover .symptom-row-media img {
  transform: scale(1.04);
}

/* Posicionamiento específico del foco visual de cada fotografía */
.symptom-row-media.pos-flower img {
  object-position: center 30%;
}

.symptom-row-media.pos-path img {
  object-position: center 35%;
}

.symptom-row-media.pos-kids img {
  object-position: center 35%;
}

.symptom-row-media.pos-mountain img {
  object-position: center 30%;
}

.symptom-row-media.pos-emotions img {
  object-position: center;
}

.symptom-row-media.pos-hands img {
  object-position: center 55%;
}

.symptom-row-content {
  flex: 1;
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.symptom-row-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.symptom-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(24, 141, 183, 0.1);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.symptom-row-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.3;
}

.symptom-row-desc {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.symptom-row-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
}

.symptom-item {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.symptom-item::before {
  content: "•";
  color: var(--accent-blue);
  font-weight: bold;
  font-size: 1.15rem;
}

/* Responsividad para móviles y tablets */
@media (max-width: 820px) {
  .symptom-row-item,
  .symptom-row-item:nth-child(even) {
    flex-direction: column;
  }

  .symptom-row-item:nth-child(even)::before {
    left: 0;
    right: auto;
  }

  .symptom-row-media {
    flex: none;
    width: 100%;
    height: 220px;
    min-height: auto;
  }

  .symptom-row-content {
    padding: 24px 20px;
  }
}

/* Sección Spotlight Psicólogo */
.therapist-spotlight-block {
  background: linear-gradient(135deg, #ffffff 0%, #f4faff 100%);
  border: 1.5px solid rgba(24, 141, 183, 0.2);
  border-radius: 28px;
  padding: 44px;
  box-shadow: var(--shadow-card);
  margin-bottom: 50px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: center;
}

.therapist-photo-frame {
  width: 240px;
  height: 270px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid #ffffff;
}

.therapist-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.therapist-content-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.therapist-greeting {
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent-blue);
}

.therapist-name {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary-navy);
}

.therapist-intro-text {
  font-size: 1.04rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.therapist-credentials-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.cred-chip {
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--primary-dark);
}

/* Sección Tarifas en index2 */
.fees-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 16px;
}

.fee-card {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: 22px;
  padding: 30px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.fee-card:hover {
  border-color: var(--accent-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.fee-card.highlight {
  border-color: #10b981;
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
  position: relative;
}

.fee-badge-promo {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #10b981;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.fee-service-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.fee-price-amount {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.fee-duration {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.fee-details-list {
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: left;
}

.fee-details-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Ubicación Ciudad Real */
.location-showcase-box {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  padding: 32px;
  margin-bottom: 50px;
}

.location-info-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.location-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-navy);
}

.location-text {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.location-bullet-points {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin-top: 4px;
}

.location-bullet {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--text-primary);
}

.location-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.location-photo-card {
  height: 290px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  position: relative;
  background: #f1f5f9;
}

.location-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.location-photo-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(7, 49, 79, 0.88);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.location-map-frame {
  height: 290px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: #e2e8f0;
}

.location-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Botón Flotante de WhatsApp */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  text-decoration: none;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.6);
}

@media (max-width: 992px) {
  .hero-cr-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-cr-actions {
    justify-content: center;
  }
  .hero-doctor-card {
    max-width: 340px;
    margin: 0 auto;
  }
  .therapist-spotlight-block {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .therapist-credentials-strip {
    justify-content: center;
  }
  .location-media-grid {
    grid-template-columns: 1fr;
  }
  .location-photo-card,
  .location-map-frame {
    height: 230px;
  }
}


/* ==========================================================================
   ESTILOS INDEX3 (PALETA DE COLORES DE LOGO.WEBP)
   Paleta: Azul Cerúleo (#007EFE) & Azul Marino Profundo (#022A7F) de logo.webp
   Tipografía: Playfair Display (serif) para títulos + Open Sans para texto
   ========================================================================== */

:root {
  --pcr-primary: #007EFE;               /* Azul brillante cerúleo de logo.webp */
  --pcr-primary-dark: #022A7F;          /* Azul marino corporativo profundo de logo.webp */
  --pcr-primary-hover: #0066D6;         /* Hover azul primario */
  --pcr-primary-light: #EBF4FE;         /* Tinte azul hielo luminoso */
  --pcr-primary-tint: #F4F8FD;          /* Fondo suave azul blanquecino */
  --pcr-secondary: #4B9CFA;             /* Azul secundario del degradado de logo.webp */
  --pcr-accent: #007EFE;                /* Acento azul cerúleo */
  --pcr-accent-light: #EFF6FF;          /* Fondo suave acento */
  --pcr-text-dark: #0F1E36;             /* Texto oscuro casi negro con matiz azul */
  --pcr-text-headings: #022A7F;         /* Encabezados en azul marino profundo */
  --pcr-text-body: #334155;             /* Texto del cuerpo slate muy legible */
  --pcr-text-muted: #64748B;            /* Texto secundario atenuado */
  --pcr-bg-page: #F8FAFC;               /* Fondo de página limpio */
  --pcr-bg-card: #FFFFFF;               /* Superficies de tarjetas en blanco puro */
  --pcr-border: #D4E3F5;                /* Bordes suaves con matiz azul */
  --pcr-border-subtle: #E2EDF9;         /* Bordes sutiles interiores */
  --pcr-font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --pcr-font-sans: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --pcr-shadow-card: 0 10px 32px rgba(2, 42, 127, 0.07);
  --pcr-shadow-hover: 0 16px 40px rgba(2, 42, 127, 0.13);
  --pcr-radius-sm: 12px;
  --pcr-radius-md: 18px;
  --pcr-radius-lg: 24px;
}

body.theme-pcr {
  background-color: var(--pcr-bg-page);
  color: var(--pcr-text-body);
  font-family: var(--pcr-font-sans);
  line-height: 1.7;
}

body.theme-pcr h1,
body.theme-pcr h2,
body.theme-pcr h3,
body.theme-pcr h4,
body.theme-pcr .pcr-serif {
  font-family: var(--pcr-font-serif);
  color: var(--pcr-text-headings);
  letter-spacing: -0.01em;
}

/* Header Navbar en Theme PCR */
body.theme-pcr .header-navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 76px !important;
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid var(--pcr-border) !important;
  box-shadow: 0 4px 20px rgba(2, 42, 127, 0.06) !important;
  z-index: 1000 !important;
}

body.theme-pcr .nav-link:hover,
body.theme-pcr .nav-link.active {
  color: var(--pcr-primary) !important;
}

body.theme-pcr .nav-link.active::after {
  background: var(--pcr-primary) !important;
}

body.theme-pcr .nav-cta-btn {
  background: var(--pcr-primary) !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  padding: 10px 22px !important;
  font-weight: 600 !important;
  font-size: 0.92rem !important;
  box-shadow: 0 4px 14px rgba(0, 126, 254, 0.35) !important;
  transition: all 0.25s ease !important;
}

body.theme-pcr .nav-cta-btn:hover {
  background: var(--pcr-primary-dark) !important;
  box-shadow: 0 6px 18px rgba(2, 42, 127, 0.4) !important;
  transform: translateY(-1px) !important;
}

body.theme-pcr .mobile-menu-drawer {
  background: #ffffff;
  border-bottom: 1px solid var(--pcr-border);
}

/* ==========================================================================
   CABECERA VISUAL FULL-WIDTH ANCLADA A LA BARRA DE NAVEGACIÓN
   ========================================================================== */
.full-width-header-banner {
  width: 100%;
  margin-top: 76px; /* Anclado justo debajo de la barra de navegación fija de 76px */
  background: #ffffff;
  border-bottom: 1px solid var(--pcr-border);
  box-shadow: 0 4px 20px rgba(2, 42, 127, 0.06);
  overflow: hidden;
  position: relative;
  line-height: 0;
  z-index: 2;
}

.full-header-img {
  width: 100%;
  height: clamp(100px, 12vw, 190px);
  max-height: 190px;
  object-fit: cover;
  object-position: 50% 21%;
  display: block;
}

/* Espaciado del contenido principal debajo de la cabecera full-width */
body.theme-pcr .main-content,
.main-content-below-banner {
  padding-top: 36px !important;
  padding-bottom: 24px !important;
}

/* Quick Strip bajo cabecera */
.pcr-quick-strip {
  background: var(--pcr-primary-light);
  border-radius: 14px;
  border: 1px solid var(--pcr-border);
  padding: 12px 24px;
  margin-bottom: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--pcr-text-dark);
}

.pcr-quick-strip-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.pcr-quick-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pcr-quick-item svg {
  color: var(--pcr-primary);
  flex-shrink: 0;
}

.pcr-quick-badge {
  background: #ffffff;
  color: var(--pcr-primary-dark);
  border: 1px solid var(--pcr-secondary);
  border-radius: 999px;
  padding: 4px 12px;
  font-weight: 600;
  font-size: 0.82rem;
}

/* Hero Section PCR */
.pcr-hero-card {
  background: linear-gradient(135deg, #ffffff 0%, var(--pcr-primary-tint) 100%);
  border-radius: var(--pcr-radius-lg);
  border: 1px solid var(--pcr-border);
  box-shadow: var(--pcr-shadow-card);
  padding: 50px 48px;
  margin-bottom: 60px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.pcr-hero-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(0, 126, 254, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.pcr-hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--pcr-secondary);
  color: var(--pcr-primary-dark);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.pcr-hero-badge-tag span.dot {
  width: 8px;
  height: 8px;
  background: var(--pcr-primary);
  border-radius: 50%;
  display: inline-block;
}

.pcr-hero-title {
  font-size: 2.85rem;
  line-height: 1.18;
  margin-bottom: 20px;
  color: var(--pcr-text-headings);
  font-weight: 700;
}

.pcr-hero-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--pcr-text-body);
  margin-bottom: 26px;
}

.pcr-highlights-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 34px;
}

.pcr-highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--pcr-text-dark);
}

.pcr-highlight-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--pcr-primary-light);
  color: var(--pcr-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  flex-shrink: 0;
}

.pcr-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Botones PCR */
.pcr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.pcr-btn-primary {
  background: var(--pcr-primary);
  color: #ffffff !important;
  border: 1px solid var(--pcr-primary);
  box-shadow: 0 4px 16px rgba(0, 126, 254, 0.35);
}

.pcr-btn-primary:hover {
  background: var(--pcr-primary-dark);
  border-color: var(--pcr-primary-dark);
  box-shadow: 0 8px 24px rgba(2, 42, 127, 0.35);
  transform: translateY(-2px);
}

.pcr-btn-outline {
  background: #ffffff;
  color: var(--pcr-primary-dark) !important;
  border: 1.5px solid var(--pcr-primary);
}

.pcr-btn-outline:hover {
  background: var(--pcr-primary-light);
  border-color: var(--pcr-primary-dark);
  color: var(--pcr-primary-dark) !important;
  transform: translateY(-2px);
}

.pcr-btn-sm {
  padding: 9px 20px;
  font-size: 0.88rem;
}

/* Columna Derecha Hero (Marco del Profesional) */
.pcr-hero-media-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.pcr-hero-image-frame {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: #ffffff;
  border-radius: 28px;
  padding: 14px;
  border: 1px solid var(--pcr-border);
  box-shadow: 0 16px 40px rgba(2, 42, 127, 0.12);
  text-align: center;
}

.pcr-hero-image-frame img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: top center;
  border-radius: 20px;
  display: block;
}

.pcr-floating-badge-top {
  position: absolute;
  top: 26px;
  left: -14px;
  background: #ffffff;
  border: 1px solid var(--pcr-border);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--pcr-primary-dark);
  z-index: 2;
}

.pcr-floating-badge-bottom {
  position: absolute;
  bottom: 26px;
  right: -14px;
  background: #ffffff;
  border: 1px solid var(--pcr-border);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.8rem;
  text-align: left;
  z-index: 2;
}

.pcr-floating-badge-bottom .stars {
  color: #F59E0B;
  font-size: 0.95rem;
  letter-spacing: 2px;
}

.pcr-doctor-meta {
  margin-top: 14px;
}

.pcr-doctor-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pcr-text-headings);
  margin-bottom: 2px;
}

.pcr-doctor-role {
  font-size: 0.86rem;
  color: var(--pcr-text-muted);
}

/* Encabezados de Sección */
.pcr-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 46px;
}

.pcr-section-pretitle {
  display: inline-block;
  color: var(--pcr-primary);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.pcr-section-title {
  font-size: 2.3rem;
  line-height: 1.25;
  margin-bottom: 14px;
  color: var(--pcr-text-headings);
}

.pcr-section-desc {
  font-size: 1.05rem;
  color: var(--pcr-text-body);
  line-height: 1.65;
}

/* Tarjetas de Servicios PCR */
.pcr-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.pcr-service-card {
  background: #ffffff;
  border-radius: var(--pcr-radius-md);
  border: 1px solid var(--pcr-border);
  box-shadow: var(--pcr-shadow-card);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.pcr-service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--pcr-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pcr-service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--pcr-shadow-hover);
  border-color: var(--pcr-secondary);
}

.pcr-service-card:hover::after {
  opacity: 1;
}

.pcr-service-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--pcr-primary-light);
  color: var(--pcr-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.pcr-service-badge {
  display: inline-block;
  background: var(--pcr-primary-light);
  color: var(--pcr-primary-dark);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.pcr-service-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--pcr-text-headings);
  line-height: 1.3;
}

.pcr-service-text {
  font-size: 0.94rem;
  color: var(--pcr-text-body);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.pcr-service-meta {
  border-top: 1px solid var(--pcr-border-subtle);
  padding-top: 18px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pcr-service-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pcr-text-headings);
}

.pcr-service-price span {
  font-size: 0.8rem;
  font-weight: normal;
  color: var(--pcr-text-muted);
}

/* Cinta de Parejas / Familias */
.pcr-couples-strip {
  background: #ffffff;
  border-radius: var(--pcr-radius-md);
  border: 1px solid var(--pcr-border);
  padding: 24px 32px;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: var(--pcr-shadow-card);
}

.pcr-couples-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pcr-couples-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--pcr-primary-light);
  color: var(--pcr-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Sección Sobre Mí / Estoy aquí para ti */
.pcr-about-block {
  background: #ffffff;
  border-radius: var(--pcr-radius-lg);
  border: 1px solid var(--pcr-border);
  box-shadow: var(--pcr-shadow-card);
  padding: 48px;
  margin-bottom: 60px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.pcr-about-media {
  position: relative;
  text-align: center;
}

.pcr-about-media img {
  width: 100%;
  max-width: 360px;
  height: 420px;
  object-fit: cover;
  object-position: top center;
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(2, 42, 127, 0.1);
  border: 1px solid var(--pcr-border);
}

.pcr-about-badge {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border: 1px solid var(--pcr-secondary);
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--pcr-primary-dark);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}

.pcr-about-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pcr-about-title {
  font-size: 2.3rem;
  color: var(--pcr-text-headings);
  line-height: 1.25;
}

.pcr-about-text {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--pcr-text-body);
}

.pcr-pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 16px 0;
}

.pcr-pillar-item {
  background: var(--pcr-primary-tint);
  border: 1px solid var(--pcr-border-subtle);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pcr-pillar-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--pcr-primary-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pcr-pillar-title svg {
  color: var(--pcr-primary);
}

.pcr-pillar-desc {
  font-size: 0.85rem;
  color: var(--pcr-text-body);
  line-height: 1.5;
}

/* Sección Metodología / Pasos */
.pcr-methodology-section {
  margin-bottom: 60px;
}

.pcr-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.pcr-step-card {
  background: #ffffff;
  border-radius: var(--pcr-radius-md);
  border: 1px solid var(--pcr-border);
  box-shadow: var(--pcr-shadow-card);
  padding: 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pcr-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pcr-primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 126, 254, 0.4);
}

.pcr-step-title {
  font-size: 1.18rem;
  color: var(--pcr-text-headings);
  font-weight: 700;
}

.pcr-step-text {
  font-size: 0.9rem;
  color: var(--pcr-text-body);
  line-height: 1.6;
}

/* Testimonios Pacientes */
.pcr-testimonials-section {
  margin-bottom: 60px;
}

.pcr-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pcr-testimonial-card {
  background: #ffffff;
  border-radius: var(--pcr-radius-md);
  border: 1px solid var(--pcr-border);
  box-shadow: var(--pcr-shadow-card);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

.pcr-testimonial-quote {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--pcr-text-body);
  font-style: italic;
  position: relative;
}

.pcr-testimonial-quote::before {
  content: "“";
  font-family: var(--pcr-font-serif);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--pcr-secondary);
  opacity: 0.35;
  position: absolute;
  top: -24px;
  left: -12px;
}

.pcr-testimonial-stars {
  color: #F59E0B;
  letter-spacing: 2px;
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.pcr-testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--pcr-border-subtle);
  padding-top: 18px;
}

.pcr-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pcr-primary-light);
  color: var(--pcr-primary-dark);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
}

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

.pcr-author-name {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--pcr-text-headings);
}

.pcr-author-loc {
  font-size: 0.82rem;
  color: var(--pcr-text-muted);
}

/* FAQ Acordeón PCR */
.pcr-faq-container {
  max-width: 820px;
  margin: 0 auto 60px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body.theme-pcr .faq-item {
  background: #ffffff;
  border-radius: var(--pcr-radius-sm);
  border: 1px solid var(--pcr-border);
  box-shadow: 0 4px 16px rgba(2, 42, 127, 0.04);
  overflow: hidden;
  transition: all 0.25s ease;
}

body.theme-pcr .faq-item.open {
  border-color: var(--pcr-primary);
  box-shadow: 0 8px 24px rgba(0, 126, 254, 0.12);
}

body.theme-pcr .faq-question-btn {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--pcr-font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--pcr-text-headings);
}

body.theme-pcr .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 24px;
  color: var(--pcr-text-body);
  font-size: 0.96rem;
  line-height: 1.7;
}

body.theme-pcr .faq-item.open .faq-answer {
  max-height: 350px;
  padding-bottom: 22px;
}

/* Ubicación y Mapa Ciudad Real */
.pcr-location-card {
  background: #ffffff;
  border-radius: var(--pcr-radius-lg);
  border: 1px solid var(--pcr-border);
  box-shadow: var(--pcr-shadow-card);
  padding: 44px;
  margin-bottom: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.pcr-location-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pcr-location-title {
  font-size: 2.1rem;
  color: var(--pcr-text-headings);
}

.pcr-location-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pcr-location-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.96rem;
  color: var(--pcr-text-body);
}

.pcr-location-row svg {
  color: var(--pcr-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.pcr-location-map-wrap {
  height: 320px;
  border-radius: var(--pcr-radius-md);
  overflow: hidden;
  border: 1px solid var(--pcr-border);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.pcr-location-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Banner de Cierre (CTA final) */
.pcr-closing-banner {
  background: linear-gradient(135deg, #022A7F 0%, #061A40 100%);
  border-radius: var(--pcr-radius-lg);
  padding: 56px 48px;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 20px 48px rgba(2, 42, 127, 0.28);
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.pcr-closing-banner h2 {
  font-family: var(--pcr-font-serif);
  font-size: 2.6rem;
  color: #ffffff !important;
  margin-bottom: 16px;
}

.pcr-closing-banner p {
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto 32px;
  color: #E2E8F0;
  line-height: 1.7;
}

.pcr-closing-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

.pcr-btn-white {
  background: #ffffff;
  color: var(--pcr-primary-dark) !important;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.pcr-btn-white:hover {
  background: #f7f7f7;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.pcr-btn-banner-outline {
  background: transparent;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
}

.pcr-btn-banner-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* Footer PCR */
body.theme-pcr .site-footer {
  background: #0A1629;
  color: #94A3B8;
  border-top: 1px solid #132644;
}

body.theme-pcr .footer-brand-title {
  color: #ffffff;
  font-family: var(--pcr-font-serif);
}

body.theme-pcr .footer-col h4 {
  color: #ffffff;
  font-family: var(--pcr-font-serif);
}

body.theme-pcr .footer-link:hover {
  color: var(--pcr-secondary);
}

/* Responsive Media Queries PCR */
@media (max-width: 992px) {
  .pcr-hero-card {
    grid-template-columns: 1fr;
    padding: 38px 28px;
    text-align: center;
  }
  .pcr-hero-badge-tag {
    margin: 0 auto 16px;
  }
  .pcr-hero-title {
    font-size: 2.25rem;
  }
  .pcr-highlights-list {
    align-items: center;
  }
  .pcr-hero-actions {
    justify-content: center;
  }
  .pcr-hero-media-wrapper {
    margin-top: 20px;
  }
  .pcr-floating-badge-top,
  .pcr-floating-badge-bottom {
    position: static;
    margin: 8px auto;
    display: inline-flex;
  }
  .pcr-services-grid {
    grid-template-columns: 1fr;
  }
  .pcr-about-block {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    text-align: center;
  }
  .pcr-about-media {
    margin-bottom: 24px;
  }
  .pcr-about-badge {
    position: static;
    transform: none;
    display: inline-block;
    margin-top: 12px;
  }
  .pcr-pillars-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .pcr-steps-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pcr-testimonials-grid {
    grid-template-columns: 1fr;
  }
  .pcr-location-card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
}

@media (max-width: 768px) {
  .full-width-header-banner {
    margin-top: 76px;
  }
  .full-header-img {
    height: clamp(80px, 16vw, 130px);
    min-height: 80px;
    max-height: 130px;
    object-position: 50% 21%;
  }
  body.theme-pcr .main-content,
  .main-content-below-banner {
    padding-top: 24px !important;
  }
}

@media (max-width: 640px) {
  .pcr-hero-title {
    font-size: 1.85rem;
  }
  .pcr-section-title {
    font-size: 1.8rem;
  }
  .pcr-steps-grid {
    grid-template-columns: 1fr;
  }
  .pcr-quick-strip {
    flex-direction: column;
    align-items: flex-start;
  }
  .pcr-closing-banner {
    padding: 40px 24px;
  }
  .pcr-closing-banner h2 {
    font-size: 2rem;
  }
}
