/* ============================================================
   PlanIA · main.css — v4 Raycast Tech/SaaS
   Paleta: tierra #C4622D | carbon #0D0A07 | surface #FAF8F5
   Fuente: Inter
   ============================================================ */

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

:root {
  --tierra:        #C4622D;
  --tierra-dark:   #9E4B1F;
  --tierra-light:  rgba(196,98,45,.1);
  --tierra-glow:   rgba(196,98,45,.3);
  --ocre:          #D4A853;
  --verde:         #3D5A3E;
  --carbon:        #0D0A07;
  --carbon-2:      #18130E;
  --carbon-3:      #231A12;
  --surface:       #FAF8F5;
  --surface-2:     #F5EDE0;
  --border:        #E5DDD3;
  --border-dark:   rgba(255,255,255,.08);
  --text-primary:  #1A1209;
  --text-secondary:#6B6157;
  --text-muted:    #A89A8A;

  --radius:    16px;
  --radius-sm: 10px;
  --radius-xs: 6px;

  --shadow-sm:    0 2px 8px rgba(13,10,7,.04), 0 4px 16px rgba(13,10,7,.06);
  --shadow:       0 4px 20px rgba(13,10,7,.06), 0 16px 48px rgba(13,10,7,.10);
  --shadow-lg:    0 8px 32px rgba(13,10,7,.08), 0 32px 80px rgba(13,10,7,.14);
  --shadow-glow:  0 0 40px rgba(196,98,45,.18), 0 16px 48px rgba(13,10,7,.14);

  --ease-out-expo: cubic-bezier(.16, 1, .3, 1);
  --ease-spring:   cubic-bezier(.34, 1.56, .64, 1);
  --ease-smooth:   cubic-bezier(.4, 0, .2, 1);
}

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--surface);
  color: var(--text-primary);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Subtle grain */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none;
  opacity: .022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }

::selection { background: var(--tierra); color: white; }


/* ── CONTAINER ──────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 48px; }


/* ── UTILITIES ──────────────────────────────────────────── */
.label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--tierra); margin-bottom: 10px;
  display: inline-flex; align-items: center; gap: 8px;
}
.label::before {
  content: '';
  width: 18px; height: 1.5px;
  background: var(--tierra); border-radius: 1px;
}

/* Gradient text */
.grad-text {
  background: linear-gradient(135deg, var(--tierra) 0%, var(--ocre) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ── REVEAL ANIMATIONS ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .75s var(--ease-out-expo), transform .75s var(--ease-out-expo);
}
.reveal.visible { opacity: 1; transform: none; }

.reveal[data-delay="1"] { transition-delay: .10s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .26s; }
.reveal[data-delay="4"] { transition-delay: .34s; }
.reveal[data-delay="5"] { transition-delay: .42s; }

.reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity .8s var(--ease-out-expo), transform .8s var(--ease-out-expo);
}
.reveal-left.visible { opacity: 1; transform: none; }

.reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity .8s var(--ease-out-expo), transform .8s var(--ease-out-expo);
}
.reveal-right.visible { opacity: 1; transform: none; }

.reveal-scale {
  opacity: 0;
  transform: scale(.92) translateY(24px);
  transition: opacity .9s var(--ease-out-expo), transform .9s var(--ease-out-expo);
}
.reveal-scale.visible { opacity: 1; transform: none; }

.reveal-blur {
  opacity: 0;
  filter: blur(20px);
  transform: translateY(20px);
  transition: opacity .8s var(--ease-out-expo), filter .8s var(--ease-out-expo), transform .8s var(--ease-out-expo);
}
.reveal-blur.visible { opacity: 1; filter: blur(0); transform: none; }


/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 600;
  cursor: pointer; border: none;
  transition: all .4s var(--ease-out-expo);
  position: relative; overflow: hidden;
  letter-spacing: -.01em;
}
.btn svg {
  transition: transform .35s var(--ease-out-expo);
  flex-shrink: 0;
}
.btn:hover svg { transform: translateX(3px); }

/* Primary tierra button */
.btn-tierra {
  background: var(--tierra); color: white;
  box-shadow: 0 2px 8px rgba(196,98,45,.2), 0 1px 2px rgba(196,98,45,.15);
}
.btn-tierra::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.18) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .4s;
}
.btn-tierra:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(196,98,45,.32), 0 16px 48px rgba(196,98,45,.14); }
.btn-tierra:hover::before { opacity: 1; }
.btn-tierra:active { transform: translateY(-1px); box-shadow: 0 3px 10px rgba(196,98,45,.22); }

/* Ghost button — for dark backgrounds */
.btn-ghost {
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.9);
  border: 1.5px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.3);
  transform: translateY(-2px);
}

/* Outline button — light backgrounds */
.btn-outline {
  background: rgba(255,255,255,.6);
  color: var(--text-primary);
  border: 1.5px solid var(--border);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  border-color: var(--tierra); color: var(--tierra);
  background: rgba(245,237,224,.5);
  box-shadow: 0 4px 16px rgba(196,98,45,.06);
}

/* White button — on colored backgrounds */
.btn-white {
  background: white; color: var(--tierra);
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
  font-weight: 700;
}
.btn-white:hover {
  background: #FFF8F4;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,.14);
}

.btn-lg { padding: 17px 38px; font-size: 16px; border-radius: 12px; }


/* ── NAV ────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 66px;
  background: rgba(250,248,245,.92);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid rgba(229,221,211,.6);
  transition: background .4s var(--ease-smooth), box-shadow .4s, border-color .4s, backdrop-filter .4s;
}
.nav.scrolled {
  box-shadow: 0 1px 0 rgba(196,98,45,.07), 0 4px 24px rgba(13,10,7,.05);
}
.nav-links a { color: var(--text-secondary); }
.nav-links a:hover { color: var(--text-primary); }
.nav-links a.active { color: var(--text-primary); }
.nav-logo img { filter: none; }

/* Over dark hero — sobreescribe el fondo visible */
.nav.on-dark {
  background: rgba(13,10,7,.0);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}
.nav.on-dark .nav-links a { color: rgba(255,255,255,.7); }
.nav.on-dark .nav-links a:hover { color: white; }
.nav.on-dark .nav-links a.active { color: white; }
.nav.on-dark .nav-links a::after { background: white; }
.nav.on-dark .nav-logo img { filter: brightness(0) invert(1); }
.nav.on-dark .nav-cta {
  background: rgba(255,255,255,.1);
  color: white;
  border: 1.5px solid rgba(255,255,255,.2);
}
.nav.on-dark .nav-cta:hover {
  background: var(--tierra);
  border-color: var(--tierra);
}

.nav .container {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img { height: 34px; transition: opacity .3s, filter .4s; }
.nav-logo:hover img { opacity: .75; }

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 14px; font-weight: 500;
  color: var(--text-secondary);
  transition: color .3s;
  position: relative; padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--tierra); border-radius: 1px;
  transform: scaleX(0); transform-origin: center;
  transition: transform .4s var(--ease-out-expo);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--text-primary); }
.nav-cta {
  padding: 10px 22px; font-size: 14px;
  white-space: nowrap; flex-shrink: 0;
  transition: all .4s var(--ease-out-expo);
}


/* ── HERO ────────────────────────────────────────────────── */
.hero {
  padding: 140px 0 100px;
  text-align: center;
  background: var(--carbon);
  position: relative; overflow: hidden;
}

/* Cursor spotlight */
.hero::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(600px circle at var(--cursor-x, 50%) var(--cursor-y, 30%),
    rgba(196,98,45,.07) 0%, transparent 70%);
  transition: background .15s;
}

/* Mesh orbs */
.hero-mesh { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

.mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.mesh-orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(196,98,45,.22) 0%, transparent 65%);
  top: -200px; right: -180px;
  animation: mesh-float-1 20s ease-in-out infinite alternate;
}
.mesh-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(212,168,83,.14) 0%, transparent 65%);
  bottom: -100px; left: -120px;
  animation: mesh-float-2 26s ease-in-out infinite alternate;
}
.mesh-orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(196,98,45,.10) 0%, transparent 65%);
  top: 50%; right: 15%;
  animation: mesh-float-3 17s ease-in-out infinite alternate;
}

@keyframes mesh-float-1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-60px, 40px) scale(1.12); }
}
@keyframes mesh-float-2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, -30px) scale(1.18); }
}
@keyframes mesh-float-3 {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(-30px, 20px) scale(1.08); }
}

/* Grid overlay */
.hero-grid-overlay {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 40%, transparent 100%);
}

.hero .container { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.75); font-size: 12px; font-weight: 600;
  padding: 7px 18px; border-radius: 24px;
  letter-spacing: .05em; text-transform: uppercase;
  margin-bottom: 32px;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--tierra);
  box-shadow: 0 0 8px rgba(196,98,45,.6);
  animation: badge-pulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes badge-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(.82); }
}

.hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.10;
  letter-spacing: -.035em;
  color: white;
  margin-bottom: 24px;
  max-width: 860px; margin-left: auto; margin-right: auto;
}

.hero-sub {
  font-size: 18px; line-height: 1.65;
  color: rgba(255,255,255,.55);
  max-width: 600px; margin: 0 auto 32px;
  font-weight: 400;
}

.hero-proof {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 14px; margin-bottom: 40px;
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,.5);
}
.hero-proof span {
  display: flex; align-items: center; gap: 6px;
}
.hero-proof span svg { color: var(--tierra); flex-shrink: 0; }
.hero-proof .dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: rgba(255,255,255,.2);
}

.hero-ctas {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin-bottom: 72px;
  flex-wrap: wrap;
}

/* Hero screenshot */
.hero-screenshot {
  position: relative;
  max-width: 900px; margin: 0 auto;
  transition: transform .6s var(--ease-out-expo);
}
.screenshot-wrap {
  background: var(--carbon-2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,.04), 0 32px 80px rgba(0,0,0,.5), 0 8px 24px rgba(0,0,0,.3);
  position: relative; z-index: 1;
}
.screenshot-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px;
  background: var(--carbon-3);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.screenshot-dots { display: flex; gap: 6px; }
.screenshot-dots span {
  width: 10px; height: 10px; border-radius: 50%;
}
.screenshot-dots span:nth-child(1) { background: #FF5F57; }
.screenshot-dots span:nth-child(2) { background: #FFBD2E; }
.screenshot-dots span:nth-child(3) { background: #28C840; }
.screenshot-url {
  flex: 1; text-align: center;
  font-size: 11px; font-weight: 500;
  color: rgba(255,255,255,.3);
  letter-spacing: .02em;
}
.screenshot-wrap img {
  display: block; width: 100%;
  border-radius: 0;
}

.screenshot-glow {
  position: absolute;
  bottom: -60px; left: 10%; right: 10%;
  height: 120px;
  background: radial-gradient(ellipse at center, rgba(196,98,45,.28) 0%, transparent 70%);
  filter: blur(30px);
  z-index: 0;
  pointer-events: none;
}


/* ── STATS BAND ─────────────────────────────────────────── */
.stats-band {
  background: var(--carbon);
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
  padding: 0;
}
.stats-band .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 0; padding-bottom: 0;
}
.stat-item {
  padding: 48px 32px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.05);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-item::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(196,98,45,.04) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .4s;
}
.stat-item:hover::after { opacity: 1; }

.stat-num {
  font-family: 'Inter', sans-serif;
  font-size: 42px; font-weight: 800;
  letter-spacing: -.04em;
  color: white;
  line-height: 1.1; margin-bottom: 10px;
  background: linear-gradient(135deg, white 0%, rgba(255,255,255,.75) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 13px; line-height: 1.5;
  color: rgba(255,255,255,.35);
  font-weight: 400;
}


/* ── FOR WHO ─────────────────────────────────────────────── */
.for-who {
  background: var(--surface);
  padding: 100px 0;
  position: relative;
}
.for-who .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.for-who-header {
  grid-column: 1 / -1;
  margin-bottom: 20px;
}
.for-who-header h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.2;
  color: var(--text-primary);
}
.for-who-header h2 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--tierra) 0%, var(--ocre) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glassmorphism cards */
.fw-card {
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(229,221,211,.7);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  transition: transform .45s var(--ease-out-expo), box-shadow .45s var(--ease-out-expo), border-color .3s;
  position: relative; overflow: hidden;
}
.fw-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--tierra), var(--ocre));
  opacity: 0; transition: opacity .4s;
}
.fw-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(196,98,45,.2); }
.fw-card:hover::before { opacity: 1; }

.fw-card-top {
  display: flex; align-items: flex-start; gap: 16px; margin-bottom: 16px;
}
.fw-card-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: var(--tierra-light);
  border: 1px solid rgba(196,98,45,.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.fw-card-top h3 {
  font-size: 19px; font-weight: 700;
  letter-spacing: -.02em; line-height: 1.3;
  color: var(--text-primary);
  padding-top: 4px;
}
.fw-card .subtitle {
  font-size: 15px; line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.fw-list {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
}
.fw-list li {
  font-size: 14px; color: var(--text-secondary);
  display: flex; align-items: flex-start; gap: 10px;
  line-height: 1.5;
}
.fw-list li::before {
  content: '';
  width: 16px; height: 16px; border-radius: 50%;
  background: rgba(196,98,45,.1);
  border: 1.5px solid rgba(196,98,45,.3);
  flex-shrink: 0; margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23C4622D' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 9px;
}


/* ── FEATURE SECTIONS ───────────────────────────────────── */
.feat-section {
  padding: 88px 0;
  background: var(--surface);
}
.feat-section.alt {
  background: var(--surface-2);
}

.feat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.feat.flip .feat-text { order: 2; }
.feat.flip .feat-img  { order: 1; }

/* Feature tag */
.feat-tag {
  display: inline-flex; align-items: center;
  padding: 5px 14px; border-radius: 24px;
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase;
  background: rgba(196,98,45,.1);
  border: 1px solid rgba(196,98,45,.2);
  color: var(--tierra);
  margin-bottom: 20px;
}

.feat-text h3 {
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 800; letter-spacing: -.03em;
  line-height: 1.2; color: var(--text-primary);
  margin-bottom: 16px;
}
.feat-text p {
  font-size: 16px; line-height: 1.7;
  color: var(--text-secondary); margin-bottom: 28px;
}

.feat-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.feat-list li {
  font-size: 14px; color: var(--text-secondary);
  display: flex; align-items: flex-start; gap: 10px; line-height: 1.5;
}
.feat-list .ico {
  color: var(--tierra); font-weight: 700;
  flex-shrink: 0; margin-top: 1px; font-size: 13px;
}

/* Feature image container — holds glow */
.feat-img { position: relative; }

/* Ambient glow beneath image */
.feat-img::after {
  content: '';
  position: absolute;
  bottom: -32px; left: 8%; right: 8%;
  height: 80px;
  background: radial-gradient(ellipse at 50% 100%, rgba(196,98,45,.5) 0%, transparent 65%);
  filter: blur(28px);
  z-index: -1;
  pointer-events: none;
  opacity: .6;
  transition: opacity .5s var(--ease-out-expo);
}
.feat-img:hover::after { opacity: 1; }

/* Feature image wrap — app chrome frame */
.feat-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--carbon-2);
  box-shadow:
    0 8px 32px rgba(13,10,7,.14),
    0 32px 80px rgba(13,10,7,.20),
    0 0 0 1px rgba(255,255,255,.06);
  transition: transform .5s var(--ease-out-expo), box-shadow .5s var(--ease-out-expo);
  cursor: zoom-in;
  position: relative;
}

/* macOS window chrome bar (pure CSS, no HTML needed) */
.feat-img-wrap::before {
  content: '';
  display: block;
  height: 36px;
  background-color: var(--carbon-3);
  background-image:
    radial-gradient(circle, #FF5F57 5px, transparent 5px),
    radial-gradient(circle, #FEBC2E 5px, transparent 5px),
    radial-gradient(circle, #28C840 5px, transparent 5px);
  background-size: 10px 10px, 10px 10px, 10px 10px;
  background-position: 14px center, 30px center, 46px center;
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(255,255,255,.05);
  flex-shrink: 0;
}

/* Inset border overlay */
.feat-img-wrap::after {
  content: '';
  position: absolute; inset: 0; border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
  pointer-events: none;
  z-index: 1;
}

.feat-img-wrap:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow:
    0 16px 48px rgba(13,10,7,.18),
    0 48px 100px rgba(13,10,7,.22),
    0 0 0 1px rgba(196,98,45,.22),
    0 0 64px rgba(196,98,45,.1);
}
.feat-img-wrap img {
  display: block; width: 100%;
  transition: transform .6s var(--ease-out-expo);
}
.feat-img-wrap:hover img { transform: scale(1.02); }


/* ── WORKFLOW SECTION ───────────────────────────────────── */
.workflow-section {
  background: var(--carbon);
  padding: 100px 0;
  position: relative; overflow: hidden;
}
.workflow-section::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(196,98,45,.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 80% 50%, rgba(212,168,83,.04) 0%, transparent 60%);
}

.workflow-header {
  text-align: center; margin-bottom: 64px;
}
.workflow-header h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800; letter-spacing: -.03em;
  color: white; margin-bottom: 12px;
}
.workflow-header p {
  font-size: 17px; color: rgba(255,255,255,.4);
  font-weight: 400;
}
.workflow-header .label { color: rgba(255,255,255,.4); }
.workflow-header .label::before { background: rgba(255,255,255,.3); }

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}
/* Connecting line */
.workflow-steps::before {
  content: '';
  position: absolute;
  top: 40px; left: 40px; right: 40px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(196,98,45,.2) 10%,
    rgba(196,98,45,.4) 50%,
    rgba(196,98,45,.2) 90%,
    transparent 100%);
  z-index: 0;
}

.step {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  position: relative; z-index: 1;
  transition: background .3s, border-color .3s, transform .4s var(--ease-out-expo), box-shadow .4s;
}
.step:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(196,98,45,.25);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,.2), 0 0 24px rgba(196,98,45,.08);
}

.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--tierra) 0%, var(--tierra-dark) 100%);
  box-shadow: 0 4px 16px rgba(196,98,45,.3);
  color: white; font-weight: 800; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  position: relative; z-index: 1;
  transition: box-shadow .3s, transform .3s var(--ease-spring);
}
.step:hover .step-num {
  box-shadow: 0 6px 24px rgba(196,98,45,.4);
  transform: scale(1.08);
}

.step h4 {
  font-size: 14px; font-weight: 700; color: white;
  margin-bottom: 10px; letter-spacing: -.01em;
}
.step p {
  font-size: 13px; color: rgba(255,255,255,.38);
  line-height: 1.6; font-weight: 400;
}


/* ── PRICING SECTION ────────────────────────────────────── */
.pricing-section {
  background: var(--surface);
  padding: 100px 0;
}
.pricing-header {
  text-align: center; margin-bottom: 60px;
}
.pricing-header h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800; letter-spacing: -.03em;
  color: var(--text-primary); margin-bottom: 10px;
}
.pricing-header p {
  font-size: 16px; color: var(--text-secondary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.pricing-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative; overflow: hidden;
  transition: transform .45s var(--ease-out-expo), box-shadow .45s, border-color .3s;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(196,98,45,.18);
}
.pricing-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, rgba(196,98,45,.25), transparent);
  opacity: 0; transition: opacity .4s;
}
.pricing-card:hover::before { opacity: 1; }

/* HOT card — Pro */
.pricing-card.hot {
  background: linear-gradient(145deg, var(--tierra) 0%, var(--tierra-dark) 100%);
  border-color: transparent;
  transform: translateY(-8px);
  box-shadow: 0 8px 32px rgba(196,98,45,.3), 0 32px 80px rgba(196,98,45,.15);
}
.pricing-card.hot::before { display: none; }
.pricing-card.hot::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.12) 0%, transparent 50%);
  pointer-events: none;
}
.pricing-card.hot:hover {
  transform: translateY(-12px);
  box-shadow: 0 12px 48px rgba(196,98,45,.4), 0 32px 80px rgba(196,98,45,.2);
  border-color: transparent;
}

.hot-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 20px;
  background: rgba(255,255,255,.2);
  font-size: 11px; font-weight: 700;
  letter-spacing: .03em; text-transform: uppercase;
  color: white; margin-bottom: 16px;
}

.p-tier {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-muted); margin-bottom: 8px;
}
.pricing-card.hot .p-tier { color: rgba(255,255,255,.65); }

.p-price {
  font-size: 38px; font-weight: 800; letter-spacing: -.04em;
  color: var(--text-primary); line-height: 1;
  margin-bottom: 10px;
  display: flex; align-items: baseline; gap: 2px;
}
.p-price sup { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.p-price .period { font-size: 13px; font-weight: 500; color: var(--text-muted); letter-spacing: 0; }
.pricing-card.hot .p-price { color: white; }
.pricing-card.hot .p-price .period { color: rgba(255,255,255,.55); }

.p-desc {
  font-size: 13px; color: var(--text-secondary);
  line-height: 1.5; margin-bottom: 20px;
}
.pricing-card.hot .p-desc { color: rgba(255,255,255,.65); }

.p-divider {
  border: none; border-top: 1px solid var(--border);
  margin-bottom: 20px;
}
.pricing-card.hot .p-divider { border-top-color: rgba(255,255,255,.15); }

.p-list {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 28px;
}
.p-list li {
  font-size: 13px; color: var(--text-secondary);
  display: flex; align-items: flex-start; gap: 9px; line-height: 1.4;
}
.p-list li::before {
  content: '✓';
  color: var(--tierra); font-weight: 700; font-size: 12px;
  flex-shrink: 0; margin-top: 0;
}
.pricing-card.hot .p-list li { color: rgba(255,255,255,.8); }
.pricing-card.hot .p-list li::before { color: rgba(255,255,255,.9); }

/* Pricing buttons */
.btn-p {
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 13px 20px; border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600;
  cursor: pointer; border: none;
  transition: all .35s var(--ease-out-expo);
  letter-spacing: -.01em;
}
.btn-p-tierra {
  background: var(--tierra); color: white;
  box-shadow: 0 2px 8px rgba(196,98,45,.2);
}
.btn-p-tierra:hover {
  background: var(--tierra-dark);
  box-shadow: 0 6px 20px rgba(196,98,45,.3);
  transform: translateY(-2px);
}
.btn-p-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}
.btn-p-outline:hover {
  border-color: var(--tierra); color: var(--tierra);
  background: rgba(196,98,45,.04);
  transform: translateY(-2px);
}
.btn-p-white {
  background: white; color: var(--tierra);
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
}
.btn-p-white:hover {
  background: rgba(255,255,255,.9);
  box-shadow: 0 6px 24px rgba(0,0,0,.15);
  transform: translateY(-2px);
}
.btn-verde {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: var(--radius-sm);
  background: var(--verde); color: white;
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600;
  white-space: nowrap;
  transition: all .35s var(--ease-out-expo);
}
.btn-verde:hover { background: #2d4330; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(61,90,62,.25); }

.social-strip {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-bottom: 24px;
}
.social-strip h4 {
  font-size: 16px; font-weight: 700;
  letter-spacing: -.01em; color: var(--text-primary);
  margin-bottom: 4px;
}
.social-strip p { font-size: 13px; color: var(--text-secondary); }

.pricing-note {
  font-size: 12px; color: var(--text-muted);
  text-align: center; line-height: 1.7; padding: 0 20px;
}


/* ── FAQ SECTION ────────────────────────────────────────── */
.faq-section {
  background: var(--surface);
  padding: 100px 48px;
  max-width: 780px; margin: 0 auto;
}
.faq-header {
  text-align: center; margin-bottom: 52px;
}
.faq-header h2 {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 800; letter-spacing: -.03em;
  color: var(--text-primary); margin-bottom: 8px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 22px 0;
  background: none; border: none; cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 600;
  letter-spacing: -.01em; color: var(--text-primary);
  text-align: left;
  transition: color .3s;
}
.faq-q:hover { color: var(--tierra); }
.faq-item.open .faq-q { color: var(--tierra); }

.arr {
  flex-shrink: 0;
  transition: transform .4s var(--ease-out-expo), color .3s;
  color: var(--text-muted);
}
.faq-item.open .arr { transform: rotate(180deg); color: var(--tierra); }

.faq-a {
  max-height: 0; overflow: hidden;
  font-size: 15px; color: var(--text-secondary);
  line-height: 1.7;
  transition: max-height .5s var(--ease-out-expo), padding .4s var(--ease-out-expo);
  padding-bottom: 0;
}
.faq-a strong { color: var(--text-primary); }
.faq-item.open .faq-a { max-height: 600px; padding-bottom: 24px; }


/* ── TRUST SECTION ──────────────────────────────────────── */
.trust-section {
  background: var(--surface);
  padding: 80px 0 100px;
  border-top: 1px solid var(--border);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.trust-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform .4s var(--ease-out-expo), box-shadow .4s, border-color .3s;
  position: relative; overflow: hidden;
}
.trust-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--tierra), var(--ocre));
  opacity: 0; transition: opacity .4s;
}
.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(196,98,45,.15);
}
.trust-card:hover::before { opacity: 1; }

.trust-icon {
  width: 52px; height: 52px; border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.trust-card h3 {
  font-size: 17px; font-weight: 700; letter-spacing: -.02em;
  color: var(--text-primary); margin-bottom: 12px; line-height: 1.3;
}
.trust-card p {
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.7;
}
.trust-card strong { color: var(--text-primary); }

.trust-badge {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 20px; padding: 6px 12px; border-radius: 20px;
  background: rgba(61,90,62,.07);
  border: 1px solid rgba(61,90,62,.15);
  font-size: 12px; font-weight: 600;
  color: var(--verde);
}
.trust-badge-warm {
  background: rgba(196,98,45,.07);
  border-color: rgba(196,98,45,.15);
  color: var(--tierra);
}


/* ── CTA BAND ───────────────────────────────────────────── */
.cta-band {
  background: var(--tierra);
  padding: 100px 0;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.08) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 50%, rgba(255,255,255,.08) 0%, transparent 60%);
}
.cta-orbs { position: absolute; inset: 0; pointer-events: none; }
.cta-orb {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.08);
  filter: blur(60px);
}
.cta-orb-1 { width: 400px; height: 400px; top: -120px; right: -100px; animation: cta-orb-float 18s ease-in-out infinite alternate; }
.cta-orb-2 { width: 300px; height: 300px; bottom: -80px; left: -80px; animation: cta-orb-float 22s ease-in-out infinite alternate-reverse; }

@keyframes cta-orb-float {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(30px,-20px) scale(1.1); }
}

.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 {
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 800; letter-spacing: -.035em;
  color: white; line-height: 1.15; margin-bottom: 16px;
}
.cta-band p {
  font-size: 18px; color: rgba(255,255,255,.75);
  margin-bottom: 40px; font-weight: 400;
}
.cta-band .reveal { display: block; }
.cta-band .btn-white {
  margin: 0 auto;
  display: inline-flex;
}


/* ── FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--carbon);
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 48px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
footer img { height: 28px; filter: brightness(0) invert(1); opacity: .6; }
.f-links {
  display: flex; flex-wrap: wrap; gap: 6px 24px;
  list-style: none;
}
.f-links a {
  font-size: 13px; color: rgba(255,255,255,.35);
  transition: color .3s;
  font-weight: 500;
}
.f-links a:hover { color: rgba(255,255,255,.7); }
.f-copy {
  font-size: 12px; color: rgba(255,255,255,.25);
  text-align: right; line-height: 1.6;
}
.f-copy a { color: rgba(255,255,255,.35); transition: color .3s; }
.f-copy a:hover { color: rgba(255,255,255,.6); }


/* ── WHATSAPP FLOATING ──────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 200;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.35), 0 2px 8px rgba(0,0,0,.15);
  transition: transform .4s var(--ease-spring), box-shadow .4s;
}
.wa-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 32px rgba(37,211,102,.45), 0 4px 16px rgba(0,0,0,.15);
}


/* ── LIGHTBOX ───────────────────────────────────────────── */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(13,10,7,.92);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  animation: lb-in .25s ease;
  cursor: pointer;
  padding: 32px;
}
@keyframes lb-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.lightbox-img {
  max-width: 90vw; max-height: 88vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
  cursor: default;
  animation: lb-img-in .3s var(--ease-out-expo);
}
@keyframes lb-img-in {
  from { transform: scale(.94); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.lightbox-close {
  position: fixed; top: 20px; right: 24px;
  background: rgba(255,255,255,.1); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
  color: white; font-size: 26px; line-height: 1;
  width: 44px; height: 44px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .25s, transform .25s var(--ease-spring);
}
.lightbox-close:hover { background: rgba(255,255,255,.2); transform: scale(1.1); }
.lightbox-hint {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  font-size: 12px; color: rgba(255,255,255,.35);
  font-family: 'Inter', sans-serif; font-weight: 500;
  pointer-events: none;
}


/* ── DOWNLOAD MODAL ─────────────────────────────────────── */
.dl-modal-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(13,10,7,.75);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.dl-modal {
  background: white;
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
  padding: 40px 36px;
  max-width: 460px; width: 100%;
  position: relative;
  animation: modal-in .35s var(--ease-out-expo);
}
@keyframes modal-in {
  from { transform: scale(.94) translateY(16px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.dl-modal-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; cursor: pointer;
  width: 32px; height: 32px; border-radius: 50%;
  font-size: 20px; color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.dl-modal-close:hover { background: var(--surface); color: var(--text-primary); }
.dl-modal-icon {
  width: 56px; height: 56px; border-radius: var(--radius-sm);
  background: var(--tierra-light); border: 1px solid rgba(196,98,45,.15);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.dl-modal h3 {
  font-family: 'Inter', sans-serif; font-size: 22px; font-weight: 800;
  letter-spacing: -.03em; color: var(--text-primary);
  text-align: center; margin-bottom: 6px;
}
.dl-modal-sub {
  font-size: 14px; color: var(--text-secondary);
  text-align: center; margin-bottom: 28px; line-height: 1.6;
}
.dl-modal-options { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.dl-option {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  transition: border-color .3s, background .3s, box-shadow .3s;
  cursor: pointer;
}
.dl-option:hover {
  border-color: var(--tierra);
  background: var(--tierra-light);
  box-shadow: 0 4px 16px rgba(196,98,45,.1);
}
.dl-option.dl-detected { border-color: var(--tierra); background: var(--tierra-light); }
.dl-option-icon { flex-shrink: 0; }
.dl-option-text { flex: 1; }
.dl-option-text strong {
  display: block; font-size: 15px; font-weight: 700; color: var(--text-primary);
}
.dl-option-text span { font-size: 12px; color: var(--text-secondary); }
.dl-option-file { font-size: 11px; color: var(--text-muted); }
.dl-modal-note {
  font-size: 12px; color: var(--text-muted);
  text-align: center; display: flex; align-items: center; justify-content: center; gap: 6px;
}
.dl-modal-detected {
  font-size: 13px; color: var(--tierra);
  text-align: center; margin-top: 12px; min-height: 18px;
  font-weight: 500;
}

/* ── PRICING TOOLTIPS — beta badge (Muy pronto) + info badge (ℹ) ─── */

/* La card debe permitir overflow para que el tooltip no se corte.
   z-index base en todas + elevación al hovear para que el tooltip
   no quede tapado por las cards adyacentes (que vienen después en el DOM) */
.pricing-card {
  overflow: visible;
  z-index: 1;
}

.pricing-card:hover,
.pricing-card:focus-within {
  z-index: 10;
}

/* El li vuelve a su comportamiento natural (sin flex) para que el check ✓ y el texto queden inline */
.pricing-card .p-list li {
  position: relative;
}

/* BETA BADGE — "Muy pronto" como bloque debajo del texto */
.beta-badge {
  display: inline-block;
  position: relative;
  background: #FFF4DB;
  color: #8A5A00;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  cursor: help;
  border: 1px solid #F2D98A;
  outline: none;
  transition: background 0.15s;
  white-space: nowrap;
  margin-top: 4px;
  vertical-align: middle;
}

/* Forzar salto de línea ANTES del badge para que aparezca debajo del texto */
.beta-badge::before {
  content: '';
  display: block;
  width: 100%;
  height: 0;
  margin-bottom: 2px;
}

.beta-badge:hover,
.beta-badge:focus {
  background: #FFE9B0;
}

.beta-badge-on-hot {
  background: rgba(255, 255, 255, 0.95);
  color: #8A3D10;
  border-color: rgba(255, 255, 255, 0.6);
}

.beta-badge-on-hot:hover,
.beta-badge-on-hot:focus {
  background: #ffffff;
}

/* INFO BADGE — ícono ℹ inline al lado del texto */
.info-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: #999;
  cursor: help;
  position: relative;
  outline: none;
  vertical-align: middle;
  transition: color 0.15s;
  margin-left: 4px;
}

.info-badge svg {
  width: 14px;
  height: 14px;
}

.info-badge:hover,
.info-badge:focus {
  color: #555;
}

.info-badge-on-hot {
  color: rgba(255, 255, 255, 0.75);
}

.info-badge-on-hot:hover,
.info-badge-on-hot:focus {
  color: rgba(255, 255, 255, 1);
}

/* TOOLTIPS — anclados al borde izquierdo del badge (se expanden a la derecha) */
.beta-tooltip,
.info-tooltip {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  transform: none;
  background: #1E1A16;
  color: #F5EDE0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
  padding: 10px 14px;
  border-radius: 10px;
  width: 220px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  z-index: 100;
  transition: opacity 0.18s ease;
  cursor: default;
  text-align: left;
  white-space: normal;
}

/* Flecha del tooltip apuntando al badge desde el lado izquierdo del tooltip */
.beta-tooltip::after,
.info-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 16px;
  transform: none;
  border: 6px solid transparent;
  border-top-color: #1E1A16;
}

.beta-tooltip a,
.info-tooltip a {
  color: #FFD27A;
  text-decoration: underline;
}

.beta-tooltip a:hover,
.info-tooltip a:hover {
  color: #FFE9B0;
}

/* Mostrar tooltip al hacer hover/focus sobre el badge mismo */
.beta-badge:hover .beta-tooltip,
.beta-badge:focus .beta-tooltip,
.beta-badge:focus-within .beta-tooltip,
.info-badge:hover .info-tooltip,
.info-badge:focus .info-tooltip,
.info-badge:focus-within .info-tooltip {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* La última card (Agencia): tooltips alineados al borde derecho del badge,
   expandiéndose hacia la izquierda para no salirse de la pantalla */
.pricing-card:last-child .beta-tooltip,
.pricing-card:last-child .info-tooltip {
  left: auto;
  right: 0;
}

.pricing-card:last-child .beta-tooltip::after,
.pricing-card:last-child .info-tooltip::after {
  left: auto;
  right: 16px;
}

/* Mobile: tooltip más compacto y centrado (cards apiladas verticalmente) */
@media (max-width: 640px) {
  .beta-tooltip,
  .info-tooltip,
  .pricing-card:last-child .beta-tooltip,
  .pricing-card:last-child .info-tooltip {
    width: 200px;
    font-size: 11px;
    padding: 8px 12px;
    left: 0;
    right: auto;
  }

  .beta-tooltip::after,
  .info-tooltip::after,
  .pricing-card:last-child .beta-tooltip::after,
  .pricing-card:last-child .info-tooltip::after {
    left: 16px;
    right: auto;
  }
}
