:root {
  --color-navy: #1f497d;
  --color-navy-deep: #15355c;
  --color-teal: #0e7c66;
  --color-primary: #c0392b;
  --color-accent: #00b050;
  --color-cyan: #d8f5e4;
  --color-text: #1c2b33;
  --color-muted: #5c6b73;
  --color-line: #d7e2ea;
  --color-bg: #f3f7f6;
  --color-white: #ffffff;
  --shadow: 0 10px 30px rgba(21, 53, 92, 0.08);
  --radius: 16px;
  --header-h: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.esv-clinica-body {
  margin: 0;
  color: var(--color-text);
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.65;
  background: var(--color-white);
}
img { max-width: 100%; height: auto; }
a { color: var(--color-navy); }
button, input, select { font-family: inherit; }

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.top-promo-bar {
  background: var(--color-navy-deep);
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 13.5px;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.badge-pulse {
  background: var(--color-accent);
  color: #083018;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 11px;
  border-radius: 999px;
  padding: 3px 10px;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 176, 80, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(0, 176, 80, 0); }
}

.pharma-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--color-line);
  box-shadow: 0 2px 12px rgba(21, 53, 92, 0.05);
}
.header-container {
  position: relative;
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  flex: 0 0 auto;
}
.brand-logo img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--color-line);
}
.brand-tag { line-height: 1.2; }
.brand-tag strong { display: block; color: var(--color-navy); font-size: 15px; }
.brand-tag span, .brand-tag { font-size: 12px; color: var(--color-muted); }

.header-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  font-size: 14px;
}
.header-nav > a {
  text-decoration: none;
  color: var(--color-navy-deep);
  font-weight: 600;
  white-space: nowrap;
}
.header-nav > a:hover { color: var(--color-teal); }

.nav-dropdown { position: static; }
.nav-dropdown-trigger {
  background: transparent;
  border: 0;
  color: var(--color-navy-deep);
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
  padding: 8px 0;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 8px;
  z-index: 50;
}
.nav-dropdown.open .nav-dropdown-menu {
  display: block;
  width: 100%;
  column-count: 4;
  column-gap: 12px;
}
.nav-dropdown-menu a {
  display: block;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--color-text);
  font-size: 14px;
}
.nav-dropdown-menu a:hover { background: var(--color-bg); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.btn-accent {
  background: #D32F2F;
  color: #fff;
  box-shadow: 0 8px 16px rgba(211, 47, 47, 0.28);
}
.btn-accent:hover { background: #b71c1c; }
.btn-pulse { animation: pulse-btn 2s ease-in-out infinite; }
@keyframes pulse-btn {
  0%, 100% { box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(211, 47, 47, 0); }
}
.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--color-line);
  background: #fff;
  font-size: 18px;
  cursor: pointer;
}
.mobile-nav-drawer {
  display: none;
  border-top: 1px solid var(--color-line);
  background: #fff;
  padding: 8px 16px 16px;
}
.mobile-nav-drawer.open { display: block; }
.mobile-nav-link, .mobile-catalog-grid a {
  display: block;
  padding: 10px 4px;
  text-decoration: none;
  color: var(--color-navy-deep);
  font-weight: 650;
  border-bottom: 1px solid #eef3f6;
}
.mobile-catalog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.mobile-catalog-grid a {
  background: var(--color-bg);
  border-radius: 10px;
  padding: 10px;
  border: 0;
  font-size: 13px;
}

.hero-section {
  position: relative;
  background:
    radial-gradient(900px 320px at 85% 0%, rgba(0, 176, 80, 0.16), transparent 60%),
    linear-gradient(180deg, #e7f2fb 0%, #f7fbf8 70%, #fff 100%);
  padding: 42px 0 70px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}
.pharma-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--color-teal);
  border: 1px solid #b7e4d4;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.hero-title {
  font-size: 34px;
  line-height: 1.22;
  margin: 14px 0 16px;
  color: var(--color-navy-deep);
}
.hero-title .highlight { color: var(--color-teal); }
.hero-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
.hero-benefits-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 8px 0;
}
.hero-benefits-list i { color: var(--color-accent); margin-top: 4px; }
.hero-offer-box {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  border: 1px solid #e4eef3;
}
.offer-price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}
.price-old { color: var(--color-muted); text-decoration: line-through; }
.price-current { font-size: 32px; font-weight: 800; color: var(--color-navy); }
.price-discount-badge {
  background: #e8f8ee;
  color: #0b7a3b;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 800;
}
.stock-indicator {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 12px;
}
.stock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
  margin-top: 7px;
  flex: 0 0 auto;
  box-shadow: 0 0 0 4px rgba(0, 176, 80, 0.15);
}
.hero-guarantees {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--color-navy-deep);
  font-weight: 650;
}
.product-showcase-card {
  background: #fff;
  border-radius: 22px;
  padding: 22px 18px 16px;
  box-shadow: var(--shadow);
  border: 1px solid #e4eef3;
  position: relative;
  text-align: center;
}
.seal-certified {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 2px dashed var(--color-accent);
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.15;
  text-align: center;
}
.seal-certified strong { font-size: 13px; color: var(--color-teal); }
.medicine-svg-wrapper img {
  width: min(100%, 420px);
  height: auto;
  min-height: 160px;
  object-fit: contain;
  border-radius: 12px;
  background: #f4f8fb;
}
.hero-mobile-image { display: none; margin: 8px 0 14px; }
.showcase-thumbs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
}
.showcase-thumb-btn {
  border: 1px solid var(--color-line);
  background: #fff;
  border-radius: 10px;
  padding: 6px 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-navy);
}
.showcase-thumb-btn.active { border-color: var(--color-accent); background: #f3fff7; }
.showcase-thumb-btn img { width: 42px; height: 28px; object-fit: cover; border-radius: 4px; }
.wave-divider-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  line-height: 0;
}
.wave-divider-bottom svg { width: 100%; height: 54px; display: block; }

.trust-strip { background: #fff; padding: 8px 0 22px; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.trust-item {
  background: var(--color-bg);
  border-radius: 14px;
  padding: 14px 12px;
  text-align: center;
}
.stat-number { display: block; font-weight: 800; color: var(--color-navy); }
.stat-label { display: block; font-size: 13px; color: var(--color-muted); margin-top: 4px; }

.section-pad { padding: 56px 0; }
.section-bg-light { background: var(--color-bg); }
.section-bg-dark {
  background: linear-gradient(180deg, #12365d, #1f497d);
  color: #e9f2f8;
}
.section-bg-dark .section-title,
.section-bg-dark h2,
.section-bg-dark h3,
.section-bg-dark strong { color: #fff; }
.section-bg-dark .section-desc,
.section-bg-dark .editorial-text p,
.section-bg-dark .editorial-text li { color: #d5e4ef; }
.section-header { text-align: center; max-width: 760px; margin: 0 auto 28px; }
.section-eyebrow {
  display: inline-block;
  color: var(--color-teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.section-bg-dark .section-eyebrow { color: #8dffc3; }
.section-title {
  margin: 8px 0;
  font-size: 30px;
  line-height: 1.25;
  color: var(--color-navy-deep);
}
.section-desc { color: var(--color-muted); margin: 0; }
.hero-subtitle { font-size: 18px; color: #24343c; }
.editorial-text h2, .editorial-text h3 { color: var(--color-navy-deep); line-height: 1.3; }
.editorial-text h2 { font-size: 28px; margin-top: 8px; }
.editorial-text h3 { font-size: 22px; margin-top: 28px; }
.section-bg-dark .editorial-text h2,
.section-bg-dark .editorial-text h3 { color: #fff; }

.toc-box {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 22px 0 28px;
}
.toc-title { font-weight: 800; margin-bottom: 8px; }
.toc-list { margin: 0; padding-left: 0; list-style: none; columns: 2; gap: 24px; }
.toc-list a { text-decoration: none; color: var(--color-navy); }
.toc-list li { margin: 6px 0; }

.clinic-check-list { list-style: none; padding: 0; }
.clinic-check-list li { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; }
.clinic-check-list i { margin-top: 4px; }

.table-responsive-wrapper { overflow-x: auto; margin: 16px 0 8px; }
.pharma-data-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  min-width: 680px;
  border-radius: 12px;
  overflow: hidden;
}
.pharma-data-table th, .pharma-data-table td {
  border: 1px solid #e4eef3;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  font-size: 14.5px;
}
.pharma-data-table th { background: #e8f1f8; color: var(--color-navy-deep); }
.section-bg-dark .pharma-data-table th { background: #0e2c4c; color: #fff; }
.section-bg-dark .pharma-data-table td { background: #f7fbff; color: var(--color-text); }
.badge-table-warn, .badge-table-highlight {
  display: inline-block;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 800;
}
.badge-table-warn { background: #fde8e6; color: #a32016; }
.badge-table-highlight { background: #e7f8ee; color: #0b7a3b; }

.symptoms-grid, .steps-grid, .ingredients-grid {
  display: grid;
  gap: 14px;
}
.symptoms-grid { grid-template-columns: repeat(3, 1fr); margin-top: 22px; }
.symptom-card, .ingredient-card, .step-box {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  border: 1px solid #e4eef3;
  box-shadow: 0 6px 16px rgba(21, 53, 92, 0.04);
}
.symptom-card { display: flex; gap: 12px; }
.symptom-icon, .ingredient-badge, .step-number {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #e7f6ee;
  color: var(--color-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex: 0 0 auto;
}
.symptom-card h4, .ingredient-card h3, .step-box h4 { margin: 0 0 6px; color: var(--color-navy); }
.symptom-card p, .ingredient-card p, .step-box p { margin: 0; color: var(--color-muted); font-size: 14.5px; }
.steps-grid { grid-template-columns: repeat(3, 1fr); }
.step-box { text-align: center; }
.step-number { margin: 0 auto 10px; border-radius: 50%; }

.ingredients-grid { grid-template-columns: 1fr 1fr; }
.ingredient-card { display: flex; gap: 12px; align-items: flex-start; }
.ingredient-dose {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--color-teal);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.doctors-endorsement {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 22px;
  background: var(--color-navy-deep);
  color: #fff;
  border-radius: 20px;
  padding: 22px;
}
.doctors-photo-wrap { text-align: center; }
.doctors-photo-wrap img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 18px;
  background: #fff;
  margin-bottom: 8px;
}
.doctors-content h3 { margin-top: 6px; }
.doctors-content blockquote {
  margin: 0 0 12px;
  font-size: 16.5px;
  line-height: 1.6;
}
.order-panel {
  margin: 28px auto 0;
  max-width: 640px;
  background: #fff;
  color: var(--color-text);
  border-radius: 12px;
  padding: 18px;
  border: 1px solid var(--color-line);
}
.order-panel label { display: block; font-size: 13px; font-weight: 700; margin: 8px 0 4px; }
.order-panel select, .order-panel input {
  width: 100%;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  padding: 9px 10px;
  font-size: 15px;
}
.order-note { font-size: 13px; color: var(--color-muted); margin: 8px 0; }

.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 10px;
  border: 1px solid var(--color-line);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: #fff;
  border: 0;
  padding: 14px 16px;
  font-weight: 750;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--color-navy-deep);
}
.faq-answer { display: none; padding: 0 16px 14px; color: #314049; }
.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-question i { transform: rotate(180deg); }

.site-footer {
  background: #10283f;
  color: #d5e2ec;
  padding: 36px 0 90px;
}
.clinic-info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.info-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px;
}
.info-box h4 { margin: 0 0 8px; color: #fff; }
.footer-bottom { text-align: center; margin-top: 26px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 16px; justify-content: center; margin: 10px 0; }
.footer-links a { color: #b7d0e4; text-decoration: none; }
.medical-disclaimer { font-size: 12.5px; color: #9eb4c6; max-width: 900px; margin: 12px auto 0; }

.mobile-sticky-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  background: #fff;
  border-top: 1px solid var(--color-line);
  padding: 8px 12px;
  gap: 10px;
  align-items: center;
  box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.06);
}
.mobile-sticky-price .old { display: block; font-size: 12px; color: var(--color-muted); text-decoration: line-through; }
.mobile-sticky-price .now { font-size: 20px; font-weight: 800; color: var(--color-navy); }

.pack-picker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 8px;
}
.pack-card {
  border: 1px solid var(--color-line);
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  text-align: left;
  cursor: pointer;
}
.pack-card.active { border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(0, 176, 80, 0.15); }
.pack-card strong { display: block; color: var(--color-navy); }
.pack-card .pack-price { font-size: 22px; font-weight: 800; margin: 6px 0; }
.pack-card span { display: block; color: var(--color-muted); font-size: 13px; }

@media (max-width: 980px) {
  .top-promo-bar { display: none; }
  .header-nav { display: none; }
  .mobile-menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .hero-grid, .doctors-endorsement, .trust-grid, .symptoms-grid, .steps-grid, .ingredients-grid, .clinic-info-cards, .pack-picker {
    grid-template-columns: 1fr;
  }
  .hero-desktop-showcase { display: none; }
  .hero-mobile-image { display: block; }
  .toc-list { columns: 1; }
  .hero-title { font-size: 28px; }
  .mobile-sticky-bar { display: flex; }
  .header-actions .btn { display: none; }
}
