/* ==========================================================================
   VULKMAN LANDING PAGE — DESIGN SYSTEM & STYLES
   Palette: Obsidian (#0B0E14), Asphalt (#12171D), Amber-Gold (#FF9E00 / #FFB703),
            Racing Red (#E63946), Crisp White (#FFFFFF)
   ========================================================================== */

:root {
  --bg-obsidian: #0b0e14;
  --bg-asphalt: #12171d;
  --bg-card: #161c24;
  --bg-card-hover: #1c242f;
  --gold-start: #ff7b00;
  --gold-mid: #ffb703;
  --gold-end: #ff9e00;
  --red-accent: #e63946;
  --eco-green: #2ec4b6;
  --text-white: #ffffff;
  --text-muted: #a6b0bd;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(255, 183, 3, 0.35);

  --font-hero: 'Carter One', 'Montserrat', sans-serif;
  --font-display: 'Bebas Neue', Impact, sans-serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-obsidian);
  color: var(--text-white);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-obsidian);
}

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

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

.container {
  width: min(1220px, 92%);
  margin-inline: auto;
}

.section {
  padding: 96px 0;
  position: relative;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
}

.title-vulkman {
  font-family: var(--font-hero);
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.12;
  letter-spacing: 0.02em;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 620px;
  margin-inline: auto;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.text-gold {
  color: var(--gold-mid);
}

.text-gradient {
  background: linear-gradient(90deg, var(--gold-start), var(--gold-mid), var(--gold-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold-start), var(--gold-mid));
  color: #0b0e14;
  box-shadow: 0 10px 28px rgba(255, 158, 0, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(255, 183, 3, 0.5);
}

.btn--whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.32);
}

.btn--whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.48);
}

/* ==================== HERO SECTION ==================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  background-color: var(--bg-obsidian);
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Edge-only gradients so center of video remains 100% clear */
.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(11, 14, 20, 0.72) 0%, rgba(11, 14, 20, 0) 24%),
    linear-gradient(to top, rgba(11, 14, 20, 0.85) 0%, rgba(11, 14, 20, 0) 40%),
    linear-gradient(to right, rgba(11, 14, 20, 0.55) 0%, rgba(11, 14, 20, 0) 38%);
}

/* ==================== NAVBAR (NON-STICKY) ==================== */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4%;
}

/* ==================== RIGHT-SIDE UP / DOWN SECTION NAV ==================== */
.section-nav {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section-nav__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 183, 3, 0.45);
  background: rgba(11, 14, 20, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  transition: transform var(--transition), background var(--transition), border-color var(--transition), opacity var(--transition);
}

.section-nav__btn:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--gold-start), var(--gold-mid));
  color: #0b0e14;
  border-color: var(--gold-mid);
  transform: scale(1.08);
}

.section-nav__btn:disabled {
  opacity: 0.35;
  cursor: default;
}

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

.navbar__logo-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold-mid);
  box-shadow: 0 0 18px rgba(255, 158, 0, 0.35);
  background: #12171d;
  flex-shrink: 0;
}

.navbar__logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.18);
}

.navbar__brand-text {
  font-family: var(--font-hero);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  color: var(--text-white);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-start), var(--gold-mid));
  transition: width var(--transition);
}

.nav-link:hover {
  color: var(--gold-mid);
}

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

.nav-link--cta {
  padding: 9px 20px;
  border-radius: 999px;
  background: rgba(255, 158, 0, 0.16);
  border: 1px solid var(--border-gold);
  color: var(--gold-mid);
}

.nav-link--cta::after {
  display: none;
}

.nav-link--cta:hover {
  background: linear-gradient(135deg, var(--gold-start), var(--gold-mid));
  color: #0b0e14;
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.navbar__toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--text-white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ==================== HERO BOTTOM-LEFT TITLE ==================== */
.hero__bottom-left {
  position: absolute;
  left: 4%;
  bottom: 6%;
  z-index: 10;
  max-width: min(500px, 86vw);
  pointer-events: auto;
}

.hero__comic-title {
  font-family: var(--font-hero);
  font-size: clamp(2.5rem, 4.6vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: 0.03em;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.82);
  margin-bottom: 6px;
}

.hero__comic-sub {
  font-family: var(--font-hero);
  font-size: clamp(0.95rem, 1.5vw, 1.25rem);
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.82);
  margin-bottom: 18px;
}

.hero__white {
  color: #ffffff;
}

.hero__gold {
  color: var(--gold-mid);
}

.hero__actions {
  padding-left: 0;
}

/* ==================== SECCIÓN 2: HÉROE EN ACCIÓN (FONDO CLARO) ==================== */
.section--hero-bio {
  background: radial-gradient(circle at 15% 50%, rgba(255, 158, 0, 0.08), transparent 55%),
              #f4f6f9;
  color: #0b0e14;
  border-top: 1px solid rgba(11, 14, 20, 0.08);
}

.section--hero-bio .section-title {
  color: #0b0e14;
}

.hero-bio__title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  margin-bottom: 14px;
}

.hero-bio__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-bio__media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-bio__frame {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(255, 158, 0, 0.45);
  box-shadow: 0 22px 52px rgba(11, 14, 20, 0.16);
}

.hero-bio__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.hero-bio__frame:hover .hero-bio__img {
  transform: scale(1.03);
}

.hero-bio__badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(11, 14, 20, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-white);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ec4b6;
  box-shadow: 0 0 10px #2ec4b6;
}

.hero-bio__lead {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a222d;
  margin-bottom: 16px;
}

.hero-bio__text {
  color: #3f4a59;
  margin-bottom: 16px;
  font-size: 0.98rem;
}

.hero-bio__text strong {
  color: #0b0e14;
}

.hero-bio__pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid rgba(11, 14, 20, 0.08);
  box-shadow: 0 8px 24px rgba(11, 14, 20, 0.06);
}

.pillar__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 123, 0, 0.14);
  color: #e66a00;
  flex-shrink: 0;
}

.pillar__icon--eco {
  background: rgba(15, 157, 138, 0.14);
  color: #0f9d8a;
}

.pillar h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0b0e14;
  margin-bottom: 4px;
}

.pillar p {
  font-size: 0.82rem;
  color: #4b5563;
  line-height: 1.4;
}

/* ==================== SECCIÓN 3: CÓMO FUNCIONA (4 PASOS - FONDO BLANCO) ==================== */
.section--steps {
  background-color: #ffffff;
  color: #0b0e14;
  border-top: 1px solid rgba(11, 14, 20, 0.08);
}

.section--steps .section-title {
  color: #0b0e14;
}

.section--steps .section-subtitle {
  color: #4b5563;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  background: #f8fafc;
  border: 1px solid rgba(11, 14, 20, 0.09);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 28px rgba(11, 14, 20, 0.06);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 158, 0, 0.65);
  box-shadow: 0 18px 40px rgba(11, 14, 20, 0.12);
}

.step-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0e1319;
}

.step-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.step-card__img--1 {
  object-position: center 18%;
}

.step-card__img--3 {
  object-position: center 45%;
}

.step-card__img--4 {
  object-position: center 72%;
}

.step-card:hover .step-card__img {
  transform: scale(1.04);
}

.step-card__num {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1;
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(11, 14, 20, 0.88);
  color: var(--gold-mid);
  border: 1px solid var(--border-gold);
}

/* Paso 2: Split-image automatic slider */
.step-card__media--slider {
  position: relative;
}

.split-slide {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: 100% 200%;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.65s ease, transform 0.65s ease;
  z-index: 1;
}

.split-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.split-slide__tag {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(11, 14, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
}

.slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(11, 14, 20, 0.72);
  backdrop-filter: blur(6px);
}

.slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}

.slider-dot.is-active {
  width: 22px;
  border-radius: 999px;
  background: var(--gold-mid);
}

.step-card__body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.step-card__title {
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #0b0e14;
}

.step-card__desc {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.55;
}

/* ==================== SECCIÓN 4: VULKMAN VS GRÚA (FONDO CLARO + CUADRO OSCURO) ==================== */
.section--compare {
  background: radial-gradient(circle at 85% 30%, rgba(255, 183, 3, 0.08), transparent 45%),
              #f4f6f9;
  color: #0b0e14;
  border-top: 1px solid rgba(11, 14, 20, 0.08);
}

.section--compare .section-title {
  color: #0b0e14;
}

.section--compare .section-subtitle {
  color: #4b5563;
}

.compare-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 183, 3, 0.28);
  background: #12171d;
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(11, 14, 20, 0.22);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.compare-table th,
.compare-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

.compare-table thead th {
  background: rgba(11, 14, 20, 0.75);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.compare-table__criteria {
  width: 22%;
  color: var(--text-muted);
}

.compare-table__vulkman {
  width: 42%;
  background: linear-gradient(180deg, rgba(255, 158, 0, 0.16), rgba(255, 158, 0, 0.06)) !important;
  border-left: 1px solid var(--border-gold);
  border-right: 1px solid var(--border-gold);
  color: var(--gold-mid);
}

.th-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-hero);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.th-badge {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-start), var(--gold-mid));
  color: #0b0e14;
  letter-spacing: 0.06em;
}

.compare-table__grua {
  width: 36%;
  color: var(--text-muted);
}

.compare-table td.is-vulkman {
  background: rgba(255, 158, 0, 0.04);
  border-left: 1px solid var(--border-gold);
  border-right: 1px solid var(--border-gold);
  color: #f3f6fa;
  font-size: 0.94rem;
}

.compare-table td.is-grua {
  color: var(--text-muted);
  font-size: 0.92rem;
}

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

.check-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(46, 196, 182, 0.18);
  color: var(--eco-green);
  font-weight: 900;
  font-size: 0.8rem;
  margin-right: 8px;
}

.cross-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(230, 57, 70, 0.16);
  color: var(--red-accent);
  font-weight: 900;
  font-size: 0.78rem;
  margin-right: 8px;
}

/* ==================== SECCIÓN 5: CONOCE LAS HISTORIAS DE VULKMAN (FONDO CLARO) ==================== */
.section--comics-teaser {
  background: #f4f6f9;
  color: #0b0e14;
  border-top: 1px solid rgba(11, 14, 20, 0.08);
  padding: 44px 0;
}

.comics-teaser__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.comics-teaser__text {
  max-width: 660px;
}

.comics-teaser__text .section-title {
  color: #0b0e14;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  margin-bottom: 8px;
}

.comics-teaser__desc {
  color: #4b5563;
  font-size: 0.98rem;
}

.comics-teaser__btn {
  flex-shrink: 0;
}

/* ==================== PÁGINA DE CÓMICS (comics.html) — MENÚ CLARO ==================== */
.navbar--solid {
  position: relative;
  background-color: #ffffff;
  border-bottom: 1px solid rgba(11, 14, 20, 0.08);
}

.navbar--solid .navbar__brand-text {
  color: #0b0e14;
}

.navbar--solid .nav-link {
  color: #1a222d;
}

.navbar--solid .nav-link:hover {
  color: #e66a00;
}

.navbar--solid .nav-link--cta {
  background: linear-gradient(135deg, var(--gold-start), var(--gold-mid));
  color: #0b0e14;
  border-color: transparent;
}

.navbar--solid .nav-link--cta:hover {
  color: #0b0e14;
  box-shadow: 0 6px 18px rgba(255, 158, 0, 0.35);
}

.navbar--solid .navbar__toggle span {
  background: #0b0e14;
}

.section--comics-gallery {
  background-color: #ffffff;
  color: #0b0e14;
  min-height: calc(100vh - 165px);
  padding: 64px 0 88px;
}

.section--comics-gallery .section-title {
  color: #0b0e14;
}

.section--comics-gallery .section-subtitle {
  color: #4b5563;
}

.comic-card {
  cursor: pointer;
}

.comic-card__cover-wrap {
  aspect-ratio: 3 / 4;
  background: #12171d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comic-card__canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.comic-card__loading {
  position: absolute;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.comic-card__btn {
  margin-top: auto;
  padding: 10px 20px;
  font-size: 0.88rem;
  align-self: flex-start;
}

.comic-card .step-card__desc {
  margin-bottom: 18px;
}

/* Modal lector de cómics */
.comic-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.comic-modal[hidden] {
  display: none;
}

.comic-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 9, 13, 0.88);
  backdrop-filter: blur(8px);
}

.comic-modal__dialog {
  position: relative;
  z-index: 2;
  width: min(940px, 95vw);
  max-height: 92vh;
  background: #12171d;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.7);
}

.comic-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 20px;
  background: #0b0e14;
  border-bottom: 1px solid var(--border-subtle);
}

.comic-modal__title {
  font-family: var(--font-hero);
  font-size: 1.25rem;
  color: var(--gold-mid);
}

.comic-modal__controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.comic-modal__nav,
.comic-modal__external {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  cursor: pointer;
}

.comic-modal__nav:hover:not(:disabled),
.comic-modal__external:hover {
  border-color: var(--gold-mid);
  color: var(--gold-mid);
}

.comic-modal__nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.comic-modal__page-info {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  min-width: 56px;
  text-align: center;
}

.comic-modal__close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 6px;
}

.comic-modal__body {
  overflow: auto;
  padding: 20px;
  display: flex;
  justify-content: center;
  background: #0e1319;
}

#pdfViewerCanvas {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* ==================== SECCIÓN 6: VIDEO 2 + CONTACTO WHATSAPP (PANTALLA COMPLETA) ==================== */
.section-video-cta {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
  background-color: var(--bg-obsidian);
}

.video-cta__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.video-cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 14, 20, 0.72) 0%, rgba(11, 14, 20, 0) 42%);
  z-index: 1;
  pointer-events: none;
}

.video-cta__action {
  position: absolute;
  left: 4%;
  bottom: 7%;
  z-index: 2;
}

.btn--whatsapp-lg {
  padding: 16px 30px;
  font-size: 1.05rem;
}

/* ==================== CHATBOT WIDGET (GEMINI) ==================== */
.chat-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
}

.chat-widget__toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid var(--border-gold);
  background: linear-gradient(135deg, var(--gold-start), var(--gold-mid));
  color: #0b0e14;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 20px rgba(255, 158, 0, 0.28);
  transition: transform var(--transition), box-shadow var(--transition);
}

.chat-widget__toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(255, 183, 3, 0.48);
}

.chat-widget__panel {
  position: absolute;
  right: 0;
  bottom: 64px;
  width: min(360px, calc(100vw - 32px));
  height: 460px;
  max-height: 72vh;
  background: #12171d;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
}

.chat-widget__panel[hidden] {
  display: none;
}

.chat-widget__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #0b0e14;
  border-bottom: 1px solid var(--border-subtle);
}

.chat-widget__title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-widget__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 8px #25d366;
}

.chat-widget__title {
  font-size: 0.96rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.chat-widget__status {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.chat-widget__close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

.chat-widget__close:hover {
  color: #ffffff;
}

.chat-widget__messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

.chat-msg--bot {
  align-self: flex-start;
  background: #1c242f;
  color: #f3f6fa;
  border-bottom-left-radius: 4px;
}

.chat-msg--user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--gold-start), var(--gold-mid));
  color: #0b0e14;
  font-weight: 600;
  border-bottom-right-radius: 4px;
}

.chat-msg--typing {
  color: var(--text-muted);
  font-style: italic;
}

.chat-widget__form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: #0b0e14;
  border-top: 1px solid var(--border-subtle);
}

.chat-widget__input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: #161c24;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
}

.chat-widget__input:focus {
  border-color: var(--gold-mid);
}

.chat-widget__send {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--gold-start), var(--gold-mid));
  color: #0b0e14;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.chat-widget__send:hover:not(:disabled) {
  transform: scale(1.06);
}

.chat-widget__send:disabled {
  opacity: 0.5;
  cursor: default;
}

/* ==================== FOOTER ==================== */
.footer {
  background-color: #07090d;
  border-top: 1px solid var(--border-subtle);
  padding: 28px 0;
  text-align: center;
}

.footer__copy {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==================== SCROLL REVEAL ==================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1080px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .hero-bio__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .navbar__toggle {
    display: flex;
  }

  .navbar__links {
    position: fixed;
    top: 84px;
    right: 4%;
    left: 4%;
    flex-direction: column;
    background: rgba(11, 14, 20, 0.96);
    backdrop-filter: blur(16px);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    gap: 18px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity var(--transition), transform var(--transition);
  }

  .navbar__links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

@media (max-width: 680px) {
  .section {
    padding: 68px 0;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .hero-bio__pillars {
    grid-template-columns: 1fr;
  }

  .hero__bottom-left {
    bottom: 5%;
  }

  .video-cta__action {
    left: 4%;
    bottom: 6%;
  }

  .compare-table thead {
    display: none;
  }

  .compare-table,
  .compare-table tbody,
  .compare-table tr,
  .compare-table td {
    display: block;
    width: 100%;
  }

  .compare-table tr {
    border-bottom: 1px solid var(--border-gold);
    padding: 12px 0;
  }

  .compare-table td {
    border: none !important;
    padding: 10px 18px;
  }

  .compare-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold-mid);
    margin-bottom: 4px;
  }
}

/* ==================== BACKGROUND AUDIO CONTROL (MINIMALIST IN NAVBAR) ==================== */
.audio-control {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px 4px 5px;
  border-radius: 999px;
  border: 1px solid var(--border-gold);
  background: rgba(11, 14, 20, 0.45);
}

.audio-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  background: transparent;
  color: var(--gold-mid);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.audio-toggle:hover {
  color: #ffffff;
  border-color: var(--gold-mid);
}

.audio-toggle.is-playing {
  border-color: var(--gold-mid);
  color: var(--gold-mid);
  background: rgba(255, 183, 3, 0.14);
}

.audio-toggle__icon {
  flex-shrink: 0;
}

.audio-toggle__icon--pause {
  display: none;
}

.audio-toggle.is-playing .audio-toggle__icon--play {
  display: none;
}

.audio-toggle.is-playing .audio-toggle__icon--pause {
  display: block;
}

.audio-volume {
  -webkit-appearance: none;
  appearance: none;
  accent-color: var(--gold-mid);
  width: 54px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--gold-start) 0%,
    var(--gold-mid) var(--vol-pct, 50%),
    rgba(255, 183, 3, 0.22) var(--vol-pct, 50%)
  );
  outline: none;
  cursor: pointer;
}

.audio-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-start), var(--gold-mid));
  box-shadow: 0 0 6px rgba(255, 183, 3, 0.55);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.audio-volume::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

.audio-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-start), var(--gold-mid));
  box-shadow: 0 0 6px rgba(255, 183, 3, 0.55);
  cursor: pointer;
}
