/* ============================================================
   licencias-microsoft-365.css
   Estilos exclusivos de la página de licencias Microsoft 365
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --red: #D5070F;
  --red-dark: #9b0000;
  --red-bright: #D5070F;
  --bg: #ffffff;
  --bg2: #f5f5f5;
  --bg3: #fafafa;
  --card: #ffffff;
  --card2: #f8f8f8;
  --text: #222222;
  --text-muted: #666666;
  --green: #1a9e3e;
  --white: #ffffff;
  --border: rgba(213,7,15,0.25);
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 99999 !important;
  background: white;
  font-family: "Biome-W04", sans-serif !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
header .nav-wrapper .burger_mobile ul li a {
  font-family: "Biome-W04", sans-serif !important;
}

a, button, [role="button"] {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* ── HERO ── */
.hero {
  background: #080000;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 60px;
}
#hero-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1 {
  font-family: 'Biome-W04', 'Poppins', sans-serif;
  font-size: clamp(42px, 5.8vw, 88px);
  font-weight: 700;
  line-height: 1.08;
  color: #ffffff;
  max-width: 1100px;
  margin: 0 auto 32px;
  letter-spacing: -2px;
  white-space: nowrap;
}
.hero h1 span.red { color: #D5070F; }
.hero-sub {
  font-size: clamp(14px, 1.3vw, 18px);
  color: #dddddd;
  margin: 0 auto 56px;
  line-height: 1.6;
  font-family: 'Poppins black', sans-serif;
  white-space: nowrap;
}

/* ── Icon Carousel ── */
.carousel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 64px;
  width: 100%;
}
.arrow-btn {
  background: transparent;
  border: none;
  color: #D5070F;
  font-size: 56px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: color .2s, transform .15s;
  user-select: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.arrow-btn:hover { color: #ff5555; transform: scale(1.1); }
.carousel-viewport {
  width: 504px;
  height: 110px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.carousel-track {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.c-icon {
  flex-shrink: 0;
  width: 84px;
  height: 84px;
  border-radius: 15px;
  background: #efefef;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.55);
  cursor: pointer;
  transform: scale(1);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.35s,
              background 0.35s;
}
.c-icon img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  display: block;
  pointer-events: none;
}
.c-icon.is-active {
  transform: scale(1.27);
  background: #ffffff;
  box-shadow: 0 10px 40px rgba(0,0,0,0.75), 0 0 24px rgba(213,7,15,0.12);
  border-radius: 18px;
  z-index: 2;
}

/* ── CTA buttons ── */
.hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn-red,
.btn-green {
  position: relative;
  padding: 15px 32px;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  display: flex; align-items: center; gap: 9px;
  white-space: nowrap;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  clip-path: inset(0 100% 0 0);
  animation: btnPrint 0.55s cubic-bezier(0.77,0,0.18,1) forwards;
  transition: transform 0.22s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.22s ease;
}
.btn-red   { background: #D5070F; animation-delay: 0.55s; }
.btn-green { background: #1a9e3e; animation-delay: 0.72s; }

@keyframes btnPrint {
  0%   { clip-path: inset(0 100% 0 0); }
  100% { clip-path: inset(0 0% 0 0); }
}

.btn-red::before,
.btn-green::before {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.22) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left 0s;
  pointer-events: none;
}
.btn-red:hover::before,
.btn-green:hover::before {
  left: 135%;
  transition: left 0.5s ease;
}
.btn-red::after,
.btn-green::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,0);
  transition: border-color 0.25s;
  pointer-events: none;
}
.btn-red:hover::after   { border-color: rgba(255,150,150,0.5); }
.btn-green:hover::after { border-color: rgba(100,255,150,0.4); }
.btn-red:hover  {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 30px rgba(213,7,15,0.55);
}
.btn-green:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 30px rgba(26,158,62,0.5);
}
.btn-red:active,
.btn-green:active {
  transform: translateY(1px) scale(0.97);
  transition: transform 0.07s;
}

/* ── Trust badges ── */
.hero-badges {
  display: flex;
  gap: 52px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}
.badge-check {
  width: 24px; height: 24px;
  background: #D5070F;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.badge-check svg { display: block; }

/* ── SECTION LABEL ── */
.section-label {
  display: inline-block;
  border: 1px solid rgba(213,7,15,0.35);
  padding: 5px 20px;
  border-radius: 30px;
  font-size: 11px;
  font-family: 'Biome-W04', 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #D5070F;
  margin-bottom: 20px;
}

/* ── SLIDE 2 — PROBLEM ── */
.problem-section {
  position: relative;
  padding: 80px 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  background: #f5f5f5;
  overflow: hidden;
}
.problem-section::before {
  content: '';
  position: absolute;
  inset: -96px;
  background-image:
    linear-gradient(rgba(213,7,15,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(213,7,15,0.08) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px;
  pointer-events: none;
}
.problem-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, transparent 30%, rgba(245,245,245,0.55) 100%);
  pointer-events: none;
}
.problem-section .mesh-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}
.problem-section .mesh-orb-1 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(213,7,15,0.08) 0%, transparent 70%);
  top: -80px; right: 5%;
  animation: orbFloat1 12s ease-in-out infinite;
}
.problem-section .mesh-orb-2 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(213,7,15,0.06) 0%, transparent 70%);
  bottom: 0; left: 15%;
  animation: orbFloat2 16s ease-in-out infinite;
}
@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(-40px, 30px) scale(1.1); }
  66%       { transform: translate(30px, -20px) scale(0.95); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(50px, -40px) scale(1.15); }
}
.problem-left, .problem-right {
  position: relative;
  z-index: 1;
}
.problem-section h2 {
  font-family: 'Biome-W04', 'Poppins', sans-serif;
  font-size: clamp(32px, 3.8vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  color: #111111;
  margin-bottom: 18px;
}
.problem-title-bar {
  width: 100%;
  height: 4px;
  background: #ffffff;
  border-radius: 2px;
  margin-bottom: 32px;
  overflow: hidden;
  position: relative;
}
.problem-title-bar::after {
  content: '';
  position: absolute;
  top: 0; left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #D5070F, #D5070F, #D5070F, transparent);
  border-radius: 2px;
  animation: barSlide 2.2s ease-in-out infinite;
}
@keyframes barSlide {
  0%   { left: -40%; opacity: 0.5; }
  30%  { opacity: 1; }
  70%  { opacity: 1; }
  100% { left: 100%; opacity: 0.5; }
}
.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid rgba(213,7,15,0.15);
  border-radius: 10px;
  margin-bottom: 10px;
  position: relative;
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1),
              border-color 0.28s,
              box-shadow 0.28s,
              background 0.28s;
  cursor: default;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.problem-item::before { display: none; }
.problem-item:hover::before { display: none; }
.problem-item:hover {
  transform: translateY(-5px);
  border-color: rgba(213,7,15,0.3);
  box-shadow: 0 12px 28px rgba(213,7,15,0.12);
  background: rgba(213,7,15,0.05) !important;
  opacity: 1 !important;
}
.problem-item:hover .problem-icon {
  background: rgba(213,7,15,0.35);
  transition: background 0.25s;
}
.problem-item:hover .problem-icon svg {
  filter: drop-shadow(0 0 4px rgba(213,7,15,0.7));
  transition: filter 0.25s;
}
.problem-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(213,7,15,0.18);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s;
}
.problem-icon svg { display: block; transition: filter 0.25s; }
.problem-item h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #111111;
  margin-bottom: 4px;
}
.problem-item p {
  font-size: 12.5px;
  color: #666666;
  line-height: 1.5;
}
.problem-note {
  margin-top: 22px;
  font-size: 13px;
  font-weight: 700;
  color: #333333;
  font-style: normal;
}
.problem-note.glowing {
  animation: noteGlow 2s ease-in-out infinite;
}
@keyframes noteGlow {
  0%, 70%, 100% { color: #333333; text-shadow: none; }
  85%  { color: #D5070F; text-shadow: 0 0 12px rgba(213,7,15,0.3); }
}

.stats-side { display: flex; flex-direction: column; gap: 16px; }

.stat-card {
  background: #ffffff;
  border: 1px solid rgba(213,7,15,0.15);
  border-radius: 14px;
  padding: 32px 36px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1),
              border-color 0.25s,
              box-shadow 0.25s;
  cursor: default;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.stat-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 60%; height: 200%;
  background: linear-gradient(120deg, transparent, rgba(213,7,15,0.08), transparent);
  transform: skewX(-15deg);
  transition: left 0s;
  pointer-events: none;
}
.stat-card:hover::before {
  left: 130%;
  transition: left 0.6s ease;
}
.stat-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(213,7,15,0.5);
  box-shadow: 0 12px 32px rgba(213,7,15,0.2);
}
.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 72px;
  font-weight: 900;
  color: #D5070F;
  line-height: 1;
  margin-bottom: 12px;
  transition: color 0.25s;
}
.stat-card:hover .stat-number { color: #9b0000; }
.stat-card p {
  font-size: 14px;
  color: #555555;
  line-height: 1.55;
}
.stat-cta-card {
  background: #D5070F;
  border-radius: 14px;
  padding: 28px 36px;
  border: 1px solid rgba(213,7,15,0.3);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.3s,
              background 0.3s;
  cursor: pointer;
}
.stat-cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(213,7,15,0.55) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: translateY(30%);
  pointer-events: none;
}
.stat-cta-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  background: linear-gradient(135deg, #D5070F, #D5070F, #D5070F);
  background-size: 200% 200%;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s;
  animation: borderFlow 2s linear infinite;
}
@keyframes borderFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.stat-cta-card:hover {
  transform: translateY(-6px) scale(1.02);
  background: #9b0000;
  box-shadow: 0 20px 50px rgba(213,7,15,0.3), 0 0 0 1px rgba(213,7,15,0.5);
}
.stat-cta-card:hover::before { opacity: 1; transform: translateY(0%); }
.stat-cta-card:hover::after  { opacity: 1; }
.stat-cta-card:hover .cta-prompt { color: #ffcccc; transition: color 0.3s; }
.stat-cta-card:hover .btn-plans {
  animation: btnPulse 0.6s cubic-bezier(0.4,0,0.2,1) both;
  box-shadow: 0 6px 24px rgba(213,7,15,0.6);
}
@keyframes btnPulse {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.04); }
  60%  { transform: scale(0.98); }
  100% { transform: scale(1); }
}
.cta-prompt {
  font-size: 15px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
  margin-bottom: 18px;
}
.btn-plans {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #D5070F;
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  width: 100%;
  justify-content: center;
  transition: background .2s, transform .15s;
}
.btn-plans:hover { background: #9b0000; transform: translateY(-2px); }

/* ── SLIDE 3 — PLANS ── */
.plans-section {
  position: relative;
  background: #f5f5f5;
  padding: 80px 72px 40px;
  text-align: center;
  overflow: hidden;
}
#plans-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}
.plans-inner { position: relative; z-index: 1; }

.plan-sticker {
  position: absolute;
  top: 0px; right: 0px;
  background: linear-gradient(135deg, #D5070F, #D5070F);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 0 16px 0 8px;
  box-shadow: 0 4px 16px rgba(213,7,15,0.5);
  animation: stickerPulse 2s ease-in-out infinite;
  white-space: nowrap;
}
@keyframes stickerPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(213,7,15,0.5); }
  50%       { box-shadow: 0 4px 28px rgba(213,7,15,0.85); }
}
.plans-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(213,7,15,0.4);
  border-radius: 999px;
  padding: 7px 20px;
  font-family: 'Biome-W04', 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #D5070F;
  margin-bottom: 28px;
}
.plans-label-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #D5070F;
  flex-shrink: 0;
}
.plans-section h2 {
  font-family: 'Biome-W04', 'Poppins', sans-serif;
  font-size: clamp(32px, 5vw, 72px);
  font-weight: 700;
  color: #111111;
  margin-bottom: 16px;
  line-height: 1.05;
}
.plans-section .subtitle {
  font-size: 16px;
  color: #666666;
  margin-bottom: 56px;
}
.plans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 900px;
  margin: 0 auto 48px;
}
.plan-card {
  background: #ffffff;
  border: 1px solid rgba(213,7,15,0.15);
  border-radius: 16px;
  padding: 36px 32px;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), box-shadow 0.25s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}
.plan-card:hover {
  transform: translateY(-6px);
  border-color: rgba(213,7,15,0.7);
  box-shadow: 0 0 0 1px rgba(213,7,15,0.4), 0 16px 48px rgba(213,7,15,0.15);
}
.plan-card h3 {
  font-family: 'Biome-W04', 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 2.5vw, 36px);
  color: #111111;
  margin-bottom: 6px;
}
.plan-card .plan-subtitle {
  font-size: 13px;
  color: #888888;
  margin-bottom: 20px;
}
.plan-divider {
  height: 1px;
  background: rgba(213,7,15,0.2);
  margin-bottom: 20px;
}
.plan-price-block { margin-bottom: 20px; }
.plan-discount-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #D5070F, #D5070F);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  animation: stickerPulse 2s ease-in-out infinite;
}
.plan-price-original {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: #7a5555;
  text-decoration: line-through;
  margin-bottom: 4px;
}
.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.plan-price-currency {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #555555;
  line-height: 1;
}
.plan-price-amount {
  font-family: 'Poppins', sans-serif;
  font-size: 48px;
  font-weight: 900;
  color: #111111;
  line-height: 1;
  letter-spacing: -1px;
}
.plan-price-period {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: #888888;
  line-height: 1.3;
}
.plan-card.featured .plan-price-amount { color: #D5070F; }
.plan-card.featured .plan-price-currency { color: #D5070F; }
.plan-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #333333;
  margin-bottom: 14px;
  font-family: 'Poppins', sans-serif;
}
.plan-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #D5070F;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.plan-check svg { display: block; }
.plan-btn {
  display: block;
  text-align: center;
  margin-top: 28px;
  padding: 14px;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  background: #D5070F;
  color: #fff;
  border: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.plan-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -70%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-20deg);
  transition: left 0s;
}
.plan-btn:hover::before { left: 130%; transition: left 0.5s ease; }
.plan-btn:hover {
  background: #9b0000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(213,7,15,0.5);
}
.plans-footer {
  font-size: 14px;
  color: #888888;
  margin-bottom: 18px;
  transition: color 0.3s;
  -webkit-tap-highlight-color: transparent;
}
.plans-footer.glowing {
  animation: plansFooterGlow 3s ease-in-out infinite;
}
@keyframes plansFooterGlow {
  0%, 70%, 100% { color: #907070; text-shadow: none; }
  85% { color: #ffffff; text-shadow: 0 0 12px rgba(213,7,15,0.8), 0 0 24px rgba(213,7,15,0.4); }
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1a9e3e;
  color: #fff;
  padding: 15px 48px;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-whatsapp:hover {
  background: #157a30;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,158,62,0.4);
}
.plans-legal {
  margin: 20px auto 0;
  font-size: 11px;
  color: #999999;
  font-family: 'Poppins', sans-serif;
  max-width: 700px;
  line-height: 1.6;
  text-align: center;
}
.plans-legal-link {
  display: inline-block;
  margin-top: 8px;
  color: #D5070F;
  font-weight: 600;
  text-decoration: none;
  font-size: 11px;
  transition: color 0.2s;
}
.plans-legal-link:hover { color: #9b0000; }

/* ── SLIDE 4 — SERVICES ── */
.services-section {
  position: relative;
  background: #f5f5f5;
  padding: 80px 72px;
  text-align: center;
  overflow: hidden;
}
#services-canvas {
  position: absolute;
  inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
  filter: blur(4px);
}
.services-inner { position: relative; z-index: 1; }
.services-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(213,7,15,0.4);
  border-radius: 999px;
  padding: 7px 20px;
  font-family: 'Biome-W04', 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #D5070F;
  margin-bottom: 28px;
}
.services-label-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #D5070F;
  flex-shrink: 0;
}
.services-section h2 {
  font-family: 'Biome-W04', 'Poppins', sans-serif;
  font-size: clamp(32px, 5vw, 68px);
  font-weight: 700;
  color: #111111;
  margin-bottom: 14px;
  line-height: 1.05;
}
.services-section .subtitle {
  font-size: 16px;
  color: #666666;
  margin-bottom: 56px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.service-card {
  background: #ffffff;
  border: 1px solid rgba(213,7,15,0.12);
  border-radius: 16px;
  padding: 40px 28px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
  opacity: 0;
  translate: 0 40px;
  transition: opacity 0.6s cubic-bezier(0.2,0,0.2,1),
              translate 0.6s cubic-bezier(0.2,0,0.2,1),
              box-shadow 0.3s,
              background 0.3s,
              transform 0.3s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.service-card.in-view { opacity: 1; translate: 0 0; }
.service-card:hover {
  background: #fff8f8;
  box-shadow: 0 12px 40px rgba(213,7,15,0.12), 0 0 0 1px rgba(213,7,15,0.2);
  transform: translateY(-6px) scale(1.02);
}
.service-icon {
  width: 58px; height: 58px;
  background: rgba(213,7,15,0.08);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  transition: background 0.3s, box-shadow 0.3s;
}
.service-card:hover .service-icon {
  background: rgba(213,7,15,0.15);
  box-shadow: 0 0 16px rgba(213,7,15,0.15);
}
.service-card h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #111111;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 13px;
  color: #666666;
  line-height: 1.6;
}

/* ── SLIDE 5 — STEPS ── */
.steps-section {
  position: relative;
  background: #f5f5f5;
  padding: 80px 72px;
  text-align: center;
  overflow: hidden;
}
#steps-canvas {
  position: absolute;
  inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
.steps-inner { position: relative; z-index: 1; }
.steps-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  padding: 7px 20px;
  font-family: 'Biome-W04', 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 28px;
}
.steps-label-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ffffff;
  flex-shrink: 0;
}
.steps-section h2 {
  font-family: 'Biome-W04', 'Poppins', sans-serif;
  font-size: clamp(32px, 5vw, 68px);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.05;
}
.steps-section .subtitle {
  font-size: 16px;
  color: #dddddd;
  margin-bottom: 64px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto 52px;
}
.step-card {
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s cubic-bezier(0.2,0,0.2,1),
              transform 0.6s cubic-bezier(0.2,0,0.2,1);
  position: relative;
  padding-bottom: 120px;
}
.step-card.in-view { opacity: 1; transform: translateY(0); }
.step-number {
  width: 90px; height: 90px;
  background: #9b0000;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 42px;
  color: #fff;
  margin: 0 auto 0;
  box-shadow: 0 8px 32px rgba(213,7,15,0.5);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.step-number:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(213,7,15,0.7);
}
.step-number:hover .ring { visibility: hidden; }
.ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2.5px solid rgba(213,7,15,0.8);
  animation: ringExplode 2.4s cubic-bezier(0.2,0,0.6,1) infinite;
  pointer-events: none;
}
.ring2 {
  border-width: 1.5px;
  border-color: rgba(213,7,15,0.5);
  animation-delay: 0.5s;
}
@keyframes ringExplode {
  0%   { transform: scale(1);   opacity: 0.85; }
  70%  { transform: scale(2.2); opacity: 0.15; }
  100% { transform: scale(2.6); opacity: 0; }
}
.step-card:nth-child(1) .ring  { animation-delay: 0s; }
.step-card:nth-child(1) .ring2 { animation-delay: 0.5s; }
.step-card:nth-child(2) .ring  { animation-delay: 0.8s; }
.step-card:nth-child(2) .ring2 { animation-delay: 1.3s; }
.step-card:nth-child(3) .ring  { animation-delay: 1.6s; }
.step-card:nth-child(3) .ring2 { animation-delay: 2.1s; }
.step-text {
  position: absolute;
  top: 106px;
  left: 0; right: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  padding: 0 8px;
}
.step-card.text-visible .step-text { opacity: 1; transform: translateY(0); }
.step-card h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(15px, 1.4vw, 20px);
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.3;
}
.step-card p {
  font-size: 13.5px;
  color: #dddddd;
  line-height: 1.6;
}
.time-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 18px 40px;
  border-radius: 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #dddddd;
  line-height: 1.4;
}
.time-badge strong { display: block; font-weight: 800; color: #ffffff; font-size: 18px; }

/* ── SLIDE 6 — FORM ── */
.form-section {
  position: relative;
  background: #f5f5f5;
  padding: 80px 72px;
  text-align: center;
  overflow: hidden;
}
#form-canvas {
  position: absolute;
  inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
.form-inner { position: relative; z-index: 1; }
.form-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(213,7,15,0.4);
  border-radius: 999px;
  padding: 7px 20px;
  font-family: 'Biome-W04', 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #D5070F;
  margin-bottom: 28px;
}
.form-label-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #D5070F;
  flex-shrink: 0;
}
.form-section h2 {
  font-family: 'Biome-W04', 'Poppins', sans-serif;
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 700;
  color: #111111;
  line-height: 1.1;
  margin-bottom: 16px;
}
.form-section h2 span { color: #D5070F; }
.form-section .subtitle {
  font-size: 16px;
  color: #666666;
  margin-bottom: 48px;
}
.form-card {
  background: #ffffff;
  border: 1px solid rgba(213,7,15,0.2);
  border-radius: 18px;
  padding: 44px 48px;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.form-card:hover {
  border-color: rgba(213,7,15,0.5);
  box-shadow: 0 8px 40px rgba(213,7,15,0.12);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
.form-field { display: flex; flex-direction: column; gap: 7px; text-align: left; }
.form-field label {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #555555;
}
.form-field input,
.form-field select {
  width: 100%;
  background: #fafafa;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 8px;
  padding: 14px 16px;
  color: #111111;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  min-height: 48px;
  touch-action: manipulation;
}
.form-field input::placeholder { color: #aaaaaa; }
.form-field input:focus,
.form-field select:focus {
  border-color: rgba(213,7,15,0.6);
  box-shadow: 0 0 0 3px rgba(213,7,15,0.08);
}
.form-field select { color: #111111; cursor: pointer; }
.form-field select option { background: #ffffff; color: #111111; }
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555555' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-submit {
  width: 100%;
  margin-top: 8px;
  padding: 18px;
  background: #D5070F;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  position: relative; overflow: hidden;
}
.form-submit:hover {
  background: #9b0000;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(213,7,15,0.35);
}
.form-note {
  margin-top: 14px;
  font-size: 12px;
  color: #888888;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}

/* ── Animaciones de scroll Slide 2 ── */
@keyframes s2FadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes s2FadeRight {
  from { opacity: 0; transform: translateX(-28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes s2FadeLeft {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}
.s2-anim { }
.s2-anim.hidden { opacity: 0; }
.s2-anim.in-view            { animation: s2FadeUp    0.65s cubic-bezier(0.2,0,0.2,1) forwards; }
.s2-anim.from-left.in-view  { animation: s2FadeRight 0.65s cubic-bezier(0.2,0,0.2,1) forwards; }
.s2-anim.from-right.in-view { animation: s2FadeLeft  0.65s cubic-bezier(0.2,0,0.2,1) forwards; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes glitchIn {
  0%   { opacity: 0; clip-path: inset(50% 0 50% 0); transform: skewX(-6deg) translateY(16px); }
  15%  { opacity: 1; clip-path: inset(0 0 75% 0);   transform: skewX(3deg) translateY(8px); }
  30%  { clip-path: inset(60% 0 0 0);               transform: skewX(-2deg) translateY(5px); }
  50%  { clip-path: inset(0 0 30% 0);               transform: skewX(1deg) translateY(2px); }
  70%  { clip-path: inset(10% 0 10% 0);             transform: skewX(-0.5deg); }
  100% { opacity: 1; clip-path: inset(0 0 0 0);     transform: skewX(0) translateY(0); }
}

#hero-canvas      { animation: bgPulse 1.4s ease both; }
nav               { animation: fadeUp 0.5s ease both; }
.hero h1          { animation: glitchIn 0.8s 0.15s cubic-bezier(0.4,0,0.2,1) both; }
.hero-sub         { animation: fadeUp 0.6s 0.4s ease both; }
.carousel-wrapper { animation: fadeUp 0.6s 0.5s ease both; }
.hero-badges      { animation: fadeUp 0.6s 0.9s ease both; }

/* ── Touch / no-hover overrides ── */
@media (hover: none) {
  .btn-red:hover,
  .btn-green:hover        { transform: none; box-shadow: none; }
  .btn-red:active         { transform: scale(0.96); box-shadow: 0 4px 14px rgba(213,7,15,0.4); }
  .btn-green:active       { transform: scale(0.96); box-shadow: 0 4px 14px rgba(26,158,62,0.4); }
  .btn-whatsapp:hover     { transform: none; box-shadow: none; }
  .btn-whatsapp:active    { transform: scale(0.96); background: #157a30; }
  .form-submit:hover      { transform: none; box-shadow: none; }
  .form-submit:active     { transform: scale(0.96); }
  .plan-card:hover        { transform: none; border-color: rgba(213,7,15,0.4); box-shadow: none; }
  .plan-btn:hover         { transform: none; box-shadow: none; background: #D5070F; }
  .plan-btn:active        { transform: scale(0.96); }
  .form-card:hover        { border-color: rgba(213,7,15,0.45); box-shadow: none; }
  .service-card:hover     { transform: none; box-shadow: 0 2px 12px rgba(0,0,0,0.06); background: #ffffff; }
  .stat-card:hover        { transform: none; border-color: rgba(213,7,15,0.15); box-shadow: none; }
  .stat-cta-card:hover    { transform: none; box-shadow: none; background: #D5070F; }
  .stat-cta-card:hover::before { opacity: 0; transform: translateY(30%); }
  .stat-cta-card:hover::after  { opacity: 0; }
  .problem-item:hover     { transform: none; border-color: rgba(213,7,15,0.15); box-shadow: 0 2px 8px rgba(0,0,0,0.06); background: #ffffff; }
  .step-number:hover      { transform: none; box-shadow: 0 8px 32px rgba(213,7,15,0.5); }
  .step-number:hover .ring { visibility: visible; }
  .btn-red::before, .btn-green::before,
  .service-card::before, .plan-btn::before,
  .problem-item::before { display: none; }
}

/* ── Responsive 1024px ── */
@media (max-width: 1024px) {
  .hero { padding: 60px 32px 48px; aspect-ratio: unset; min-height: 100vh; min-height: 100svh; min-height: 100dvh; }
  .hero h1 { font-size: clamp(30px, 6vw, 64px); letter-spacing: -1px; white-space: normal; }
  .hero-sub { font-size: 14px; white-space: normal; }
  .problem-section { padding: 60px 40px; gap: 40px; }
  .plans-section, .services-section, .steps-section, .form-section { padding: 60px 40px; }
  .plans-grid { max-width: 100%; }
  .services-grid { gap: 16px; }
  .stat-number { font-size: 56px; }
  .carousel-viewport { width: 420px; }
}

/* ── Responsive 768px ── */
@media (max-width: 768px) {
  header .nav-wrapper { padding: 12px 16px; }
  .hero { padding: 52px 20px 44px; aspect-ratio: unset; min-height: 100vh; min-height: 100svh; min-height: 100dvh; }
  .hero h1 { font-size: clamp(26px, 7.5vw, 46px); letter-spacing: -0.5px; white-space: normal; text-align: center; }
  .hero-sub { font-size: 13px; white-space: normal; text-align: center; margin-bottom: 28px; }
  .carousel-wrapper { gap: 10px; margin-bottom: 44px; }
  .carousel-viewport { width: min(320px, calc(100vw - 120px)); }
  .c-icon { width: 72px; height: 72px; border-radius: 13px; }
  .c-icon img { width: 52px; height: 52px; }
  .arrow-btn { font-size: 44px; padding: 8px; min-width: 44px; min-height: 44px; }
  .hero-btns { flex-direction: column; align-items: center; gap: 12px; width: 100%; }
  .btn-red, .btn-green { width: 100%; max-width: 340px; justify-content: center; text-align: center; padding: 16px 24px; font-size: 15px; min-height: 52px; }
  .hero-badges { flex-direction: column; align-items: center; gap: 12px; }
  .problem-section { grid-template-columns: 1fr; padding: 48px 20px; gap: 32px; }
  .problem-section h2 { font-size: clamp(24px, 7vw, 40px); }
  .stat-number { font-size: 48px; }
  .stat-card { padding: 22px 18px; }
  .stat-cta-card { padding: 20px 18px; }
  .plans-section { padding: 48px 20px; }
  .plans-section h2 { font-size: clamp(24px, 7vw, 42px); }
  .plans-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .plan-card { padding: 26px 20px; }
  .btn-whatsapp { width: 100%; justify-content: center; padding: 16px 24px; font-size: 15px; min-height: 52px; }
  .services-section { padding: 48px 20px; }
  .services-section h2 { font-size: clamp(24px, 7vw, 42px); }
  .services-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .service-card { padding: 26px 20px; }
  .steps-section { padding: 48px 20px; }
  .steps-section h2 { font-size: clamp(22px, 7vw, 40px); }
  .steps-grid { grid-template-columns: 1fr; gap: 140px; max-width: 360px; margin-left: auto; margin-right: auto; }
  .step-card { padding-bottom: 120px; }
  .step-text { opacity: 1 !important; transform: translateY(0) !important; }
  .time-badge { flex-direction: column; text-align: center; padding: 16px 20px; gap: 8px; }
  .form-section { padding: 48px 20px; }
  .form-section h2 { font-size: clamp(24px, 7vw, 42px); }
  .form-card { padding: 26px 18px; }
  .form-row { grid-template-columns: 1fr; gap: 14px; margin-bottom: 14px; }
  .form-field input, .form-field select { min-height: 48px; font-size: 16px !important; border-radius: 8px; }
  .form-submit { min-height: 54px; font-size: 15px; padding: 16px 20px; width: 100%; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
  footer { padding: 32px 16px 24px; }
  .footer-contact { flex-direction: column; align-items: center; gap: 20px; text-align: center; }
  .footer-contact-item { justify-content: center; }
  .footer-socials a { min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
}

/* ── Responsive 480px ── */
@media (max-width: 480px) {
  .hero h1 { font-size: clamp(22px, 8.5vw, 34px); }
  .carousel-viewport { width: min(280px, calc(100vw - 100px)); }
  .c-icon { width: 64px; height: 64px; }
  .c-icon img { width: 46px; height: 46px; }
  .arrow-btn { font-size: 38px; }
  .plans-section h2, .services-section h2, .steps-section h2, .form-section h2 { font-size: clamp(20px, 8vw, 30px); }
  .plan-card h3 { font-size: 22px; }
  .step-number { width: 72px; height: 72px; font-size: 32px; }
  .form-card { padding: 20px 14px; }
}

/* ── Responsive 360px ── */
@media (max-width: 360px) {
  .hero h1 { font-size: clamp(20px, 9vw, 28px); }
  .hero-sub { font-size: 12px; }
  .carousel-viewport { width: calc(100vw - 96px); }
  .btn-red, .btn-green { font-size: 13px; padding: 14px 18px; }
  .btn-whatsapp { font-size: 13px; padding: 14px 18px; }
}
