/* =========================
   Adquiriendo Digital — Premium V2 (Black/Gold)
   Static site: HTML/CSS/JS only
   ========================= */

:root{
  --bg: #000;
  --bg2: #0A0A0A;

  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.70);

  --gold-1: #FEEBC8;
  --gold-2: #D4AF37;
  --gold-3: #996515;

  --stroke: rgba(212,175,55,0.18);
  --stroke2: rgba(254,235,200,0.16);

  --panel: rgba(255,255,255,0.045);
  --panel2: rgba(255,255,255,0.065);

  --shadow-1: 0 18px 60px rgba(0,0,0,0.55);
  --shadow-2: 0 30px 90px rgba(0,0,0,0.65);

  --radius: 18px;
  --radius-lg: 26px;

  --max: 1160px;
  --font: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* ===== Reset / safety ===== */
*{ box-sizing:border-box; }
html,body{ height:100%; }

img,svg{max-width:100%;height:auto;display:block;}
html{overflow-x:clip;}
html{ overflow-x: clip; }
body{
  margin:0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(900px 700px at 18% 0%, rgba(212,175,55,0.16), transparent 55%),
    radial-gradient(900px 700px at 92% 10%, rgba(254,235,200,0.08), transparent 55%),
    radial-gradient(800px 500px at 50% 110%, rgba(153,101,21,0.10), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  overflow-x:hidden;
}
img, svg, video, canvas{ max-width:100%; height:auto; display:block; }

a{ color:inherit; text-decoration:none; }
a.link{ color: var(--gold-1); }
a.link:hover{ text-decoration: underline; text-underline-offset: 3px; }

/* ✅ FIX: container robusto (evita edge cases de min()/calc()) */
.container{
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.center{ display:flex; justify-content:center; align-items:center; }
.mt-24{ margin-top:24px; }
.w-100{ width:100%; }
.muted{ color: var(--muted); }

/* Background FX */
.bg-marble{
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background:
    radial-gradient(1000px 780px at 18% 28%, rgba(212,175,55,0.12), transparent 60%),
    radial-gradient(900px 680px at 78% 26%, rgba(254,235,200,0.08), transparent 60%),
    radial-gradient(700px 520px at 55% 82%, rgba(153,101,21,0.08), transparent 60%);
}

.bg-noise{
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.bg-lines{
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.10;
  background:
    linear-gradient(to right, rgba(255,255,255,0.14) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at 50% 20%, black 0%, transparent 70%);
}

/* Typography (mejor jerarquía) */
.h1, .hero-title{
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.02;
  margin: 0 0 14px;
  letter-spacing: -0.03em;
}
.h2{
  font-size: clamp(24px, 2.6vw, 38px);
  margin: 0;
  letter-spacing: -0.02em;
}
.p-lead{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  max-width: 72ch;
}

/* Gold text + shimmer */
.gold-text{
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2), var(--gold-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gold-shimmer{
  position: relative;
}
.gold-shimmer::after{
  content:"";
  position:absolute;
  inset:-20% -40%;
  background: linear-gradient(120deg, transparent 35%, rgba(254,235,200,0.35) 48%, transparent 60%);
  transform: translateX(-40%);
  opacity: 0.0;
  pointer-events:none;
}
.gold-shimmer:hover::after{
  opacity: 1;
  animation: shimmer 1.2s ease forwards;
}
@keyframes shimmer{
  from{ transform: translateX(-40%); }
  to{ transform: translateX(40%); }
}

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(0,0,0,0.58);
  border-bottom: 1px solid rgba(212,175,55,0.12);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
}
.brand{
  display:flex;
  gap:12px;
  align-items:center;
}
.brand-text{
  display:flex;
  flex-direction:column;
  line-height: 1.05;
}
.brand-title{
  font-weight: 900;
  letter-spacing: 0.2px;
  font-size: 16px;
}
.brand-mark img{width:34px;height:34px;object-fit:contain;filter: drop-shadow(0 10px 30px rgba(212,175,55,0.18));}

.brand-sub{
  font-size: 12px;
  color: var(--muted);
}

/* Nav */
.nav{ position:relative; display:flex; align-items:center; gap: 16px; }
.nav-links{ display:flex; align-items:center; gap: 10px; }
.nav-links a{
  padding: 10px 12px;
  color: rgba(255,255,255,0.82);
  border-radius: 14px;
  font-size: 13px;
  position: relative;
}
.nav-links a:hover{
  background: rgba(255,255,255,0.06);
}
.nav-links a.active{
  background: rgba(212,175,55,0.10);
  border: 1px solid rgba(212,175,55,0.18);
}
.nav-toggle{
  display:none;
  background: transparent;
  border: 0;
  padding: 10px;
  border-radius: 12px;
  cursor:pointer;
}
.nav-toggle span{
  display:block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  margin: 5px 0;
  border-radius: 4px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.2px;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:active{ transform: translateY(1px); }

.btn-gold{
  color: #0b0b0b;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2), var(--gold-3));
  box-shadow: 0 12px 40px rgba(212,175,55,0.22);
}
.btn-gold:hover{
  filter: brightness(1.06);
  box-shadow: 0 18px 70px rgba(212,175,55,0.22);
}
.btn-ghost{
  color: rgba(255,255,255,0.92);
  background: rgba(255,255,255,0.06);
  border-color: rgba(254,235,200,0.16);
}
.btn-ghost:hover{
  background: rgba(255,255,255,0.10);
  border-color: rgba(212,175,55,0.28);
  box-shadow: 0 14px 50px rgba(0,0,0,0.45);
}

/* Sections */
.section{ padding: 74px 0; }
.section-head{ margin-bottom: 22px; }

.section-divider{
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.22), transparent);
  margin: 26px 0;
}

.page-hero{ padding: 48px 0 8px; }

/* Hero */
.hero{ padding: 62px 0 30px; overflow: hidden; } /* ✅ FIX: clip seguro */
.hero-grid{
  display:grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); /* ✅ FIX */
  gap: 26px;
  align-items: stretch;
  width: 100%;
}

.hero-grid > *{min-width:0;}
.hero-grid > *{ min-width: 0; } /* ✅ FIX: evita empuje de ancho */

.hero-sub{
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 16px;
  max-width: 72ch;
}
.hero-cta{ display:flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 18px; }

.kicker{
  display:inline-flex;
  gap: 10px;
  align-items:center;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(254,235,200,0.14);
  color: rgba(255,255,255,0.82);
  font-size: 12px;
  margin-bottom: 14px;
}
.dot{
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2), var(--gold-3));
  box-shadow: 0 0 0 5px rgba(212,175,55,0.10);
}

/* Trust pills (más premium) */
.trust-row{ display:flex; flex-wrap: wrap; gap: 10px; }
.trust-pill{
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(212,175,55,0.16);
  font-size: 12px;
  color: rgba(255,255,255,0.78);
}

/* Cards + Ornate frames */
.card{
  background: linear-gradient(180deg, rgba(255,255,255,0.065), rgba(255,255,255,0.028));
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-1);
}

.frame{
  position: relative;
  border: 1px solid rgba(212,175,55,0.16);
  overflow: hidden;
}
.frame::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: var(--radius-lg);
  pointer-events:none;
  background:
    radial-gradient(14px 14px at 18px 18px, rgba(212,175,55,0.34), transparent 70%),
    radial-gradient(14px 14px at calc(100% - 18px) 18px, rgba(254,235,200,0.26), transparent 70%),
    radial-gradient(14px 14px at 18px calc(100% - 18px), rgba(153,101,21,0.24), transparent 70%),
    radial-gradient(14px 14px at calc(100% - 18px) calc(100% - 18px), rgba(212,175,55,0.34), transparent 70%);
  opacity: .9;
}
.frame::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(600px 240px at 20% 0%, rgba(254,235,200,0.10), transparent 60%),
    radial-gradient(520px 220px at 90% 15%, rgba(212,175,55,0.09), transparent 60%);
  opacity: .75;
}

.frame-mini{
  border: 1px solid rgba(212,175,55,0.14);
  background: rgba(255,255,255,0.03);
  border-radius: 16px;
}

/* Hover lift */
.hover-lift{
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.hover-lift:hover{
  transform: translateY(-4px);
  border-color: rgba(212,175,55,0.30);
  background: linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.030));
  box-shadow: var(--shadow-2);
}

.card-title{ margin: 0 0 8px; font-size: 16px; font-weight: 900; }
.card-text{ margin: 0; color: var(--muted); line-height: 1.75; font-size: 14px; }
.tiny-note{ margin: 14px 0 0; color: rgba(255,255,255,0.62); font-size: 12px; line-height: 1.65; }

.gold-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(212,175,55,0.12);
  border: 1px solid rgba(212,175,55,0.24);
  color: rgba(255,255,255,0.92);
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 10px;
}

/* Grids */
.grid-2{ display:grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* Pricing */
.pricing-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
.price{ padding: 18px; }
.price-top{ margin-bottom: 10px; }
.price-name{ margin: 0; font-size: 18px; font-weight: 950; }
.price-from{ margin: 8px 0 0; color: rgba(255,255,255,0.78); }


/* Plan cards — image header */
.plan-shot{
  height: 160px;
  border-radius: 18px;
  overflow: hidden;
  margin: 0 0 12px;
  border: 1px solid rgba(212,175,55,0.14);
  background: rgba(255,255,255,0.03);
  position: relative;
}
.plan-shot img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.05);
  transition: transform .25s ease, filter .25s ease;
}
.price:hover .plan-shot img{
  transform: scale(1.06);
  filter: saturate(1.12) contrast(1.10);
}
.plan-shot::after{
  content:"";
  position:absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.65));
  pointer-events:none;
}
.price.featured .plan-shot{
  border-color: rgba(212,175,55,0.26);
  box-shadow: 0 18px 80px rgba(212,175,55,0.10);
}

.list{
  margin: 14px 0 0;
  padding-left: 18px;
  color: rgba(255,255,255,0.78);
  line-height: 1.85;
  font-size: 13px;
}
.disclaimer{ margin: 16px 0 0; color: rgba(255,255,255,0.62); font-size: 12px; line-height: 1.65; }

.featured{
  border-color: rgba(212,175,55,0.34);
  box-shadow: 0 28px 100px rgba(212,175,55,0.10), var(--shadow-2);
}
.badge{
  display:inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  background: rgba(212,175,55,0.15);
  border: 1px solid rgba(212,175,55,0.26);
  margin-bottom: 10px;
}

/* Steps */
.steps{ display:grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.step{ padding: 14px; border-radius: 16px; background: rgba(255,255,255,0.03); }
.step-num{ font-weight: 950; font-size: 16px; }
.step-title{ font-weight: 950; margin-top: 8px; }
.step-text{ color: var(--muted); font-size: 12px; line-height: 1.7; margin-top: 6px; }

/* FAQ */
.faq{ display:grid; gap: 12px; }
.faq-item{ padding: 14px 14px; }
.faq-item summary{
  cursor:pointer;
  font-weight: 900;
  list-style: none;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item p{ margin: 10px 0 0; color: var(--muted); line-height: 1.75; font-size: 13px; }

/* CTA strip */
.cta-strip{
  margin-top: 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 18px;
}
.cta-title{ font-weight: 950; font-size: 16px; }
.cta-sub{ color: var(--muted); margin-top: 4px; font-size: 13px; }
.cta-actions{ display:flex; gap: 10px; flex-wrap: wrap; }

/* Carousel */
.carousel{ position: relative; padding: 16px; }
.carousel-track{
  display:flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
}
.carousel-track{ scrollbar-width: none; }
.carousel-track::-webkit-scrollbar{ height: 0; }

.work-card{
  scroll-snap-align: start;
  min-width: clamp(240px, 28vw, 320px);
  border-radius: 18px;
  overflow:hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(212,175,55,0.14);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.work-card:hover{
  transform: translateY(-4px);
  border-color: rgba(212,175,55,0.30);
  box-shadow: var(--shadow-2);
}
.work-shot{ height: 178px; background: linear-gradient(135deg, rgba(254,235,200,0.10), rgba(212,175,55,0.07), rgba(0,0,0,0.3));  background-size: cover; background-position: center; background-repeat: no-repeat; }
.work-shot-1{ background-image: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.62)), url('../img/demos/portfolio-01.png'); }
.work-shot-2{ background-image: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.62)), url('../img/demos/portfolio-02.png'); }
.work-shot-3{ background-image: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.62)), url('../img/demos/portfolio-03.png'); }
.work-shot-4{ background-image: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.62)), url('../img/demos/portfolio-04.png'); }

.work-meta{ padding: 12px; }
.work-title{ font-weight: 950; font-size: 13px; }
.work-sub{ margin-top: 4px; color: var(--muted); font-size: 12px; }

.carousel-btn{
  position:absolute;
  top: 58%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,0.22);
  background: rgba(0,0,0,0.58);
  color: rgba(255,255,255,0.95);
  cursor:pointer;
}
.carousel-btn:hover{ border-color: rgba(212,175,55,0.38); }
.carousel-btn[data-prev]{ left: 10px; }
.carousel-btn[data-next]{ right: 10px; }

/* Coverflow (Teléfonos) */
.coverflow{
  position: relative;
  padding: 18px;

  /* Variables para el JS (responsive) */
  --cf-gap: 260;
  --cf-y: 24;
  --cf-rot: 12;
  --cf-scale: 0.12;
}

.cf-stage{
  position: relative;
  height: clamp(520px, 60vw, 700px);
  perspective: 1400px;
  perspective-origin: 50% 55%;
  overflow: hidden;
  touch-action: pan-y;
}

.cf-track{ position: absolute; inset: 0; transform-style: preserve-3d; }

.cf-item{
  position: absolute;
  left: 50%;
  top: 58%;
  transform-style: preserve-3d;
  transition:
    transform .55s cubic-bezier(.2,.9,.2,1),
    filter .30s ease,
    opacity .30s ease;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.cf-item.is-active{ cursor: default; }

.cf-nav{
  position: absolute;
  top: 58%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,0.22);
  background: rgba(0,0,0,0.58);
  color: rgba(255,255,255,0.95);
  cursor: pointer;
  z-index: 6;
}
.cf-nav:hover{ border-color: rgba(212,175,55,0.38); }
.cf-nav[data-cf-prev]{ left: 10px; }
.cf-nav[data-cf-next]{ right: 10px; }

/* Phone frame */
.phone{
  position: relative;
  width: var(--phone-w, 240px);
  height: var(--phone-h, 500px);
  border-radius: 40px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(0,0,0,0.70));
  border: 1px solid rgba(254,235,200,0.18);
  box-shadow: 0 24px 90px rgba(0,0,0,0.62);
}

.phone::after{
  content:"";
  position:absolute;
  inset: 6px;
  border-radius: 34px;
  border: 1px solid rgba(212,175,55,0.12);
  pointer-events: none;
}

.phone-notch{
  position:absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 44%;
  height: 18px;
  border-radius: 0 0 14px 14px;
  background: rgba(0,0,0,0.92);
  border: 1px solid rgba(254,235,200,0.10);
  z-index: 3;
}

.phone-screen{
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: #000;
}

.phone-screen img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Variantes de tamaño */
.cf-item.size-sm{ --phone-w: 220px; --phone-h: 460px; }
.cf-item.size-md{ --phone-w: 240px; --phone-h: 500px; }
.cf-item.size-lg{ --phone-w: 270px; --phone-h: 540px; }
.cf-item.size-xl{ --phone-w: 300px; --phone-h: 590px; }

@media (max-width: 980px){
  .coverflow{ --cf-gap: 210; --cf-y: 18; }
  .cf-stage{ height: clamp(500px, 72vw, 640px); }
}
@media (max-width: 640px){
  .coverflow{ --cf-gap: 170; --cf-y: 14; --cf-rot: 10; }
  .cf-stage{ height: clamp(480px, 86vw, 600px); }
  .cf-nav{ display: none; }
  .cf-item.size-xl{ --phone-w: 260px; --phone-h: 540px; }
}

/* Forms */
.form{ display:grid; gap: 12px; }
label{ display:grid; gap: 8px; font-size: 12px; color: rgba(255,255,255,0.82); }
input, select, textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(254,235,200,0.14);
  background: rgba(0,0,0,0.35);
  color: rgba(255,255,255,0.90);
  outline: none;
}
input:focus, select:focus, textarea:focus{
  border-color: rgba(212,175,55,0.34);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.12);
}

/* WhatsApp FAB (más premium) */
.wa-fab{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(0,0,0,0.66);
  border: 1px solid rgba(212,175,55,0.26);
  box-shadow: 0 18px 70px rgba(0,0,0,0.62);
}
.wa-fab:hover{ border-color: rgba(212,175,55,0.40); }
.wa-dot{
  width: 10px; height: 10px; border-radius: 99px;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2), var(--gold-3));
  box-shadow: 0 0 0 5px rgba(212,175,55,0.12);
}
.wa-text{ display:flex; flex-direction:column; line-height: 1.05; }
.wa-title{ font-weight: 950; font-size: 12px; }
.wa-sub{ font-size: 11px; color: var(--muted); margin-top: 2px; }
.wa-icon{
  display:flex; align-items:center; justify-content:center;
  width: 26px; height: 26px; border-radius: 99px;
  background: rgba(212,175,55,0.14);
  border: 1px solid rgba(212,175,55,0.24);
}

/* Footer */
.site-footer{
  border-top: 1px solid rgba(212,175,55,0.12);
  padding: 26px 0;
  background: rgba(0,0,0,0.42);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 16px;
  padding-bottom: 14px;
}
.footer-brand{ font-weight: 950; font-size: 16px; }
.footer-sub{ color: var(--muted); margin-top: 4px; font-size: 12px; }
.footer-note{ color: rgba(255,255,255,0.62); font-size: 12px; margin-top: 10px; line-height: 1.65; }
.footer-links{ display:grid; gap: 8px; }
.footer-links a{ color: rgba(255,255,255,0.78); font-size: 13px; }
.footer-links a:hover{ color: rgba(255,255,255,0.95); }
.footer-contacts{ display:grid; gap: 8px; color: rgba(255,255,255,0.78); font-size: 13px; }
.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top: 12px;
  color: rgba(255,255,255,0.75);
  font-size: 12px;
}

/* Reveal (animaciones suaves) */
.reveal{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .pricing-grid{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 860px){
  .nav-toggle{ display:block; }
  .nav-links{
    position: absolute;
    right: 20px;
    top: 64px;
    background: rgba(0,0,0,0.86);
    border: 1px solid rgba(212,175,55,0.16);
    border-radius: 18px;
    padding: 10px;

    /* ✅ FIX: NO 100vw (evita overflow por scrollbar) */
    width: min(320px, calc(100% - 40px));

    display: none;
    flex-direction: column;
    gap: 6px;
  }
  .nav-links.open{ display:flex; }
}

main{overflow-x:clip;}
section{overflow-x:clip;}


/* =========================
   PATCH v6 — Navbar + Planes + pequeños fixes UI
   ========================= */

/* Navbar: botón Home destacado */
.nav-links .nav-home{
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 950;
  letter-spacing: -0.01em;
  box-shadow: 0 16px 50px rgba(212,175,55,0.18);
}
@media (max-width: 980px){
  .nav-links .nav-home{ width: 100%; text-align: center; }
}

/* Planes: alineación y destaque */
.pricing-grid{
  align-items: stretch;
  gap: 18px;
}
.price{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}
.price-top{ margin-top: 2px; }
.price-name{
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.price-name::after{
  content:"";
  display:block;
  width: 46px;
  height: 3px;
  border-radius: 999px;
  margin-top: 10px;
  background: rgba(212,175,55,0.75);
  box-shadow: 0 10px 30px rgba(212,175,55,0.18);
}
.price-from{ margin: 8px 0 0; }
.price .list{ margin: 10px 0 0; padding-left: 18px; flex: 1; }
.price .btn.w-100{ margin-top: auto; }

.badge{
  position: absolute;
  top: 14px;
  left: 14px;
  margin: 0;
  z-index: 2;
}

/* Plan recomendado */
.price.featured{
  border-color: rgba(212,175,55,0.45);
  background:
    radial-gradient(520px 200px at 20% 0%, rgba(212,175,55,0.14), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025));
  box-shadow: 0 30px 120px rgba(212,175,55,0.12), var(--shadow-2);
  transform: translateY(-2px);
}
.price.featured .price-name::after{ background: rgba(254,235,200,0.92); }

/* === Planes mensuales: override scoped (plans1) === */
/* Solo afecta la sección #planes. No modifica otros componentes. */
#planes .pricing-grid{
  align-items: stretch;
  gap: 18px;
}

#planes .price{
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

/* Badge: no debe empujar el contenido (evita desalineado) */
#planes .price.featured .badge{
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  margin: 0;
  pointer-events: none;
  backdrop-filter: blur(10px);
}

/* Más peso visual en títulos */
#planes .price-name{
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -0.02em;
  line-height: 1.12;
}
#planes .price-name::after{
  content:"";
  display:block;
  width: 46px;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2), var(--gold-3));
  opacity: .85;
}

/* Mantener altura coherente y alinear CTA al pie */
#planes .list{ flex: 1; }
#planes .btn.w-100{ margin-top: auto; }

/* Separación visual (cards más claras) */
#planes .price.card{
  border-color: rgba(212,175,55,0.20);
  box-shadow: 0 24px 90px rgba(0,0,0,0.62);
  background: linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.028));
}

/* Acento del plan recomendado */
#planes .price.featured.card{
  border-color: rgba(212,175,55,0.50);
  box-shadow: 0 30px 120px rgba(212,175,55,0.15), var(--shadow-2);
  background:
    radial-gradient(900px 320px at 20% 0%, rgba(212,175,55,0.18), transparent 55%),
    radial-gradient(700px 260px at 90% 10%, rgba(254,235,200,0.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.085), rgba(255,255,255,0.030));
  transform: translateY(-4px);
}

#planes .price.featured .price-name{ font-size: 24px; }

/* En móviles: que el destacado no “salte” demasiado */
@media (max-width: 860px){
  #planes .price.featured.card{ transform: none; }
  #planes .price-name{ font-size: 21px; }
  #planes .price.featured .price-name{ font-size: 22px; }
}
