/* ==========================================================================
   PORTAL DIGITAL DR. ISRAEL FLORES DOMÍNGUEZ
   Especialista en Cirugía Plástica, Estética y Cirugía de Mano (Monterrey, N.L.)
   Sistema de Diseño: "Quiet Luxury" (Inspirado en Shafer Clinic / The Oaks)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Paleta "Quiet Luxury" */
  --bg-primary: #FFFFFF;
  --bg-secondary: #FAF9F6;
  --bg-tertiary: #F3EFEA;
  --bg-card: #FFFFFF;
  
  /* Tonos Oscuros & Fondo */
  --accent-navy: #1C2B36;
  --accent-navy-dark: #121D25;
  --accent-navy-light: #2A3F4E;
  --bg-dark: #121D25;
  --bg-surface-alt: #FAF9F6;
  --primary: #0197A5;
  --primary-dark: #007D8A;
  --text-dark-secondary: #555555;
  --text-light-secondary: rgba(255, 255, 255, 0.82);
  --shadow-sm: 0 4px 15px rgba(28, 43, 54, 0.05);
  --shadow-md: 0 10px 30px rgba(28, 43, 54, 0.08);
  
  /* Identidad & Colores Oficiales Dr. Israel Flores (Extraídos del Logo #0197A5) */
  --brand-teal: #0197A5;
  --brand-teal-dark: #007D8A;
  --brand-teal-deep: #084850;
  --brand-teal-light: #20B2BF;
  --brand-teal-soft: rgba(1, 151, 165, 0.08);
  --brand-teal-glow: rgba(1, 151, 165, 0.28);
  
  /* Acentos alineados al Branding Oficial del Doctor */
  --accent-gold: var(--brand-teal);
  --accent-gold-light: var(--brand-teal-light);
  --accent-gold-dark: var(--brand-teal-dark);
  --accent-gold-glow: var(--brand-teal-glow);
  
  /* Tipografía */
  --text-dark: #1A1A1A;
  --text-body: #333333;
  --text-muted: #666666;
  --text-light: #F9F9F9;
  --text-light-muted: rgba(255, 255, 255, 0.72);
  
  /* Fuentes */
  --font-serif: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Bordes & Sombras */
  --border-subtle: rgba(28, 43, 54, 0.08);
  --border-gold: rgba(197, 160, 89, 0.35);
  --border-light: #EBE7DF;
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  
  --shadow-subtle: 0 10px 40px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 22px 50px rgba(0, 0, 0, 0.09);
  --shadow-gold: 0 10px 30px var(--accent-gold-glow);
  --shadow-card: 0 4px 20px rgba(28, 43, 54, 0.05);

  /* Transiciones */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s ease;
}

/* --------------------------------------------------------------------------
   2. RESET & BASES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background-color: var(--bg-primary);
  line-height: 1.75;
  font-weight: 400;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

/* Contenedores */
.container {
  width: 90%;
  max-width: 1260px;
  margin: 0 auto;
}

.container-narrow {
  max-width: 920px;
}

.container-wide {
  max-width: 1400px;
}

/* Espaciados Generosos (Quiet Luxury Spacing) */
.section-padding {
  padding: 120px 0;
}

.section-padding-sm {
  padding: 80px 0;
}

.bg-white {
  background-color: var(--bg-primary);
}

.bg-bone {
  background-color: var(--bg-secondary);
}

.bg-navy {
  background-color: var(--accent-navy);
  color: var(--text-light);
}

/* --------------------------------------------------------------------------
   3. TIPOGRAFÍA & JERARQUÍA EDITORIAL
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 {
  color: #FFFFFF;
}

.h-cinzel {
  font-family: var(--font-serif);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  margin-bottom: 16px;
  position: relative;
}

.eyebrow::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background-color: var(--accent-gold);
  margin-left: 12px;
  vertical-align: middle;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 64px auto;
}

.section-header h2 {
  font-size: 2.75rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.section-header p {
  font-size: 1.06rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 300;
}

/* --------------------------------------------------------------------------
   4. BOTONES & LLAMADOS A LA ACCIÓN (CTAs)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-teal,
.btn-gold {
  background-color: var(--brand-teal);
  color: #FFFFFF;
  box-shadow: 0 6px 20px var(--brand-teal-glow);
  border: 1px solid var(--brand-teal);
}

.btn-teal:hover,
.btn-gold:hover {
  background-color: var(--brand-teal-dark);
  border-color: var(--brand-teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px var(--brand-teal-glow);
  color: #FFFFFF;
}

.btn-navy {
  background-color: var(--accent-navy);
  color: #FFFFFF;
  border: 1px solid var(--accent-navy);
}

.btn-navy:hover {
  background-color: var(--accent-navy-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(28, 43, 54, 0.2);
}

.btn-outline-gold {
  background-color: transparent;
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
}

.btn-outline-gold:hover {
  background-color: var(--accent-gold);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--text-dark);
  border: 1px solid var(--border-subtle);
}

.btn-outline-dark:hover {
  background-color: var(--text-dark);
  color: #FFFFFF;
  border-color: var(--text-dark);
  transform: translateY(-2px);
}

.btn-white {
  background-color: #FFFFFF;
  color: var(--accent-navy);
  border: 1px solid #FFFFFF;
}

.btn-white:hover {
  background-color: var(--bg-secondary);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn-sm {
  padding: 11px 22px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

/* --------------------------------------------------------------------------
   5. HEADER & NAVEGACIÓN "QUIET LUXURY" (HEAD BLANCO)
   -------------------------------------------------------------------------- */
.luxury-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition-smooth);
  background: #FFFFFF;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(1, 151, 165, 0.12);
}

.luxury-header.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 25px rgba(1, 151, 165, 0.08);
  border-bottom: 1px solid rgba(1, 151, 165, 0.16);
}

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

/* Brand / Logo Oficial */
.brand-logo-wrap {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
  margin-right: 8px;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
  transition: var(--transition-fast);
}

.luxury-header.scrolled .brand-logo-img {
  height: 42px;
}

/* Nav Links */
.header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-navy);
  position: relative;
  padding: 6px 0;
  white-space: nowrap; /* Impide que 'Cirugía de Mano' se rompa en 2 líneas */
  display: inline-block;
  transition: var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--brand-teal);
  transition: var(--transition-smooth);
}

.nav-link:hover,
.luxury-header.scrolled .nav-link:hover {
  color: var(--brand-teal);
}

.nav-link:hover::after {
  width: 100%;
}

.header-cta-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-cta-wrap .btn-teal {
  white-space: nowrap;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  padding: 9px 18px;
}

.menu-toggle-btn {
  display: none;
  background: transparent;
  color: var(--accent-navy);
  font-size: 1.5rem;
  padding: 6px;
}

.luxury-header.scrolled .menu-toggle-btn {
  color: var(--accent-navy);
}

/* --------------------------------------------------------------------------
   6. HERO SECTION: IMPACTO CINEMATOGRÁFICO
   -------------------------------------------------------------------------- */
.luxury-hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--accent-navy);
  padding: 140px 0 80px 0;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background: var(--accent-navy);
  overflow: hidden;
  z-index: 1;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.70) contrast(1.05);
  pointer-events: none;
}

/* Canvas partículas */
.hero-particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

/* Overlay con respiración */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(28, 43, 54, 0.50) 0%,
    rgba(28, 43, 54, 0.78) 75%,
    rgba(28, 43, 54, 0.96) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.hero-overlay-breathe {
  animation: overlayBreathe 6s ease-in-out infinite;
}

@keyframes overlayBreathe {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.82; }
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
  color: #FFFFFF;
}

/* Entrada animada de elementos del hero */
.hero-anim-item {
  opacity: 0;
  transform: translateY(22px);
  animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-anim-item:nth-child(1) { animation-delay: 0.2s; }
.hero-anim-item:nth-child(2) { animation-delay: 0.45s; }
.hero-anim-item:nth-child(3) { animation-delay: 0.65s; }
.hero-anim-item:nth-child(4) { animation-delay: 0.82s; }
.hero-anim-item:nth-child(5) { animation-delay: 1.0s; }

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Línea dorada SVG bajo el título */
.hero-title-line {
  display: block;
  width: 220px;
  margin: 14px auto 0;
  line-height: 0;
}

.hero-title-line svg {
  width: 100%;
  height: 12px;
  overflow: visible;
}

.hero-svg-line {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: drawLine 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

/* Indicador de scroll */
.hero-scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  animation: heroFadeUp 0.8s ease 1.6s forwards;
}

.hero-scroll-dot {
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(197, 160, 89, 0.6);
  border-radius: 13px;
  position: relative;
}

.hero-scroll-dot::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  background: #C5A059;
  border-radius: 50%;
  animation: scrollBounce 1.8s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(197,160,89,0.7);
}

@keyframes scrollBounce {
  0%, 100% { top: 6px; opacity: 1; }
  70%       { top: 22px; opacity: 0.4; }
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-gold-light);
  font-weight: 500;
  margin-bottom: 24px;
  padding: 6px 18px;
  border-top: 1px solid rgba(197, 160, 89, 0.4);
  border-bottom: 1px solid rgba(197, 160, 89, 0.4);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 26px;
  color: #FFFFFF;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-gold-light);
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 300;
  margin-bottom: 40px;
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-credentials-pills {
  margin-top: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-pill {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-pill span {
  color: var(--accent-gold);
}

/* --------------------------------------------------------------------------
   7. BANDA DE CONFIANZA & SELLOS MÉDICOS (TRUST STRIP)
   -------------------------------------------------------------------------- */
.trust-strip {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-light);
  padding: 38px 0;
  position: relative;
  z-index: 20;
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  align-items: center;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  border-right: 1px solid rgba(28, 43, 54, 0.08);
}

.trust-badge-item:last-child {
  border-right: none;
}

.trust-badge-icon {
  font-size: 1.8rem;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.trust-badge-info h4 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-navy);
  margin-bottom: 2px;
}

.trust-badge-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   8. SECCIÓN DEL CIRUJANO (ABOUT / AUTHORITY SPLIT)
   -------------------------------------------------------------------------- */
.surgeon-split-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.surgeon-visual-wrap {
  position: relative;
}

.surgeon-img-frame {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--border-light);
}

.surgeon-img-frame img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  object-position: center top;
  transition: var(--transition-smooth);
}

.surgeon-visual-wrap::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-sm);
  z-index: -1;
}

.surgeon-experience-badge {
  position: absolute;
  bottom: 30px;
  right: -20px;
  background: var(--accent-navy);
  color: #FFFFFF;
  padding: 20px 28px;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border-left: 3px solid var(--accent-gold);
}

.badge-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--accent-gold);
  margin-bottom: 4px;
}

.badge-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.3;
}

/* Bio Content */
.surgeon-bio-content h2 {
  font-size: 2.6rem;
  margin-bottom: 24px;
  color: var(--accent-navy);
}

.surgeon-lead-quote {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--accent-navy);
  margin-bottom: 24px;
  line-height: 1.6;
  border-left: 2px solid var(--accent-gold);
  padding-left: 20px;
}

.surgeon-description {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 30px;
}

.credentials-box {
  background: var(--bg-secondary);
  padding: 24px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 34px;
}

.credentials-box h4 {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-navy);
  font-weight: 700;
  margin-bottom: 14px;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.credential-tag {
  display: flex;
  flex-direction: column;
}

.credential-tag .ced-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.credential-tag .ced-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-navy);
  letter-spacing: 0.05em;
}

.hospital-safety-alert {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #FFFFFF;
  border-left: 3px solid var(--accent-gold);
  padding: 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-subtle);
  margin-bottom: 34px;
}

.hospital-safety-alert p {
  font-size: 0.88rem;
  color: var(--text-dark);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   9. CATÁLOGO EDITORIAL DE PROCEDIMIENTOS (SERVICIOS)
   -------------------------------------------------------------------------- */
.procedures-editorial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 36px;
}

.proc-editorial-card {
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.proc-editorial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(197, 160, 89, 0.4);
}

.proc-card-media {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background-color: var(--accent-navy);
}

.proc-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.proc-editorial-card:hover .proc-card-media img {
  transform: scale(1.08);
}

.proc-card-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(28, 43, 54, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 5px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(197, 160, 89, 0.4);
  z-index: 2;
}

/* Mamaria: centrar perfectamente el busto y escote con elegancia */
.proc-editorial-card:nth-child(2) .proc-card-media img {
  object-position: center 58%;
}

/* Corporal (lipectomia / lipoescultura): badge abajo para no tapar cara */
.proc-editorial-card:nth-child(3) .proc-card-badge,
.proc-editorial-card:nth-child(4) .proc-card-badge {
  top: auto;
  bottom: 18px;
}

.proc-card-content {
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.proc-card-content h3 {
  font-size: 1.55rem;
  margin-bottom: 14px;
  color: var(--accent-navy);
}

.proc-card-excerpt {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
}

.proc-card-features {
  list-style: none;
  margin-bottom: 28px;
}

.proc-card-features li {
  font-size: 0.88rem;
  color: var(--text-dark);
  padding-left: 22px;
  position: relative;
  margin-bottom: 10px;
}

.proc-card-features li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-weight: 700;
}

.proc-card-action {
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.proc-link-btn {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--accent-gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.proc-link-btn:hover {
  color: var(--accent-gold-dark);
  gap: 12px;
}

/* --------------------------------------------------------------------------
   10. CIRUGÍA DE MANO & MICROCIRUGÍA (ALTA ESPECIALIDAD FRANCIA)
   -------------------------------------------------------------------------- */
.hand-specialty-banner {
  background: var(--accent-navy);
  border-radius: var(--radius-md);
  padding: 70px 60px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.hand-specialty-banner::after {
  content: '';
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hand-banner-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}

.hand-banner-text h3 {
  font-size: 2.2rem;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.hand-banner-text p {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  margin-bottom: 28px;
}

.hand-procedures-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 34px;
}

.hand-proc-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hand-proc-pill span {
  color: var(--accent-gold);
}

.hand-media-frame {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(197, 160, 89, 0.3);
}

.hand-media-frame img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   11. CASOS CLÍNICOS & COMPARATIVA ANTES Y DESPUÉS
   -------------------------------------------------------------------------- */
.cases-showcase-container {
  max-width: 1040px;
  margin: 0 auto;
}

.case-comparison-card {
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.ba-slider-container {
  position: relative;
  width: 100%;
  height: 530px;
  overflow: hidden;
  user-select: none;
  background-color: #0d151c;
}

.ba-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.ba-before-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
  border-right: 2px solid #FFFFFF;
}

.ba-before-wrap .ba-image {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 20%;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 44px;
  height: 44px;
  margin-top: auto;
  margin-bottom: auto;
  margin-left: -22px;
  background: #FFFFFF;
  color: var(--accent-navy);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: ew-resize;
  z-index: 10;
  border: 2px solid var(--accent-gold);
}

.ba-badge {
  position: absolute;
  top: 18px;
  padding: 6px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  z-index: 5;
}

.ba-badge.before {
  left: 18px;
  background: rgba(28, 43, 54, 0.85);
  color: #FFFFFF;
}

.ba-badge.after {
  right: 18px;
  background: var(--accent-gold);
  color: #FFFFFF;
}

.case-info-panel {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-info-panel h3 {
  font-size: 1.9rem;
  margin-bottom: 12px;
  color: var(--accent-navy);
}

.case-patient-tag {
  font-size: 0.8rem;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 20px;
}

.case-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}

.case-specs-list {
  list-style: none;
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
  margin-bottom: 30px;
}

.case-specs-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 6px 0;
}

.case-specs-list .spec-label {
  color: var(--text-muted);
}

.case-specs-list .spec-val {
  color: var(--accent-navy);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   11. SECCIÓN HOME BLOG: ARTÍCULOS & GUÍAS EDUCATIVAS
   -------------------------------------------------------------------------- */
.home-blog-section {
  position: relative;
  background-color: #FFFFFF;
}

.home-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 44px;
}

.home-blog-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(28, 43, 54, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

.home-blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(28, 43, 54, 0.1);
  border-color: rgba(1, 151, 165, 0.35);
}

.home-blog-thumb-link {
  display: block;
  text-decoration: none;
  overflow: hidden;
}

.home-blog-thumb-wrap {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
  background: #0d151c;
}

.home-blog-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.home-blog-card:hover .home-blog-thumb {
  transform: scale(1.06);
}

.home-blog-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(28, 43, 54, 0.88);
  color: #FFFFFF;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 5px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.home-blog-body {
  padding: 24px 26px 28px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.home-blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.home-blog-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-teal);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.home-blog-date svg {
  stroke: var(--brand-teal);
}

.home-blog-author {
  color: var(--text-muted);
  font-size: 0.72rem;
}

.home-blog-title {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  line-height: 1.35;
  margin-bottom: 12px;
  color: var(--accent-navy);
  font-weight: 600;
}

.home-blog-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.home-blog-title a:hover {
  color: var(--brand-teal);
}

.home-blog-excerpt {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-blog-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.home-blog-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-teal);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: gap 0.25s ease, color 0.25s ease;
}

.home-blog-link svg {
  transition: transform 0.25s ease;
}

.home-blog-link:hover {
  color: var(--brand-teal-dark);
  gap: 12px;
}

.home-blog-link:hover svg {
  transform: translateX(4px);
}

.home-blog-cta-wrap {
  text-align: center;
  margin-top: 12px;
}

/* Responsividad estricta para el Blog:
   - En PC / Tablets (>= 769px): Se muestran los 3 artículos en 3 columnas.
   - En celulares (<= 768px): Se muestra estrictamente 1 solo artículo. */
@media (max-width: 991px) and (min-width: 769px) {
  .home-blog-grid {
    gap: 20px;
  }
  .home-blog-thumb-wrap {
    height: 200px;
  }
  .home-blog-body {
    padding: 20px;
  }
  .home-blog-title {
    font-size: 1.12rem;
  }
}

@media (max-width: 768px) {
  .home-blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 32px;
  }
  /* Ocultar artículos 2 y 3 en celulares: solo 1 artículo en pantalla móvil */
  .home-blog-card:nth-child(n+2) {
    display: none !important;
  }
  .home-blog-thumb-wrap {
    height: 210px;
  }
  .home-blog-body {
    padding: 22px 20px;
  }
}

/* --------------------------------------------------------------------------
   12. SISTEMA DE AGENDAMIENTO & PRECIOS OFICIALES
   -------------------------------------------------------------------------- */
.booking-section-wrapper {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  box-shadow: var(--shadow-subtle);
  overflow: hidden;
  max-width: 1080px;
  margin: 0 auto;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: stretch;
}

.booking-info-pane {
  background: var(--bg-secondary);
  padding: 32px 34px;
  border-right: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.booking-info-pane h3 {
  font-size: 1.45rem;
  margin-bottom: 6px;
  color: var(--accent-navy);
}

.booking-info-pane .booking-lead-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
}

.booking-prices-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.booking-price-box {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 14px 16px;
}

.booking-price-box--teal {
  border-top: 3px solid var(--brand-teal);
}

.booking-price-box--gold {
  border-top: 3px solid var(--accent-gold);
}

.booking-price-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-teal);
  font-weight: 700;
  margin-bottom: 4px;
}

.booking-price-tag--gold {
  color: var(--accent-gold);
}

.booking-price-val {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-navy);
  line-height: 1.1;
}

.booking-price-val span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}

.booking-price-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.booking-note-box {
  padding: 10px 13px;
  background: rgba(1, 151, 165, 0.06);
  border-left: 3px solid var(--brand-teal);
  border-radius: 4px;
  font-size: 0.78rem;
  color: var(--text-dark);
  line-height: 1.45;
  margin-bottom: 20px;
}

.booking-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.booking-cta-row .btn {
  width: 100%;
  padding: 13px 14px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.office-hours-list {
  list-style: none;
}

.office-hours-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  padding: 7px 0;
  border-bottom: 1px dashed var(--border-light);
}

.office-hours-list .oh-label {
  color: var(--text-dark);
  font-weight: 600;
  flex-shrink: 0;
}

.office-hours-list .oh-val {
  color: var(--text-dark);
  text-align: right;
}

.office-hours-list .oh-val--gold {
  color: var(--accent-gold);
  font-weight: 600;
}

.office-hours-list .oh-val--teal {
  color: var(--brand-teal);
  font-weight: 700;
  text-decoration: none;
}

/* Booking Map Pane */
.booking-form-pane {
  padding: 22px;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.booking-map-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 10px;
  flex-wrap: wrap;
}

.booking-map-eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  font-weight: 700;
  display: block;
}

.booking-map-title {
  font-size: 0.98rem;
  color: var(--accent-navy);
}

.booking-map-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-teal);
  text-decoration: none;
  white-space: nowrap;
}

.booking-map-frame {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  flex: 1;
  min-height: 330px;
}
}

.booking-form-pane p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.form-group,
.luxury-form-group {
  margin-bottom: 22px;
}

.form-label,
.luxury-form-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--accent-navy);
  margin-bottom: 8px;
}

.luxury-form-input,
.luxury-form-select,
.luxury-form-textarea,
.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.94rem;
  color: var(--text-dark);
  transition: var(--transition-fast);
  box-sizing: border-box;
}

.luxury-form-input:focus,
.luxury-form-select:focus,
.luxury-form-textarea:focus,
.form-input:focus,
.form-textarea:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px var(--accent-gold-glow);
}

/* --------------------------------------------------------------------------
   13. FOOTER "QUIET LUXURY"
   -------------------------------------------------------------------------- */
.luxury-footer {
  background-color: var(--accent-navy-dark);
  color: #FFFFFF;
  padding: 100px 0 36px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 48px;
  margin-bottom: 70px;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 24px;
}

.footer-brand p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-cofepris-badge {
  display: inline-block;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(197, 160, 89, 0.4);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
}

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

.footer-links-list li {
  margin-bottom: 12px;
}

.footer-links-list a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

.footer-contact-icon {
  color: var(--accent-gold);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom-bar {
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 16px;
}

/* --------------------------------------------------------------------------
   14. MODAL CLÍNICO & CURRÍCULUM MÉDICO
   -------------------------------------------------------------------------- */
.luxury-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 29, 37, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.luxury-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.luxury-modal-box {
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  transform: translateY(30px);
  transition: var(--transition-smooth);
  border: 1px solid var(--border-light);
}

.luxury-modal-backdrop.active .luxury-modal-box {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition-fast);
  z-index: 10;
}

.modal-close-btn:hover {
  background: var(--accent-navy);
  color: #FFFFFF;
}

.modal-header-strip {
  background: var(--bg-secondary);
  padding: 34px 40px 24px 40px;
  border-bottom: 1px solid var(--border-light);
}

.modal-header-strip h3 {
  font-size: 1.85rem;
  color: var(--accent-navy);
  margin-bottom: 6px;
}

.modal-body-content {
  padding: 36px 40px;
}

/* --------------------------------------------------------------------------
   15. BOTONES FLOTANTES DE CONTACTO Y REDES SOCIALES (LUXURY STACK)
   -------------------------------------------------------------------------- */
.footer-social-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-social-pill:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #1A1A1A;
  transform: translateY(-2px);
}

.floating-contact-dock {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
}

.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 10px 25px rgba(8, 14, 26, 0.28), 0 2px 6px rgba(0, 0, 0, 0.18), inset 0 1px 1px rgba(255, 255, 255, 0.5);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  color: #FFFFFF;
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.floating-btn svg {
  transition: transform 0.3s ease;
}

.floating-btn:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 16px 36px rgba(8, 14, 26, 0.38), 0 4px 10px rgba(0, 0, 0, 0.22), inset 0 1px 2px rgba(255, 255, 255, 0.7);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.floating-btn:hover svg {
  transform: scale(1.08);
}

.floating-btn.btn-fb {
  background: linear-gradient(135deg, #1877F2 0%, #0C5DC7 100%);
}

.floating-btn.btn-ig {
  background: linear-gradient(135deg, #833AB4 0%, #C13584 45%, #E1306C 70%, #FD1D1D 90%, #F77737 100%);
}

.floating-btn.btn-tel {
  background: linear-gradient(135deg, #1C2B36 0%, #0F1A24 100%);
  border-color: rgba(197, 160, 89, 0.75);
}

.floating-btn.btn-wa {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.float-pulse-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.75);
  opacity: 0.8;
  pointer-events: none;
  animation: floatPulseRing 2.2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes floatPulseRing {
  0% { transform: scale(0.92); opacity: 0.85; }
  50% { transform: scale(1.22); opacity: 0; }
  100% { transform: scale(1.22); opacity: 0; }
}

.floating-btn-tooltip {
  position: absolute;
  right: 66px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: rgba(15, 26, 36, 0.96);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  pointer-events: none;
  border: 1px solid rgba(197, 160, 89, 0.45);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.floating-btn:hover .floating-btn-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 768px) {
  .floating-contact-dock {
    bottom: 18px;
    right: 16px;
    gap: 9px;
  }
  .floating-btn {
    width: 46px;
    height: 46px;
    border-width: 1.5px;
  }
  .floating-btn svg {
    width: 21px;
    height: 21px;
  }
  .floating-btn-tooltip {
    display: none;
  }
}

@media (max-width: 1080px) {
  .header-nav {
    gap: 16px;
  }
  .nav-link {
    font-size: 0.74rem;
    letter-spacing: 0.05em;
  }
  .brand-logo-img {
    height: 42px;
    max-width: 195px;
  }
  .header-cta-wrap .btn-teal {
    padding: 8px 14px;
    font-size: 0.74rem;
  }
}

@media (max-width: 900px) {
  .header-nav {
    display: none; /* Drawer en tablet y móvil */
  }
  .menu-toggle-btn {
    display: block;
  }
}

@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  .surgeon-split-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .surgeon-img-frame img {
    height: 480px;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .hand-banner-grid {
    grid-template-columns: 1fr;
  }
  .case-comparison-card {
    grid-template-columns: 1fr;
  }
  .ba-slider-container {
    height: 380px;
  }
  .booking-grid {
    grid-template-columns: 1fr;
  }
  .booking-info-pane {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 70px 0;
  }
  /* Desplazar el video a la derecha en mobile para mostrar la modelo */
  .hero-video {
    object-position: 72% center;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    /* Limitar a 3 líneas en mobile */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 20px;
  }
  /* Ocultar pills de credenciales en mobile — demasiado texto */
  .hero-credentials-pills {
    display: none;
  }
  /* Botón "Agendar Cita" del header en mobile: compacto y en una sola línea */
  .header-cta-wrap .btn-teal {
    padding: 8px 14px;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }
  /* Ocultar indicador de scroll en pantallas pequeñas */
  .hero-scroll-indicator {
    display: none;
  }
  /* Línea dorada más pequeña */
  .hero-title-line {
    width: 160px;
  }
  .section-header h2 {
    font-size: 2.1rem;
  }
  .header-nav {
    display: none; /* Drawer on mobile */
  }
  .menu-toggle-btn {
    display: block;
  }
  .credentials-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .procedures-editorial-grid {
    grid-template-columns: 1fr;
  }
  .hand-procedures-list {
    grid-template-columns: 1fr;
  }
  .hand-specialty-banner {
    padding: 40px 24px;
  }
  .booking-info-pane, .booking-form-pane {
    padding: 24px 18px;
  }
  .booking-prices-duo {
    grid-template-columns: 1fr;
  }
  .booking-cta-row {
    grid-template-columns: 1fr;
  }
  .booking-cta-row .btn {
    font-size: 0.8rem;
    padding: 14px 16px;
  }
  .office-hours-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .office-hours-list .oh-val {
    text-align: left;
  }
  .booking-map-frame {
    min-height: 280px;
  }
  .trust-badge-item {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 16px;
  }
  .procedure-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .procedure-highlights-row {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .btn {
    padding: 13px 20px;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
  }
}

/* ==========================================================================
   10. PÁGINAS DEDICADAS DE PROCEDIMIENTOS (AUMENTO DE BUSTO / SUBPAGES)
   ========================================================================== */
.hero-badge-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.badge-pill.gold {
  background: rgba(197, 160, 89, 0.2);
  color: #E5C483;
  border: 1px solid rgba(197, 160, 89, 0.4);
}

.badge-pill.navy {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-pill.teal {
  background: rgba(1, 151, 165, 0.2);
  color: #5ce1e6;
  border: 1px solid rgba(1, 151, 165, 0.4);
}

.procedure-hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #152029 100%);
  color: #FFFFFF;
  padding: 135px 0 70px 0;
  position: relative;
  overflow: hidden;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-light-muted);
  margin-bottom: 24px;
}

.breadcrumb-nav a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: opacity 0.2s;
}

.breadcrumb-nav a:hover {
  opacity: 0.8;
}

.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumb-current {
  color: #FFFFFF;
  font-weight: 500;
}

.procedure-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.procedure-hero-title {
  font-family: var(--font-serif-luxury);
  font-size: clamp(2.2rem, 3.8vw, 3.3rem);
  line-height: 1.18;
  margin-bottom: 18px;
  color: #FFFFFF;
}

.title-accent {
  color: var(--accent-gold);
  font-style: italic;
  font-family: var(--font-serif-elegant);
}

.procedure-hero-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-light-secondary);
  margin-bottom: 28px;
}

.procedure-highlights-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.highlight-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.highlight-icon {
  font-size: 1.4rem;
}

.highlight-item strong {
  display: block;
  font-size: 0.9rem;
  color: #FFFFFF;
  line-height: 1.2;
}

.highlight-item small {
  display: block;
  font-size: 0.72rem;
  color: var(--text-light-muted);
}

.procedure-hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-trust-note {
  font-size: 0.8rem;
  color: var(--text-light-muted);
}

.luxury-doctor-mini-card {
  background: rgba(28, 43, 54, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-luxury);
}

.mini-card-img-wrap {
  position: relative;
  height: 270px;
  overflow: hidden;
  background: #0b141a;
}

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

.mini-card-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--accent-gold);
  color: #1A1A1A;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 20px;
}

.mini-card-body {
  padding: 24px;
}

.mini-card-body h3 {
  font-size: 1.3rem;
  color: #FFFFFF;
  margin-bottom: 4px;
  font-family: var(--font-serif-luxury);
}

.mini-card-sub {
  color: var(--accent-gold);
  font-size: 0.82rem;
  margin-bottom: 16px;
  font-weight: 500;
}

.mini-card-credentials {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.8rem;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--text-light-secondary);
}

.mini-card-credentials div {
  display: flex;
  justify-content: space-between;
}

.mini-card-quote {
  font-style: italic;
  font-size: 0.82rem;
  color: var(--text-light-muted);
  line-height: 1.5;
  margin-bottom: 18px;
  border-left: 2px solid var(--accent-gold);
  padding-left: 10px;
}

/* ==========================================================================
   ✦ GOLD ACCENT SYSTEM — Detalles dorados sutiles en toda la página
   ==========================================================================
   Regla de oro: visibles al mirar con atención, invisibles al distraerse.
   ========================================================================== */

/* 1. Línea dorada decorativa bajo los títulos de sección (section-header h2) */
.section-header h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 18px;
}
.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  border-radius: 2px;
}

/* 2. Borde superior dorado muy sutil en tarjetas de procedimientos */
.proc-editorial-card {
  border-top: 2px solid rgba(197, 160, 89, 0.18);
  transition: border-top-color var(--transition-smooth);
}
.proc-editorial-card:hover {
  border-top-color: rgba(197, 160, 89, 0.65);
}

/* 3. Bullets dorados en listas de características (proc-card-features) */
.proc-card-features li::before {
  color: var(--accent-gold) !important;
  opacity: 0.85;
}

/* 4. Línea dorada izquierda en credenciales del cirujano */
.credentials-grid > div {
  border-left: 2px solid rgba(197, 160, 89, 0.22);
  padding-left: 18px;
  transition: border-left-color 0.3s ease;
}
.credentials-grid > div:hover {
  border-left-color: rgba(197, 160, 89, 0.7);
}

/* 5. Puntos dorados en trust-strip — separador dorado entre badges */
.trust-badge-item {
  border-right-color: rgba(197, 160, 89, 0.18) !important;
}

/* 6. Línea dorada bajo los h4 del footer */
.footer-col h4 {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(197, 160, 89, 0.25);
  margin-bottom: 22px;
}

/* 7. Hover dorado en enlaces del footer */
.footer-links-list a {
  position: relative;
  transition: color 0.25s ease;
}
.footer-links-list a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-gold);
  transition: width 0.3s ease;
}
.footer-links-list a:hover::after {
  width: 100%;
}
.footer-links-list a:hover {
  color: var(--accent-gold-light) !important;
}

/* 8. Inputs y textareas con focus dorado suave */
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(197, 160, 89, 0.6) !important;
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.10);
}

/* 9. Ornamento dorado central como separador entre secciones clave */
.gold-divider {
  text-align: center;
  margin: 12px 0;
  opacity: 0.45;
  user-select: none;
  pointer-events: none;
  color: var(--accent-gold);
  font-size: 0.95rem;
  letter-spacing: 0.5em;
}

/* 10. Destellos dorados en los números/stats de la sección de autoridad */
.stat-number,
.trust-stat-number {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #e8c97a 60%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: goldShimmer 4s linear infinite;
}

@keyframes goldShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* 11. Borde inferior dorado en el header al hacer scroll */
.luxury-header.scrolled {
  border-bottom: 1px solid rgba(197, 160, 89, 0.18);
}

/* 12. Línea dorada decorativa sobre las secciones de fondo oscuro */
.bg-navy::before,
.hand-specialty-banner::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.35), transparent);
  margin-bottom: 0;
}

/* ==========================================================================
   ✦ CV MODAL PREMIUM — Currículum Dr. Israel Flores
   ========================================================================== */

.cv-modal-box { max-width: 820px !important; overflow: hidden !important; border-radius: 12px !important; }

.cv-modal-header {
  background: linear-gradient(135deg, var(--accent-navy) 0%, #0d1e2a 100%);
  padding: 36px 40px 0 40px;
  position: relative;
  overflow: hidden;
}
.cv-modal-header::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(197,160,89,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cv-header-content { display: flex; gap: 28px; align-items: flex-start; }
.cv-doctor-photo { flex-shrink: 0; width: 90px; height: 90px; border-radius: 50%; overflow: hidden; border: 2px solid rgba(197,160,89,0.55); box-shadow: 0 0 0 4px rgba(197,160,89,0.12); }
.cv-doctor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.cv-eyebrow { display: block; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-gold); font-weight: 600; margin-bottom: 8px; }
.cv-name { font-family: var(--font-serif-luxury); font-size: 1.65rem; color: #FFFFFF; margin-bottom: 6px; font-weight: 400; line-height: 1.2; }
.cv-specialty { font-size: 0.82rem; color: rgba(255,255,255,0.68); line-height: 1.55; margin-bottom: 16px; }
.cv-header-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.cv-badge { font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-gold); border: 1px solid rgba(197,160,89,0.4); padding: 3px 10px; border-radius: 20px; background: rgba(197,160,89,0.08); }
.cv-header-gold-line { height: 1.5px; background: linear-gradient(90deg, transparent, rgba(197,160,89,0.6), transparent); margin-top: 28px; }
.cv-close-btn { background: rgba(255,255,255,0.1) !important; color: #FFFFFF !important; border: 1px solid rgba(255,255,255,0.2) !important; }
.cv-close-btn:hover { background: rgba(197,160,89,0.3) !important; color: var(--accent-gold) !important; }
.cv-modal-body { padding: 32px 40px 36px; overflow-y: auto; max-height: 60vh; }
.cv-section { margin-bottom: 32px; }
.cv-section-title { font-size: 0.78rem !important; font-weight: 700 !important; text-transform: uppercase; letter-spacing: 0.18em; color: var(--accent-navy) !important; margin-bottom: 20px !important; padding-bottom: 10px; border-bottom: 1px solid rgba(197,160,89,0.25) !important; display: flex; align-items: center; gap: 8px; }
.cv-section-icon { font-size: 1rem; }

.cv-timeline { position: relative; padding-left: 24px; }
.cv-timeline::before { content: ''; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(180deg, rgba(197,160,89,0.3), rgba(197,160,89,0.08)); }
.cv-timeline-item { position: relative; margin-bottom: 22px; }
.cv-timeline-item:last-child { margin-bottom: 0; }
.cv-timeline-dot { position: absolute; left: -21px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--border-light); border: 2px solid rgba(197,160,89,0.4); }
.cv-timeline-dot--gold { background: var(--accent-gold); border-color: var(--accent-gold); box-shadow: 0 0 8px rgba(197,160,89,0.5); }
.cv-timeline-content { display: flex; flex-direction: column; gap: 3px; }
.cv-timeline-content strong { font-size: 0.92rem; color: var(--text-dark); font-weight: 600; line-height: 1.3; }
.cv-timeline-inst { font-size: 0.82rem; color: var(--text-muted); }
.cv-inst-gold { color: var(--accent-gold) !important; font-weight: 600 !important; }
.cv-timeline-cedula { font-size: 0.75rem; color: var(--brand-teal); font-weight: 500; }

.cv-cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cv-cert-card { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border: 1px solid rgba(197,160,89,0.18); border-radius: 8px; background: var(--bg-secondary); transition: border-color 0.25s ease, box-shadow 0.25s ease; }
.cv-cert-card:hover { border-color: rgba(197,160,89,0.5); box-shadow: 0 4px 14px rgba(197,160,89,0.1); }
.cv-cert-seal { font-size: 1.5rem; flex-shrink: 0; line-height: 1; }
.cv-cert-card strong { display: block; font-size: 0.82rem; color: var(--accent-navy); margin-bottom: 3px; }
.cv-cert-card p { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 5px; line-height: 1.4; }
.cv-cert-num { font-size: 0.7rem; font-weight: 700; color: var(--accent-gold); text-transform: uppercase; letter-spacing: 0.08em; }

.cv-cta { border-top: 1px solid rgba(197,160,89,0.2); padding-top: 24px; text-align: center; }
.cv-cta-text { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 16px; line-height: 1.5; }

@media (max-width: 600px) {
  .cv-header-content { flex-direction: column; }
  .cv-doctor-photo { width: 70px; height: 70px; }
  .cv-modal-header { padding: 28px 22px 0; }
  .cv-modal-body { padding: 24px 22px 28px; }
  .cv-cert-grid { grid-template-columns: 1fr; }
  .cv-name { font-size: 1.3rem; }
}

/* ==========================================================================
   ✦ PROCEDURE MODAL PREMIUM — Ficha de Procedimientos
   ========================================================================== */

/* Caja del modal de procedimiento */
.procedure-modal-box {
  max-width: 740px;
  width: 100%;
  height: min(84vh, 660px);
  max-height: calc(100vh - 40px);
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  border-radius: 12px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(197, 160, 89, 0.25);
  background: #FFFFFF;
  position: relative;
  margin: auto;
}

/* Wrapper dinámico inyectado por JS */
#modal-dynamic-content {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  height: 100% !important;
  overflow: hidden !important;
}

/* Header con imagen de fondo */
.pm-header {
  position: relative;
  height: 165px;
  min-height: 165px;
  background-size: cover;
  background-position: center;
  border-radius: 0;
  overflow: hidden;
  flex-shrink: 0 !important;
}

.pm-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(28,43,54,0.18) 0%,
    rgba(28,43,54,0.88) 100%
  );
}

.pm-header-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 26px;
}

.pm-category {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 4px;
}

.pm-title {
  font-family: var(--font-serif-luxury);
  font-size: 1.34rem;
  color: #FFFFFF;
  font-weight: 400;
  line-height: 1.22;
  margin-bottom: 8px;
}

.pm-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  border: 1px solid rgba(197,160,89,0.5);
  padding: 3px 12px;
  border-radius: 20px;
  background: rgba(197,160,89,0.14);
}

/* Cuerpo scrolleable — Ocupa todo el espacio intermedio y SIEMPRE scrollea suave */
.pm-body {
  padding: 20px 28px 16px;
  overflow-y: scroll !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-gold) rgba(0, 0, 0, 0.05);
}

.pm-body::-webkit-scrollbar {
  width: 8px;
}

.pm-body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
}

.pm-body::-webkit-scrollbar-thumb {
  background: var(--accent-gold);
  border-radius: 4px;
  border: 2px solid #FFFFFF;
}

.pm-body::-webkit-scrollbar-thumb:hover {
  background: #997530;
}

/* Bloques de información */
.pm-block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  margin-bottom: 12px;
  background: #FFFFFF;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pm-block:hover {
  border-color: rgba(197,160,89,0.35);
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.pm-block--gold {
  background: rgba(197,160,89,0.05);
  border-color: rgba(197,160,89,0.25);
}

.pm-block-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.pm-block-title {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-navy) !important;
  margin-bottom: 4px !important;
}

.pm-block-text p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.65;
  margin: 0;
}

/* Recuperación */
.pm-recovery {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--accent-navy);
  color: #FFFFFF;
  padding: 16px 18px;
  border-radius: 8px;
  margin-bottom: 12px;
  border-left: 3px solid var(--accent-gold);
}

.pm-recovery-icon { font-size: 1.4rem; flex-shrink: 0; }

.pm-recovery strong {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-gold);
  margin-bottom: 4px;
}

.pm-recovery p {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.88);
  margin: 0;
  line-height: 1.5;
}

/* Footer fijo de botones — SIEMPRE visible en la parte inferior */
.pm-footer {
  display: flex;
  gap: 12px;
  padding: 16px 28px 18px;
  border-top: 1px solid rgba(197,160,89,0.25);
  background: #FFFFFF;
  flex-shrink: 0 !important;
  z-index: 5;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.04);
}

.pm-footer .btn {
  font-size: 0.88rem;
}

/* Responsive móvil */
@media (max-width: 560px) {
  .procedure-modal-box {
    height: 92vh !important;
    max-height: 92vh !important;
    border-radius: 10px !important;
  }
  .pm-header {
    height: 150px;
    min-height: 150px;
  }
  .pm-header-content {
    padding: 12px 16px;
  }
  .pm-title {
    font-size: 1.15rem;
    margin-bottom: 4px;
  }
  .pm-body {
    padding: 14px 16px 12px;
  }
  .pm-block {
    padding: 12px 14px;
    gap: 12px;
    margin-bottom: 10px;
  }
  .pm-block-text p {
    font-size: 0.84rem;
    line-height: 1.55;
  }
  .pm-recovery {
    padding: 12px 14px;
    margin-bottom: 8px;
  }
  .pm-recovery p {
    font-size: 0.82rem;
  }
  .pm-footer {
    padding: 12px 16px 14px;
    flex-direction: column;
    gap: 8px;
  }
  .pm-footer .btn {
    width: 100%;
    text-align: center;
    padding: 12px 14px;
    font-size: 0.86rem;
  }
}

/* ==========================================================================
   ✦ LUXURY GALLERY GRID — Galería Premium Aleatoria
   Layout: 1 imagen grande izquierda (span 2 filas) + 4 imágenes a la derecha
   ========================================================================== */

.luxury-gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-rows: 295px 230px;
  gap: 14px;
  margin-top: 40px;
}

/* ── Imagen 1: GRANDE — columna izquierda, ocupa las 2 filas completas ── */
.luxury-gallery-card:nth-child(1) {
  grid-column: 1;
  grid-row: 1 / span 2;
}

/* ── Imagen 2: arriba centro ── */
.luxury-gallery-card:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

/* ── Imagen 3: arriba derecha ── */
.luxury-gallery-card:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
}

/* ── Imagen 4: abajo centro ── */
.luxury-gallery-card:nth-child(4) {
  grid-column: 2;
  grid-row: 2;
}

/* ── Imagen 5: abajo derecha ── */
.luxury-gallery-card:nth-child(5) {
  grid-column: 3;
  grid-row: 2;
}

.luxury-gallery-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: var(--accent-navy);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.luxury-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1), filter 0.45s ease;
  display: block;
}

.luxury-gallery-card:hover img {
  transform: scale(1.07);
  filter: brightness(0.65);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(18,29,37,0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 22px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.luxury-gallery-card:hover .gallery-card-overlay {
  opacity: 1;
}

.gallery-tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-gold);
  border: 1px solid rgba(197,160,89,0.55);
  padding: 2px 10px;
  border-radius: 20px;
  background: rgba(197,160,89,0.12);
  margin-bottom: 7px;
  align-self: flex-start;
}

.gallery-title {
  font-family: var(--font-serif-luxury);
  font-size: 1rem;
  color: #FFFFFF;
  font-weight: 400;
  line-height: 1.3;
  margin: 0;
}

.luxury-gallery-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(transparent, rgba(18,29,37,0.3));
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.luxury-gallery-card:hover::after { opacity: 0; }

@media (max-width: 900px) {
  .luxury-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .luxury-gallery-card:nth-child(1) {
    grid-column: 1 / span 2;
    grid-row: 1;
    height: 280px;
  }
  .luxury-gallery-card:nth-child(2),
  .luxury-gallery-card:nth-child(3),
  .luxury-gallery-card:nth-child(4),
  .luxury-gallery-card:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
    height: 200px;
  }
}

@media (max-width: 560px) {
  .luxury-gallery-grid {
    grid-template-columns: 1fr;
  }
  .luxury-gallery-card:nth-child(1) {
    grid-column: 1;
    height: 240px;
  }
  .luxury-gallery-card { height: 200px; }
}

/* --------------------------------------------------------------------------
   21. PÁGINA BLOG DEDICADA: QUIET LUXURY MEDICAL JOURNAL & EDITORIAL HUB
   -------------------------------------------------------------------------- */
.blog-hub-hero {
  position: relative;
  background: radial-gradient(circle at 85% 15%, rgba(1, 151, 165, 0.2) 0%, transparent 45%),
              radial-gradient(circle at 15% 85%, rgba(1, 151, 165, 0.12) 0%, transparent 45%),
              linear-gradient(180deg, #0b1319 0%, #121d25 60%, #16242e 100%);
  color: #FFFFFF;
  padding: 140px 0 70px 0;
  overflow: hidden;
  text-align: center;
}

.blog-hub-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.blog-hub-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-teal-light);
  background: rgba(1, 151, 165, 0.12);
  border: 1px solid rgba(1, 151, 165, 0.32);
  padding: 7px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}

.blog-hub-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 600;
  line-height: 1.18;
  color: #FFFFFF;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.blog-hub-lead {
  font-size: 1.12rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.82);
  max-width: 720px;
  margin: 0 auto 36px;
  font-weight: 300;
}

.blog-hub-trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 860px;
  margin: 0 auto;
}

.blog-hub-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}

.blog-hub-trust-item svg {
  color: var(--brand-teal-light);
  flex-shrink: 0;
}

/* Barra de Filtros & Búsqueda */
.blog-hub-filter-bar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  padding: 18px 0;
  position: sticky;
  top: 72px;
  z-index: 95;
  box-shadow: 0 4px 20px rgba(28, 43, 54, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.blog-filter-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.blog-search-box {
  position: relative;
  min-width: 260px;
  max-width: 340px;
  flex-grow: 1;
}

.blog-search-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.blog-search-input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  font-size: 0.88rem;
  font-family: var(--font-sans);
  background: var(--bg-secondary);
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.blog-search-input:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 3px rgba(1, 151, 165, 0.15);
}

.blog-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.blog-tab-btn {
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--border-light);
  background: #FFFFFF;
  color: var(--accent-navy);
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--font-sans);
}

.blog-tab-btn:hover {
  border-color: var(--brand-teal);
  color: var(--brand-teal);
  background: var(--brand-teal-soft);
}

.blog-tab-btn.active {
  background: var(--brand-teal);
  color: #FFFFFF;
  border-color: var(--brand-teal);
  box-shadow: 0 4px 14px rgba(1, 151, 165, 0.28);
}

/* Área de Contenido Principal */
.blog-hub-content-section {
  background: var(--bg-secondary);
  padding: 56px 0 90px;
}

/* Artículo Destacado / Editorial Hero Card */
.blog-hub-featured {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 35px rgba(28, 43, 54, 0.05);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  margin-bottom: 56px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

.blog-hub-featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(28, 43, 54, 0.1);
  border-color: rgba(1, 151, 165, 0.35);
}

.blog-hub-feat-thumb-wrap {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  background: #0d151c;
}

.blog-hub-feat-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-hub-featured:hover .blog-hub-feat-thumb {
  transform: scale(1.04);
}

.blog-hub-feat-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(28, 43, 54, 0.88);
  color: #FFFFFF;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.blog-hub-feat-body {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-hub-feat-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.blog-hub-feat-tag {
  color: var(--brand-teal);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--brand-teal-soft);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
}

.blog-hub-feat-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.3vw, 2.15rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--accent-navy);
  margin-bottom: 16px;
}

.blog-hub-feat-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.blog-hub-feat-title a:hover {
  color: var(--brand-teal);
}

.blog-hub-feat-excerpt {
  color: var(--text-body);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.blog-hub-feat-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
  flex-wrap: wrap;
  gap: 14px;
}

.blog-author-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.blog-author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand-teal-light);
}

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

.blog-author-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-navy);
}

.blog-author-role {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.blog-hub-feat-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-teal);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: gap 0.25s ease, color 0.25s ease;
}

.blog-hub-feat-link:hover {
  gap: 12px;
  color: var(--brand-teal-dark);
}

/* Grid de Artículos Secundarios */
.blog-hub-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}

.blog-hub-section-heading h3 {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  color: var(--accent-navy);
  margin: 0;
}

.blog-hub-count {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.blog-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.blog-hub-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(28, 43, 54, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

.blog-hub-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(28, 43, 54, 0.1);
  border-color: rgba(1, 151, 165, 0.35);
}

.blog-hub-card-thumb-wrap {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
  background: #0d151c;
}

.blog-hub-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.blog-hub-card:hover .blog-hub-card-thumb {
  transform: scale(1.06);
}

.blog-hub-card-body {
  padding: 24px 26px 28px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-hub-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.blog-hub-card-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-teal);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.blog-hub-card-readtime {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-muted);
}

.blog-hub-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  line-height: 1.35;
  margin-bottom: 12px;
  color: var(--accent-navy);
  font-weight: 600;
}

.blog-hub-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-hub-card-title a:hover {
  color: var(--brand-teal);
}

.blog-hub-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.62;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blog-hub-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-hub-card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--brand-teal);
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none;
  transition: gap 0.25s ease, color 0.25s ease;
}

.blog-hub-card-link:hover {
  color: var(--brand-teal-dark);
  gap: 11px;
}

.blog-hub-card-link svg {
  transition: transform 0.25s ease;
}

.blog-hub-card-link:hover svg {
  transform: translateX(3px);
}

/* Banner CTA Inferior de Valoración */
.blog-hub-cta-banner {
  background: radial-gradient(circle at 90% 10%, rgba(1, 151, 165, 0.22) 0%, transparent 40%),
              linear-gradient(135deg, #121D25 0%, #1c2b36 100%);
  border-radius: var(--radius-xl);
  padding: 56px 44px;
  color: #FFFFFF;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(1, 151, 165, 0.25);
  position: relative;
  overflow: hidden;
}

.blog-hub-cta-banner h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  color: #FFFFFF;
  margin-bottom: 14px;
}

.blog-hub-cta-banner p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto 30px;
  line-height: 1.65;
}

.blog-hub-cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Estado de Sin Resultados */
.blog-no-results {
  text-align: center;
  padding: 60px 20px;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-light);
  display: none;
}

.blog-no-results svg {
  color: var(--brand-teal);
  margin-bottom: 14px;
}

.blog-no-results h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--accent-navy);
  margin-bottom: 8px;
}

.blog-no-results p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Responsive Blog Hub */
@media (max-width: 991px) {
  .blog-hub-featured {
    grid-template-columns: 1fr;
  }
  .blog-hub-feat-thumb-wrap {
    min-height: 280px;
  }
  .blog-hub-feat-body {
    padding: 32px 28px;
  }
  .blog-hub-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 680px) {
  .blog-hub-hero {
    padding: 120px 0 50px 0;
  }
  .blog-filter-container {
    flex-direction: column;
    align-items: stretch;
  }
  .blog-search-box {
    max-width: 100%;
  }
  .blog-category-tabs {
    overflow-x: auto;
    padding-bottom: 6px;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .blog-tab-btn {
    white-space: nowrap;
  }
  .blog-hub-grid {
    grid-template-columns: 1fr;
  }
  .blog-hub-cta-banner {
    padding: 40px 24px;
  }
}/* --------------------------------------------------------------------------
   22. ARTÍCULO INDIVIDUAL (articulo.php): QUIET LUXURY EDITORIAL
   -------------------------------------------------------------------------- */
.article-single-hero {
  position: relative;
  background: radial-gradient(circle at 85% 15%, rgba(1, 151, 165, 0.22) 0%, transparent 45%),
              radial-gradient(circle at 15% 85%, rgba(1, 151, 165, 0.12) 0%, transparent 45%),
              linear-gradient(180deg, #0b1319 0%, #121d25 60%, #16242e 100%);
  color: #FFFFFF;
  padding: 165px 0 65px 0;
  overflow: hidden;
  text-align: center;
}

.article-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.article-breadcrumb a {
  color: var(--brand-teal-light);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.article-breadcrumb a:hover {
  color: #FFFFFF;
}

.article-breadcrumb-separator {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
}

.article-single-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 600;
  line-height: 1.22;
  color: #FFFFFF;
  max-width: 920px;
  margin: 0 auto 20px;
  letter-spacing: -0.01em;
}

.article-single-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  flex-wrap: wrap;
}

.article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.article-meta-item svg {
  color: var(--brand-teal-light);
}

.article-layout-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 48px;
  align-items: start;
}

.article-single-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: 0 12px 36px rgba(28, 43, 54, 0.08);
  background: #0d151c;
  border: 1px solid var(--border-light);
}

.article-single-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s ease;
}

.article-single-lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--accent-navy);
  line-height: 1.72;
  margin-bottom: 32px;
  padding: 22px 28px;
  background: rgba(1, 151, 165, 0.05);
  border-left: 4px solid var(--brand-teal);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.article-single-body {
  font-size: 1.04rem;
  line-height: 1.85;
  color: #333333;
}

.article-single-body p {
  margin-bottom: 22px;
}

.article-single-body h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--accent-navy);
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
  font-weight: 600;
}

.article-single-body h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--accent-navy);
  margin: 28px 0 14px;
  font-weight: 600;
}

.article-single-body ul {
  margin: 16px 0 24px 20px;
  list-style: disc;
}

.article-single-body li {
  margin-bottom: 8px;
  line-height: 1.7;
}

/* Sello de Validación Médica */
.article-medical-stamp {
  background: #FAF9F6;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 40px 0 32px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.article-stamp-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(1, 151, 165, 0.12);
  color: var(--brand-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.article-stamp-text h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-navy);
  margin-bottom: 4px;
}

.article-stamp-text p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* Banner de Cita al Final del Artículo */
.article-conversion-card {
  background: radial-gradient(circle at 90% 10%, rgba(1, 151, 165, 0.22) 0%, transparent 40%),
              linear-gradient(135deg, #121D25 0%, #1c2b36 100%);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  color: #FFFFFF;
  margin-top: 48px;
  border: 1px solid rgba(1, 151, 165, 0.3);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
  text-align: center;
}

.article-conversion-card h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.article-conversion-card p {
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 580px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.article-conversion-btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Sidebar del Artículo */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: sticky;
  top: 96px;
}

.sidebar-doctor-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 32px 26px;
  text-align: center;
  box-shadow: 0 6px 24px rgba(28, 43, 54, 0.05);
}

.sidebar-doctor-avatar {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--brand-teal);
  box-shadow: 0 4px 16px rgba(1, 151, 165, 0.2);
}

.sidebar-doctor-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-navy);
  margin-bottom: 4px;
}

.sidebar-doctor-spec {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-teal);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.sidebar-doctor-bio {
  font-size: 0.86rem;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 20px;
}

.sidebar-recent-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 26px 24px;
  box-shadow: 0 4px 20px rgba(28, 43, 54, 0.04);
}

.sidebar-card-title {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  color: var(--accent-navy);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.sidebar-recent-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-recent-item {
  display: flex;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  group: hover;
}

.sidebar-recent-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-light);
}

.sidebar-recent-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sidebar-recent-headline {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--accent-navy);
  line-height: 1.35;
  transition: color 0.2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sidebar-recent-item:hover .sidebar-recent-headline {
  color: var(--brand-teal);
}

.sidebar-recent-date {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Responsivo para Artículo */
@media (max-width: 991px) {
  .article-single-hero {
    padding: 135px 0 50px 0;
  }
  .article-layout-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .article-sidebar {
    position: static;
  }
  .article-single-img {
    max-height: 380px;
  }
}

/* Time slots grid styling */
.time-slots-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 10px !important;
}

.slot-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  background: #FFFFFF !important;
  border: 1px solid #D1D5DB !important;
  border-radius: 6px !important;
  padding: 10px 14px !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: var(--accent-navy, #0F1A24) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  text-align: center !important;
  font-family: inherit !important;
}

.slot-btn:hover {
  border-color: var(--brand-teal, #0197A5) !important;
  background: rgba(1, 151, 165, 0.08) !important;
  color: var(--brand-teal, #0197A5) !important;
}

.slot-btn.active {
  background: var(--brand-teal, #0197A5) !important;
  border-color: var(--brand-teal, #0197A5) !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(1, 151, 165, 0.28) !important;
}

/* ==========================================================================
   14. TESTIMONIOS QUIET LUXURY (SSR SAAS SICOC)
   ========================================================================== */

/* Hero Testimonios */
.testimonials-hero {
  background: radial-gradient(circle at 50% 30%, #162433 0%, #0B131A 100%);
  color: #FFFFFF;
  padding: 140px 0 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.testimonials-hero .eyebrow {
  color: var(--accent-gold);
  letter-spacing: 0.18em;
  font-weight: 600;
  margin-bottom: 14px;
}

.testimonials-hero h1 {
  color: #FFFFFF;
  font-family: var(--font-serif-luxury, 'Playfair Display', serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 500;
  margin-bottom: 18px;
  line-height: 1.2;
}

.testimonials-hero-desc {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 680px;
  margin: 0 auto 36px auto;
  line-height: 1.7;
  font-weight: 300;
}

/* Trust Stats Ribbon */
.testimonials-stats-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

.stat-pill-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md, 12px);
  padding: 20px 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-pill-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(197, 160, 89, 0.4);
  transform: translateY(-3px);
}

.stat-pill-number {
  font-family: var(--font-serif-luxury, 'Playfair Display', serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-pill-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

/* Grids de Testimonios */
.luxury-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

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

/* Tarjeta Individual de Testimonio */
.luxury-test-card {
  background: #FFFFFF;
  border: 1px solid rgba(197, 160, 89, 0.22);
  border-radius: 16px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 6px 24px rgba(15, 26, 36, 0.04);
}

.luxury-test-card::before {
  content: '“';
  position: absolute;
  top: 12px;
  right: 22px;
  font-family: var(--font-serif-luxury, 'Playfair Display', Georgia, serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--accent-gold);
  opacity: 0.14;
  pointer-events: none;
  font-weight: 700;
}

.luxury-test-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(15, 26, 36, 0.09);
  border-color: rgba(197, 160, 89, 0.55);
}

.test-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.test-stars {
  color: #D4AF37;
  font-size: 1.15rem;
  letter-spacing: 2px;
  line-height: 1;
}

.test-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(1, 151, 165, 0.08);
  color: var(--brand-teal);
  border: 1px solid rgba(1, 151, 165, 0.22);
}

.test-quote {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.75;
  color: #2D3748;
  margin: 0 0 24px 0;
  font-style: normal;
  flex-grow: 1;
  word-break: break-word;
}

.test-author-info {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.test-avatar {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0F1A24 0%, #1D3042 100%);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  border: 2px solid rgba(197, 160, 89, 0.35);
  box-shadow: 0 2px 8px rgba(15, 26, 36, 0.15);
}

.test-name {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--accent-navy);
  line-height: 1.3;
  margin-bottom: 3px;
}

.test-location {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Home Section Reviews Rating Pill */
.home-reviews-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border: 1px solid rgba(197, 160, 89, 0.35);
  padding: 8px 22px;
  border-radius: 30px;
  box-shadow: 0 4px 14px rgba(15, 26, 36, 0.05);
  margin-top: 16px;
}

.home-reviews-rating-pill .stars-gold {
  color: #D4AF37;
  font-size: 1.15rem;
  letter-spacing: 2px;
}

.home-reviews-rating-pill .rating-val {
  font-weight: 700;
  color: var(--accent-navy);
  font-size: 0.95rem;
}

.home-reviews-rating-pill .rating-source {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.home-testimonials-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
  flex-wrap: wrap;
}

/* Paginación Quiet Luxury */
.luxury-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.luxury-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.2s ease;
  text-decoration: none;
  border: 1px solid var(--border-light, #E2E8F0);
  background: #FFFFFF;
  color: var(--accent-navy, #0F1A24);
}

.luxury-page-btn:hover {
  border-color: var(--brand-teal);
  color: var(--brand-teal);
  background: rgba(1, 151, 165, 0.04);
}

.luxury-page-btn.active {
  background: var(--accent-navy);
  border-color: var(--accent-gold);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(15, 26, 36, 0.15);
}

/* Luxury Bottom CTA en testimonios.php */
.luxury-review-cta {
  background: linear-gradient(135deg, #0F1A24 0%, #172838 100%);
  color: #FFFFFF;
  border-radius: 20px;
  padding: 48px 36px;
  border: 1px solid rgba(197, 160, 89, 0.25);
  box-shadow: 0 12px 36px rgba(15, 26, 36, 0.12);
  margin-top: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.luxury-review-cta h3 {
  color: #FFFFFF;
  font-family: var(--font-serif-luxury, 'Playfair Display', serif);
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.luxury-review-cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  max-width: 620px;
  margin: 0 auto 28px auto;
  line-height: 1.6;
}

/* Responsivo Testimonios */
@media (max-width: 991px) {
  .home-testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-stats-ribbon {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .home-testimonials-grid,
  .luxury-testimonials-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-stats-ribbon {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .luxury-test-card {
    padding: 26px 20px;
  }
  .testimonials-hero {
    padding: 110px 0 50px 0;
  }
  .luxury-review-cta {
    padding: 36px 20px;
  }
}


