/* =============================================
   ASTON GLOBAL TRADER — landing.css
   Mobile First · Optimizado 393px
   ============================================= */
:root{
  --blue:#004aad;
  --blue-dark:#003585;
  --blue-deep:#002566;
  --gold:#c89a3d;
  --ink:#10234a;
  --muted:#5c6880;
  --line:#dfe6f1;
  --soft:#f3f7fd;
  --white:#ffffff;
}
html{scroll-behavior:smooth;overflow-x:hidden}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,sans-serif;
  color:var(--ink);background:#fff;line-height:1.35;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;max-width:100vw;
}
*{box-sizing:border-box}
img{display:block;max-width:100%}
a{text-decoration:none;color:inherit}
button{font:inherit}
.shell{width:calc(100% - 32px);max-width:1180px;margin-inline:auto;min-width:0}
.skip-link{position:fixed;left:8px;top:-60px;z-index:9999;background:var(--blue);color:#fff;padding:8px 12px;border-radius:8px}
.skip-link:focus{top:8px}

/* HEADER */
.topbar{position:fixed;inset:0 0 auto;z-index:1000;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid rgba(0,74,173,.07)}
.header-inner{min-height:72px;display:flex;align-items:center;justify-content:space-between}
.brand img{width:280px;height:56px;object-fit:contain;object-position:left center}
.header-actions{display:flex;align-items:center;gap:8px}
.whatsapp-square,.menu-button{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;flex-shrink:0}
.whatsapp-square{background:#25d366;color:#fff;display:none}
.whatsapp-square svg{width:20px;fill:currentColor}
.menu-button{border:1px solid var(--line);background:#fff;gap:4px;align-content:center;cursor:pointer;-webkit-tap-highlight-color:transparent}
.menu-button span{width:18px;height:2px;background:var(--blue-dark);display:block}
.mobile-menu{max-height:0;overflow:hidden;background:#fff;transition:max-height .22s ease}
.mobile-menu.open{max-height:330px;border-top:1px solid var(--line)}
.mobile-menu a{display:block;padding:12px 16px;border-bottom:1px solid var(--line);font-size:.88rem;font-weight:700;color:var(--ink)}

/* HERO */
.hero{padding:90px 0 8px;background:#fff}
.hero-wrap{display:flex;flex-direction:column;gap:14px}
.hero-copy{padding:4px 0 0;min-width:0}
.hero h1{margin:0;font-size:1.48rem;line-height:1.05;letter-spacing:-.04em;font-weight:800;word-break:break-word}
.hero h1 span{color:var(--blue)}
.gold-line{width:46px;height:2px;background:var(--gold);margin:10px 0}
.hero-copy>p{margin:0;color:var(--muted);font-size:.9rem}
.hero-actions{display:grid;gap:8px;margin-top:14px}
.btn{min-height:48px;padding:0 16px;border-radius:11px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:.75rem;font-weight:800;text-transform:uppercase;-webkit-tap-highlight-color:transparent;white-space:nowrap;border:none;cursor:pointer}
.btn-primary{background:var(--blue);color:#fff;box-shadow:0 9px 20px rgba(0,74,173,.18)}
.btn-secondary{border:1.3px solid var(--blue);background:#fff;color:var(--blue)}
.btn-gold{background:var(--gold);color:#fff}
.btn-icon{font-size:.88rem;flex-shrink:0}
.btn-arrow{margin-left:auto;font-size:1.1rem;flex-shrink:0}
.whatsapp-color{color:#25d366}
.trust-row{display:flex;flex-wrap:wrap;gap:4px 10px;margin-top:8px;color:var(--muted);font-size:.64rem}
.trust-row span::before{content:"•";color:var(--gold);margin-right:4px}

/* Hero imagen / placeholder */
.hero-image{border-radius:14px;overflow:hidden;background:#e8f0fb;width:100%}
.hero-image img{width:100%;aspect-ratio:4/3;object-fit:cover}
.hero-placeholder{width:100%;aspect-ratio:4/3;display:flex;align-items:center;justify-content:center;background:var(--soft);border-radius:14px;border:2px dashed var(--line)}
.hero-placeholder p{text-align:center;color:var(--muted);font-size:.75rem;line-height:1.6}
.hero-placeholder code{font-size:.7rem;background:#e2e8f2;padding:2px 6px;border-radius:4px}

/* BENEFICIOS */
.benefits{padding:14px 0 10px}
.benefits-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.benefit-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px 8px;text-align:center;box-shadow:0 4px 16px rgba(0,74,173,.10);min-width:0;overflow:hidden}
.icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;margin:0 auto 8px;background:#edf4ff;color:var(--blue);flex-shrink:0}
.icon svg{width:22px;height:22px}
.icon img{width:22px;height:22px;filter:invert(22%) sepia(94%) saturate(1500%) hue-rotate(210deg) brightness(85%) contrast(95%)}
.benefit-card h2{margin:0;font-size:.72rem;line-height:1.2;font-weight:700;word-break:break-word}

/* SECCIONES */
.section{padding:24px 0}
.compact-section{padding-top:20px;padding-bottom:20px}
.section-soft{background:var(--soft)}
.section-heading{text-align:center;margin-bottom:12px;min-width:0}
.heading-line{display:inline-block;width:26px;height:1.5px;background:var(--gold);vertical-align:middle}
.section-heading h2{display:inline-block;margin:0 7px;font-size:1.1rem;line-height:1.05;letter-spacing:-.025em;word-break:break-word}
.section-heading p{margin:5px 0 0;color:var(--muted);font-size:.7rem}

/* CATEGORÍAS */
.categories{display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;gap:8px;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-bottom:6px}.categories::-webkit-scrollbar{display:none}.category-card{flex:0 0 38vw;min-width:130px}
.category-card{background:#fff;border:1px solid var(--line);border-radius:9px;overflow:hidden;box-shadow:0 4px 10px rgba(0,74,173,.06);min-width:0;display:flex;flex-direction:column;-webkit-tap-highlight-color:transparent}
.category-card img{width:100%;aspect-ratio:1/1;object-fit:cover;display:block}
.cat-placeholder{display:none;width:100%;aspect-ratio:1/1;background:var(--soft);align-items:center;justify-content:center;font-size:.55rem;color:var(--muted);text-align:center;line-height:1.5}
/* Mostrar placeholder si imagen falla */
.category-card img[style*="display: none"] + .cat-placeholder{display:flex}
.category-card:not(:has(img[src])) .cat-placeholder{display:flex}
.category-card span{display:block;padding:5px 2px;text-align:center;font-size:.65rem;font-weight:800;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* VENTAJAS */
.advantages{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
.advantage{text-align:center;padding:8px 4px;min-width:0}
.advantage-icon{width:34px;height:34px;border-radius:50%;border:1.4px solid var(--blue);display:grid;place-items:center;color:var(--blue);margin:0 auto 6px;flex-shrink:0}
.advantage-icon svg{width:16px;height:16px}
.advantage h3{margin:0;font-size:.54rem;line-height:1.12;font-weight:700;word-break:break-word}

/* PASOS */
.steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
.step{text-align:center;padding:4px 2px;flex:0 0 22%;min-width:60px;display:flex;flex-direction:column;align-items:center}
.step span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--blue);color:#fff;font-size:.65rem;font-weight:800;margin:0 0 6px;flex-shrink:0}
.step h3{margin:6px 0 0;font-size:.52rem;line-height:1.15;font-weight:700;word-break:break-word}.step img{margin:0 0 2px;width:20px;height:20px}.step-icon{width:52px;height:52px;border-radius:50%;background:#edf4ff;display:flex;align-items:center;justify-content:center;margin:0 auto 6px}

/* EXPERIENCIA */
.experience{padding:4px 0 20px}
.experience-card{display:flex;flex-direction:column;gap:14px;background:linear-gradient(135deg,#eef4ff,#fff);border-radius:14px;padding:14px;min-width:0;overflow:hidden}
.experience-copy{min-width:0}
.experience-copy h2{margin:0;font-size:.95rem;line-height:1.1;letter-spacing:-.025em;font-weight:800;word-break:break-word}
.experience-copy p{margin:7px 0 0;color:var(--muted);font-size:.62rem;line-height:1.35}
.experience-copy ul{list-style:none;padding:0;margin:7px 0 0}
.experience-copy li{font-size:.62rem;margin:3px 0}
.experience-copy li::before{content:"✓";color:var(--blue);font-weight:800;margin-right:5px}
.experience-image{border-radius:10px;overflow:hidden;width:100%}
.experience-image img{width:100%;aspect-ratio:16/9;object-fit:cover}
.exp-placeholder{width:100%;aspect-ratio:3/2;display:flex;align-items:center;justify-content:center;background:var(--soft);border-radius:10px;border:2px dashed var(--line)}
.exp-placeholder p{text-align:center;color:var(--muted);font-size:.7rem;line-height:1.6}
.exp-placeholder code{font-size:.65rem;background:#e2e8f2;padding:2px 6px;border-radius:4px}

/* CTA */
.cta{padding:0 0 10px}
.cta-card{background:var(--blue-dark);color:#fff;border-radius:13px;padding:14px;display:flex;flex-direction:column;gap:10px;overflow:hidden}
.cta-whatsapp{width:38px;height:38px;border-radius:50%;background:#25d366;display:grid;place-items:center;flex-shrink:0}
.cta-header{display:flex;align-items:center;gap:10px}
.cta-copy{min-width:0}
.cta-copy h2{margin:0;font-size:.82rem;line-height:1.12;word-break:break-word}
.cta-copy p{margin:4px 0 0;color:rgba(255,255,255,.72);font-size:.58rem}
.cta-card .btn{width:100%;min-height:44px;font-size:.65rem}

/* FOOTER */
.footer{background:var(--blue-deep);color:#fff;padding:14px 0 10px}
.footer-inner{text-align:center}
.footer-row{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;margin-bottom:8px}
.footer img{height:28px;width:auto}
.footer-values{display:flex;justify-content:center;gap:8px;font-size:.52rem;text-transform:uppercase;flex-wrap:wrap;color:rgba(255,255,255,.6)}
.footer-values span{padding:0 6px;border-right:1px solid rgba(255,255,255,.2)}
.footer-values span:last-child{border-right:none}
.footer p{margin:7px 0 0;font-size:.48rem;color:rgba(255,255,255,.4)}

/* FLOTANTE */
.floating-whatsapp{position:fixed;right:14px;bottom:14px;width:52px;height:52px;border-radius:50%;background:#25d366;display:grid;place-items:center;box-shadow:0 8px 20px rgba(37,211,102,.35);z-index:900;-webkit-tap-highlight-color:transparent}

/* ANIMACIONES */
.reveal{opacity:0;transform:translateY(10px);transition:.4s ease}
.reveal.visible{opacity:1;transform:none}

/* 430px */
@media(min-width:430px){
  .hero h1{font-size:1.68rem}
  .benefit-card h2{font-size:.64rem}
  .category-card span{font-size:.73rem}
  .advantage h3,.step h3{font-size:.6rem}
}

/* 700px TABLET/DESKTOP */
@media(min-width:700px){
  .shell{width:min(calc(100% - 48px),1180px)}
  .header-inner{min-height:72px}
  .brand img{width:220px}
  .whatsapp-square{display:grid}
  .hero{padding-top:110px}
  .hero-wrap{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center}
  .hero h1{font-size:2.4rem}
  .hero-copy>p{font-size:1rem}
  .hero-actions{grid-template-columns:max-content max-content}
  .hero-image img{aspect-ratio:1/1}
  .section{padding:44px 0}
  .section-heading h2{font-size:1.7rem}
  .benefit-card{padding:16px 8px}
  .benefit-card h2{font-size:.8rem}
  .icon{width:36px;height:36px}
  .icon svg{width:20px;height:20px}
  .category-card span{font-size:.90rem;padding:7px 3px}
  .advantage h3,.step h3{font-size:.72rem}
  .advantage-icon{width:40px;height:40px}
  .advantage-icon svg{width:20px;height:20px}
  .experience-card{display:grid;grid-template-columns:1.05fr .95fr;gap:20px;align-items:center;padding:20px}
  .experience-copy h2{font-size:1.7rem}
  .experience-copy p,.experience-copy li{font-size:.85rem}
  .exp-placeholder{aspect-ratio:3/2}
  .cta-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;padding:20px 24px;gap:14px}
  .cta-card .btn{width:auto;white-space:nowrap;font-size:.7rem}
  .cta-copy h2{font-size:1rem}
  .cta-copy p{font-size:.72rem}
  .footer-values{font-size:.6rem}
}

/* 980px */
@media(min-width:980px){
  .hero{padding-top:100px}
  .hero h1{font-size:3.04rem}
  .benefits-grid{gap:14px}
  .benefit-card{padding:20px 10px}
  .benefit-card h2{font-size:.9rem}
  .category-card span{font-size:1rem}
  .experience-copy h2{font-size:2rem}
}

@media(prefers-reduced-motion:reduce){
  *{scroll-behavior:auto!important;transition:none!important}
  .reveal{opacity:1;transform:none}
}

.step-arrow{font-size:.9rem;color:var(--muted);align-self:flex-start;padding-top:8px;flex-shrink:0}
.steps{display:flex;flex-direction:row;align-items:flex-start;justify-content:center;gap:0;overflow-x:auto}
#categorias,#ventajas,#como-comprar,#experiencia,#contacto,#inicio{scroll-margin-top:82px}
/* UBICACIONES */
.ubicaciones{padding:4px 0 16px}
.ubicaciones-card{border:1.5px solid var(--gold);border-radius:14px;padding:12px 14px;background:#fff}
.ubicaciones-titulo{text-align:center;font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.12em;color:var(--gold);margin-bottom:12px}
.ubicaciones-grid{display:flex;align-items:stretch;gap:0}
.ubicacion-item{flex:1;display:flex;flex-direction:column;gap:8px;padding:0 6px;min-width:0}.ubicacion-item:first-child{padding-left:4px;padding-right:14px}.ubicacion-item:last-child{padding-left:6px;padding-right:4px}
.ubicacion-top{display:flex;align-items:center;gap:8px}
.pin-icon{width:22px;height:22px;flex-shrink:0}
.ubicacion-zona{display:block;font-size:.65rem;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;white-space:nowrap}
.ubicacion-ciudad{display:block;font-size:1.15rem;font-weight:800;color:var(--gold);line-height:1;white-space:nowrap}
.ubicacion-bottom{display:flex;align-items:center;gap:8px}
.ubicacion-bottom p{margin:0;font-size:.72rem;color:var(--muted);line-height:1.4;flex:1}
.ciudad-img{width:52px;height:52px;object-fit:contain;opacity:.45;flex-shrink:0}
.ubicaciones-divider{width:1px;background:var(--line);flex-shrink:0;align-self:stretch}
@media(min-width:600px){
  .categories{overflow-x:visible;flex-wrap:nowrap;}
  .category-card{flex:1 1 0 !important;min-width:0 !important;}
}