/* ═══════════════════════════════════════════════════
   ACTION TRADER PRO — Mobile Responsive Styles
   IMPORTANTE: Este archivo NO modifica desktop
   Solo aplica en dispositivos móviles y tablets
═══════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════
   TABLET & MOBILE (max-width: 1024px)
═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  /* Reducir padding de secciones */
  .sec {
    padding: 90px 0;
  }

  .wrap {
    padding: 0 24px;
  }

  /* Ajustar cursor personalizado — ocultarlo en touch devices */
  #cur,
  #cur2 {
    display: none !important;
  }

  body {
    cursor: auto !important;
  }

  /* Ajustar tamaños de fuente */
  .h1 {
    font-size: clamp(36px, 6vw, 52px);
    letter-spacing: -0.04em;
  }

  .h2 {
    font-size: clamp(30px, 5vw, 44px);
    letter-spacing: -0.035em;
  }

  .sub {
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.65;
  }

  .lbl {
    font-size: 11px;
    margin-bottom: 16px;
  }
}

/* ═══════════════════════════════════════════════════
   TABLET (max-width: 900px)
═══════════════════════════════════════════════════ */
@media (max-width: 900px) {
  /* ══════════ NAVIGATION ══════════ */
  nav {
    padding: 12px 16px;
  }

  .nav-pill {
    padding: 0 12px;
    height: 48px;
  }

  .nav-i {
    justify-content: space-between;
  }

  .nav-i .logo {
    margin-right: 0;
  }

  .nav-i .nav-r {
    margin-left: 0;
  }

  /* Ajustar botones del nav */
  .btn-p {
    font-size: 12px;
    padding: 6px 14px;
  }

  .btn-g {
    display: none; /* Ocultar "Iniciar sesión" en mobile */
  }

  .lang-selector {
    margin-right: 8px;
  }

  /* ══════════ HERO ══════════ */
  #hero {
    min-height: auto;
    padding: 90px 0 50px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    min-height: auto;
    padding: 0;
  }

  .hero-left,
  .hero-right {
    width: 100%;
    max-width: none;
  }

  .hero-left {
    text-align: left;
    align-items: flex-start;
  }

  .hero-badge {
    margin-bottom: 8px; /* Cerca del título */
  }

  .h1 {
    margin-bottom: 16px;
  }

  .hero-ctas {
    flex-direction: row;
    gap: 12px;
    margin-top: 28px;
  }

  .btn-xl,
  .btn-xl2 {
    flex: 1;
    min-width: 0;
  }

  .trust-note {
    max-width: 100%;
  }

  .logos-wrap {
    margin-top: 36px;
  }

  .logos-row2 {
    gap: 14px;
  }

  .logo-tag {
    opacity: 0.32;
  }

  /* Hero visual - MANTENERLO visible pero optimizado */
  .hero-right {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }

  .hero-img-wrap {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }

  .hero-img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* Ocultar orbs decorativos para mejor rendimiento */
  .hero-orb {
    display: none;
  }

  /* ══════════ PROBLEM SECTION ══════════ */
  .prob-layout {
    flex-direction: column;
    gap: 32px;
  }

  .prob-tabs {
    width: 100%;
    max-width: none;
  }

  .prob-panel {
    width: 100%;
    max-width: none;
  }

  /* Mobile step indicator */
  .prob-mobile-step {
    display: block !important;
    text-align: center;
    font-size: 12px;
    color: var(--t3);
    margin-bottom: 16px;
  }

  .prob-dot-nav {
    display: flex !important;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
  }

  .prob-tab {
    padding: 16px;
  }

  .pt-title {
    font-size: 16px;
  }

  .pt-desc {
    font-size: 13px;
  }

  /* ══════════ MARQUEE ══════════ */
  .marquee-wrap {
    height: 50px;
  }
}

/* ═══════════════════════════════════════════════════
   MOBILE (max-width: 768px)
═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* ══════════ GENERAL ══════════ */
  .sec {
    padding: 70px 0;
  }

  .wrap {
    padding: 0 18px;
  }

  .h1 {
    font-size: clamp(32px, 8.5vw, 44px);
    letter-spacing: -0.04em;
  }

  .h2 {
    font-size: clamp(26px, 6.5vw, 36px);
    letter-spacing: -0.035em;
  }

  .sub {
    font-size: 16px;
    line-height: 1.6;
  }

  .lbl {
    font-size: 10px;
    margin-bottom: 14px;
  }

  /* ══════════ NAVIGATION ══════════ */
  .logo-wordmark {
    font-size: 14px;
  }

  .logo-mark {
    width: 24px;
    height: 24px;
  }

  /* ══════════ HERO ══════════ */
  #hero {
    padding: 70px 0 40px;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  /* Hero reordering - display: contents hace que los hijos de .hero-left
     sean flex items directos de .hero-inner, permitiendo reordenarlos con .hero-right */
  .hero-left {
    display: contents;
  }

  /* Orden personalizado en mobile:
     1. Badge
     2. Título
     3. Subtítulo
     4. Imagen
     5. CTAs
     6. Trust note
     7. Logos */

  /* Badge: arranque del hero, cercanía con título */
  .hero-badge {
    order: 1;
    font-size: 11px;
    padding: 7px 13px;
    margin-bottom: 8px; /* MUY cerca del título - mismo bloque visual */
    text-align: left;
  }

  .hdot {
    width: 5px;
    height: 5px;
  }

  /* Título: elemento principal, cercanía con subtítulo que lo explica */
  .h1 {
    order: 2;
    font-size: clamp(32px, 8.5vw, 42px);
    line-height: 1.08;
    margin-bottom: 10px; /* Cercanía con subtítulo - relación semántica fuerte */
    text-align: left;
  }

  /* Subtítulo: explica el título, pero necesita separarse de la imagen */
  .sub {
    order: 3;
    font-size: 16px;
    line-height: 1.6;
    margin-top: 0 !important; /* Sin espacio extra arriba, ya lo tiene el h1 */
    max-width: 100% !important;
    margin-bottom: 32px; /* Separación clara antes de la imagen - cambio de tipo de contenido */
    text-align: left;
  }

  /* Imagen: elemento visual fuerte, necesita respiro antes de los CTAs */
  .hero-right {
    order: 4;
    display: flex;
    justify-content: center;
    margin-bottom: 28px; /* Espacio medio antes de CTAs - transición visual->acción */
  }

  .hero-img-wrap {
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
  }

  /* CTAs: elementos de acción, grupo cerrado con trust note */
  .hero-ctas {
    order: 5;
    margin-top: 0;
    margin-bottom: 0; /* Sin espacio extra, la trust note está cerca */
    flex-direction: column;
    gap: 10px;
  }

  .btn-xl,
  .btn-xl2 {
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
  }

  .btn-xl {
    box-shadow: 0 0 28px rgba(0, 212, 255, 0.22);
  }

  /* Trust note: complementa los CTAs, debe estar cerca */
  .trust-note {
    order: 6;
    font-size: 12px;
    margin-top: 14px; /* Cercanía con CTAs - información complementaria */
    line-height: 1.55;
    text-align: left;
  }

  /* Logos: sección separada de compatibilidad */
  .logos-wrap {
    order: 7;
    margin-top: 32px; /* Separación clara - es una sección distinta */
    padding-top: 26px; /* Borde superior visual */
    text-align: left;
  }

  .logos-ttl {
    font-size: 10px;
    margin-bottom: 12px;
  }

  .logos-row2 {
    gap: 11px;
  }

  .logo-tag {
    font-size: 9px;
    padding: 6px 9px;
  }

  /* ══════════ MARQUEE ══════════ */
  .marquee-wrap {
    padding: 18px 0;
  }

  .marquee-track {
    gap: 36px;
  }

  .mq-item {
    font-size: 12px;
  }

  /* ══════════ PROBLEM SECTION ══════════ */
  #problem {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  #problem .lbl {
    margin-bottom: 14px;
  }

  #problem .h2 {
    max-width: 100%;
  }

  #problem .sub {
    max-width: 100%;
    margin-top: 12px;
  }

  .prob-layout {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 44px;
  }

  .prob-tabs {
    width: 100%;
    gap: 10px;
  }

  .prob-tab {
    padding: 18px 20px;
    border-radius: 12px;
  }

  .pt-num {
    font-size: 11px;
    margin-bottom: 10px;
  }

  .pt-title {
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 6px;
  }

  .pt-desc {
    font-size: 13px;
    line-height: 1.5;
  }

  .prob-panel {
    width: 100%;
  }

  .prob-view {
    padding: 28px 24px;
  }

  .pv-tag {
    font-size: 11px;
    padding: 5px 13px;
    margin-bottom: 14px;
  }

  .pv-title {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 12px;
  }

  .pv-body {
    font-size: 16px;
    line-height: 1.65;
  }

  /* Mobile step indicator */
  .prob-mobile-step {
    display: block !important;
    text-align: center;
    font-size: 12px;
    color: var(--t3);
    margin-bottom: 16px;
    font-family: 'Geist Mono', monospace;
  }

  .prob-dot-nav {
    display: flex !important;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
  }

  /* ══════════ STEPS / STACKING CARDS ══════════ */
  #steps {
    padding: 60px 0;
  }

  .steps-header {
    margin-bottom: 40px;
  }

  .stack-scene {
    padding-bottom: 40px;
  }

  .scard-wrap {
    position: relative !important;
    top: auto !important;
    padding: 0 !important;
  }

  .scard-spacer {
    height: 24px !important;
  }

  .scard {
    grid-template-columns: 1fr !important;
    gap: 20px;
    padding: 24px 20px;
  }

  .sc-num {
    font-size: 60px;
  }

  .sc-title {
    font-size: 18px;
  }

  .sc-body {
    font-size: 14px;
  }

  .sc-left,
  .sc-right {
    width: 100%;
  }

  /* ══════════ TESTIMONIALS ══════════ */
  .testi-carousel {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 3%, black 97%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, black 3%, black 97%, transparent 100%);
  }

  .tc {
    width: 280px;
    padding: 24px 20px;
  }

  .tq {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .stars {
    font-size: 12px;
  }

  .tm {
    font-size: 11px;
    padding: 7px 11px;
  }

  .tc-author {
    font-size: 13px;
  }

  .tc-role {
    font-size: 11px;
  }

  /* ══════════ METRICS ══════════ */
  .met-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .met-col {
    padding: 28px 16px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .met-col:nth-child(odd) {
    border-right: 1px solid var(--border);
  }

  .met-col:last-child,
  .met-col:nth-last-child(2) {
    border-bottom: none;
  }

  .met-big {
    font-size: clamp(32px, 8vw, 42px);
  }

  .met-desc {
    font-size: 13px;
  }

  /* ══════════ MARKETPLACE ══════════ */
  .mkt-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mkt-left {
    order: 2;
  }

  .mkt-right {
    order: 1;
  }

  .mkt-feed-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mkt-browser {
    padding: 20px;
  }

  /* ══════════ PRICING ══════════ */
  .plans {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 380px;
    margin: 0 auto;
  }

  .plan {
    padding: 28px 24px;
  }

  .plan.feat {
    margin-top: 0;
  }

  .plan-emoji {
    font-size: 28px;
  }

  .plan-name {
    font-size: 20px;
  }

  .plan-price-num {
    font-size: 36px;
  }

  .plan-tagline {
    font-size: 13px;
  }

  .plan-feats li {
    font-size: 13px;
  }

  .btn-plan {
    padding: 10px 14px;
    font-size: 13px;
  }

  .billing-toggle {
    display: flex;
    margin-inline: auto;
    margin-bottom: 32px;
  }

  .bt-opt {
    font-size: 13px;
    padding: 7px 16px;
  }

  .bt-save {
    font-size: 10px;
    padding: 3px 8px;
  }

  /* ══════════ FAQ ══════════ */
  .faq-list {
    gap: 12px;
  }

  .faq-item {
    padding: 18px;
  }

  .fi {
    font-size: 15px;
    padding-right: 32px;
  }

  .fa {
    font-size: 13px;
    margin-top: 12px;
  }

  .fi-icon {
    width: 18px;
    height: 18px;
  }

  /* ══════════ CTA FINAL ══════════ */
  #cta-end {
    padding: 60px 0;
  }

  #cta-end .h2 {
    font-size: clamp(24px, 6vw, 32px);
  }

  #cta-end .sub {
    font-size: 14px;
    margin-top: 12px;
  }

  .btn-cta-final {
    font-size: 14px;
    padding: 13px 24px;
    width: 100%;
    max-width: none;
  }

  /* ══════════ FOOTER ══════════ */
  footer {
    padding: 48px 0 32px;
  }

  .ft-card {
    padding: 32px 24px;
    border-radius: 20px;
  }

  .ft-g {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
  }

  .ft-brand {
    text-align: center;
  }

  .ft-brand p {
    margin: 12px auto 0;
    max-width: 100%;
  }

  .ft-col {
    text-align: center;
  }

  .ft-col h4 {
    font-size: 10px;
  }

  .ft-col ul li a {
    font-size: 13px;
  }

  .ft-bot {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .ft-disc {
    max-width: 100%;
  }

  .ft-sub {
    flex-direction: column;
    gap: 20px;
    padding: 24px 20px;
    text-align: center;
  }

  /* ── HERO ACTIONS — all pages with dual CTA buttons ── */
  .hero-ctas,
  .cta-actions,
  .risk-hero-actions,
  .risk-cta-actions,
  .bt-hero-actions,
  .bt-cta-actions,
  .auto-hero-actions,
  .auto-cta-actions,
  .alg-hero-actions,
  .alg-cta-actions,
  .ia-hero-actions,
  .ia-cta-actions,
  .mkt-hero-actions,
  .ent-hero-actions,
  .uc-bottom-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-ctas .btn-xl,
  .hero-ctas .btn-xl2,
  .cta-actions .btn-cta-final,
  .cta-actions .btn-cta-ghost,
  .risk-hero-actions .btn-xl,
  .risk-hero-actions .btn-out,
  .risk-cta-actions .btn-xl,
  .risk-cta-actions .btn-out,
  .bt-hero-actions .btn-xl,
  .bt-hero-actions .btn-out,
  .bt-cta-actions .btn-xl,
  .bt-cta-actions .btn-out,
  .auto-hero-actions .btn-xl,
  .auto-hero-actions .btn-out,
  .auto-cta-actions .btn-xl,
  .auto-cta-actions .btn-out,
  .alg-hero-actions .btn-xl,
  .alg-hero-actions .btn-out,
  .alg-cta-actions .btn-xl,
  .alg-cta-actions .btn-out,
  .ia-hero-actions .btn-xl,
  .ia-hero-actions .btn-out,
  .ia-cta-actions .btn-xl,
  .ia-cta-actions .btn-out,
  .mkt-hero-actions .btn-xl,
  .mkt-hero-actions .btn-out,
  .ent-hero-actions .btn-xl,
  .ent-hero-actions .btn-out,
  .uc-bottom-actions .btn-xl,
  .uc-bottom-actions .btn-xl2 {
    display: flex !important;
    flex: unset;
    width: 100% !important;
    white-space: nowrap;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    padding: 14px 24px !important;
    font-size: 15px !important;
  }
}

/* ═══════════════════════════════════════════════════
   MOBILE PEQUEÑO (max-width: 480px)
═══════════════════════════════════════════════════ */
@media (max-width: 480px) {
  /* ══════════ GENERAL ══════════ */
  .sec {
    padding: 56px 0;
  }

  .wrap {
    padding: 0 16px;
  }

  .lbl {
    font-size: 10px;
    margin-bottom: 12px;
  }

  .h1 {
    font-size: clamp(28px, 9vw, 36px);
    letter-spacing: -0.04em;
  }

  .h2 {
    font-size: clamp(24px, 7.5vw, 30px);
    letter-spacing: -0.035em;
  }

  .sub {
    font-size: 15px;
    line-height: 1.55;
  }

  /* ══════════ NAVIGATION ══════════ */
  nav {
    padding: 10px 14px;
  }

  /* En 480px: una sola fila limpia — logo + idioma + CTA */
  .nav-pill {
    height: 46px;
    padding: 0 10px;
    border-radius: 999px;
  }

  .logo-wordmark {
    display: none; /* Solo isotipo */
  }

  .logo-mark {
    width: 22px;
    height: 22px;
  }

  .nav-i {
    flex-wrap: nowrap; /* Una sola fila */
    align-items: center;
  }

  .nav-i .nav-links {
    display: none; /* Sin espacio para links en 412px */
  }

  .nav-i .logo {
    margin-right: 0;
  }

  .nav-i .nav-r {
    margin-left: auto;
    gap: 6px;
  }

  .btn-g {
    display: none;
  }

  .btn-p {
    font-size: 11px;
    padding: 6px 12px;
  }

  .lang-selector {
    margin-right: 4px;
  }

  .lang-btn {
    padding: 5px 8px;
    font-size: 11px;
  }

  /* ══════════ HERO ══════════ */
  #hero {
    padding: 80px 0 40px; /* 46px nav + 10px padding + 24px respiro */
  }

  .hero-inner {
    padding: 0;
  }

  .hero-badge {
    font-size: 10px;
    padding: 6px 12px;
    margin-bottom: 6px;
  }

  .hdot {
    width: 4px;
    height: 4px;
  }

  .h1 {
    font-size: clamp(28px, 9vw, 36px);
    margin-bottom: 8px;
    line-height: 1.08;
  }

  .sub {
    font-size: 15px;
    line-height: 1.55;
    margin-top: 0 !important;
    margin-bottom: 20px;
  }

  .hero-right {
    margin-top: 0;
    margin-bottom: 20px;
  }

  .hero-img-wrap {
    max-width: 260px;
    margin: 0 auto;
  }

  .hero-img {
    width: 100%;
    height: auto;
    display: block;
  }

  .hero-ctas {
    margin-top: 0;
    gap: 10px;
  }

  .btn-xl,
  .btn-xl2 {
    padding: 14px 20px;
    font-size: 14px;
    border-radius: 9px;
  }

  .trust-note {
    font-size: 11px;
    margin-top: 14px;
    line-height: 1.6;
  }

  .logos-wrap {
    margin-top: 24px;
    padding-top: 24px;
  }

  .logos-ttl {
    font-size: 9px;
    margin-bottom: 12px;
  }

  .logos-row2 {
    gap: 10px;
  }

  .logo-tag {
    font-size: 8px;
    padding: 5px 8px;
  }

  /* ══════════ MARQUEE ══════════ */
  .marquee-wrap {
    padding: 16px 0;
  }

  .marquee-track {
    gap: 24px;
  }

  .mq-item {
    font-size: 11px;
  }

  /* ══════════ PROBLEM ══════════ */
  #problem {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .prob-tab {
    padding: 14px 16px;
  }

  .pt-num {
    font-size: 10px;
  }

  .pt-title {
    font-size: 14px;
  }

  .pt-desc {
    font-size: 11px;
  }

  .prob-view {
    padding: 20px 16px;
  }

  .pv-tag {
    font-size: 10px;
    padding: 4px 10px;
  }

  .pv-title {
    font-size: 19px;
    margin-top: 10px;
  }

  .pv-body {
    font-size: 13px;
    margin-top: 8px;
  }

  .prob-mobile-step {
    font-size: 11px;
    margin-bottom: 12px;
  }

  .prob-dot-nav {
    gap: 6px;
    margin-bottom: 20px;
  }

  /* ══════════ BUTTONS ══════════ */
  .btn-plan {
    font-size: 12px;
    padding: 9px 12px;
  }

  .btn-cta-final {
    font-size: 13px;
    padding: 12px 20px;
  }

  /* ══════════ PRICING ══════════ */
  .pricing-grid {
    max-width: 100%;
  }

  .plans {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .plan {
    padding: 24px 20px;
  }

  .plan-emoji {
    font-size: 24px;
  }

  .plan-name {
    font-size: 18px;
  }

  .plan-price-num {
    font-size: 32px;
  }

  .plan-feats li {
    font-size: 12px;
  }

  .billing-toggle {
    display: flex;
    margin-inline: auto;
    padding: 3px;
    margin-bottom: 24px;
  }

  .bt-opt {
    padding: 8px 16px;
  }

  /* ══════════ FAQ ══════════ */
  .faq-list {
    gap: 8px;
  }

  .fi {
    padding: 14px 12px;
  }

  .fq {
    font-size: 13px;
    padding-right: 26px;
  }

  .fa {
    font-size: 11px;
    margin-top: 8px;
    line-height: 1.5;
  }

  .fi-icon {
    font-size: 16px;
  }

  /* ══════════ AMBIENT GLOW — Reducir para performance ══════════ */
  #ambient-glow {
    opacity: 0.5;
  }
}

/* ═══════════════════════════════════════════════════
   HOVER STATES — Desactivar en touch devices
═══════════════════════════════════════════════════ */
@media (hover: none) and (pointer: coarse) {
  /* Remover todos los hover effects complejos */
  .crystal:hover,
  .crystal-cyan:hover,
  .crystal-violet:hover,
  .crystal-green:hover,
  .crystal-amber:hover,
  .crystal-neutral:hover {
    border-color: inherit;
    box-shadow: inherit;
    transition: none;
  }

  /* Simplificar hover de botones */
  .btn:hover,
  .btn-primary:hover,
  .btn-secondary:hover,
  .btn-xl:hover,
  .btn-xl2:hover {
    transform: none;
  }

  /* Usar active states en lugar de hover */
  .btn:active,
  .btn-primary:active,
  .btn-xl:active {
    transform: scale(0.97);
    background: var(--cyan);
  }
}

/* ═══════════════════════════════════════════════════
   PERFORMANCE OPTIMIZATIONS — Mobile
═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Reducir blur en backdrop-filter para mejor performance */
  .nav-pill,
  .crystal {
    backdrop-filter: blur(8px) saturate(1.2);
    -webkit-backdrop-filter: blur(8px) saturate(1.2);
  }

  /* Mantener hero vivo en mobile: solo ocultamos orbs pesados */
  .hero-orb {
    display: none !important;
  }

  #ptc-wrap,
  #disintegration-wrap {
    display: block !important;
  }

  /* Simplificar shadows complejos */
  .crystal,
  .crystal-cyan,
  .crystal-violet {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  }
}

/* ═══════════════════════════════════════════════════
   LANDSCAPE MOBILE FIX
═══════════════════════════════════════════════════ */
@media (max-width: 900px) and (orientation: landscape) {
  #hero {
    min-height: auto;
    padding: 48px 0 32px;
  }

  .hero-inner {
    flex-direction: row;
    align-items: center;
  }

  .hero-left,
  .hero-right {
    width: 50%;
  }

  .hero-left {
    text-align: left;
  }

  .hero-badge {
    justify-content: flex-start;
  }

  .hero-ctas {
    flex-direction: row;
    justify-content: flex-start;
  }

  .btn-xl,
  .btn-xl2 {
    width: auto;
  }
}

/* ═══════════════════════════════════════════════════
   HAMBURGER MENU — Base styles (always in DOM)
═══════════════════════════════════════════════════ */

/* Hidden on desktop; CSS shows it at ≤480px */
.mob-ham {
  display: none;
}

/* Full-screen overlay behind drawer */
.mob-overlay {
  position: fixed;
  inset: 0;
  z-index: 195;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.mob-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Drawer panel */
.mob-drawer {
  position: fixed;
  top: 70px; /* 10px + 46px pill + 10px + 4px gap */
  left: 14px;
  right: 14px;
  z-index: 201;
  background: rgba(8, 12, 20, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.mob-drawer.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Drawer inner list area */
.mob-drawer-inner {
  padding: 8px;
}

.mob-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Each nav row */
.mob-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--t1);
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}

.mob-nav-link:hover,
.mob-nav-link:focus {
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

/* Accordion chevron */
.mob-nav-chevron {
  opacity: 0.45;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.mob-nav-group-btn.expanded .mob-nav-chevron {
  transform: rotate(180deg);
}

/* Products sub-list */
.mob-sub-list {
  list-style: none;
  margin: 2px 0 4px;
  padding: 0 0 0 8px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.mob-sub-list.open {
  max-height: 480px;
}

.mob-sub-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 400;
  color: var(--t2);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}

.mob-sub-link:hover {
  color: var(--t1);
  background: rgba(255, 255, 255, 0.05);
}

.mob-sub-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* Bottom CTA section */
.mob-drawer-cta {
  padding: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin-top: 6px;
}

.mob-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px;
  background: var(--cyan);
  color: #080C14;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: background 0.15s, box-shadow 0.15s;
}

.mob-cta-btn:hover {
  background: #19DAFF;
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.35);
}

/* ═══════════════════════════════════════════════════
   HAMBURGER BUTTON — visible only at ≤480px
═══════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .mob-ham {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    width: 30px;
    height: 30px;
    padding: 0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 7px;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: 6px;
  }

  .mob-ham-line {
    display: block;
    width: 15px;
    height: 1.5px;
    background: var(--t1);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease, width 0.2s ease;
  }

  /* Animate lines to X */
  .mob-ham.open .mob-ham-line:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
  }

  .mob-ham.open .mob-ham-line:nth-child(2) {
    opacity: 0;
    width: 0;
  }

  .mob-ham.open .mob-ham-line:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
  }
}

/* ═══════════════════════════════════════════════════
   DARK MODE ADJUSTMENTS — Mobile
═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Ajustar contraste en mobile para mejor legibilidad */
  .h1, .h2 {
    color: #FAFAFA;
  }

  .sub {
    color: #D1D5DB;
  }

  /* Mejorar contraste de cards */
  .crystal,
  .crystal-cyan,
  .crystal-neutral {
    background: rgba(13, 19, 33, 0.85);
  }
}
