/**
 * Établissements Santé de Vie (santedevie.com)
 * Style Clinique & Pharmacie Urologique Masculine (Inspiré de clinicabocaboca.com/viagra-para-hombre/)
 */

:root {
  --color-primary: #E53935;
  --color-primary-dark: #C62828;
  --color-esv-green: #58c415;
  --color-navy: #174e72;
  --color-navy-dark: #0f354f;
  --color-blue: #5c95ba;
  --color-teal: #028090;
  --color-mint: #00A896;
  --color-emerald: #02C39A;
  --color-cream: #F0F3BD;
  --color-text: #2c3e50;
  --color-muted: #64748b;
  --color-bg-light: #f4f8fb;
  --shadow-soft: 0 10px 30px rgba(23, 78, 114, 0.08);
  --shadow-card: 0 14px 35px rgba(15, 53, 79, 0.12);
  --shadow-cta: 0 8px 25px rgba(229, 57, 53, 0.4);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.esv-clinica-body {
  font-family: 'Poppins', 'Open Sans', 'Roboto', Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background-color: #ffffff;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Barra superior de aviso farmacéutico */
.top-promo-bar {
  background: linear-gradient(90deg, #0f354f 0%, #028090 100%);
  color: #ffffff;
  text-align: center;
  padding: 9px 15px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  position: relative;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-promo-bar span.badge-pulse {
  background-color: var(--color-primary);
  color: #fff;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  display: inline-block;
}

.top-currency-switch {
  display: inline-flex;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 20px;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-left: 8px;
}

.top-currency-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 20px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}

.top-currency-btn.active,
.top-currency-btn:hover {
  background: var(--color-emerald);
  color: #091f2e;
}

/* Cabecera Principal Pegajosa */
.pharma-header {
  background-color: var(--color-navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  transition: all 0.3s ease;
}

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

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

.brand-logo img {
  height: 48px;
  width: auto;
  display: block;
  background: #ffffff;
  padding: 4px 8px;
  border-radius: 8px;
}

.brand-tag {
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  padding-left: 12px;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.3;
}

.brand-tag strong {
  display: block;
  color: var(--color-emerald);
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: color 0.2s;
}

.header-nav a:hover {
  color: var(--color-emerald);
}

.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-trigger {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  transition: all 0.2s ease;
}

.nav-dropdown-trigger:hover,
.nav-dropdown.open .nav-dropdown-trigger {
  background: var(--color-teal);
  border-color: var(--color-emerald);
  color: #ffffff;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  max-width: 92vw;
  background: #ffffff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 18px 45px rgba(9, 31, 46, 0.28);
  border: 1px solid #e2e8f0;
  z-index: 1100;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px 12px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  display: grid;
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  height: 12px;
}

.nav-dropdown-menu a {
  color: var(--color-navy-dark) !important;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 7px;
  text-decoration: none;
  display: block;
  transition: background 0.15s, color 0.15s;
  line-height: 1.3;
}

.nav-dropdown-menu a:hover {
  background: #f0f9ff;
  color: var(--color-primary) !important;
}

.mobile-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 6px;
}

.mobile-catalog-grid a {
  font-size: 13px !important;
  padding: 6px 0 !important;
  color: rgba(255, 255, 255, 0.85) !important;
  border-bottom: none !important;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-header-order {
  background: linear-gradient(135deg, #E53935 0%, #D32F2F 100%);
  color: #ffffff !important;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn-header-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(229, 57, 53, 0.5);
}

.mobile-menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.mobile-nav-drawer {
  display: none;
  background-color: var(--color-navy-dark);
  padding: 15px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-drawer.open {
  display: block;
}

.mobile-nav-drawer a {
  display: block;
  color: #ffffff;
  text-decoration: none;
  padding: 11px 0;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-drawer a:last-child {
  border-bottom: none;
}

/* Sección Hero del Medicamento */
.hero-section {
  position: relative;
  background-image: linear-gradient(135deg, rgba(23, 78, 114, 0.95) 0%, rgba(15, 53, 79, 0.93) 55%, rgba(2, 128, 144, 0.91) 100%), url('/wp-content/uploads/2021/05/Slide2.jpg');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 50px 20px 90px;
  overflow: hidden;
}

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

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

.pharma-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(2, 195, 154, 0.18);
  border: 1px solid rgba(2, 195, 154, 0.5);
  color: #6fffe9;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.18;
  color: #ffffff;
  margin: 0 0 14px 0;
}

.hero-title .highlight {
  color: #47f0f9;
  display: inline-block;
}

.hero-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 24px 0;
  line-height: 1.6;
}

.hero-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hero-benefits-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  padding: 10px 14px;
  border-radius: 10px;
  border-left: 3px solid var(--color-emerald);
}

.hero-benefits-list li i {
  color: var(--color-emerald);
  font-size: 16px;
  flex-shrink: 0;
}

/* Bloque de Precio y Oferta en Hero */
.hero-offer-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  margin-bottom: 24px;
}

.offer-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
}

.price-old {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: line-through;
}

.price-current {
  font-size: 36px;
  font-weight: 800;
  color: #47f0f9;
  line-height: 1;
}

.price-discount-badge {
  background-color: rgba(235, 106, 86, 0.18);
  color: #eb6a56;
  border: 1px solid rgba(235, 106, 86, 0.35);
  font-weight: 700;
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.stock-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #f0f3bd;
  margin-bottom: 16px;
}

.stock-dot {
  width: 9px;
  height: 9px;
  background-color: #02C39A;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(2, 195, 154, 0.3);
  animation: pulseDot 1.8s infinite;
  flex-shrink: 0;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(2, 195, 154, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(2, 195, 154, 0); }
  100% { box-shadow: 0 0 0 0 rgba(2, 195, 154, 0); }
}

.cta-button-main,
.btn-accent,
.btn-accent-pulse,
.btn.btn-accent.btn-pulse {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  background: linear-gradient(135deg, #E53935 0%, #D32F2F 100%);
  color: #ffffff !important;
  text-decoration: none;
  font-size: 17px;
  font-weight: 800;
  padding: 17px 26px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(229, 57, 53, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
  font-family: inherit;
}

.cta-button-main:hover,
.btn-accent:hover,
.btn-accent-pulse:hover,
.btn.btn-accent.btn-pulse:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(229, 57, 53, 0.55);
}

.hero-guarantees {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  flex-wrap: wrap;
}

.hero-guarantees span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Visual 3D / Ilustración del Medicamento */
.product-showcase-card {
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.03) 70%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 26px;
  padding: 25px;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.seal-certified {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #fff;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.15;
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
  border: 2px solid #fff;
  z-index: 2;
}

.seal-certified strong {
  font-size: 14px;
  display: block;
}

.hero-mobile-image {
  display: none;
}

.medicine-svg-wrapper {
  width: 100%;
  max-width: 440px;
  margin: 0 auto 14px;
  transition: transform 0.3s ease;
}

.medicine-svg-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.35);
}

.medicine-svg-wrapper:hover {
  transform: scale(1.03);
}

.showcase-thumbs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.showcase-thumb-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  padding: 4px 8px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.showcase-thumb-btn img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  object-fit: cover;
  background: #fff;
}

.showcase-thumb-btn.active,
.showcase-thumb-btn:hover {
  border-color: #47f0f9;
  background: rgba(71, 240, 249, 0.2);
}

.wave-divider-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}

.wave-divider-bottom svg {
  width: 100%;
  height: 55px;
  display: block;
}

/* Franja de Confianza / Estadísticas */
.trust-strip {
  padding: 30px 20px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.trust-item {
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--color-bg-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
}

.trust-item .stat-number {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.1;
  margin-bottom: 4px;
}

.trust-item .stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-muted);
}

/* Secciones Generales */
.section-pad {
  padding: 65px 20px;
}

.section-bg-light {
  background-color: var(--color-bg-light);
}

.section-bg-dark {
  background: linear-gradient(135deg, #174e72 0%, #0f354f 100%);
  color: #ffffff;
}

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

.section-eyebrow {
  display: inline-block;
  color: var(--color-teal);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.section-bg-dark .section-eyebrow {
  color: #47f0f9;
}

.section-title {
  font-size: 31px;
  font-weight: 800;
  color: var(--color-navy-dark);
  line-height: 1.25;
  margin: 0 0 14px 0;
}

.section-bg-dark .section-title {
  color: #ffffff;
}

.section-desc {
  font-size: 16px;
  color: var(--color-muted);
  margin: 0;
}

.section-bg-dark .section-desc {
  color: rgba(255, 255, 255, 0.88);
}

/* Índice de Contenidos (Table of Contents) */
.toc-box {
  background: #ffffff;
  border: 1px solid #d8e8f3;
  border-left: 5px solid var(--color-teal);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-soft);
}

.toc-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-navy-dark);
  margin: 0 0 14px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
}

.toc-list li a {
  color: var(--color-navy);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s, transform 0.2s;
}

.toc-list li a:hover {
  color: var(--color-primary);
  transform: translateX(4px);
}

/* Contenido Editorial Médico */
.editorial-text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: 24px;
}

.editorial-text p {
  margin: 0 0 18px 0;
}

.editorial-text h3 {
  font-size: 23px;
  font-weight: 800;
  color: var(--color-navy-dark);
  margin: 32px 0 14px 0;
  line-height: 1.3;
}

.section-bg-dark .editorial-text {
  color: rgba(255, 255, 255, 0.9);
}

.section-bg-dark .editorial-text h3 {
  color: #47f0f9;
}

.editorial-text a {
  color: var(--color-teal);
  font-weight: 700;
  text-decoration: underline;
}

.section-bg-dark .editorial-text a {
  color: #47f0f9;
}

/* Tablas Comparativas Adaptativas */
.table-responsive-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 26px 0 32px 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border: 1px solid #e2e8f0;
  background: #ffffff;
}

.pharma-data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  text-align: left;
  font-size: 14.5px;
  color: var(--color-text);
}

.pharma-data-table thead th {
  background-color: var(--color-navy);
  color: #ffffff;
  font-weight: 700;
  padding: 15px 18px;
  border-bottom: 3px solid var(--color-teal);
  font-size: 14px;
  letter-spacing: 0.3px;
}

.pharma-data-table tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: middle;
}

.pharma-data-table tbody tr:nth-child(even) {
  background-color: #f8fafc;
}

.pharma-data-table tbody tr:hover {
  background-color: #f0f9ff;
}

.badge-table-highlight {
  background: rgba(2, 195, 154, 0.15);
  color: #028090;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12.5px;
  display: inline-block;
}

.badge-table-warn {
  background: rgba(235, 106, 86, 0.15);
  color: #d9533f;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12.5px;
  display: inline-block;
}

/* Grid de Categorías y Presentaciones */
.symptoms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
}

.symptom-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  border-top: 4px solid var(--color-teal);
  display: flex;
  align-items: flex-start;
  gap: 15px;
  transition: transform 0.2s;
}

.symptom-card:hover {
  transform: translateY(-4px);
}

.symptom-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(2, 128, 144, 0.12);
  color: var(--color-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.symptom-card h4 {
  margin: 0 0 6px 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-navy-dark);
  line-height: 1.3;
}

.symptom-card p {
  margin: 0;
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.55;
}

/* Fórmula e Ingredientes Activos */
.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 25px;
}

.ingredient-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.ingredient-badge {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, #02C39A 0%, #00A896 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 6px 15px rgba(2, 195, 154, 0.3);
}

.ingredient-info h3 {
  margin: 0 0 6px 0;
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
}

.ingredient-dose {
  display: inline-block;
  background: rgba(71, 240, 249, 0.2);
  color: #47f0f9;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 10px;
  margin-bottom: 8px;
}

.ingredient-info p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
}

/* Modo de Uso (Pasos) */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 24px;
}

.step-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  position: relative;
  border: 1px solid #e2e8f0;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-navy);
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 12px rgba(23, 78, 114, 0.25);
}

.step-box h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-navy-dark);
  margin: 0 0 8px 0;
}

.step-box p {
  font-size: 14px;
  color: var(--color-muted);
  margin: 0;
  line-height: 1.55;
}

/* Bloque Consejo del Farmacéutico (YMYL / E-E-A-T Callout Box) */
.doctors-endorsement {
  display: grid;
  grid-template-columns: 0.38fr 0.62fr;
  gap: 32px;
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #eef6fb 100%);
  border-radius: var(--radius-lg);
  padding: 35px;
  box-shadow: var(--shadow-card);
  border: 1px solid #d8e8f3;
  margin-top: 40px;
}

.doctors-photo-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(180deg, #174e72 0%, #0f354f 100%);
  text-align: center;
  padding: 24px 20px;
  color: #ffffff;
}

.doctors-photo-wrap img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  display: block;
  border: 3px solid var(--color-emerald);
}

.doctors-content h3 {
  font-size: 25px;
  font-weight: 800;
  color: var(--color-navy-dark);
  margin: 0 0 12px 0;
  line-height: 1.25;
}

.doctors-content blockquote {
  font-size: 15px;
  color: var(--color-navy-dark);
  font-style: italic;
  background: #ffffff;
  border-left: 4px solid var(--color-primary);
  padding: 16px 20px;
  margin: 0 0 18px 0;
  border-radius: 0 10px 10px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.doctors-content p {
  font-size: 15px;
  color: var(--color-text);
  margin: 0 0 16px 0;
}

.clinic-check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px 0;
}

.clinic-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14.5px;
  color: var(--color-navy-dark);
  line-height: 1.55;
}

.clinic-check-list li i {
  color: var(--color-teal);
  margin-top: 4px;
  flex-shrink: 0;
}

/* Formulario de Pedido Directo */
.order-section {
  background-image: linear-gradient(135deg, rgba(15, 53, 79, 0.94) 0%, rgba(23, 78, 114, 0.92) 100%), url('/wp-content/uploads/2022/10/Slide3.jpg');
  background-size: cover;
  background-position: center;
  padding: 70px 20px;
  color: #ffffff;
}

.order-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}

.order-form-card {
  background: #ffffff;
  color: var(--color-text);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.order-form-header {
  text-align: center;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.order-form-header h3 {
  margin: 0 0 6px 0;
  font-size: 22px;
  font-weight: 800;
  color: var(--color-navy-dark);
}

.order-form-header p {
  margin: 0;
  font-size: 13.5px;
  color: var(--color-muted);
}

.fixed-price-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f1f5f9;
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 18px;
  border-left: 4px solid var(--color-teal);
  gap: 12px;
}

.fixed-price-banner .prod-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-navy-dark);
}

.fixed-price-banner .prod-sub {
  font-size: 12px;
  color: var(--color-muted);
  display: block;
}

.fixed-price-banner .prod-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-primary);
  white-space: nowrap;
}

.clinica-form-row {
  margin-bottom: 14px;
}

.clinica-form-row label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-navy-dark);
  margin-bottom: 5px;
}

.clinica-input {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-family: inherit;
  font-size: 14px;
  color: var(--color-text);
  background: #f8fafc;
}

.clinica-input:focus {
  outline: none;
  border-color: var(--color-teal);
  background: #ffffff;
}

.wc-quick-links {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.wc-quick-links a {
  flex: 1;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  padding: 9px 10px;
  border-radius: 8px;
  background: #f0f9ff;
  color: var(--color-navy) !important;
  text-decoration: none;
  border: 1px solid #bae6fd;
  transition: all 0.2s;
}

.wc-quick-links a:hover {
  background: var(--color-navy);
  color: #ffffff !important;
}

.payment-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  font-size: 12px;
  color: var(--color-muted);
  flex-wrap: wrap;
}

/* Preguntas Frecuentes (FAQ) */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-navy-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-family: inherit;
}

.faq-question i {
  color: var(--color-primary);
  transition: transform 0.25s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 22px;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 22px 18px;
}

.faq-answer p {
  margin: 0;
  font-size: 14.5px;
  color: var(--color-muted);
  line-height: 1.65;
}

/* Información de la Clínica y Footer */
.clinic-info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}

.info-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 24px;
  color: #ffffff;
}

.info-box h4 {
  color: #47f0f9;
  font-size: 18px;
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-box p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.site-footer {
  background-color: #091f2e;
  color: rgba(255, 255, 255, 0.75);
  padding: 50px 20px 90px;
  font-size: 13.5px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 12px 0;
  flex-wrap: wrap;
}

.footer-links a {
  color: #4eb3ea;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.medical-disclaimer {
  max-width: 860px;
  margin: 15px auto 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.55;
}

/* Botón Flotante de WhatsApp Farmacéutico */
.whatsapp-float {
  position: fixed;
  bottom: 85px;
  right: 18px;
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff !important;
  text-decoration: none;
  padding: 11px 18px 11px 14px;
  border-radius: 40px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  font-weight: 700;
  font-size: 13.5px;
  transition: transform 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.05);
}

.whatsapp-float i {
  font-size: 22px;
}

/* Barra Inferior Fija para Móviles (Mobile Sticky CTA) */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  padding: 10px 16px;
  z-index: 999;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 2px solid var(--color-primary);
}

.mobile-sticky-price .old {
  font-size: 11px;
  color: var(--color-muted);
  text-decoration: line-through;
  display: block;
  line-height: 1;
}

.mobile-sticky-price .now {
  font-size: 19px;
  font-weight: 800;
  color: var(--color-navy-dark);
  line-height: 1.1;
}

/* RESPONSIVE */
@media screen and (max-width: 992px) {
  .top-promo-bar {
    display: none !important;
  }

  .hero-grid {
    display: block;
  }

  .hero-info {
    display: block;
  }

  .hero-desktop-showcase {
    display: none !important;
  }

  .hero-mobile-image {
    display: block !important;
    width: 100%;
    max-width: 420px;
    margin: 18px auto 22px;
  }

  .hero-mobile-image img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.35);
  }

  .doctors-endorsement,
  .order-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .header-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .trust-grid,
  .toc-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .symptoms-grid,
  .steps-grid,
  .clinic-info-cards {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 640px) {
  .brand-logo img {
    height: 38px;
  }

  .brand-tag {
    display: none;
  }

  .btn-header-order {
    padding: 8px 14px;
    font-size: 12px;
  }

  .hero-section {
    padding: 28px 16px 70px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-benefits-list,
  .toc-list,
  .ingredients-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .price-current {
    font-size: 28px;
  }

  .cta-button-main,
  .btn-accent-pulse {
    font-size: 15px;
    padding: 15px 20px;
  }

  .section-pad {
    padding: 45px 16px;
  }

  .section-title {
    font-size: 24px;
  }

  .doctors-endorsement {
    padding: 22px 18px;
  }

  .order-form-card {
    padding: 24px 18px;
  }

  .mobile-sticky-bar {
    display: flex;
  }

  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float {
    padding: 12px 14px;
    border-radius: 50%;
    bottom: 76px;
    right: 14px;
  }
}

