/*
Theme Name: NEXYO
Theme URI: https://laumc26.github.io/bbva-genz/
Author: NEXYO
Author URI: https://laumc26.github.io/bbva-genz/
Description: Theme de WordPress para NEXYO, la banca digital de BBVA para jóvenes y universitarios. Generado a partir de la landing page oficial (React/Vite) del proyecto.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: nexyo
*/

/* ============ Tokens de marca ============ */
:root {
  --yellow: #FFF546;
  --teal: #209BA3;
  --deep: #00545F;
  --navy: #17242E;
  --sage: #E9F1F0;
  --white: #ffffff;
  --muted: #5A6773;
  --line: rgba(23, 36, 46, .08);
  --line-strong: rgba(23, 36, 46, .14);
  --font-display: 'Julius Sans One', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--sage);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 1024px) { .container { padding: 0 40px; } }

h1, h2, h3, .display {
  font-family: var(--font-display);
  letter-spacing: .01em;
  margin: 0;
  font-weight: 400;
}

/* ============ Botones de marca ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  transition: background-color .3s ease, transform .2s ease;
}
.btn:hover { transform: scale(1.03); }
.btn-primary { background: var(--teal); color: var(--white); box-shadow: 0 8px 22px -8px rgba(32,155,163,.55); }
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-ghost { background: var(--white); color: var(--navy); border: 1.5px solid var(--line-strong); }
.btn-sm { padding: 10px 22px; }

/* ============ Header ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: var(--yellow);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 2px 16px rgba(23,36,46,.12); }
.site-header nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 1024px) { .site-header nav { padding: 0 40px; } }
.site-logo { display: flex; align-items: center; gap: 10px; }
.site-logo img { width: 32px; height: 32px; object-fit: contain; }
.site-logo span { font-family: var(--font-display); font-size: 18px; letter-spacing: .05em; }

.nav-links { display: none; align-items: center; gap: 32px; }
.nav-links a { font-size: 14px; font-weight: 500; transition: opacity .2s; }
.nav-links a:hover { opacity: .6; }

.nav-actions { display: none; align-items: center; gap: 12px; }
.nav-actions a.login-link { font-size: 14px; font-weight: 500; padding: 8px 16px; }

.nav-mobile-toggle { display: flex; padding: 8px; background: none; border: none; color: var(--navy); }
.nav-mobile-panel { display: none; flex-direction: column; gap: 16px; padding: 12px 24px 24px; background: var(--yellow); border-top: 1px solid var(--line); }
.nav-mobile-panel.is-open { display: flex; }
.nav-mobile-panel a { font-size: 14px; font-weight: 500; padding: 4px 0; }

@media (min-width: 1024px) {
  .nav-links, .nav-actions { display: flex; }
  .nav-mobile-toggle, .nav-mobile-panel { display: none !important; }
}

/* Bocadillo de login */
.login-popover-wrap { position: relative; }
.login-popover {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 14px);
  width: min(288px, calc(100vw - 32px));
  background: var(--white);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 20px 50px -14px rgba(23,36,46,.4);
  border: 1px solid var(--line);
  z-index: 60;
}
.login-popover.is-open { display: block; }
.login-popover::before {
  content: "";
  position: absolute;
  top: -8px; right: 32px;
  width: 16px; height: 16px;
  background: var(--white);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  transform: rotate(45deg);
}
.login-popover label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.login-popover input {
  width: 100%; margin-bottom: 12px; padding: 10px 12px; border-radius: 8px;
  border: 1.5px solid var(--line-strong); font-size: 14px; color: var(--navy); font-family: var(--font-body);
}
.login-popover .btn { width: 100%; }

/* ============ Hero ============ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 140px 0 70px;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.65); }
.hero-inner { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .hero-inner { grid-template-columns: 1fr 1fr; } }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); margin-bottom: 28px;
  font-size: 12px; font-weight: 600; color: var(--white);
}
.hero h1 { font-size: clamp(2.8rem, 6.2vw, 5rem); line-height: 1.02; color: var(--white); margin-bottom: 24px; }
.hero p.lead { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.75); max-width: 460px; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Escaparate de tarjetas */
.card-showcase { display: flex; flex-direction: column; align-items: center; }
.card-stage { position: relative; height: 300px; width: 100%; display: flex; align-items: center; justify-content: center; }
.nex-card {
  position: absolute;
  width: 280px; height: 168px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 50px -16px rgba(0,84,95,.45);
  transition: transform .5s ease, opacity .5s ease, filter .5s ease;
  cursor: pointer;
  border: none; padding: 0;
}
.nex-card[data-pos="0"] { transform: translate(0,0) rotate(0deg) scale(1.04); z-index: 3; opacity: 1; }
.nex-card[data-pos="1"] { transform: translate(78px,26px) rotate(11deg) scale(.86); z-index: 1; opacity: .8; filter: brightness(.92); }
.nex-card[data-pos="-1"] { transform: translate(-78px,26px) rotate(-11deg) scale(.86); z-index: 1; opacity: .8; filter: brightness(.92); }
.nex-card-debito { background: linear-gradient(160deg,#DADFE1 0%,#B7BCBF 30%,#8D9396 62%,#6C7275 100%); }
.nex-card-credito { background: linear-gradient(160deg,#1C2023 0%,#0C0E10 55%,#000000 100%); }
.nex-card-virtual { background: linear-gradient(155deg, var(--teal) 0%, var(--deep) 65%, #052A30 100%); }
.nex-card-texture { position: absolute; inset: 0; opacity: .5; mix-blend-mode: overlay; pointer-events: none;
  background: repeating-linear-gradient(97deg, rgba(255,255,255,.16) 0 1px, transparent 1px 3px); }
.nex-card-top { position: absolute; top: 20px; left: 20px; right: 20px; display: flex; justify-content: space-between; align-items: center; }
.nex-card-brand { font-family: var(--font-display); font-size: 14px; font-weight: 900; letter-spacing: .14em; }
.nex-card-badge { font-family: var(--font-display); font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.nex-card-chip { position: absolute; left: 20px; top: 76px; width: 36px; height: 28px; border-radius: 6px;
  background: linear-gradient(155deg,#F5E1A4 0%,#D8B45C 45%,#C89A3E 100%); border: 1px solid rgba(0,0,0,.15); }
.nex-card-number { position: absolute; left: 20px; top: 118px; font-size: 14px; letter-spacing: .22em; opacity: .75; }
.nex-card-bottom { position: absolute; bottom: 16px; left: 20px; right: 20px; display: flex; justify-content: space-between; align-items: center; }
.card-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.card-tab {
  font-size: 13px; font-weight: 600; padding: 10px 18px; border-radius: 999px;
  background: var(--white); color: var(--navy); border: 1.5px solid var(--line-strong);
  transition: all .3s ease;
}
.card-tab.is-active { background: var(--teal); color: var(--white); border-color: var(--teal); }

/* ============ Indicador de riesgo ============ */
.risk-block { background: var(--sage); padding: 40px 24px 56px; }
.risk-card { max-width: 1280px; margin: 0 auto; display: grid; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-strong); background: var(--white); }
@media (min-width: 768px) { .risk-card { grid-template-columns: 1fr auto; } }
.risk-card .info { padding: 24px; }
.risk-card .info .title { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.risk-card .info p { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0; }
.risk-card .score { display: flex; align-items: center; gap: 20px; padding: 24px; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .risk-card .score { border-top: none; border-left: 1px solid var(--line); } }
.risk-card .score .num { font-family: var(--font-display); font-size: 36px; }
.risk-card .score p { font-size: 12px; max-width: 220px; color: var(--muted); margin: 0; }

/* ============ Franja de confianza ============ */
.trust-strip { background: var(--navy); padding: 20px 0; }
.trust-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 48px; }
.trust-strip li { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: rgba(255,255,255,.7); }
.trust-strip svg { color: var(--yellow); flex-shrink: 0; }

/* ============ Premios ============ */
.awards { padding: 64px 0; background: var(--sage); }
.awards .container { display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center; }
@media (min-width: 768px) { .awards .container { flex-direction: row; text-align: left; } }
.awards h2 { font-size: clamp(1.6rem,3.4vw,2.4rem); margin-bottom: 12px; }
.awards p { color: var(--muted); font-size: 14px; max-width: 420px; margin: 0 auto; }
.award-hexes { display: flex; gap: 12px; }
.hex-badge {
  width: 132px; height: 152px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.hex-badge.gold { background: linear-gradient(160deg,#F6E3A0 0%,#D8B45C 55%,#B8892A 100%); }
.hex-badge.silver { background: linear-gradient(160deg,#EEF1F2 0%,#C7CDD1 55%,#A2A9AD 100%); }
.hex-badge.silver2 { background: linear-gradient(160deg,#DDE2E4 0%,#B3BABE 55%,#8C9296 100%); }
.hex-badge .label { font-family: var(--font-display); font-size: 9px; font-weight: 800; letter-spacing: .08em; margin-top: 6px; }
.hex-badge .year { font-size: 8px; opacity: .7; margin-top: 2px; }
.hex-badge .title { font-family: var(--font-display); font-size: 11px; font-weight: 800; margin-top: 8px; padding: 0 8px; }

/* ============ Para ti ============ */
.section-eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .22em; color: var(--teal); margin-bottom: 12px; }
.for-genz { padding: 96px 0; background: var(--sage); }
.for-genz h2 { font-size: clamp(2rem,4.4vw,3.4rem); margin-bottom: 56px; }
.feature-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .feature-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(4,1fr); } }
.feature-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 28px; transition: transform .3s, box-shadow .3s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(23,36,46,.1); }
.feature-icon { width: 44px; height: 44px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; background: rgba(32,155,163,.12); color: var(--teal); }
.feature-card h3 { font-size: 16px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ============ Planes ============ */
.pricing { position: relative; padding: 96px 0; overflow: hidden; }
.pricing-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pricing-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,15,18,.4) 0%, rgba(11,15,18,.55) 100%); }
.pricing .container { position: relative; z-index: 1; }
.pricing-head { text-align: center; margin-bottom: 40px; }
.pricing-head h2 { font-size: clamp(2rem,4.4vw,3.4rem); margin-bottom: 24px; color: var(--white); }
.pricing-head p { color: rgba(255,255,255,.75); max-width: 520px; margin: 0 auto 40px; font-size: 16px; }
.pricing-head .section-eyebrow { color: var(--yellow); }
.profile-toggle { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 48px; }
.profile-btn { display: flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 12px; font-size: 14px; font-weight: 600; background: var(--white); color: var(--navy); border: 1.5px solid var(--line-strong); }
.profile-btn.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.profile-btn .gift-tag { font-size: 11px; font-weight: 900; padding: 2px 8px; border-radius: 999px; background: var(--yellow); color: var(--navy); }
.gift-banner { display: none; align-items: center; justify-content: center; gap: 12px; max-width: fit-content; margin: 0 auto 40px; padding: 14px 24px; border-radius: 16px; background: var(--yellow); }
.gift-banner.is-visible { display: flex; }
.gift-banner span { font-family: var(--font-display); font-size: 14px; color: var(--navy); }
.plans-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .plans-grid { grid-template-columns: repeat(3,1fr); } }
.plan-card { position: relative; border-radius: 16px; padding: 32px; display: flex; flex-direction: column; background: var(--white); border: 1.5px solid rgba(23,36,46,.08); transition: transform .3s; }
.plan-card:hover { transform: translateY(-4px); }
.plan-card.is-highlight { background: var(--navy); border: 2px solid var(--teal); box-shadow: 0 20px 50px -20px rgba(32,155,163,.4); }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 4px 16px; border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; background: var(--teal); color: var(--white); font-family: var(--font-display); }
.plan-emoji { font-size: 30px; margin-bottom: 12px; }
.plan-name { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); margin-bottom: 4px; }
.plan-card.is-highlight .plan-name { color: rgba(255,255,255,.5); }
.plan-price { font-family: var(--font-display); font-size: 42px; color: var(--navy); }
.plan-card.is-highlight .plan-price { color: var(--white); }
.plan-sub { font-size: 12px; font-weight: 600; color: var(--muted); margin: 4px 0 16px; }
.plan-card.is-highlight .plan-sub { color: #2CBFC4; }
.plan-divider { height: 1px; background: rgba(23,36,46,.08); margin-bottom: 20px; }
.plan-card.is-highlight .plan-divider { background: rgba(255,255,255,.12); }
.plan-features { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan-features li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.plan-card.is-highlight .plan-features li { color: rgba(255,255,255,.75); }
.plan-features .tick { width: 20px; height: 20px; border-radius: 999px; background: rgba(255,245,70,.5); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.pricing-disclaimer { text-align: center; font-size: 12px; color: rgba(255,255,255,.55); margin-top: 32px; }

/* ============ FAQ ============ */
.faq-section { padding: 96px 24px; max-width: 768px; margin: 0 auto; background: var(--sage); }
.faq-section .head { text-align: center; margin-bottom: 44px; }
.faq-section h2 { font-size: clamp(1.9rem,4vw,3rem); }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; }
.faq-item .q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; background: none; border: none; text-align: left; font-size: 16px; font-weight: 700; font-family: var(--font-display); color: var(--navy); }
.faq-item .q .icon { font-size: 22px; font-weight: 700; color: var(--teal); }
.faq-item .a { display: none; padding-bottom: 20px; font-size: 14px; line-height: 1.6; color: #4A5761; }
.faq-item.is-open .a { display: block; }

/* ============ CTA genérico ============ */
.cta-banner { padding: 96px 0; }
.cta-banner .box { position: relative; border-radius: 16px; overflow: hidden; padding: 64px 40px; text-align: center; background: linear-gradient(130deg, var(--teal), var(--deep)); }
.cta-banner h2 { font-size: clamp(1.8rem,4vw,2.8rem); color: var(--white); margin-bottom: 20px; }
.cta-banner p { color: #DCF0F0; max-width: 420px; margin: 0 auto 32px; font-size: 14px; }

/* ============ Hero interior de subpáginas ============ */
.inner-hero { position: relative; overflow: hidden; padding: 64px 24px; background: var(--navy); }
.inner-hero .container { position: relative; z-index: 1; }
.inner-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.inner-hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.inner-hero h1 { font-size: clamp(2.2rem,5.5vw,4rem); color: var(--white); line-height: 1.05; margin-bottom: 20px; }
.inner-hero p { color: rgba(255,255,255,.75); max-width: 520px; margin-bottom: 36px; font-size: 15px; }

/* ============ Footer ============ */
.site-footer { background: var(--navy); padding: 56px 0 32px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding-bottom: 32px; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo img { width: 28px; height: 28px; }
.footer-logo span { font-family: var(--font-display); font-size: 16px; color: var(--white); letter-spacing: .06em; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 16px 32px; margin: 0; padding: 0; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.6); }
.footer-links a:hover { opacity: .7; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 8px; background: rgba(255,255,255,.06); font-size: 12px; color: #C7D3DB; }
.footer-badge b { color: var(--yellow); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.4); margin: 0; }

/* ============ Elementos flotantes ============ */
.sticky-qr {
  display: none; position: fixed; top: 84px; right: 24px; z-index: 40;
  width: 160px; border-radius: 16px; overflow: hidden; background: var(--navy);
  box-shadow: 0 14px 34px -14px rgba(23,36,46,.4); transition: background-color .5s ease;
}
@media (min-width: 768px) { .sticky-qr { display: block; } }
.sticky-qr .label { text-align: center; padding: 10px 8px; font-family: var(--font-display); font-size: 12px; font-weight: 700; color: var(--white); transition: color .5s ease; }
.sticky-qr .qr-wrap { display: flex; align-items: center; justify-content: center; padding: 12px; }

.sticky-bottom-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; display: flex; justify-content: center; padding: 0 16px 16px; pointer-events: none; }
.sticky-bottom-bar a {
  pointer-events: auto; display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--white);
  background: var(--teal); padding: 16px 40px; border-radius: 14px;
  box-shadow: 0 14px 30px -10px rgba(0,84,95,.55); transition: background-color .3s ease;
}

.sticky-chat-btn {
  position: fixed; bottom: 92px; right: 24px; z-index: 40;
  width: 60px; height: 60px; border-radius: 999px; border: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy); box-shadow: 0 12px 28px -10px rgba(23,36,46,.45);
  transition: background-color .5s ease;
}
.sticky-chat-btn .badge {
  position: absolute; bottom: -4px; right: -4px; width: 20px; height: 20px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; background: var(--navy); transition: background-color .5s ease;
}
.chat-panel {
  display: none; position: fixed; bottom: 162px; right: 24px; z-index: 40; flex-direction: column;
  width: 320px; max-height: 460px; border-radius: 16px; overflow: hidden; background: var(--white);
  box-shadow: 0 24px 60px -16px rgba(23,36,46,.45); border: 1px solid var(--line);
}
.chat-panel.is-open { display: flex; }
.chat-panel .head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--navy); }
.chat-panel .head .avatar { width: 32px; height: 32px; border-radius: 999px; background: var(--yellow); display: flex; align-items: center; justify-content: center; }
.chat-panel .head strong { display: block; font-size: 14px; color: var(--white); font-family: var(--font-display); }
.chat-panel .head small { font-size: 11px; color: rgba(255,255,255,.6); }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { max-width: 85%; font-size: 13px; line-height: 1.5; padding: 10px 14px; border-radius: 14px; }
.chat-msg.bot { align-self: flex-start; background: var(--sage); color: var(--navy); }
.chat-msg.user { align-self: flex-end; background: var(--teal); color: var(--white); }
.chat-options { padding: 12px 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; max-height: 160px; overflow-y: auto; }
.chat-options button { text-align: left; font-size: 12.5px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--white); color: var(--navy); }
.chat-options button:hover { background: var(--sage); }

/* ============ Simuladores ============ */
.sim-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .sim-grid { grid-template-columns: repeat(2,1fr); } }
.sim-card { background: var(--white); border-radius: 16px; padding: 28px; border: 1px solid var(--line); }
.sim-card h3 { font-size: 16px; margin-bottom: 6px; }
.sim-card p.desc { font-size: 14px; color: var(--muted); margin-bottom: 20px; line-height: 1.5; }
.sim-field { margin-bottom: 12px; }
.sim-field label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.sim-field .input-wrap { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line-strong); border-radius: 8px; padding: 8px 12px; }
.sim-field input { border: none; outline: none; font-size: 14px; width: 100%; font-family: var(--font-body); color: var(--navy); }
.sim-result { border-radius: 10px; padding: 12px 16px; background: rgba(255,245,70,.2); font-family: var(--font-display); font-size: 14px; }

/* ============ Mi cuenta ============ */
.account-hero { background: var(--navy); padding: 48px 0 64px; }
.account-hero-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
.account-user { display: flex; align-items: center; gap: 16px; }
.account-user img { width: 64px; height: 64px; border-radius: 999px; object-fit: cover; border: 2px solid var(--yellow); }
.account-user small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.55); margin-bottom: 4px; }
.account-user h1 { font-size: clamp(1.6rem,3.2vw,2.2rem); color: var(--white); }
.logout-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; background: rgba(255,255,255,.1); color: var(--white); font-size: 14px; font-weight: 600; border: 1px solid rgba(255,255,255,.18); }
.patrimonio { border-radius: 16px; padding: 28px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.patrimonio small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.55); margin-bottom: 8px; }
.patrimonio strong { font-family: var(--font-display); font-size: clamp(2rem,4.5vw,3rem); color: var(--white); }
.accounts-grid { display: grid; gap: 20px; grid-template-columns: 1fr; margin-top: -40px; }
@media (min-width: 768px) { .accounts-grid { grid-template-columns: repeat(3,1fr); } }
.account-card { background: var(--white); border-radius: 16px; padding: 24px; box-shadow: 0 20px 40px -20px rgba(23,36,46,.3); }
.account-card .icon { width: 44px; height: 44px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.account-card .name { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.account-card .balance { font-family: var(--font-display); font-size: 26px; margin: 4px 0; }
.account-card .note { font-size: 12px; color: #8A98A3; }
.movements { background: var(--white); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.movement-row { display: flex; align-items: center; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.movement-row:last-child { border-bottom: none; }
.movement-row .circle { width: 36px; height: 36px; border-radius: 999px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.movement-row .desc { flex: 1; min-width: 0; }
.movement-row .desc strong { display: block; font-size: 14px; }
.movement-row .desc small { font-size: 12px; color: #8A98A3; }
.movement-row .amount { font-family: var(--font-display); font-size: 14px; font-weight: 700; }

/* ============ Play Store (mock) ============ */
.ps-searchbar { background: var(--white); border-bottom: 1px solid var(--line); padding: 12px 0; }
.ps-searchbar .pill { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.ps-searchbar .pill span { display: block; background: #F1F3F4; border-radius: 999px; padding: 10px 18px; font-size: 14px; color: var(--muted); }
.ps-app-head { max-width: 900px; margin: 0 auto; padding: 24px; display: flex; gap: 16px; align-items: flex-start; }
.ps-app-icon { width: 84px; height: 84px; border-radius: 16px; flex-shrink: 0; background: var(--white); box-shadow: 0 2px 10px rgba(23,36,46,.12); display: flex; align-items: center; justify-content: center; }
.ps-app-icon img { width: 44px; }
.ps-app-head h1 { font-size: 20px; font-weight: 700; font-family: var(--font-body); }
.ps-app-head .dev { color: var(--teal); font-size: 14px; margin: 4px 0 12px; }
.ps-stats { display: flex; gap: 16px; }
.ps-stat { display: flex; flex-direction: column; align-items: center; font-size: 12px; color: var(--muted); }
.ps-stat b { font-size: 14px; color: var(--navy); }
.ps-install { max-width: 900px; margin: 0 auto; padding: 0 24px 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.ps-section { max-width: 900px; margin: 0 auto; padding: 32px 24px 0; border-top: 1px solid var(--line); }
.ps-section h2 { font-family: var(--font-display); font-size: 16px; margin-bottom: 14px; }
.ps-shots { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; }
.ps-phone { flex-shrink: 0; width: 168px; height: 344px; border-radius: 26px; background: #0C1017; padding: 8px; }
.ps-phone .screen { width: 100%; height: 100%; border-radius: 18px; overflow: hidden; background: var(--sage); display: flex; flex-direction: column; }
.ps-review { display: flex; gap: 12px; margin-bottom: 20px; }
.ps-review .av { width: 36px; height: 36px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 12px; flex-shrink: 0; }
.ps-review p { font-size: 14px; line-height: 1.5; margin: 6px 0 0; }
.ps-stars { color: #00875A; }

/* ============ Legales ============ */
.legal-body { max-width: 720px; margin: 0 auto; padding: 96px 20px; }
.legal-body h1 { font-size: clamp(1.8rem,4vw,2.6rem); margin-bottom: 32px; }
.legal-body p { font-size: 14px; line-height: 1.7; color: #3C4A57; margin: 0 0 20px; }
.legal-body .back { display: inline-block; margin-top: 24px; font-size: 14px; font-weight: 600; color: var(--teal); }

/* ============ Movimiento de las tarjetas ============ */
@keyframes nexyo-float-a {
  0%, 100% { transform: translate(78px,26px) rotate(11deg) scale(.86) translateY(0); }
  50%      { transform: translate(78px,26px) rotate(11deg) scale(.86) translateY(-10px); }
}
@keyframes nexyo-float-b {
  0%, 100% { transform: translate(-78px,26px) rotate(-11deg) scale(.86) translateY(0); }
  50%      { transform: translate(-78px,26px) rotate(-11deg) scale(.86) translateY(-8px); }
}
@keyframes nexyo-float-c {
  0%, 100% { transform: translate(0,0) rotate(0deg) scale(1.04) translateY(0); }
  50%      { transform: translate(0,0) rotate(0deg) scale(1.04) translateY(-12px); }
}
.nex-card[data-pos="0"] { animation: nexyo-float-c 5.5s ease-in-out infinite; }
.nex-card[data-pos="1"] { animation: nexyo-float-a 6.5s ease-in-out infinite; }
.nex-card[data-pos="-1"] { animation: nexyo-float-b 7.5s ease-in-out infinite; }
.nex-card:hover { filter: brightness(1.08); }

@media (prefers-reduced-motion: reduce) {
  .nex-card[data-pos] { animation: none !important; }
}

.page-content-wrap { padding-top: 64px; }
