/* ==========================================================================
   MARÍA LUZ HUAMÁN — DESIGN SYSTEM & STYLESHEET
   Colores de Marca: Teal #0493a4 | Magenta #de3d75 | Fondo Blanco
   ========================================================================== */

:root {
  /* Fondo Limpio, Blanco & Luminoso */
  --bg: #ffffff;
  --bg-subtle: #f8fafb;
  --bg-card: #ffffff;
  --bg-dark: #121c20;
  
  --ink: #0f172a;             /* Carbón oscuro nítido para titulares */
  --ink-body: #334155;        /* Texto de lectura */
  --ink-muted: #64748b;       /* Subtítulos y descripciones */
  --ink-faint: #94a3b8;       /* Metadatos y números de apoyo */
  
  /* Colores de Marca */
  --teal: #0493a4;            /* Color Principal / Teal */
  --teal-hover: #037987;      /* Teal oscuro activo */
  --teal-light: #e6f6f8;      /* Fondo tenue teal */
  --teal-glow: rgba(4, 147, 164, 0.18);
  
  --pink: #de3d75;            /* Color Secundario / Magenta Floral */
  --pink-hover: #c42b61;      /* Magenta intenso activo */
  --pink-light: #fdf0f4;      /* Fondo tenue magenta */
  --pink-glow: rgba(222, 61, 117, 0.18);
  
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.16);
  --border-teal: rgba(4, 147, 164, 0.25);
  --border-pink: rgba(222, 61, 117, 0.25);
  
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 12px 30px -8px rgba(4, 147, 164, 0.09);
  --shadow-lg: 0 24px 50px -15px rgba(15, 23, 42, 0.1);
  
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-pill: 9999px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink-body);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.drawer-open,
body.modal-open {
  overflow: hidden !important;
  touch-action: none;
}

::selection {
  background: var(--teal-light);
  color: var(--teal-hover);
}

a {
  color: inherit;
  text-decoration: none;
}

/* Backdrop Overlay para Menú Móvil */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Barra de progreso de lectura */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--teal);
  z-index: 1000;
  width: 0%;
  transition: width 0.1s linear;
}

/* ==========================================================================
   NAVEGACIÓN & HEADER
   ========================================================================== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.2rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s var(--ease);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

nav.scrolled {
  padding: 0.9rem 4rem;
  box-shadow: var(--shadow-sm);
}

.logo {
  font-family: var(--font-serif);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  letter-spacing: -0.01em;
  flex-shrink: 0;
  white-space: nowrap;
  transition: opacity 0.25s var(--ease);
}

.logo:hover {
  opacity: 0.92;
}

.logo-isotipo {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo:hover .logo-isotipo {
  transform: scale(1.06);
}

.logo-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.05;
  text-align: left;
}

.logo-brand-name {
  font-family: var(--font-serif);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.25s var(--ease);
}

.logo-brand-surname {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal);
  transition: color 0.25s var(--ease);
}

.logo-isotipo-footer {
  height: 44px;
}

.logo-monogram {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-teal);
  background: var(--teal-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
  box-sizing: border-box;
}

.logo-monogram img {
  width: 100%;
  height: auto;
  max-height: 20px;
  object-fit: contain;
  display: block;
  transition: filter 0.3s var(--ease), transform 0.3s var(--ease);
}

.logo:hover .logo-monogram {
  background: var(--teal);
  border-color: var(--teal);
}

.logo:hover .logo-monogram img {
  filter: brightness(0) invert(1);
  transform: scale(1.08);
}

.custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.custom-logo {
  max-height: 44px;
  width: auto;
  object-fit: contain;
}

.site-logo-img {
  height: 42px;
  width: auto;
  max-width: 175px;
  object-fit: contain;
  display: block;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.logo:hover .site-logo-img {
  opacity: 0.85;
  transform: translateY(-1px);
}

.site-logo-footer {
  height: 48px;
  max-width: 200px;
  margin-bottom: 0.8rem;
}

@media (max-width: 768px) {
  .logo-isotipo {
    height: 32px;
  }
  .logo-brand-name {
    font-size: 0.74rem;
  }
  .logo-brand-surname {
    font-size: 0.95rem;
  }
  .site-logo-img {
    height: 35px;
    max-width: 140px;
  }
}

.logo em {
  font-style: italic;
  color: var(--pink);
}

.nav-links {
  display: flex;
  gap: 1.35rem;
  list-style: none;
  align-items: center;
  white-space: nowrap;
}

.nav-links li {
  list-style: none;
  display: inline-block;
  white-space: nowrap;
}

.nav-links a {
  color: var(--ink-muted);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.3s var(--ease);
  position: relative;
  padding: 0.35rem 0;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

/* Ocultar flechas chevrons laterales en escritorio */
.nav-links li > a > i.fa-chevron-right {
  display: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--teal);
}

/* ==========================================================================
   DROPDOWN MENU (SERVICIOS & FORMACIÓN)
   ========================================================================== */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.nav-dropdown-icon {
  font-size: 0.65rem !important;
  display: inline-block !important;
  color: var(--ink-faint);
  transition: transform 0.25s var(--ease), color 0.25s var(--ease);
  margin-top: 1px;
}

.nav-dropdown:hover .nav-dropdown-icon,
.nav-dropdown.open .nav-dropdown-icon,
.dropdown-trigger.active .nav-dropdown-icon {
  color: var(--teal);
}

.nav-dropdown:hover .nav-dropdown-icon,
.nav-dropdown.open .nav-dropdown-icon {
  transform: rotate(180deg);
}

.nav-dropdown:hover .dropdown-trigger,
.nav-dropdown.open .dropdown-trigger {
  color: var(--teal);
}

.nav-dropdown:hover .dropdown-trigger::after,
.nav-dropdown.open .dropdown-trigger::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--teal);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(0, 0, 0, 0.03);
  padding: 0.85rem 0.95rem;
  min-width: 215px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 110;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

/* Puente invisible para evitar que se cierre al mover el cursor hacia el menú */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex !important;
  align-items: center !important;
  gap: 0.85rem !important;
  padding: 0.4rem 0.55rem !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  transition: all 0.2s var(--ease) !important;
  background: transparent !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.dropdown-item::after {
  display: none !important;
}

.dropdown-item:hover,
.dropdown-item.active {
  background: rgba(0, 136, 145, 0.04) !important;
  transform: translateX(2px);
}

.dropdown-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #e6f4f5;
  color: var(--teal, #008891);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: all 0.2s var(--ease);
}

.dropdown-item:hover .dropdown-item-icon,
.dropdown-item.active .dropdown-item-icon {
  background: var(--teal, #008891) !important;
  color: #ffffff !important;
}

.dropdown-item-text {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--ink, #1e293b);
  line-height: 1.25;
  transition: color 0.2s var(--ease);
}

.dropdown-item:hover .dropdown-item-text,
.dropdown-item.active .dropdown-item-text {
  color: var(--teal, #008891);
}

.dropdown-item-content {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  text-align: left;
}

.dropdown-item-content strong {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  transition: color 0.22s var(--ease);
}

.dropdown-item:hover .dropdown-item-content strong,
.dropdown-item.active .dropdown-item-content strong {
  color: var(--teal);
}

.dropdown-item-content span {
  font-size: 0.73rem;
  color: var(--ink-muted);
  line-height: 1.3;
}

/* Ocultar acciones móviles en escritorio */
.nav-mobile-actions {
  display: none !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Botón Carrito & Acceso Clientes en Navbar */
.cart-trigger-btn, .client-portal-btn {
  position: relative;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  font-size: 0.98rem;
  text-decoration: none;
}

.cart-trigger-btn:hover, .client-portal-btn:hover {
  background: var(--teal-light);
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--pink);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  transition: transform 0.3s var(--ease);
}

.cart-badge.bump {
  transform: scale(1.35);
}

.nav-cta {
  padding: 0.6rem 1.25rem !important;
  background: var(--teal) !important;
  color: #ffffff !important;
  border-radius: var(--radius-pill);
  font-size: 0.74rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase;
  border: 1px solid var(--teal);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  display: inline-block;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--pink) !important;
  border-color: var(--pink) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -6px rgba(222, 61, 117, 0.4);
}

.menu-toggle {
  display: none;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  width: 42px;
  height: 42px;
  position: relative;
  z-index: 102;
  align-items: center;
  justify-content: center;
}

.menu-toggle span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 20px; }
.menu-toggle span:nth-child(3) { top: 26px; }

.menu-toggle.active {
  background: var(--teal-light);
  border-color: var(--teal);
}

.menu-toggle.active span {
  background: var(--teal);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 20px;
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 20px;
}

/* ==========================================================================
   ESTRUCTURA & CONTENEDORES
   ========================================================================== */
.container {
  max-width: 1320px;
  margin: 0 auto;
}

section {
  padding: 8rem 4rem;
  position: relative;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4rem;
  gap: 3rem;
  flex-wrap: wrap;
}

.section-header.center {
  justify-content: center;
  text-align: center;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.section-eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--teal);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 4.2vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 780px;
}

.section-title em {
  font-style: italic;
  color: var(--pink);
  font-weight: 400;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--ink-muted);
  max-width: 650px;
  margin-top: 1rem;
  line-height: 1.8;
}

/* Banner de Páginas Interiores */
.page-banner {
  padding: 10rem 4rem 5rem;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.page-banner .container {
  max-width: 900px;
}

.page-banner h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 1.2rem;
  line-height: 1.1;
}

.page-banner h1 em {
  font-style: italic;
  color: var(--pink);
}

.page-banner p {
  font-size: 1.12rem;
  color: var(--ink-muted);
  line-height: 1.8;
  max-width: 720px;
  margin: 0 auto;
}

/* Hero de Páginas Individuales & Blog (servicios, recursos, cursos, eventos, artículos) */
.page-hero {
  padding: 10rem 2rem 5.5rem;
  background: linear-gradient(135deg, #0b1220 0%, #12343b 55%, #0f3a4e 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.page-hero .container {
  max-width: 1000px;
}

.page-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #5eead4;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 1.15rem;
}

.page-hero .page-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 300;
  color: #ffffff;
  margin-bottom: 0.9rem;
  line-height: 1.14;
}

.page-hero .page-title em {
  font-style: italic;
  color: #5eead4;
}

.page-hero .page-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .page-hero {
    padding: 7.5rem 1.25rem 4rem;
  }
}

/* ==========================================================================
   HERO DE EVENTOS / CLASES EN VIVO
   ========================================================================== */
.event-hero-img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  margin: 0 auto 1.2rem;
  display: block;
}

.event-hero .page-subtitle {
  max-width: 640px;
}

.event-hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 0.7rem;
  margin: 1.4rem auto 0;
  max-width: 780px;
}

.event-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  line-height: 1.3;
}

.event-hero-meta i {
  color: #5eead4;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.event-hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.9rem;
}

.event-hero-price {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #5eead4;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(94, 234, 212, 0.45);
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  white-space: nowrap;
}

.event-hero-cta .btn-primary {
  backdrop-filter: blur(6px);
}

@media (max-width: 768px) {
  .event-hero .page-title {
    font-size: 2rem;
  }
  .event-hero .page-subtitle {
    font-size: 0.95rem;
  }
  .event-hero-meta {
    gap: 0.4rem 0.45rem;
    margin-top: 1.1rem;
  }
  .event-hero-meta span {
    font-size: 0.72rem;
    padding: 0.3rem 0.6rem;
    gap: 0.35rem;
  }
  .event-hero-cta {
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 1.4rem;
  }
  .event-hero-cta .btn-primary {
    min-height: 0;
    padding: 0.65rem 1.1rem;
    font-size: 0.78rem;
  }
  .event-hero-price {
    font-size: 1.05rem;
    padding: 0.4rem 0.9rem;
  }
}

/* Tarjetas de contenido: padding compacto en móvil */
@media (max-width: 768px) {
  .content-card {
    padding: 1.6rem !important;
  }
  .content-card .btn-primary,
  .content-card .btn-secondary,
  .content-card .btn-whatsapp {
    min-height: 0;
    padding: 0.68rem 1rem;
    font-size: 0.78rem;
    gap: 0.4rem;
    letter-spacing: 0.04em;
  }
}

@media (max-width: 480px) {
  .content-card {
    padding: 1.3rem !important;
  }
}

@media (max-width: 360px) {
  .content-card {
    padding: 1.15rem !important;
  }
}

/* ==========================================================================
   BOTONES & CTAS
   ========================================================================== */
.btn-primary, .btn-secondary, .btn-pink, .btn-whatsapp, .btn-add-cart {
  padding: 1rem 2rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  border: none;
}

.btn-primary {
  background: var(--teal);
  color: #ffffff;
  border: 1px solid var(--teal);
}

.btn-primary:hover {
  background: var(--teal-hover);
  border-color: var(--teal-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(4, 147, 164, 0.45);
}

.btn-pink {
  background: var(--pink);
  color: #ffffff;
  border: 1px solid var(--pink);
}

.btn-pink:hover {
  background: var(--pink-hover);
  border-color: var(--pink-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(222, 61, 117, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--teal);
  border: 1px solid var(--teal);
}

.btn-secondary:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #ffffff;
  border: 1px solid #25D366;
}

.btn-whatsapp:hover {
  background: #1fae53;
  border-color: #1fae53;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -6px rgba(37, 211, 102, 0.45);
}

.btn-add-cart {
  background: var(--bg-subtle);
  color: var(--teal);
  border: 1px solid var(--border-teal);
  width: 100%;
}

.btn-add-cart:hover {
  background: var(--teal);
  color: #ffffff;
  border-color: var(--teal);
}

/* ==========================================================================
   HERO SECTION (HOME)
   ========================================================================== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 9rem 4rem 5rem;
  background-color: #FAF8F5;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.32;
  filter: saturate(0.92) contrast(0.96);
  z-index: 1;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 0.5s ease;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.88) 38%,
    rgba(255, 255, 255, 0.65) 70%,
    rgba(255, 255, 255, 0.5) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 4%;
  right: 4%;
  height: 1px;
  background: var(--border);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: 5rem;
  align-items: center;
}

.hero-text .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.6rem;
  font-weight: 600;
}

.hero-text .eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--teal);
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5.8vw, 5.2rem);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1.8rem;
}

.hero h1 .accent {
  font-style: italic;
  font-weight: 400;
  color: var(--pink);
}

.hero .subtitle {
  font-size: 1.1rem;
  color: var(--ink-body);
  margin-bottom: 2.5rem;
  max-width: 540px;
  line-height: 1.8;
  font-weight: 300;
}

.hero .subtitle strong {
  color: var(--ink);
  font-weight: 600;
}

.cta-group {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-meta {
  display: flex;
  gap: 2.8rem;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  max-width: 540px;
}

.hero-meta-item .num {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  color: var(--teal);
  font-weight: 500;
  line-height: 1;
  font-style: italic;
}

.hero-meta-item .label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 0.35rem;
  font-weight: 500;
}

/* ==========================================================================
   HERO VISUAL ENHANCED (MARCO FOTOGRÁFICO & ELEMENTOS FLOTANTES)
   ========================================================================== */
.hero-visual {
  position: relative;
  height: 590px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Blobs de luz ambiental suave */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(55px);
  -webkit-filter: blur(55px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.65;
  transition: opacity 0.5s ease;
}

.hero-blob-teal {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(4, 147, 164, 0.28) 0%, rgba(4, 147, 164, 0) 70%);
  top: 8%;
  left: 2%;
}

.hero-blob-pink {
  width: 290px;
  height: 290px;
  background: radial-gradient(circle, rgba(222, 61, 117, 0.22) 0%, rgba(222, 61, 117, 0) 70%);
  bottom: 6%;
  right: 4%;
}

/* Anillo decorativo rotatorio sutil */
.hero-decorative-ring {
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  border: 1.5px dashed rgba(4, 147, 164, 0.22);
  z-index: 1;
  pointer-events: none;
  animation: rotateHeroRing 40s linear infinite;
}

@keyframes rotateHeroRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Marco Principal Arqueado */
.hero-frame {
  position: relative;
  width: 88%;
  max-width: 410px;
  height: 550px;
  border-radius: 220px 220px 36px 36px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 32px 70px -15px rgba(4, 147, 164, 0.18), 0 16px 36px -8px rgba(15, 23, 42, 0.08);
  background: var(--bg-subtle);
  z-index: 2;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 1.2s var(--ease);
}

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

.hero-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(15, 23, 42, 0.55) 100%);
  pointer-events: none;
}

/* Tarjeta de Identidad en Frosted Glass */
.portrait-glass-card {
  position: absolute;
  bottom: 1.1rem;
  left: 1.1rem;
  right: 1.1rem;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  padding: 1rem 1.25rem;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
  z-index: 3;
  transition: transform 0.35s var(--ease);
}

.portrait-glass-card:hover {
  transform: translateY(-2px);
}

.portrait-avatar-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--teal-light);
  color: var(--teal);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
  border: 1px solid var(--border-teal);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 2px rgba(4, 147, 164, 0.35);
  animation: pulseLiveDot 2s infinite;
}

@keyframes pulseLiveDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.6; }
}

.portrait-glass-card .name {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 0.2rem;
  letter-spacing: -0.01em;
}

.portrait-glass-card .role {
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.02em;
  line-height: 1.3;
}

/* Tarjeta Flotante Superior (Acreditación) */
.hero-floating-badge {
  position: absolute;
  top: 25px;
  right: -20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(222, 61, 117, 0.15);
  border-radius: 18px;
  padding: 0.85rem 1.15rem;
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.12);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 4;
  animation: floatSlow 5s ease-in-out infinite;
}

.hero-floating-badge .badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--pink-light);
  border: 1px solid rgba(222, 61, 117, 0.2);
  color: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.hero-floating-badge .badge-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.hero-floating-badge .badge-stars {
  font-size: 0.68rem;
  color: #f59e0b;
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-top: 0.2rem;
}

.hero-floating-badge .badge-stars span {
  color: var(--ink-muted);
  font-weight: 600;
  margin-left: 0.3rem;
  font-size: 0.68rem;
}

/* Tarjeta Flotante Izquierda (Cita Editorial - Ubicación equilibrada sin tapar el rostro ni colisionar) */
.hero-floating-quote {
  position: absolute;
  top: 140px;
  left: -58px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(4, 147, 164, 0.16);
  border-radius: 18px;
  padding: 0.85rem 1.15rem;
  box-shadow: 0 16px 38px -8px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(4, 147, 164, 0.05);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  z-index: 4;
  max-width: 240px;
  animation: floatOpposite 6s ease-in-out infinite;
}

.hero-floating-quote .quote-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal-light);
  border: 1px solid var(--border-teal);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-floating-quote .quote-content {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}

.hero-floating-quote .quote-text {
  font-family: var(--font-serif);
  font-size: 0.81rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.4;
}

.hero-floating-quote .quote-author {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--teal);
}

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

@keyframes floatOpposite {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

/* ==========================================================================
   TARJETAS DE SERVICIOS, CURSOS & PRODUCTOS (RECURSOS)
   ========================================================================== */
.services-grid, .courses-grid, .products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
  align-items: stretch;
}

.services-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.services-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.services-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.course-pack-card {
  grid-column: span 2;
}

.course-pack-card .card-actions {
  flex-direction: row !important;
  gap: 1rem !important;
}

.quiz-cta-banner {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 5rem 4rem;
  text-align: center;
  max-width: 950px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
  position: relative;
}

.quiz-cta-banner.bg-white {
  background: #ffffff;
}

.service-card, .course-card, .product-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3.2rem 2.5rem;
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card:hover, .course-card:hover, .product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-teal);
}

.service-card.featured, .course-card.featured {
  background: linear-gradient(180deg, #ffffff 0%, #f4fbfa 100%);
  border: 2px solid var(--teal);
  box-shadow: 0 20px 50px -12px rgba(4, 147, 164, 0.22), 0 0 0 1px rgba(4, 147, 164, 0.1);
  position: relative;
  overflow: hidden;
}

/* Aura sutil lumínica en la esquina superior */
.service-card.featured::before, .course-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle at top right, rgba(4, 147, 164, 0.14), transparent 70%);
  border-top-right-radius: var(--radius-lg);
  pointer-events: none;
}

.card-badge {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.35rem 1.1rem;
  border-radius: var(--radius-pill);
  background: var(--teal-light);
  color: var(--teal);
  margin-bottom: 1.6rem;
  font-weight: 600;
  align-self: flex-start;
}

.service-card.featured .card-badge, .course-card.featured .card-badge {
  background: linear-gradient(135deg, var(--teal) 0%, #037987 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 14px rgba(4, 147, 164, 0.35);
  font-weight: 700;
}

.service-card h3, .course-card h3, .product-card h3 {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 400;
  margin-bottom: 0.6rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.service-card.featured h3, .course-card.featured h3 {
  color: var(--ink);
}

.service-card h3 em, .course-card h3 em, .product-card h3 em {
  font-style: italic;
  color: var(--pink);
}

.card-tagline {
  font-size: 0.92rem;
  color: var(--ink-muted);
  margin-bottom: 1.8rem;
  line-height: 1.7;
}

.service-card.featured .card-tagline, .course-card.featured .card-tagline {
  color: var(--ink-muted);
}

.price-box {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.service-card.featured .price-box, .course-card.featured .price-box {
  border-color: rgba(4, 147, 164, 0.18);
}

.price-amount {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--ink);
  font-style: italic;
  line-height: 1;
}

.service-card.featured .price-amount, .course-card.featured .price-amount {
  color: var(--ink);
}

.price-amount .currency {
  font-size: 1.2rem;
  font-style: normal;
  vertical-align: super;
  color: var(--teal);
}

.service-card.featured .price-amount .currency, .course-card.featured .price-amount .currency {
  color: var(--teal);
}

.price-meta {
  font-size: 0.76rem;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.5rem;
  font-weight: 500;
}

.service-card.featured .price-meta, .course-card.featured .price-meta {
  color: var(--teal);
  font-weight: 600;
}

.card-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2.2rem;
  flex-grow: 1;
}

.card-features li {
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--ink-body);
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.service-card.featured .card-features li, .course-card.featured .card-features li {
  border-color: rgba(4, 147, 164, 0.12);
  color: var(--ink-body);
  font-weight: 500;
}

.card-features li i {
  color: var(--teal);
  font-size: 0.85rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.service-card.featured .card-features li i, .course-card.featured .card-features li i {
  color: var(--teal);
  background: var(--teal-light);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  margin-right: 0.2rem;
}

@media (min-width: 1025px) {
  .service-card.featured, .course-card.featured {
    transform: scale(1.03);
    z-index: 2;
  }
  
  .service-card.featured:hover, .course-card.featured:hover {
    transform: scale(1.03) translateY(-8px);
    box-shadow: 0 30px 65px -15px rgba(4, 147, 164, 0.3), 0 0 0 1px var(--teal);
  }
}

.card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: auto;
}

/* ==========================================================================
   TIENDA DIGITAL DE RECURSOS & PRODUCTOS (recursos.html)
   ========================================================================== */

/* Barra de Confianza / E-commerce Trust Banner */
.shop-trust-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem 2.2rem;
  margin-bottom: 3.5rem;
  box-shadow: var(--shadow-sm);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.trust-item strong {
  display: block;
  font-size: 0.92rem;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.25;
}

.trust-item span {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-muted);
  line-height: 1.35;
  margin-top: 0.15rem;
}

/* Barra de Filtros & Búsqueda */
.shop-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.8rem;
  flex-wrap: wrap;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.6rem 0.8rem;
}

.filter-pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-pill {
  background: transparent;
  border: 1px solid transparent;
  color: var(--ink-muted);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.filter-pill:hover {
  background: #ffffff;
  color: var(--teal);
  border-color: var(--border);
}

.filter-pill.active {
  background: var(--teal);
  color: #ffffff;
  border-color: var(--teal);
  box-shadow: 0 4px 12px rgba(4, 147, 164, 0.25);
}

.shop-search-wrap {
  position: relative;
  min-width: 260px;
}

.shop-search-wrap input {
  width: 100%;
  padding: 0.55rem 1rem 0.55rem 2.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  background: #ffffff;
  color: var(--ink);
  outline: none;
  transition: all 0.25s var(--ease);
}

.shop-search-wrap input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-glow);
}

.shop-search-wrap .search-icon {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-faint);
  font-size: 0.85rem;
  pointer-events: none;
}

/* Grilla de Productos */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
  margin-bottom: 4rem;
}

/* Tarjeta de Producto Individual (Aspecto 100% E-Commerce Digital) */
.product-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  transition: all 0.35s var(--ease);
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-teal);
  box-shadow: 0 24px 50px -12px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(4, 147, 164, 0.15);
}

/* Escenario / Mockup Visual del Producto */
.product-mockup-stage {
  height: 240px;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  position: relative;
  margin-bottom: 1.3rem;
  overflow: hidden;
  border: 1px solid var(--border);
}

.product-mockup-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.18) 0%, transparent 40%);
  pointer-events: none;
  z-index: 1;
}

.product-badge-promo {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--pink);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  z-index: 2;
  box-shadow: 0 4px 10px rgba(222, 61, 117, 0.3);
}

.product-badge-format {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  z-index: 2;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.product-badge-format i {
  color: var(--teal);
}

/* Imagen / Portada Completa del Producto */
.product-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}

.product-card:hover .product-cover-img {
  transform: scale(1.06);
}

/* Contenido y Textos del Producto */
.product-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.product-category-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}

.product-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.76rem;
  color: #f59e0b;
}

.product-rating span.rating-val {
  color: var(--ink);
  font-weight: 700;
  margin-left: 0.2rem;
}

.product-rating span.rating-count {
  color: var(--ink-faint);
  font-size: 0.72rem;
}

.product-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.product-card h3 em {
  font-style: italic;
  color: var(--pink);
}

.product-synopsis {
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.4rem;
  margin-top: auto;
}

.product-spec-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  color: var(--ink-body);
  font-weight: 500;
}

.product-spec-item i {
  color: var(--teal);
  font-size: 0.7rem;
}

/* Fila de Precios y Botón de Compra */
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.product-price-container {
  display: flex;
  flex-direction: column;
}

.product-price-current {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
  font-style: italic;
}

.product-price-current small {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--teal);
  font-style: normal;
  font-weight: 700;
  margin-left: 0.15rem;
}

.product-price-old {
  font-size: 0.76rem;
  color: var(--ink-faint);
  text-decoration: line-through;
  margin-top: 0.2rem;
}

.product-footer .add-to-cart-btn {
  padding: 0.65rem 1.15rem;
  font-size: 0.78rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

/* Estado de Búsqueda Vacía */
.shop-empty-state {
  display: none;
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bg-subtle);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  margin: 2rem 0 4rem;
}

.shop-empty-state i {
  font-size: 2.5rem;
  color: var(--ink-faint);
  margin-bottom: 1rem;
}

.shop-empty-state h4 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.shop-empty-state p {
  color: var(--ink-muted);
  font-size: 0.9rem;
}

/* ==========================================================================
   CARRITO DE COMPRAS — SLIDE-OUT DRAWER
   ========================================================================== */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.cart-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  z-index: 1200;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 1.8rem 2rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-header .cart-drawer-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.cart-drawer-header .cart-drawer-title i {
  color: var(--teal);
  font-size: 1.1rem;
}

.close-cart-btn {
  background: none;
  border: 1px solid var(--border);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.close-cart-btn:hover {
  background: var(--ink);
  color: #ffffff;
}

.cart-drawer-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.8rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.cart-empty-state {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--ink-muted);
}

.cart-empty-state i {
  font-size: 3.5rem;
  color: var(--ink-faint);
  margin-bottom: 1.5rem;
}

.cart-empty-state .cart-empty-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
}

.cart-item-img {
  width: 65px;
  height: 65px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.cart-item-price {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--teal);
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  color: var(--ink-body);
  transition: all 0.2s var(--ease);
}

.qty-btn:hover {
  background: var(--teal);
  color: #ffffff;
  border-color: var(--teal);
}

.qty-count {
  font-size: 0.85rem;
  font-weight: 600;
  min-width: 18px;
  text-align: center;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--ink-faint);
  cursor: pointer;
  font-size: 1rem;
  padding: 0.5rem;
  transition: color 0.2s var(--ease);
}

.cart-item-remove:hover {
  color: var(--pink);
}

.cart-drawer-footer {
  padding: 1.8rem 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-subtle);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  color: var(--ink-muted);
  margin-bottom: 0.6rem;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--ink);
  font-weight: 600;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border-strong);
  margin-bottom: 1.5rem;
}

.cart-total-row .total-price {
  color: var(--teal);
  font-style: italic;
}

.cart-checkout-btns {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

/* ==========================================================================
   MODAL DE TEST / QUIZ DIAGNÓSTICO
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: #ffffff;
  width: 100%;
  max-width: 680px;
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  position: relative;
  transform: translateY(30px);
  transition: transform 0.4s var(--ease);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: 1px solid var(--border);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.modal-close:hover {
  background: var(--teal);
  color: #ffffff;
  border-color: var(--teal);
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
  animation: fadeIn 0.35s var(--ease);
}

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

.quiz-progress-bar {
  width: 100%;
  height: 6px;
  background: var(--bg-subtle);
  border-radius: 3px;
  margin-bottom: 2rem;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  background: var(--teal);
  width: 25%;
  transition: width 0.35s var(--ease);
}

.quiz-question-num {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.quiz-question-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 1.8rem;
  line-height: 1.3;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 2.2rem;
}

.quiz-option {
  padding: 1.1rem 1.4rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--ink-body);
  text-align: left;
  font-family: var(--font-sans);
  width: 100%;
}

.quiz-option:hover {
  background: #ffffff;
  border-color: var(--teal);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.quiz-option.selected {
  background: var(--teal-light);
  border-color: var(--teal);
  color: var(--teal-hover);
  font-weight: 600;
}

.result-card {
  text-align: center;
}

.result-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--pink-light);
  color: var(--pink);
  padding: 0.45rem 1.2rem;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.result-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--ink);
  margin-bottom: 1rem;
}

.result-desc {
  font-size: 0.98rem;
  color: var(--ink-body);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.result-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ==========================================================================
   PÁGINA DE CHECKOUT / CARRITO COMPLETO (carrito.html)
   ========================================================================== */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}

.checkout-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
}

.checkout-card h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--ink);
  margin-bottom: 1.8rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.payment-option {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  background: var(--bg-subtle);
}

.payment-option:hover, .payment-option.active {
  border-color: var(--teal);
  background: var(--teal-light);
  color: var(--teal-hover);
}

.payment-option i {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  display: block;
}

/* ==========================================================================
   TESTIMONIOS, FAQ & FORMULARIOS
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: #ffffff;
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-teal);
}

.testimonial-stars {
  color: var(--pink);
  font-size: 0.85rem;
  margin-bottom: 1.4rem;
  display: flex;
  gap: 0.3rem;
}

.testimonial-card p {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: var(--ink);
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal-light);
  border: 1px solid var(--border-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-weight: 600;
  font-size: 1.05rem;
  font-family: var(--font-serif);
  font-style: italic;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}

.testimonial-location {
  font-size: 0.74rem;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.15rem;
}

/* FAQ Acordeón */
.faq-section {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.8rem 0;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.faq-header h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink);
  transition: color 0.3s var(--ease);
}

.faq-item.active .faq-header h4 {
  color: var(--teal);
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--ink-muted);
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--teal);
  color: #ffffff;
  border-color: var(--teal);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-body p {
  padding-top: 1.2rem;
  color: var(--ink-body);
  font-size: 0.96rem;
  line-height: 1.8;
}

/* Formularios de Contacto */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 5.5rem;
  align-items: flex-start;
}

.contact-direct {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.contact-direct-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
  color: var(--ink-body);
  font-size: 0.95rem;
}

.contact-direct-item i {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--teal-light);
  border: 1px solid var(--border-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 0.8rem;
  margin-top: 2.5rem;
}

.social-link {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-body);
  text-decoration: none;
  transition: all 0.3s var(--ease);
  font-size: 1rem;
}

.social-link:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #ffffff;
  transform: translateY(-3px);
}

.contact-form {
  background: #ffffff;
  padding: 3.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-group label {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.95rem 1.1rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  transition: all 0.3s var(--ease);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--teal);
  background: #ffffff;
  box-shadow: 0 0 0 3px var(--teal-glow);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: #ffffff;
  padding: 5rem 4rem 3rem;
  border-top: 1px solid var(--border);
}

.footer-content {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.footer-brand .logo {
  margin-bottom: 1.2rem;
}

.footer-brand p {
  color: var(--ink-muted);
  font-size: 0.9rem;
  line-height: 1.8;
  max-width: 340px;
}

.footer-col h5 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1.4rem;
  color: var(--ink);
  font-style: italic;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: var(--ink-body);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.3s var(--ease);
}

.footer-col ul li a:hover {
  color: var(--teal);
}

.footer-bottom {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   TOAST & WHATSAPP FLOTANTE
   ========================================================================== */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 1.1rem 1.8rem;
  background: var(--ink);
  color: #ffffff;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  z-index: 1300;
  transform: translateY(150%);
  transition: transform 0.4s var(--ease);
  border-left: 3px solid var(--teal);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  max-width: 380px;
  box-shadow: var(--shadow-lg);
}

.toast i {
  color: var(--teal);
}

.toast.show {
  transform: translateY(0);
}

.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 99;
  text-decoration: none;
  transition: all 0.3s var(--ease);
}

.floating-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}

/* ==========================================================================
   PÁGINA SOBRE MÍ — COMPONENTES DE AUTORIDAD & HISTORIA
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 5.5rem;
  align-items: center;
}

.about-image-frame {
  position: relative;
  border-radius: 240px 240px 28px 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--bg-subtle);
  height: 540px;
}

.about-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--ease);
}

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

.about-floating-badge {
  position: absolute;
  bottom: 24px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.2rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  z-index: 3;
}

.about-floating-badge i {
  color: var(--teal);
  font-size: 1.1rem;
}

.about-text {
  display: flex;
  flex-direction: column;
}

.about-quote-box {
  background: var(--teal-light);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius-sm);
  padding: 1.8rem 2.2rem;
  margin: 1.8rem 0;
  position: relative;
}

.about-quote-box p {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.about-quote-box span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-hover);
  font-weight: 600;
}

.about-credentials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.credential-item .num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-style: italic;
  color: var(--teal);
  line-height: 1;
  font-weight: 500;
}

.credential-item .label {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 0.4rem;
  font-weight: 500;
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}

.cert-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  transition: all 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}

.cert-card:hover {
  transform: translateY(-5px);
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
}

.cert-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.4rem;
}

.cert-card h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.cert-card p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

.journey-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  margin-top: 3rem;
}

.journey-step {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  position: relative;
  transition: all 0.3s var(--ease);
}

.journey-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-teal);
}

.journey-year {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-style: italic;
  color: var(--pink);
  font-weight: 500;
  margin-bottom: 0.8rem;
  line-height: 1;
}

.journey-step h4 {
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 0.6rem;
  font-family: var(--font-serif);
}

.journey-step p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (TABLETS & SMARTPHONES)
   ========================================================================== */

/* Laptops & Pantallas de Escritorio Medianas (1025px - 1240px) */
@media (min-width: 1025px) and (max-width: 1240px) {
  nav {
    padding: 1.05rem 2rem;
  }
  
  nav.scrolled {
    padding: 0.85rem 2rem;
  }
  
  .logo {
    font-size: 1.22rem;
    gap: 0.6rem;
  }
  
  .logo-monogram {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
  
  .nav-links {
    gap: 1.2rem;
  }
  
  .nav-links a {
    font-size: 0.82rem;
  }
  
  .nav-actions {
    gap: 0.75rem;
  }
  
  .cart-trigger-btn, .client-portal-btn {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }
  
  .nav-cta {
    padding: 0.6rem 1.15rem !important;
    font-size: 0.73rem !important;
  }
}

/* Tablets & Pantallas Medianas (<= 1024px) */
@media (max-width: 1024px) {
  nav {
    padding: 0.95rem 2rem;
    background: rgba(255, 255, 255, 0.98);
  }
  
  nav.scrolled {
    padding: 0.8rem 2rem;
  }

  .logo {
    font-size: 1.22rem;
    gap: 0.6rem;
    flex-shrink: 0;
  }

  .logo-monogram {
    width: 34px;
    height: 34px;
    font-size: 0.92rem;
  }
  
  .nav-actions {
    gap: 0.85rem;
    flex-shrink: 0;
  }

  .cart-trigger-btn, .client-portal-btn {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  .cart-badge {
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    top: -3px;
    right: -3px;
  }

  .nav-cta {
    padding: 0.6rem 1.15rem !important;
    font-size: 0.74rem !important;
  }

  .menu-toggle {
    display: flex;
  }
  
  /* Menú Desplegable Móvil & Tablet */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.2rem 2.2rem 2.2rem;
    gap: 0;
    border-top: 1px solid var(--border);
    border-bottom: 2px solid var(--teal);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.14);
    max-height: calc(100vh - 75px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 99;
  }
  
  .nav-links.active {
    display: flex;
    animation: navDropIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  
  @keyframes navDropIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .nav-links li {
    width: 100%;
    border-bottom: 1px solid var(--border);
    display: block;
  }
  
  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 0.4rem;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--ink);
    width: 100%;
  }
  
  .nav-links a::after {
    display: none !important;
  }
  
  .nav-links a:hover,
  .nav-links a.active {
    color: var(--teal);
    padding-left: 0.4rem;
  }
  
  .nav-links a i {
    display: block;
    font-size: 0.8rem;
    color: var(--ink-faint);
    transition: transform 0.25s var(--ease);
  }
  
  .nav-links a:hover i,
  .nav-links a.active i {
    color: var(--teal);
    transform: translateX(4px);
  }
  
  /* Dropdown en Menú Móvil & Tablet */
  .nav-dropdown {
    width: 100%;
    display: block;
    border-bottom: 1px solid var(--border);
  }

  .nav-dropdown .dropdown-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 0.4rem;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
  }

  .nav-dropdown .nav-dropdown-icon {
    font-size: 0.8rem !important;
    display: block !important;
    color: var(--ink-faint);
    transition: transform 0.28s var(--ease);
  }

  .nav-dropdown.open .nav-dropdown-icon {
    transform: rotate(180deg);
    color: var(--teal);
  }

  .dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: none;
    padding: 0.35rem;
    min-width: 100%;
    margin: 0.2rem 0 0.8rem 0;
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    animation: navDropIn 0.22s var(--ease) forwards;
  }

  .nav-dropdown.open .dropdown-menu {
    display: flex;
  }

  .dropdown-item {
    padding: 0.5rem 0.55rem !important;
    gap: 0.6rem !important;
    justify-content: flex-start !important;
    background: #ffffff !important;
    border: 1px solid var(--border);
    border-radius: 8px !important;
    transform: none !important;
  }

  .dropdown-item-icon {
    width: 32px;
    height: 32px;
    font-size: 0.82rem;
  }

  .dropdown-item:hover,
  .dropdown-item.active {
    border-color: var(--teal);
    background: #ffffff !important;
  }

  .dropdown-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    font-size: 0.88rem;
  }

  .dropdown-item-text {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ink);
    transition: color 0.2s var(--ease);
  }

  .dropdown-item:hover .dropdown-item-text,
  .dropdown-item.active .dropdown-item-text {
    color: var(--teal);
  }

  .dropdown-item-content strong {
    font-size: 0.88rem;
  }

  .dropdown-item-content span {
    font-size: 0.74rem;
  }

  /* Acciones Dentro del Menú Desplegable (Tablet) */
  .nav-mobile-actions {
    display: flex !important;
    flex-direction: row;
    gap: 0.85rem;
    padding-top: 1.25rem;
    margin-top: 0.6rem;
    width: 100%;
    border-bottom: none !important;
  }
  
  .nav-mobile-actions .btn-primary,
  .nav-mobile-actions .btn-whatsapp {
    flex: 1;
    justify-content: center;
  }

  .nav-mobile-actions .btn-whatsapp i {
    font-size: 1.4rem;
  }
  
  section {
    padding: 5.5rem 2rem;
  }
  
  .page-banner {
    padding: 8rem 2rem 4rem;
  }
  
  .hero {
    padding: 7.5rem 2rem 4.5rem;
    min-height: auto;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }
  
  .hero-text .eyebrow {
    justify-content: center;
  }
  
  .hero .subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .cta-group {
    justify-content: center;
  }
  
  .hero-meta {
    margin: 0 auto;
    justify-content: center;
  }
  
  .hero-visual {
    height: 530px;
    width: 100%;
  }
  
  .hero-frame {
    width: 85%;
    max-width: 380px;
    height: 510px;
    margin: 0 auto;
  }

  .hero-floating-badge {
    right: -10px;
  }

  .hero-floating-quote {
    top: 140px;
    bottom: auto;
    left: -20px;
  }
  
  .about-grid, .contact-grid, .checkout-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .about-image-frame {
    width: 80%;
    max-width: 420px;
    height: 450px;
    margin: 0 auto;
  }
  
  .services-grid,
  .services-grid.cols-4,
  .services-grid.cols-3,
  .courses-grid,
  .products-grid,
  .testimonials-grid,
  .certs-grid,
  .journey-timeline {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.8rem;
  }
  
  .course-pack-card {
    grid-column: span 2 !important;
  }
  
  .shop-trust-banner {
    grid-template-columns: repeat(2, 1fr);
    padding: 1.5rem;
    gap: 1.2rem;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

/* Teléfonos y Pantallas Reducidas (<= 768px) */
@media (max-width: 768px) {
  .shop-trust-banner {
    grid-template-columns: 1fr;
    padding: 1.2rem 1rem;
    gap: 1rem;
  }

  .shop-filter-bar {
    flex-direction: column;
    align-items: stretch;
    border-radius: var(--radius-md);
    padding: 0.8rem;
  }

  .filter-pills {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.35rem;
    -webkit-overflow-scrolling: touch;
  }

  .filter-pill {
    white-space: nowrap;
  }

  .shop-search-wrap {
    width: 100%;
    min-width: 100%;
  }

  .products-grid {
    grid-template-columns: 1fr !important;
  }
  nav {
    padding: 0.85rem 1.25rem;
  }
  
  nav.scrolled {
    padding: 0.75rem 1.25rem;
  }
  
  .logo {
    font-size: 1.15rem;
    gap: 0.5rem;
  }
  
  .logo-monogram {
    width: 34px;
    height: 34px;
    font-size: 0.92rem;
  }
  
  /* Ocultar CTA del header en móvil para evitar saturación */
  .nav-actions .nav-cta {
    display: none !important;
  }
  
  .nav-actions {
    gap: 0.75rem;
  }
  
  .cart-trigger-btn, .client-portal-btn {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }
  
  .cart-badge {
    width: 19px;
    height: 19px;
    font-size: 0.7rem;
    top: -3px;
    right: -3px;
  }
  
  .nav-links {
    padding: 1rem 1.4rem 2rem;
  }
  
  .nav-mobile-actions {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .nav-mobile-actions .btn-primary,
  .nav-mobile-actions .btn-whatsapp {
    width: 100%;
  }
  
  /* Secciones & Banner en Móvil */
  section {
    padding: 4rem 1.25rem;
  }
  
  .page-banner {
    padding: 6.5rem 1.25rem 3.2rem;
  }
  
  .page-banner h1 {
    font-size: clamp(2rem, 7.5vw, 2.7rem);
    line-height: 1.15;
    margin-bottom: 1rem;
  }
  
  .page-banner p {
    font-size: 0.98rem;
    line-height: 1.7;
  }
  
  .section-header {
    margin-bottom: 2.2rem;
    gap: 1.2rem;
  }
  
  .section-title {
    font-size: clamp(1.85rem, 7vw, 2.4rem);
    line-height: 1.2;
  }
  
  .section-subtitle {
    font-size: 0.95rem;
    margin-top: 0.5rem;
    line-height: 1.7;
  }
  
  /* Hero en Móvil */
  .hero {
    padding: 6.5rem 1.25rem 3.5rem;
    min-height: auto;
    text-align: left;
  }
  
  .hero-content {
    text-align: left;
  }
  
  .hero-text .eyebrow {
    justify-content: flex-start;
  }
  
  .hero h1 {
    font-size: clamp(2.1rem, 7.8vw, 2.8rem);
    line-height: 1.12;
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
  }
  
  .hero .subtitle {
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 1.8rem;
  }
  
  .cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
    margin-bottom: 2rem;
  }
  
  .btn-primary, .btn-secondary, .btn-pink, .btn-whatsapp, .btn-add-cart {
    width: 100%;
    min-height: 48px;
    padding: 0.95rem 1.4rem;
    font-size: 0.82rem;
  }
  
  .hero-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    padding-top: 1.4rem;
    text-align: center;
    width: 100%;
  }
  
  .hero-meta-item .num {
    font-size: 1.65rem;
  }
  
  .hero-meta-item .label {
    font-size: 0.64rem;
    letter-spacing: 0.04em;
    line-height: 1.3;
    margin-top: 0.25rem;
  }
  
  .hero-visual {
    height: auto;
    margin-top: 1.8rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
  }

  .hero-frame {
    width: 90%;
    max-width: 340px;
    height: 440px;
    border-radius: 175px 175px 28px 28px;
    position: relative;
  }

  .hero-decorative-ring {
    width: 340px;
    height: 340px;
  }

  .hero-blob-teal {
    width: 200px;
    height: 200px;
  }

  .hero-blob-pink {
    width: 180px;
    height: 180px;
  }

  .portrait-glass-card {
    padding: 0.85rem 1rem;
    bottom: 0.85rem;
    left: 0.85rem;
    right: 0.85rem;
    border-radius: 18px;
  }

  .portrait-glass-card .name {
    font-size: 1.12rem;
  }

  .portrait-glass-card .role {
    font-size: 0.68rem;
  }

  .hero-floating-badge {
    top: -10px;
    right: 6px;
    padding: 0.55rem 0.85rem;
    gap: 0.6rem;
    border-radius: 14px;
    transform: scale(0.92);
  }

  .hero-floating-badge .badge-icon {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }

  .hero-floating-quote {
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    right: auto;
    max-width: 340px;
    width: 90%;
    margin-top: 1.2rem;
    padding: 0.85rem 1.1rem;
    gap: 0.75rem;
    border-radius: 16px;
    transform: none !important;
    animation: none !important;
    box-shadow: var(--shadow-sm);
  }

  .hero-floating-quote .quote-icon {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }

  .hero-floating-quote .quote-text {
    font-size: 0.82rem;
    line-height: 1.4;
  }
  
  /* Todas las Cuadrículas a 1 Columna en Celulares */
  .services-grid,
  .services-grid.cols-4,
  .services-grid.cols-3,
  .services-grid.cols-2,
  .courses-grid,
  .products-grid,
  .testimonials-grid,
  .certs-grid,
  .journey-timeline {
    grid-template-columns: 1fr !important;
    gap: 1.4rem;
  }
  
  /* Tarjetas Generales en Móvil */
  .service-card, .course-card, .product-card, .cert-card, .journey-step, .testimonial-card {
    padding: 2.2rem 1.4rem;
    border-radius: var(--radius-md);
  }
  
  .service-card h3, .course-card h3, .product-card h3 {
    font-size: 1.55rem;
  }
  
  .price-amount {
    font-size: 2.3rem;
  }
  
  .book-cover {
    height: 200px;
  }
  
  /* Ajuste de Curso Pack */
  .course-pack-card {
    grid-column: span 1 !important;
  }
  
  .course-pack-card .card-actions {
    flex-direction: column !important;
    gap: 0.8rem !important;
  }
  
  /* Banner Diagnóstico CTA */
  .quiz-cta-banner {
    padding: 2.6rem 1.3rem !important;
    border-radius: var(--radius-md);
  }
  
  .quiz-cta-banner h2 {
    font-size: 1.85rem !important;
    line-height: 1.25;
  }
  
  .quiz-cta-banner p {
    font-size: 0.95rem;
    margin-bottom: 2rem !important;
  }
  
  /* Sobre Mí en Móvil */
  .about-image-frame {
    width: 100%;
    height: 380px;
    border-radius: 180px 180px 24px 24px;
  }
  
  .about-floating-badge {
    bottom: 14px;
    left: 14px;
    right: 14px;
    font-size: 0.74rem;
    padding: 0.75rem 0.9rem;
  }
  
  .about-credentials {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    text-align: center;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
  }
  
  .about-credentials .credential-item .num {
    font-size: 1.7rem;
  }
  
  .about-credentials .credential-item .label {
    font-size: 0.64rem;
  }
  
  .about-quote-box {
    padding: 1.4rem 1.2rem;
    margin: 1.4rem 0;
  }
  
  .about-quote-box p {
    font-size: 1.05rem;
  }
  
  .journey-year {
    font-size: 2rem;
  }
  
  /* Formularios & Prevención de Zoom en iOS Safari */
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 16px !important; /* Previene auto-zoom molesto en iPhone */
    padding: 0.85rem 1rem;
    border-radius: 10px;
  }
  
  .contact-form, .checkout-card {
    padding: 1.8rem 1.25rem;
    border-radius: var(--radius-md);
  }
  
  .contact-direct {
    margin-top: 1.8rem;
    padding-top: 1.5rem;
  }
  
  .social-links {
    margin-top: 1.8rem;
  }
  
  /* Checkout y Opciones de Pago en Celular */
  .payment-options {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .payment-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.1rem;
    text-align: left;
  }
  
  .payment-option i {
    margin-bottom: 0;
    font-size: 1.35rem;
    width: 28px;
  }
  
  /* Carrito Drawer en Móvil */
  .cart-drawer {
    max-width: 100%;
  }
  
  .cart-drawer-header, .cart-drawer-body, .cart-drawer-footer {
    padding: 1.2rem;
  }
  
  .cart-item-img {
    width: 58px;
    height: 58px;
  }
  
  .cart-item-title {
    font-size: 0.98rem;
  }
  
  .qty-btn {
    width: 32px;
    height: 32px;
    font-size: 0.82rem;
  }
  
  .qty-count {
    font-size: 0.92rem;
    min-width: 20px;
  }
  
  .cart-item-remove {
    padding: 0.6rem;
    font-size: 1.15rem;
  }
  
  /* Modal de Test en Móvil */
  .modal-overlay {
    padding: 0.75rem;
    align-items: flex-end;
  }
  
  .modal-container {
    padding: 2.2rem 1.2rem 1.8rem;
    border-radius: 24px 24px 16px 16px;
    max-height: 90vh;
  }
  
  .modal-close {
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
  }
  
  .quiz-question-title {
    font-size: 1.22rem;
    line-height: 1.35;
    margin-bottom: 1.2rem;
  }
  
  .quiz-option {
    padding: 0.95rem 1rem;
    font-size: 0.88rem;
    min-height: 48px;
  }
  
  .result-title {
    font-size: 1.55rem;
  }
  
  /* Footer en Móvil */
  footer {
    padding: 3.8rem 1.25rem 2.5rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.85rem;
  }
  
  /* Botón Flotante y Toast */
  .floating-whatsapp {
    bottom: 1.2rem;
    left: 1.2rem;
    width: 50px;
    height: 50px;
    font-size: 1.45rem;
  }
  
  .toast {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: calc(100vw - 2rem);
    padding: 0.9rem 1.2rem;
    font-size: 0.82rem;
  }
}

/* Pantallas Extra Pequeñas (<= 380px como iPhone SE / Galaxy Z Fold cerrado) */
@media (max-width: 380px) {
  .logo {
    font-size: 1.02rem;
  }
  
  .hero-meta, .about-credentials {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
  
  .hero-meta-item, .credential-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px dashed var(--border);
    padding-bottom: 0.4rem;
  }
  
  .hero-meta-item .num, .credential-item .num {
    font-size: 1.45rem;
  }
  
  .hero-visual {
    height: 440px;
  }
  
  .hero-frame {
    height: 410px;
  }
  
  .about-image-frame {
    height: 330px;
  }
  
  .service-card, .course-card, .product-card, .contact-form, .checkout-card {
    padding: 1.6rem 1rem;
  }
}

/* ==========================================================================
   PORTAL DE CLIENTES: LOGIN (LOGIN.HTML)
   ========================================================================== */
.login-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  position: relative;
  overflow-x: hidden;
}

.login-top-bar {
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  z-index: 10;
}

.login-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-muted);
  transition: color 0.25s var(--ease);
}

.login-back-link:hover {
  color: var(--teal);
}

.login-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  position: relative;
  z-index: 5;
}

.login-card {
  width: 100%;
  max-width: 470px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3.2rem 2.8rem;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.12);
  position: relative;
}

.login-card-header {
  text-align: center;
  margin-bottom: 2.2rem;
}

.login-monogram {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--teal-light);
  border: 1px solid var(--border-teal);
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-style: italic;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.login-card-header h1 {
  font-family: var(--font-serif);
  font-size: 1.95rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.login-card-header h1 em {
  font-style: italic;
  color: var(--pink);
}

.login-card-header p {
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

.login-form-group {
  margin-bottom: 1.4rem;
}

.login-form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.45rem;
  letter-spacing: 0.02em;
}

.login-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.login-input-wrap i.input-icon {
  position: absolute;
  left: 1.1rem;
  color: var(--ink-faint);
  font-size: 0.95rem;
  pointer-events: none;
  transition: color 0.25s var(--ease);
}

.login-input-wrap input {
  width: 100%;
  padding: 0.95rem 1.1rem 0.95rem 2.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  font-size: 16px;
  color: var(--ink);
  transition: all 0.3s var(--ease);
  font-family: var(--font-sans);
}

.login-input-wrap input:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(4, 147, 164, 0.12);
}

.login-input-wrap input:focus + i.input-icon {
  color: var(--teal);
}

.login-password-toggle {
  position: absolute;
  right: 1rem;
  background: none;
  border: none;
  color: var(--ink-faint);
  cursor: pointer;
  padding: 0.4rem;
  font-size: 0.9rem;
  transition: color 0.25s;
}

.login-password-toggle:hover {
  color: var(--ink);
}

.login-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.8rem;
  font-size: 0.82rem;
}

.login-remember-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-muted);
  cursor: pointer;
  user-select: none;
}

.login-remember-label input[type="checkbox"] {
  accent-color: var(--teal);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.login-forgot-link {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.25s;
}

.login-forgot-link:hover {
  color: var(--pink);
}

.login-demo-box {
  margin-top: 1.6rem;
  padding: 1rem 1.2rem;
  background: var(--teal-light);
  border: 1px dashed var(--border-teal);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-body);
}

.login-demo-btn {
  margin-top: 0.6rem;
  background: #ffffff;
  color: var(--teal);
  border: 1px solid var(--border-teal);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.login-demo-btn:hover {
  background: var(--teal);
  color: #ffffff;
}

.login-help-footer {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.84rem;
  color: var(--ink-muted);
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.login-help-footer a {
  color: var(--teal);
  font-weight: 600;
}

/* ==========================================================================
   PORTAL DE CLIENTES: DASHBOARD (PANEL.HTML)
   ========================================================================== */
.panel-body {
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.panel-navbar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 0.95rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.panel-brand-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--teal-light);
  color: var(--teal);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-teal);
}

.panel-nav-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.panel-user-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 0.9rem 0.4rem 0.5rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
}

.panel-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.panel-logout-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--ink-muted);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.panel-logout-btn:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #b91c1c;
}

/* Banner de Bienvenida del Panel */
.panel-hero {
  padding: 3.5rem 0 2.5rem;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

.panel-hero-content {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.panel-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.panel-hero h1 em {
  font-style: italic;
  color: var(--pink);
}

.panel-hero p {
  color: var(--ink-muted);
  font-size: 1.02rem;
}

/* Tarjetas de Estadísticas del Panel */
.panel-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.panel-stat-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease);
}

.panel-stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--teal);
}

.panel-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.panel-stat-icon.teal { background: var(--teal-light); color: var(--teal); }
.panel-stat-icon.pink { background: var(--pink-light); color: var(--pink); }
.panel-stat-icon.gold { background: #fef3c7; color: #d97706; }

.panel-stat-info .num {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
}

.panel-stat-info .label {
  font-size: 0.78rem;
  color: var(--ink-muted);
  font-weight: 500;
  margin-top: 0.2rem;
}

/* Controles de Filtrado & Búsqueda */
.panel-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 2.5rem 0 2rem;
  flex-wrap: wrap;
}

.panel-tabs {
  display: flex;
  gap: 0.5rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 0.35rem;
  border-radius: var(--radius-pill);
  flex-wrap: wrap;
}

.panel-tab {
  background: none;
  border: none;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-muted);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.panel-tab:hover {
  color: var(--ink);
}

.panel-tab.active {
  background: #ffffff;
  color: var(--teal);
  box-shadow: var(--shadow-sm);
}

.panel-search-wrap {
  position: relative;
  min-width: 260px;
}

.panel-search-wrap i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-faint);
  font-size: 0.85rem;
}

.panel-search-wrap input {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: #ffffff;
  font-size: 0.85rem;
  color: var(--ink);
  transition: all 0.25s;
}

.panel-search-wrap input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(4, 147, 164, 0.1);
}

/* Cuadrícula de Materiales Descargables */
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-bottom: 3.5rem;
}

.download-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s var(--ease);
  position: relative;
}

.download-card:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
}

.download-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.download-type-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.download-type-icon.pdf { background: #fee2e2; color: #dc2626; }
.download-type-icon.audio { background: #ede9fe; color: #7c3aed; }
.download-type-icon.video { background: var(--teal-light); color: var(--teal); }
.download-type-icon.zip { background: #fef3c7; color: #d97706; }

.download-file-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  color: var(--ink-muted);
  border: 1px solid var(--border);
}

.download-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 0.6rem;
}

.download-card p {
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.download-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.76rem;
  color: var(--ink-muted);
  margin-bottom: 1.4rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
}

.download-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.download-btn {
  width: 100%;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-pill);
  background: var(--teal);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--teal);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.download-btn:hover {
  background: var(--pink);
  border-color: var(--pink);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -6px rgba(222, 61, 117, 0.4);
}

.download-btn.secondary {
  background: var(--bg-subtle);
  color: var(--ink);
  border-color: var(--border);
}

.download-btn.secondary:hover {
  background: var(--teal-light);
  border-color: var(--teal);
  color: var(--teal);
}

/* Tarjeta de Sesión Agendada */
.panel-session-banner {
  background: linear-gradient(135deg, #ffffff 0%, var(--teal-light) 100%);
  border: 1px solid var(--border-teal);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  margin-bottom: 3.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.panel-session-info h2 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.panel-session-info p {
  color: var(--ink-muted);
  font-size: 0.94rem;
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

.panel-session-details {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--ink);
  font-weight: 600;
}

.panel-session-details div {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.85);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
}

.panel-session-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* Responsive para Login & Panel */
@media (max-width: 1024px) {
  .panel-navbar {
    padding: 0.85rem 1.8rem;
  }
  
  .downloads-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .panel-session-banner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Tablets (600px - 1024px): botones de tarjetas compactos y centrados, sin estirarse a todo el ancho */
@media (min-width: 601px) and (max-width: 1024px) {
  .card-actions .btn-primary,
  .card-actions .btn-pink,
  .card-actions .btn-whatsapp,
  .card-actions .btn-secondary {
    width: fit-content;
    min-width: 0;
    min-height: 0;
    margin-left: auto;
    margin-right: auto;
    padding: 0.72rem 1.4rem;
    font-size: 0.76rem;
    letter-spacing: 0.05em;
  }
}

@media (max-width: 768px) {
  .login-card {
    padding: 2.4rem 1.6rem;
  }
  
  .panel-navbar {
    padding: 0.85rem 1.2rem;
  }
  
  .panel-brand-badge {
    display: none;
  }
  
  .panel-stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .downloads-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
  
  .panel-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  
  .panel-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
  }
  
  .panel-tab {
    white-space: nowrap;
  }
  
  .panel-session-banner {
    padding: 1.6rem 1.25rem;
  }
}

/* ==========================================================================
   PLANTILLA INDIVIDUAL DE SERVICIO & SESIÓN (single-servicio.php)
   ========================================================================== */
.service-single-page {
  background: #ffffff;
}

/* Hero / Cabecera de la Sesión */
.service-hero {
  padding: 8.5rem 2rem 4rem;
  background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.service-hero .container {
  max-width: 1200px;
  position: relative;
  z-index: 2;
}

.service-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.86rem;
  color: var(--ink-muted);
  margin-bottom: 1.4rem;
  flex-wrap: wrap;
}

.service-breadcrumb a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.service-breadcrumb a:hover {
  color: var(--teal-dark);
  text-decoration: underline;
}

.service-breadcrumb i {
  font-size: 0.65rem;
  color: var(--ink-faint);
}

.service-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--teal-light);
  color: var(--teal);
  border: 1px solid var(--border-teal);
  margin-bottom: 1.1rem;
}

.service-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 4.5vw, 3.5rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.18;
  margin-bottom: 1rem;
  letter-spacing: -0.015em;
  max-width: 900px;
}

.service-hero-title em {
  font-style: italic;
  color: var(--pink);
}

.service-hero-desc {
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--ink-muted);
  max-width: 820px;
  margin-bottom: 2rem;
}

.service-meta-pills {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.service-meta-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 0.5rem 1.05rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.service-meta-pill-item i {
  color: var(--teal);
  font-size: 0.95rem;
}

/* Layout Principal de 2 Columnas */
.service-content-section {
  padding: 4.5rem 2rem 6rem;
  background: #ffffff;
}

.service-content-section .container {
  max-width: 1200px;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 3.5rem;
  align-items: start;
}

/* Columna Izquierda */
.service-main-col {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.service-block {
  position: relative;
}

.service-block-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.service-block-title em {
  font-style: italic;
  color: var(--pink);
}

.service-block-lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-muted);
  margin-bottom: 1.8rem;
}

/* Grid: ¿Para quién es? */
.service-target-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  margin-top: 1.5rem;
}

.service-target-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: all 0.3s ease;
}

.service-target-card:hover {
  background: #ffffff;
  border-color: var(--border-teal);
  box-shadow: 0 12px 30px -8px rgba(4, 147, 164, 0.12);
  transform: translateY(-3px);
}

.service-target-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #ffffff;
  color: var(--teal);
  border: 1px solid var(--border-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.service-target-card h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.3;
}

.service-target-card p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.6;
  margin: 0;
}

/* Grid: ¿Qué incluye? */
.service-includes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.service-include-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 1.25rem 1.4rem;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.service-include-item .check-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal);
  border: 1px solid var(--border-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-include-item h5 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.service-include-item p {
  font-size: 0.86rem;
  color: var(--ink-muted);
  line-height: 1.5;
  margin: 0;
}

/* Timeline: Metodología */
.service-steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-top: 1.8rem;
  position: relative;
}

.service-steps-list::before {
  content: '';
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 21px;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--teal) 0, var(--teal) 6px, transparent 6px, transparent 12px);
  z-index: 1;
}

.service-step-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.service-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--teal);
  color: var(--teal);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(4, 147, 164, 0.15);
}

.service-step-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.4rem 1.7rem;
  flex: 1;
}

.service-step-card h4 {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.service-step-card p {
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.65;
  margin: 0;
}

/* Card: Terapeuta */
.service-therapist-card {
  background: linear-gradient(135deg, #f8fbfb 0%, #fdf8f9 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.2rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.04);
}

.therapist-photo-wrap {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #ffffff;
  box-shadow: 0 10px 25px rgba(4, 147, 164, 0.18);
  flex-shrink: 0;
}

.therapist-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.therapist-info h4 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.therapist-role {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.therapist-quote {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-muted);
  font-style: italic;
  border-left: 2px solid var(--pink);
  padding-left: 0.85rem;
  margin: 0;
}

/* FAQ Acordeón */
.service-faq-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.service-faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.service-faq-item.active {
  border-color: var(--border-teal);
  box-shadow: 0 8px 24px -6px rgba(4, 147, 164, 0.1);
}

.service-faq-question {
  padding: 1.25rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  user-select: none;
}

.service-faq-question h4 {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.service-faq-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.service-faq-item.active .service-faq-toggle {
  transform: rotate(180deg);
  background: var(--teal-light);
}

.service-faq-answer {
  padding: 0 1.6rem 1.4rem;
  font-size: 0.94rem;
  color: var(--ink-muted);
  line-height: 1.7;
  display: none;
}

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

/* Columna Derecha (Sidebar Sticky Card) */
.service-sidebar-col {
  position: relative;
}

.service-sticky-card {
  position: sticky;
  top: 100px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: 0 24px 55px -12px rgba(15, 23, 42, 0.12);
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-img-wrap {
  width: 100%;
  height: 200px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: var(--bg-subtle);
}

.sidebar-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-img-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal);
  border: 1px solid rgba(4, 147, 164, 0.2);
}

.sidebar-price-box {
  background: linear-gradient(135deg, #f0fdfa 0%, #fdf8f9 100%);
  border: 1px solid var(--border-teal);
  border-radius: 18px;
  padding: 1.35rem 1.5rem;
  text-align: center;
}

.sidebar-price-amount {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.sidebar-price-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.sidebar-summary-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sidebar-summary-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--ink);
}

.sidebar-summary-list li i {
  color: var(--teal);
  font-size: 0.85rem;
}

.sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.sidebar-actions .btn-primary,
.sidebar-actions .btn-whatsapp {
  width: 100%;
  justify-content: center;
  padding: 1rem 1.5rem;
  font-size: 0.96rem;
}

.sidebar-guarantees {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.sidebar-guarantee-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.sidebar-guarantee-item i {
  color: #10b981;
  font-size: 0.9rem;
}

/* Banner de Otros Servicios al fondo */
.service-cross-sell {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  padding: 5rem 2rem;
}

.service-cross-sell .container {
  max-width: 1100px;
}

/* Responsive */
@media (max-width: 1024px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .service-sticky-card {
    position: static;
    max-width: 550px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .service-hero {
    padding: 7.5rem 1.25rem 3rem;
  }
  
  .service-target-grid,
  .service-includes-grid {
    grid-template-columns: 1fr;
  }
  
  .service-therapist-card {
    flex-direction: column;
    text-align: center;
    gap: 1.2rem;
  }
  
  .therapist-quote {
    border-left: none;
    border-top: 2px solid var(--pink);
    padding-left: 0;
    padding-top: 0.75rem;
  }
}
