/* ==========================================================================
   Pulsactive España — Diseño Clínico Premium 2.0
   Paleta: Blanco / Azul Marino Profundo / Amber CTA
   ========================================================================== */
/* ==========================================================================
   Fuentes Locales (100% Autónomo / 0 peticiones externas para PageSpeed)
   ========================================================================== */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
}

:root {
  /* ─── Paleta de color ─────────────────────────────────────── */
  --blue-950:  #040d1c;
  --blue-900:  #0a1628;
  --blue-800:  #0f2040;
  --blue-700:  #162d59;
  --blue-600:  #1e3e78;
  --blue-500:  #2457a8;
  --blue-400:  #3b72cc;
  --blue-300:  #6394e0;
  --blue-100:  #dbeafe;
  --blue-50:   #eff6ff;

  --sky-500:   #0ea5e9;
  --sky-400:   #38bdf8;
  --sky-100:   #e0f2fe;

  --green-600: #16a34a;
  --green-500: #22c55e;
  --green-50:  #f0fdf4;

  --red-600:   #dc2626;

  --gray-950:  #0c0c0e;
  --gray-900:  #111113;
  --gray-800:  #1c1c1f;
  --gray-700:  #2e2e35;
  --gray-600:  #4a4a57;
  --gray-500:  #6b6b7a;
  --gray-400:  #9595a2;
  --gray-300:  #c4c4ce;
  --gray-200:  #e2e2e9;
  --gray-100:  #f0f0f5;
  --gray-50:   #f7f7fb;
  --white:     #ffffff;

  /* ─── CTA: Amber-Orange ───────────────────────────────────── */
  --cta-from:  #ff8a00;
  --cta-to:    #e65100;

  /* ─── Радиусы ─────────────────────────────────────────────── */
  --r-xs:  0.25rem;
  --r-sm:  0.5rem;
  --r-md:  0.875rem;
  --r-lg:  1.25rem;
  --r-xl:  1.75rem;
  --r-2xl: 2.5rem;

  /* ─── Тени ────────────────────────────────────────────────── */
  --shadow-xs:  0 1px 3px rgba(10,20,50,0.06);
  --shadow-sm:  0 2px 8px rgba(10,20,50,0.08);
  --shadow-md:  0 6px 20px rgba(10,20,50,0.10);
  --shadow-lg:  0 16px 40px rgba(10,20,50,0.14);
  --shadow-xl:  0 30px 60px rgba(10,20,50,0.18);
  --shadow-blue: 0 8px 32px rgba(36,87,168,0.22);

  /* ─── Шрифт ───────────────────────────────────────────────── */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* ─── Переходы ────────────────────────────────────────────── */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Сброс и базовые стили
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--blue-900);
}

/* ==========================================================================
   Layout: Контейнеры
   ========================================================================== */
.wrap {
  width: 100%;
  max-width: 75rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.wrap-narrow {
  width: 100%;
  max-width: 52rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding-block: 5rem; }

.section-white { background: var(--white); }

.section-alt { background: var(--gray-50); }

.section-blue {
  background: linear-gradient(145deg, var(--blue-900) 0%, var(--blue-800) 60%, var(--blue-700) 100%);
  color: var(--white);
}

.section-blue h1,
.section-blue h2,
.section-blue h3 { color: var(--white); }

/* ==========================================================================
   Eyebrow / Labels
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 1.75rem;
  height: 2px;
  background: var(--blue-400);
  border-radius: 2px;
}

.eyebrow-light {
  color: var(--sky-400);
}

.eyebrow-light::before {
  background: var(--sky-400);
}

/* ==========================================================================
   Кнопки
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--r-2xl);
  padding: 0.875rem 2rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s var(--ease-out);
  white-space: nowrap;
  text-align: center;
  letter-spacing: -0.01em;
}

/* Primary CTA — amber-orange */
.btn-primary {
  background: linear-gradient(160deg, var(--cta-from) 0%, var(--cta-to) 100%);
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  box-shadow: 0 4px 20px rgba(230,81,0,0.38), 0 1px 4px rgba(230,81,0,0.25);
}

.btn-primary:hover {
  background: linear-gradient(160deg, #ffaa33 0%, #f45f0a 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(230,81,0,0.48);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(230,81,0,0.35);
}

/* Secondary */
.btn-secondary {
  background: var(--white);
  color: var(--blue-700);
  border: 1.5px solid var(--gray-200);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  border-color: var(--blue-300);
  color: var(--blue-600);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

/* Ghost (for dark sections) */
.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.45);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  background: var(--blue-50);
  color: var(--blue-700);
  border: 1px solid var(--blue-100);
  letter-spacing: -0.01em;
}

.badge-success {
  background: var(--green-50);
  color: var(--green-600);
  border-color: rgba(22,163,74,0.2);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
}

/* Logo */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--white);
  text-decoration: none;
}

.brand-logo-icon {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

.brand-logo-text {
  display: inline;
  color: #ffffff;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand-logo-text .logo-active,
.brand-logo-text span {
  color: var(--sky-400);
}

/* Desktop Nav */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  padding: 0.45rem 0.9rem;
  border-radius: var(--r-sm);
  transition: color 0.15s ease, background 0.15s ease;
  letter-spacing: -0.01em;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-actions .btn {
  padding: 0.55rem 1.35rem;
  font-size: 0.9rem;
}

/* Mobile hamburger */
.menu-toggle-btn {
  display: none;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  padding: 0.5rem;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background 0.15s ease;
}

.menu-toggle-btn:hover { background: rgba(255,255,255,0.14); }

/* Mobile nav panel */
.mobile-panel {
  display: none;
  background: var(--blue-950);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 1rem 1.5rem 1.25rem;
}

.mobile-panel.is-open { display: block; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-link {
  color: rgba(255,255,255,0.7);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.7rem 0.75rem;
  border-radius: var(--r-sm);
  border-bottom: none;
  transition: color 0.15s ease, background 0.15s ease;
}

.mobile-nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: calc(100vh - 4.25rem);
  min-height: calc(100dvh - 4.25rem);
  display: flex;
  align-items: center;
  padding-block: 2.25rem;
  overflow: hidden;
  background: var(--blue-900);
}

.hero-section > .wrap {
  width: 100%;
}

/* Subtle background pattern */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 70% 60%, rgba(36,87,168,0.35) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(14,165,233,0.12) 0%, transparent 60%);
  pointer-events: none;
}

/* Subtle grid lines */
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
  flex-wrap: wrap;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 1.15rem;
  font-weight: 900;
}

.hero-title em {
  font-style: normal;
  color: var(--sky-400);
}

.hero-lead {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.65;
  margin-bottom: 1.35rem;
  max-width: 36rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* Feature checklist in hero */
.hero-features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.85rem;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.82);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.hero-feature-dot {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 9999px;
  background: rgba(56,189,248,0.15);
  border: 1.5px solid var(--sky-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-feature-dot svg { color: var(--sky-400); }

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero image */
.hero-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image-glow {
  position: absolute;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(56,189,248,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.hero-image-wrap img {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.6));
  max-height: min(460px, 58vh);
  width: auto;
}

/* ==========================================================================
   Section Headings
   ========================================================================== */
.section-head {
  margin-bottom: 3.5rem;
}

.section-head-center {
  text-align: center;
  max-width: 44rem;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.section-head h2,
.section-head-center h2 {
  font-size: clamp(1.85rem, 3vw, 2.625rem);
  margin-bottom: 0.875rem;
  letter-spacing: -0.03em;
}

.section-head p,
.section-head-center p {
  font-size: 1.0625rem;
  color: var(--gray-500);
  line-height: 1.7;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   Cards
   ========================================================================== */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* Base card */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--blue-900);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.card-title .sci-name {
  font-weight: 400;
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--gray-500);
  display: inline-block;
  margin-left: 0.25rem;
}

.card-text {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.6;
}

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

.card-meta-eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-600);
}

.card-meta-dose {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue-700);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: 0.2rem 0.55rem;
  border-radius: var(--r-full);
}

/* ──────────────────────────────────────────────────────────────────────────
   Cajas de Evidencia Científica (Estilo PubMed Editorial Clínico)
   ────────────────────────────────────────────────────────────────────────── */
.scientific-box {
  background-color: #f8fafc;
  border-left: 3px solid var(--blue-500);
  padding: 1rem 1.15rem;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.scientific-box h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--blue-800);
  margin-bottom: 0.2rem;
  letter-spacing: 0.07em;
  font-weight: 800;
}

.scientific-box p {
  font-size: 0.835rem;
  color: var(--gray-600);
  line-height: 1.55;
  margin-bottom: 0.35rem;
}

.scientific-reference {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue-600);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.15s ease;
  width: fit-content;
}

.scientific-reference:hover {
  text-decoration: underline;
  color: var(--blue-800);
}

.scientific-reference svg {
  flex-shrink: 0;
}

/* Card icon */
.card-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--r-md);
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.card-icon svg { color: var(--blue-500); }

.card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 0.625rem;
  letter-spacing: -0.02em;
}

.card-text {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* Feature card (lined, no shadow by default) */
.feature-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  align-items: flex-start;
}

.feature-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--r-md);
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-card-icon svg { color: var(--blue-500); }

.feature-card-body h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.feature-card-body p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* Ingredient card */
.ingredient-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.ingredient-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.ingredient-dose {
  font-size: 2rem;
  font-weight: 900;
  color: var(--blue-700);
  letter-spacing: -0.04em;
  line-height: 1;
}

.ingredient-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--blue-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ingredient-sci {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--gray-400);
}

.ingredient-desc {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.55;
  margin-top: 0.25rem;
}

/* Step card */
.step-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-xs);
}

.step-number {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-400);
  margin-bottom: 0.75rem;
  display: block;
}

.step-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ==========================================================================
   Comparison Table
   ========================================================================== */
.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.data-table thead th {
  background: var(--blue-900);
  color: rgba(255,255,255,0.85);
  font-size: 0.8125rem;
  font-weight: 700;
  text-align: left;
  padding: 1rem 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.data-table thead th:first-child { border-radius: var(--r-xl) 0 0 0; }
.data-table thead th:last-child { border-radius: 0 var(--r-xl) 0 0; }

.data-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
  color: var(--gray-700);
  font-size: 0.9375rem;
}

.data-table tbody tr:last-child td { border-bottom: none; }

.data-table tbody tr:hover td { background: var(--gray-50); }

.data-table td:first-child { font-weight: 600; color: var(--blue-900); }

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.2s ease;
}

.faq-item[open] {
  box-shadow: var(--shadow-sm);
  border-color: var(--blue-100);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--blue-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  letter-spacing: -0.02em;
  transition: color 0.15s ease;
  user-select: none;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: var(--blue-50);
  color: var(--blue-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  line-height: 1;
  transition: background 0.15s ease, transform 0.2s ease;
}

.faq-item[open] .faq-icon {
  background: var(--blue-100);
  transform: rotate(45deg);
}

.faq-question::after {
  content: "+";
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: var(--blue-50);
  color: var(--blue-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
  line-height: 1.5rem;
  text-align: center;
  transition: background 0.15s ease, transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
  content: "−";
  background: var(--blue-100);
}

.faq-answer {
  padding: 0 1.5rem 1.35rem 1.5rem;
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.7;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   Order Section & Order Card (Paleta Clínica Oficial Pulsactive)
   ========================================================================== */
#pedido,
#order-section,
#order-card,
#order {
  scroll-margin-top: 98px;
}

.order-section {
  padding-block: 5rem;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}

.bottom-order-grid,
.order-grid-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .bottom-order-grid,
  .order-grid-split {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

.bottom-order-image,
.order-unboxing-image {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 16px 36px -4px rgba(10, 20, 50, 0.12), 0 6px 16px -2px rgba(10, 20, 50, 0.06);
  border: 1px solid var(--gray-200);
  background: var(--white);
}

.bottom-order-image img,
.order-unboxing-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}



.order-trust-strip {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--gray-600);
}

.trust-item svg { color: var(--green-600); flex-shrink: 0; }

/* ─── TARJETA DE PEDIDO (ORDER CARD) ────────────────────────────────── */
.order-card {
  background-color: var(--white);
  color: var(--gray-800);
  border-radius: 18px;
  box-shadow: 0 16px 36px -4px rgba(10, 20, 50, 0.14), 0 6px 16px -2px rgba(10, 20, 50, 0.08);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
  max-width: 430px;
  width: 100%;
  margin: 0 auto;
}

.order-header,
.order-card-header {
  background: linear-gradient(180deg, var(--blue-950) 0%, var(--blue-800) 100%);
  color: var(--white);
  padding: 1.15rem 1.4rem;
  text-align: left;
  position: relative;
  z-index: 1;
}

.order-header-eyebrow,
.order-card-eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sky-400);
  margin-bottom: 0.3rem;
}

.order-title,
.order-card-title {
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.3rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
}

.order-subtitle,
.order-card-subtitle {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.35;
  text-align: left;
  margin-bottom: 0;
}

.order-body,
.order-card-body {
  padding: 1.15rem 1.35rem 1.35rem;
  background-color: var(--white);
  position: relative;
  z-index: 1;
}

/* ─── Banner de precio ──────────────────────────────────────────────── */
.order-price-banner,
.price-block {
  background-color: #f0f6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--r-md);
  padding: 0.65rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  position: relative;
  z-index: 1;
}

.order-price-left,
.price-left {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.order-new-price,
.price-new {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--blue-900);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  white-space: nowrap;
}

.order-new-price .price-unit,
.price-new .price-unit,
.price-unit {
  font-size: 1.05rem;
  font-weight: 700;
  color: #e65100;
  white-space: nowrap;
}

.order-price-label {
  font-size: 0.725rem;
  color: var(--gray-500);
  font-weight: 600;
  margin-top: 0.25rem;
  line-height: 1.3;
}

.order-price-right,
.price-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
  flex-shrink: 0;
}

.order-volume-pill,
.price-qty-pill {
  border: 1px solid #bfdbfe;
  color: var(--blue-600);
  background-color: var(--white);
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}

.order-stock-status,
.price-stock {
  font-size: 0.775rem;
  color: var(--green-600);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}

/* ─── Campos del formulario ─────────────────────────────────────────── */
.form-group {
  margin-bottom: 0.85rem;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.3rem;
}

.form-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: var(--r-md);
  border: 1px solid #cbd5e1;
  background-color: #f8fafc;
  color: var(--gray-900);
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.form-input::placeholder {
  color: var(--gray-400);
}

.form-input:focus {
  border-color: var(--blue-400);
  box-shadow: 0 0 0 3px rgba(59, 114, 204, 0.18);
  background-color: var(--white);
}

.phone-input-group {
  display: flex;
  align-items: stretch;
  border: 1px solid #cbd5e1;
  border-radius: var(--r-md);
  background-color: #f8fafc;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.phone-input-group:focus-within {
  border-color: var(--blue-400);
  box-shadow: 0 0 0 3px rgba(59, 114, 204, 0.18);
  background-color: var(--white);
}

.phone-prefix {
  background-color: #f1f5f9;
  border-right: 1px solid #cbd5e1;
  font-weight: 700;
  font-size: 0.875rem;
  color: #475569;
  padding: 0 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.phone-input-group .form-input {
  border: none;
  background: transparent;
  padding: 0.65rem 0.85rem;
  box-shadow: none !important;
}

.form-input.is-invalid,
.phone-input-group.is-invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
  background-color: #fef2f2;
}

.form-err {
  font-size: 0.775rem;
  color: #dc2626;
  margin-top: 0.25rem;
  font-weight: 600;
}

.form-err.hidden {
  display: none;
}

/* ─── Botón de pedido CTA ────────────────────────────────────────────── */
.btn-submit-order {
  width: 100%;
  background: linear-gradient(160deg, var(--cta-from) 0%, var(--cta-to) 100%);
  color: var(--white) !important;
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 800;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(230, 81, 0, 0.38);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  margin-top: 0.35rem;
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
}

.btn-submit-order span {
  color: var(--white) !important;
  font-weight: 800;
}

.btn-submit-order:hover {
  background: linear-gradient(160deg, #ffaa33 0%, #f45f0a 100%);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(230, 81, 0, 0.48);
}

.btn-submit-order:hover span {
  color: var(--white) !important;
}

.btn-submit-order:active {
  transform: translateY(0);
  color: var(--white) !important;
}

/* ─── Lista de garantías ────────────────────────────────────────────── */
.order-guarantees-list {
  list-style: none;
  padding: 0;
  margin-top: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.775rem;
  color: #475569;
}

.order-guarantees-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  line-height: 1.35;
}

.order-guarantees-list .check {
  color: var(--green-600);
  font-weight: 700;
}

/* Honeypot field - invisible */
.form-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* ==========================================================================
   Subpage Structure
   ========================================================================== */
.subpage-header {
  padding-block: 3.5rem 3rem;
  background: linear-gradient(145deg, var(--blue-900) 0%, var(--blue-800) 100%);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: relative;
  overflow: hidden;
}

.subpage-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 90% 50%, rgba(36,87,168,0.4) 0%, transparent 70%);
  pointer-events: none;
}

.subpage-header .wrap { position: relative; z-index: 1; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.breadcrumb a:hover { color: rgba(255,255,255,0.8); }

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

.subpage-title {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.subpage-lead {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.65);
  max-width: 46rem;
  line-height: 1.65;
  letter-spacing: -0.01em;
}

/* 2-column subpage layout */
.subpage-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3.5rem;
  align-items: start;
  padding-block: 3.5rem 5rem;
}

.subpage-content { min-width: 0; }

.subpage-sidebar { height: 100%; }

.sticky-sidebar {
  position: sticky;
  top: 5.25rem;
  z-index: 20;
}

/* Legal / Full-width subpage layout */
.legal-page-container {
  max-width: 820px;
  margin-inline: auto;
  padding-block: 3.5rem 5rem;
}

/* Content blocks */
.content-block { margin-bottom: 3rem; }

.content-block h2 {
  font-size: 1.625rem;
  margin-bottom: 1rem;
  color: var(--blue-900);
  letter-spacing: -0.03em;
}

.content-block h3 {
  font-size: 1.25rem;
  margin-block: 1.5rem 0.75rem;
  letter-spacing: -0.025em;
}

.content-block p {
  color: var(--gray-600);
  margin-bottom: 1.1rem;
  line-height: 1.72;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
}

.content-block ul,
.content-block ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  color: var(--gray-600);
}

.content-block li {
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* Single page image */
.single-page-image {
  border-radius: var(--r-xl);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  margin-block: 2rem 2.5rem;
}

/* Callout box */
.callout-box {
  background: var(--blue-50);
  border-left: 3px solid var(--blue-400);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 1.25rem 1.5rem;
  margin-block: 1.75rem;
}

.callout-box p {
  font-size: 0.9375rem;
  color: var(--blue-700);
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================================
   Reviews Page
   ========================================================================== */
.rating-summary-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.rating-compact-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.rating-big-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--blue-900);
  letter-spacing: -0.05em;
  line-height: 1;
}

.rating-stars {
  color: #f59e0b;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
}

.rating-count {
  font-size: 0.9rem;
  color: var(--gray-400);
  margin-top: 0.2rem;
}

.reviews-feed {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.review-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.2s ease;
}

.review-item:hover { box-shadow: var(--shadow-sm); }

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.reviewer-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background: var(--blue-900);
  color: var(--white);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.reviewer-name {
  font-weight: 700;
  color: var(--blue-900);
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.reviewer-sub {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 0.1rem;
}

.review-verified-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green-600);
  background: var(--green-50);
  border: 1px solid rgba(22,163,74,0.15);
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
}

.review-text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.review-image-attachment,
.review-live-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-md);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-xs);
}

/* ==========================================================================
   Sticky Mobile Bar
   ========================================================================== */
.sticky-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 45;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -4px 20px rgba(10,20,50,0.1);
  padding: 0.75rem 1.25rem;
  justify-content: space-between;
  align-items: center;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s var(--ease-out), opacity 0.2s ease;
}

.sticky-mobile-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-mobile-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.mobile-price-old {
  font-size: 0.875rem;
  color: var(--gray-400);
  text-decoration: line-through;
}

.mobile-price-new {
  font-size: 1.625rem;
  font-weight: 900;
  color: var(--blue-900);
  letter-spacing: -0.04em;
  line-height: 1;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background: var(--blue-950);
  color: rgba(255,255,255,0.55);
  padding-block: 4rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand-col {}

.footer-title {
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.875rem;
}

.footer-links a {
  color: rgba(255,255,255,0.45);
  transition: color 0.15s ease;
  letter-spacing: -0.01em;
}

.footer-links a:hover { color: rgba(255,255,255,0.85); }

.footer-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
  margin-block: 0.875rem;
  letter-spacing: -0.01em;
}

.footer-contact,
.footer-manufacturer {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
}

.footer-contact a,
.footer-manufacturer a {
  color: var(--sky-400);
  transition: opacity 0.15s ease;
}

.footer-contact a:hover,
.footer-manufacturer a:hover { opacity: 0.8; }

.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.75rem;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.775rem;
  color: rgba(255,255,255,0.3);
}

/* ==========================================================================
   Utility
   ========================================================================== */
.animate-spin {
  animation: spin 0.85s linear infinite;
}

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

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

.mt-sm { margin-top: 1rem; }
.mt-md { margin-top: 2rem; }
.mt-lg { margin-top: 3rem; }
.mb-sm { margin-bottom: 1rem; }
.mb-md { margin-bottom: 2rem; }

.hidden { display: none !important; }

[data-spinner] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.45rem;
  vertical-align: middle;
}
[data-spinner].hidden {
  display: none !important;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
  .subpage-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-block: 2.5rem 4rem;
  }

  .sticky-sidebar {
    position: static;
    max-width: 480px;
    margin-inline: auto;
  }

  .order-grid-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

@media (max-width: 768px) {
  .section { padding-block: 3.5rem; }

  .nav-desktop { display: none; }

  /* ПРАВИЛО: на мобиле нет CTA кнопки в шапке */
  .header-actions .btn { display: none !important; }

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

  .hero-section {
    min-height: auto;
    padding-block: 2.75rem 3.25rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-image-wrap { order: -1; }

  .hero-image-wrap img { max-height: 280px; margin-inline: auto; }

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

  .hero-features { align-items: flex-start; }

  .cards-grid-3 { grid-template-columns: 1fr; }

  .cards-grid-4 { grid-template-columns: 1fr; }

  .cards-grid-2 { grid-template-columns: 1fr; }

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

  body { padding-bottom: 4.5rem; }

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

  .footer-bottom-row { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }

  .order-card-body { padding: 1.25rem; }

  .order-card-header { padding: 1.25rem 1.25rem; }
}

/* ==========================================================================
   PÁGINA DE CONFIRMACIÓN / GRACIAS (SUCCESS PAGE)
   ========================================================================== */
body.success-page {
  background-color: var(--gray-50);
  padding-bottom: 0 !important;
}

.success-hero {
  padding: 3.5rem 1.25rem 3rem;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.success-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  color: var(--white);
  box-shadow: 0 12px 28px -6px rgba(22, 163, 74, 0.4);
  margin-bottom: 1.25rem;
}

.success-badge-icon svg {
  width: 42px;
  height: 42px;
}

.success-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--green-50);
  color: #14532d;
  border: 1px solid #bbf7d0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.success-title {
  font-size: clamp(1.85rem, 4.5vw, 2.5rem);
  font-weight: 800;
  color: var(--blue-950);
  line-height: 1.2;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.success-desc {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--gray-600);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

/* Order Summary Card */
.success-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  overflow: hidden;
  text-align: left;
}

.success-card-header {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  color: var(--white);
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.success-card-header-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky-400);
}

.success-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.5);
  color: #bbf7d0;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
}

.success-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--green-500);
  display: inline-block;
}

.success-card-body {
  padding: 1.5rem;
}

.success-details-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.success-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.95rem;
  gap: 1rem;
}

.success-detail-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.success-detail-label {
  color: var(--gray-500);
  font-weight: 500;
  flex-shrink: 0;
}

.success-detail-value {
  color: var(--gray-900);
  font-weight: 700;
  text-align: right;
}

.success-price-highlight {
  font-size: 1.25rem;
  color: var(--green-600);
  font-weight: 800;
}

/* Siguientes pasos */
.success-steps-section {
  max-width: 680px;
  margin: 0 auto 2.5rem;
  text-align: left;
}

.success-steps-heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--blue-950);
  margin-bottom: 1.1rem;
  text-align: center;
}

.success-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.success-step-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 1.35rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.success-step-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.success-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-50);
  border: 1.5px solid var(--blue-500);
  color: var(--blue-700);
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.success-step-icon {
  width: 36px;
  height: 36px;
  color: var(--blue-600);
  margin-bottom: 0.75rem;
}

.success-step-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue-950);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.success-step-desc {
  font-size: 0.8125rem;
  color: var(--gray-600);
  line-height: 1.45;
}

/* Callout Aviso */
.success-callout {
  max-width: 680px;
  margin: 0 auto 2.5rem;
  background: #fffbeb;
  border: 1.5px solid #fde68a;
  border-radius: var(--r-lg);
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  text-align: left;
}

.success-callout-icon {
  width: 24px;
  height: 24px;
  color: #b45309;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.success-callout-text {
  font-size: 0.9rem;
  color: #78350f;
  line-height: 1.5;
}

/* Acciones y Enlaces */
.success-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

@media (max-width: 768px) {
  body.success-page {
    padding-bottom: 0 !important;
  }
  .success-hero {
    padding: 2.25rem 1rem 1.5rem;
  }
  .success-badge-icon {
    width: 64px;
    height: 64px;
  }
  .success-badge-icon svg {
    width: 34px;
    height: 34px;
  }
  .success-steps-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .success-step-box {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 0.85rem;
    padding: 1rem;
  }
  .success-step-num {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .success-step-icon {
    display: none;
  }
  .success-detail-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .success-detail-value {
    text-align: left;
  }
}
