/* ══════════════════════════════════════════════════════════
   Golden Latam — hoja de estilos (mobile-first)
   ══════════════════════════════════════════════════════════ */
:root{
  --bg:#0a0b0f;
  --bg2:#0f1117;
  --card:#14161f;
  --card2:#191c27;
  --line:rgba(255,255,255,.08);
  --txt:#eef0f6;
  --muted:#9aa0b0;
  --gold:#f5c451;
  --gold2:#e0a92e;
  --gold-soft:rgba(245,196,81,.14);
  --green:#31c48d;
  --radius:18px;
  --wrap:1120px;
  --shadow:0 20px 50px rgba(0,0,0,.45);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Inter',system-ui,sans-serif;
  background:var(--bg);
  color:var(--txt);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3,.brand-text{font-family:'Sora',sans-serif;line-height:1.15;letter-spacing:-.02em}
a{color:inherit;text-decoration:none}
.wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 20px}
.gold{color:var(--gold)}

/* ── Botones ─────────────────────────────────────────── */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  font-weight:600;font-family:'Sora',sans-serif;
  padding:.85rem 1.4rem;border-radius:999px;border:1px solid transparent;
  cursor:pointer;transition:.2s transform,.2s box-shadow,.2s background;
  font-size:.98rem;
}
.btn:active{transform:translateY(1px)}
.btn-gold{
  background:linear-gradient(135deg,var(--gold),var(--gold2));
  color:#20160a;box-shadow:0 8px 24px rgba(245,196,81,.28);
}
.btn-gold:hover{box-shadow:0 12px 30px rgba(245,196,81,.42);transform:translateY(-2px)}
.btn-outline{background:transparent;border-color:var(--gold);color:var(--gold)}
.btn-outline:hover{background:var(--gold-soft)}
.btn-ghost{background:rgba(255,255,255,.06);border-color:var(--line);color:var(--txt)}
.btn-ghost:hover{background:rgba(255,255,255,.12)}
.btn-sm{padding:.55rem 1rem;font-size:.9rem}
.btn-lg{padding:1rem 1.7rem;font-size:1.05rem}
.btn-block{width:100%}

/* ── Nav ─────────────────────────────────────────────── */
.nav{
  position:sticky;top:0;z-index:50;
  background:rgba(10,11,15,.78);backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}
.nav-inner{display:flex;align-items:center;justify-content:space-between;height:64px}
.brand{display:flex;align-items:center;gap:.5rem;font-weight:800}
.brand-mark{color:var(--gold);font-size:1.2rem}
.brand-text{font-size:1.15rem}
.brand-text span{color:var(--gold)}
.nav-links{display:none;gap:1.6rem}
.nav-links a{color:var(--muted);font-size:.95rem;font-weight:500}
.nav-links a:hover{color:var(--txt)}

/* ── Hero ────────────────────────────────────────────── */
.hero{position:relative;padding:56px 0 48px;text-align:center;overflow:hidden}
.hero-glow{
  position:absolute;top:-200px;left:50%;transform:translateX(-50%);
  width:680px;height:680px;border-radius:50%;
  background:radial-gradient(circle,rgba(245,196,81,.20),transparent 62%);
  pointer-events:none;max-width:130vw;
}
.hero-inner{position:relative;z-index:1}
.pill{
  display:inline-block;padding:.4rem .9rem;border-radius:999px;
  background:var(--gold-soft);border:1px solid rgba(245,196,81,.3);
  color:var(--gold);font-size:.8rem;font-weight:600;margin-bottom:1.2rem;
}
.hero h1{font-size:2rem;font-weight:800;margin-bottom:1rem}
.lead{color:var(--muted);font-size:1.05rem;max-width:640px;margin:0 auto 1.8rem}
.lead strong{color:var(--txt)}
.hero-cta{display:flex;flex-direction:column;gap:.7rem;max-width:340px;margin:0 auto 1.8rem}
.hero-badges{display:flex;flex-direction:column;gap:.4rem;color:var(--muted);font-size:.9rem}

/* ── Servicios / chips ───────────────────────────────── */
.services{padding:40px 0;background:var(--bg2);border-block:1px solid var(--line)}
.corp-desc{text-align:center;color:var(--muted);max-width:720px;margin:0 auto 1.6rem;font-size:1rem}
.corp-desc strong{color:var(--gold)}
.chips{display:flex;flex-wrap:wrap;gap:.6rem;justify-content:center}
.chip{
  background:var(--card);border:1px solid var(--line);
  padding:.6rem 1rem;border-radius:999px;font-size:.88rem;color:var(--txt);
}

/* ── Secciones genéricas ─────────────────────────────── */
.section-title{text-align:center;font-size:1.65rem;font-weight:800;margin-bottom:.6rem}
.section-sub{text-align:center;color:var(--muted);max-width:640px;margin:0 auto 2rem}
.features,.pricing,.testimonials,.faq{padding:56px 0}
.pricing{background:var(--bg2)}

/* ── Features ────────────────────────────────────────── */
.feature-grid{display:grid;grid-template-columns:1fr;gap:1rem}
.feature{
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  padding:1.4rem;transition:.2s transform,.2s border-color;
}
.feature:hover{transform:translateY(-3px);border-color:rgba(245,196,81,.35)}
.feature span{font-size:1.8rem;display:block;margin-bottom:.6rem}
.feature h3{font-size:1.1rem;margin-bottom:.35rem}
.feature p{color:var(--muted);font-size:.92rem}

/* ── Pricing (carrusel en móvil, grid en desktop) ─────── */
.swipe-hint{
  text-align:center;color:var(--gold);font-size:.85rem;font-weight:600;
  margin-bottom:1rem;opacity:.85;
}
.plan-grid{
  display:flex;gap:1rem;overflow-x:auto;scroll-snap-type:x mandatory;
  padding:14px 4px 8px;margin:0 -4px;
  -webkit-overflow-scrolling:touch;scrollbar-width:none;
}
.plan-grid::-webkit-scrollbar{display:none}
.plan{
  position:relative;background:var(--card);border:1px solid var(--line);
  border-radius:var(--radius);padding:1.6rem 1.4rem;display:flex;flex-direction:column;
  flex:0 0 84%;scroll-snap-align:center;
}
.plan-featured{
  border-color:var(--gold);
  box-shadow:0 0 0 1px var(--gold),0 20px 50px rgba(245,196,81,.16);
  background:linear-gradient(180deg,var(--card2),var(--card));
}
.plan-badge{
  position:absolute;top:-11px;left:50%;transform:translateX(-50%);
  background:linear-gradient(135deg,var(--gold),var(--gold2));color:#20160a;
  font-size:.7rem;font-weight:700;padding:.28rem .8rem;border-radius:999px;
  white-space:nowrap;font-family:'Sora',sans-serif;letter-spacing:.01em;
}
.plan-head{margin-bottom:.9rem}
.plan-name{font-size:1.22rem;margin:.3rem 0 .25rem}
.plan-sub{color:var(--muted);font-size:.86rem;line-height:1.4}
.plan-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:.3rem;margin-bottom:1.1rem}
.plan-cur{color:var(--muted);font-weight:600;font-size:.95rem}
.plan-amount{font-family:'Sora',sans-serif;font-size:2.5rem;font-weight:800;color:var(--gold);line-height:1}
.plan-once{width:100%;color:var(--muted);font-size:.78rem;margin-top:.15rem}
.plan-custom{font-family:'Sora',sans-serif;font-size:1.5rem;font-weight:700;color:var(--gold)}
.plan .btn-block{margin-bottom:1.1rem}
.plan-features{list-style:none;margin:0 0 .4rem}
.plan-features li{position:relative;padding-left:1.55rem;margin-bottom:.5rem;font-size:.9rem;color:#d4d8e4;line-height:1.4}
.plan-features li::before{content:"✓";position:absolute;left:0;top:0;color:var(--green);font-weight:700}
.plan-more{margin-top:auto;border-top:1px solid var(--line);padding-top:.7rem}
.plan-more summary{
  list-style:none;cursor:pointer;color:var(--gold);font-size:.85rem;font-weight:600;
  display:flex;align-items:center;gap:.35rem;
}
.plan-more summary::-webkit-details-marker{display:none}
.plan-more summary::after{content:"▾";transition:transform .2s}
.plan-more[open] summary::after{transform:rotate(180deg)}
.plan-more ul{list-style:none;margin-top:.7rem}
.plan-more li{position:relative;padding-left:1.55rem;margin-bottom:.45rem;font-size:.85rem;color:var(--muted);line-height:1.4}
.plan-more li::before{content:"✓";position:absolute;left:0;color:var(--green)}
.vip-form{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1.1rem}
.vip-form label{font-size:.82rem;color:var(--muted)}
.vip-form input{
  background:var(--bg);border:1px solid var(--line);border-radius:12px;
  padding:.75rem 1rem;color:var(--txt);font-size:1rem;font-family:inherit;
}
.vip-form input:focus{outline:none;border-color:var(--gold)}
.plan-link{display:block;text-align:center;color:var(--muted);font-size:.82rem;margin-top:.7rem}
.plan-link:hover{color:var(--gold)}
.pay-note{text-align:center;color:var(--muted);font-size:.85rem;margin-top:1.8rem}
.alert{
  background:rgba(245,196,81,.12);border:1px solid rgba(245,196,81,.4);
  color:var(--gold);padding:.9rem 1.2rem;border-radius:12px;text-align:center;
  margin-bottom:1.5rem;font-size:.92rem;
}

/* ── Testimonios ─────────────────────────────────────── */
.test-grid{display:grid;grid-template-columns:1fr;gap:1rem}
.test{
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  padding:1.5rem;
}
.test p{font-style:italic;color:#d4d8e4;margin-bottom:.9rem}
.test footer{color:var(--gold);font-weight:600;font-size:.9rem}

/* ── FAQ ─────────────────────────────────────────────── */
.faq details{
  background:var(--card);border:1px solid var(--line);border-radius:14px;
  padding:1rem 1.2rem;margin-bottom:.7rem;cursor:pointer;
}
.faq summary{font-weight:600;list-style:none;position:relative;padding-right:1.5rem}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:0;color:var(--gold);font-size:1.3rem;line-height:1}
.faq details[open] summary::after{content:"–"}
.faq details p{color:var(--muted);margin-top:.7rem;font-size:.94rem}

/* ── CTA final ───────────────────────────────────────── */
.cta-final{text-align:center;padding:64px 0;background:
  radial-gradient(circle at 50% 0%,rgba(245,196,81,.12),transparent 60%),var(--bg2)}
.cta-final h2{font-size:1.7rem;margin-bottom:.6rem}
.cta-final p{color:var(--muted);margin-bottom:1.6rem}

/* ── Footer ──────────────────────────────────────────── */
.footer{background:var(--bg);border-top:1px solid var(--line);padding:40px 0 24px}
.footer-inner{display:flex;flex-direction:column;gap:1.4rem}
.foot-desc{color:var(--muted);font-size:.9rem;margin-top:.7rem;max-width:420px}
.foot-links{display:flex;flex-direction:column;gap:.55rem}
.foot-links a{color:var(--muted);font-size:.9rem}
.foot-links a:hover{color:var(--gold)}
.foot-contact{display:flex;flex-direction:column;gap:.5rem}
.foot-contact a{color:var(--gold);font-size:.95rem}
.foot-legal{border-top:1px solid var(--line);margin-top:1.8rem;padding-top:1.4rem}
.foot-legal p{color:var(--muted);font-size:.8rem;margin-bottom:.4rem}
.risk{opacity:.8}
.foot-credit{margin-top:.8rem;font-size:.82rem;color:var(--muted)}
.foot-credit strong{color:var(--gold)}

/* ── WhatsApp flotante ───────────────────────────────── */
.wa-float{
  position:fixed;bottom:20px;right:20px;z-index:60;
  width:56px;height:56px;border-radius:50%;
  background:#25d366;display:flex;align-items:center;justify-content:center;
  font-size:1.6rem;box-shadow:0 10px 26px rgba(37,211,102,.4);
  transition:.2s transform;
}
.wa-float:hover{transform:scale(1.08)}

/* ── Páginas de estado (success/cancel) ──────────────── */
.page-center{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px}
.status-card{
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  padding:2.4rem 1.8rem;max-width:440px;text-align:center;box-shadow:var(--shadow);
}
.status-icon{
  width:72px;height:72px;border-radius:50%;margin:0 auto 1.2rem;
  display:flex;align-items:center;justify-content:center;font-size:2.2rem;font-weight:700;
}
.status-icon.success{background:rgba(49,196,141,.15);color:var(--green)}
.status-icon.cancel{background:rgba(245,81,81,.15);color:#f55}
.status-card h1{font-size:1.5rem;margin-bottom:.8rem}
.status-card p{color:var(--muted);margin-bottom:1rem}
.status-card .btn{margin-top:.4rem;width:100%}

/* ── Páginas legales ─────────────────────────────────── */
.legal{padding:40px 0 24px}
.legal-wrap{max-width:820px}
.legal h1{font-size:1.9rem;margin-bottom:.4rem}
.legal-updated{color:var(--muted);font-size:.85rem;margin-bottom:2rem}
.legal h2{font-size:1.15rem;margin:2rem 0 .6rem;color:var(--gold)}
.legal p,.legal li{color:#cfd3df;font-size:.95rem;margin-bottom:.7rem;line-height:1.7}
.legal ul{padding-left:1.2rem;margin-bottom:.7rem}
.legal li{margin-bottom:.4rem}
.legal a{color:var(--gold);text-decoration:underline}
.legal strong{color:var(--txt)}
.legal-back{margin-top:2.4rem;padding-top:1.4rem;border-top:1px solid var(--line)}
.legal-back a{color:var(--gold);font-weight:600;text-decoration:none}

/* ── Nav: menú móvil ─────────────────────────────────── */
.nav-right{display:flex;align-items:center;gap:.6rem}
.nav-toggle{
  display:flex;flex-direction:column;justify-content:center;gap:5px;
  width:40px;height:40px;background:rgba(255,255,255,.06);border:1px solid var(--line);
  border-radius:10px;cursor:pointer;padding:0 9px;
}
.nav-toggle span{display:block;height:2px;background:var(--txt);border-radius:2px;transition:.25s}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.nav-mobile{
  display:none;flex-direction:column;background:rgba(10,11,15,.99);
  border-top:1px solid var(--line);
}
.nav-mobile.open{display:flex}
.nav-mobile a{padding:.95rem 20px;color:var(--txt);font-weight:500;border-bottom:1px solid var(--line)}
.nav-mobile a:hover{background:rgba(255,255,255,.04);color:var(--gold)}

/* ── Breadcrumbs ─────────────────────────────────────── */
.crumbs{padding:12px 0;font-size:.82rem;border-bottom:1px solid var(--line);background:var(--bg2)}
.crumbs a{color:var(--muted)}
.crumbs a:hover{color:var(--gold)}
.crumbs span{color:var(--txt)}
.crumbs .sep{margin:0 .5rem;color:var(--muted)}

/* ── Cabecera de página + secciones ──────────────────── */
.pagehead{padding:44px 0 8px;text-align:center}
.pagehead .pill{margin-bottom:1rem}
.pagehead h1{font-size:1.85rem;margin-bottom:.6rem}
.pagehead p{color:var(--muted);max-width:640px;margin:0 auto;font-size:1.02rem}
.section{padding:44px 0}
.prose{max-width:820px}
.prose h2{color:var(--gold);font-size:1.3rem;margin:2rem 0 .7rem}
.prose p{color:#cfd3df;line-height:1.75;margin-bottom:.9rem}
.prose strong{color:var(--txt)}

/* ── Valores (sobre nosotros) ────────────────────────── */
.values{display:grid;grid-template-columns:1fr;gap:1rem;margin:1.4rem 0 2rem}
.value{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:1.3rem}
.value span{font-size:1.7rem;display:block;margin-bottom:.5rem}
.value h3{font-size:1.05rem;margin-bottom:.3rem}
.value p{color:var(--muted);font-size:.9rem}

/* ── Blog ────────────────────────────────────────────── */
.blog-grid{display:grid;grid-template-columns:1fr;gap:1.2rem}
.blog-card{
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;transition:.2s transform,.2s border-color;
}
.blog-card:hover{transform:translateY(-3px);border-color:rgba(245,196,81,.35)}
.blog-card-link{display:block;padding:1.5rem}
.blog-tag{
  display:inline-block;background:var(--gold-soft);color:var(--gold);
  font-size:.72rem;font-weight:700;padding:.25rem .7rem;border-radius:999px;
  margin-bottom:.8rem;font-family:'Sora',sans-serif;
}
.blog-card h2,.blog-card h3{font-size:1.15rem;margin-bottom:.5rem;color:var(--txt);line-height:1.3}
.blog-excerpt{color:var(--muted);font-size:.92rem;margin-bottom:.9rem;line-height:1.55}
.blog-meta{color:var(--muted);font-size:.8rem;margin-bottom:.7rem;display:flex;gap:.4rem;flex-wrap:wrap}
.blog-more{color:var(--gold);font-weight:600;font-size:.88rem}

/* ── Artículo ────────────────────────────────────────── */
.article{padding:30px 0 8px}
.article-wrap{max-width:760px}
.article h1{font-size:1.9rem;margin:.7rem 0 .5rem;line-height:1.2}
.article-body{margin-top:1.6rem}
.article-body p{color:#cfd3df;line-height:1.8;margin-bottom:1.1rem;font-size:1.02rem}
.article-body h2{font-size:1.3rem;color:var(--gold);margin:1.9rem 0 .7rem}
.article-body ul,.article-body ol{padding-left:1.3rem;margin-bottom:1.1rem;color:#cfd3df}
.article-body li{margin-bottom:.5rem;line-height:1.7}
.article-body strong{color:var(--txt)}
.article-body em{color:#e6d9b8}
.article-cta{
  background:radial-gradient(circle at 50% 0%,rgba(245,196,81,.12),transparent 70%),var(--card);
  border:1px solid rgba(245,196,81,.3);border-radius:var(--radius);
  padding:1.8rem 1.4rem;text-align:center;margin:2.4rem 0;
}
.article-cta h3{font-size:1.2rem;margin-bottom:.5rem}
.article-cta p{color:var(--muted);margin-bottom:1.2rem}

/* ── Contacto ────────────────────────────────────────── */
.contact-grid{display:grid;grid-template-columns:1fr;gap:1rem;margin-bottom:2rem}
.contact-card{
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  padding:1.6rem;transition:.2s transform,.2s border-color;
}
a.contact-card:hover{transform:translateY(-3px);border-color:rgba(245,196,81,.4)}
.contact-icon{font-size:2rem;display:block;margin-bottom:.6rem}
.contact-card h2{font-size:1.15rem;margin-bottom:.4rem}
.contact-card p{color:var(--muted);font-size:.92rem;margin-bottom:.6rem;line-height:1.6}

/* ── Página de productos ─────────────────────────────── */
.product-row{
  display:grid;grid-template-columns:1fr;gap:1.4rem;
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  padding:1.6rem;margin-bottom:1.4rem;
}
.product-row.is-featured{border-color:var(--gold);box-shadow:0 0 0 1px var(--gold)}
.product-info h2{font-size:1.4rem;margin:.5rem 0 .2rem}
.product-tagline{color:var(--gold);font-weight:600;font-size:.9rem;margin-bottom:.3rem}
.product-sub{color:var(--muted);font-size:.92rem;margin-bottom:1rem}
.product-features{list-style:none}
.product-features li{position:relative;padding-left:1.5rem;margin-bottom:.5rem;font-size:.9rem;color:#d4d8e4;line-height:1.4}
.product-features li::before{content:"✓";position:absolute;left:0;color:var(--green);font-weight:700}
.product-buy{
  background:var(--bg2);border:1px solid var(--line);border-radius:14px;
  padding:1.3rem;align-self:start;
}
.product-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:.3rem;margin-bottom:1rem}

/* ── Footer en columnas ──────────────────────────────── */
.footer-grid{display:grid;grid-template-columns:1fr;gap:1.8rem}
.foot-desc{color:var(--muted);font-size:.9rem;margin-top:.7rem;max-width:420px}
.foot-col{display:flex;flex-direction:column;gap:.55rem}
.foot-col h3{font-family:'Sora',sans-serif;font-size:.95rem;margin-bottom:.3rem;color:var(--txt)}
.foot-col a{color:var(--muted);font-size:.9rem}
.foot-col a:hover{color:var(--gold)}

/* ══════════════════════════════════════════════════════
   Desktop / tablet
   ══════════════════════════════════════════════════════ */
@media(min-width:720px){
  .nav-links{display:flex}
  .hero{padding:88px 0 72px}
  .hero h1{font-size:3.2rem}
  .hero-cta{flex-direction:row;max-width:none;justify-content:center}
  .hero-badges{flex-direction:row;justify-content:center;gap:1.4rem}
  .section-title{font-size:2.1rem}
  .feature-grid{grid-template-columns:repeat(3,1fr)}
  .swipe-hint{display:none}
  .plan-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.4rem;overflow:visible;margin:0}
  .plan{flex:none;scroll-snap-align:none}
  .test-grid{grid-template-columns:repeat(3,1fr)}
  .nav-toggle{display:none}
  .pagehead{padding:72px 0 16px}
  .pagehead h1{font-size:2.6rem}
  .values{grid-template-columns:repeat(3,1fr)}
  .blog-grid{grid-template-columns:repeat(2,1fr)}
  .contact-grid{grid-template-columns:repeat(3,1fr)}
  .product-row{grid-template-columns:1fr 300px}
  .product-features{columns:2;column-gap:1.4rem}
  .footer-grid{grid-template-columns:2fr 1fr 1fr 1fr;gap:2rem}
}
@media(min-width:1000px){
  .plan-grid{grid-template-columns:repeat(4,1fr)}
  .plan-featured{transform:scale(1.03)}
  .blog-grid{grid-template-columns:repeat(3,1fr)}
}
