/* =============================================================
   AimanFitness — Landing v2 (rediseño)
   Morado + Amarillo | Mobile-first | Pure CSS
   ============================================================= */

/* ─── 1. Tokens ─────────────────────────────────────────────── */
:root {
  --bg:          #0A0712;
  --bg-2:        #0E0A1A;
  --surface:     #140E24;
  --surface-2:   #1C1432;
  --primary:     #8B5CF6;
  --primary-d:   #6D3AE3;
  --primary-l:   #A78BFA;
  --primary-xl:  #C9B4FF;
  --accent:      #F5C518;
  --accent-l:    #FFDA4D;
  --accent-ink:  #1A1300;
  color-scheme: dark;
  --text:        #F4F2FA;
  --text-2:      #C6C0D8;
  --muted:       #8D86A3;
  --glass:       rgba(139, 92, 246, 0.07);
  --border:      rgba(167, 139, 250, 0.16);
  --border-l:    rgba(167, 139, 250, 0.38);
  --gold-glow:   rgba(245, 197, 24, 0.28);

  --sans:    "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --display: "Space Grotesk", var(--sans);

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --radius:   16px;
  --radius-l: 24px;
  --gutter:   1.25rem;
  --nav-h:    72px;
  --max-w:    1180px;
}

/* ─── 2. Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary-xl); }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--display); text-wrap: balance; line-height: 1.05; letter-spacing: -0.02em; }
::selection { background: var(--primary); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--primary); color: #fff;
  z-index: 9999; border-radius: 8px; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* ─── 3. Custom Cursor ──────────────────────────────────────── */
.cursor {
  position: fixed; width: 10px; height: 10px;
  background: var(--accent); border-radius: 50%;
  pointer-events: none; z-index: 9998; opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity .3s var(--ease-out), transform .15s var(--ease-out), background .2s;
  will-change: transform;
}
.cursor.is-ready { opacity: 1; }
.cursor.is-hover { width: 30px; height: 30px; background: transparent; border: 2px solid var(--accent); }
@media (hover: none) { .cursor { display: none; } }

/* ─── 4. Navigation ─────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--gutter);
  transition: background .4s var(--ease-soft), box-shadow .4s;
}
.nav.is-scrolled {
  background: rgba(10, 7, 18, 0.82);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 var(--border);
}
.nav-logo {
  font-family: var(--display); font-weight: 800; font-size: 1.35rem;
  letter-spacing: -0.03em; display: flex; align-items: center; gap: .6rem; z-index: 902;
}
.logo-mark {
  width: 38px; height: 38px; display: block; object-fit: contain;
  filter: drop-shadow(0 3px 12px rgba(139, 92, 246, 0.45));
}
.logo-name { color: var(--text); font-size: .8rem; font-weight: 700; letter-spacing: .14em; }
.logo-name em { font-style: normal; color: var(--accent); }

.nav-links { display: none; list-style: none; gap: 2.25rem; align-items: center; }
.nav-links a { font-size: .88rem; font-weight: 500; color: var(--text-2); position: relative; transition: color .25s; }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 100%;
  height: 2px; background: var(--accent); border-radius: 2px;
  transition: right .3s var(--ease-out);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { right: 0; }

.nav-cta {
  display: none; padding: .55rem 1.35rem;
  border: 1px solid var(--border-l); border-radius: 50px;
  font-size: .85rem; font-weight: 600; color: var(--primary-xl);
  transition: all .25s var(--ease-out);
}
.nav-cta:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.nav-burger { display: flex; flex-direction: column; gap: 5px; padding: .5rem; z-index: 902; }
.nav-burger span {
  display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .35s var(--ease-out), opacity .3s, width .3s;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; width: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0;
  background: rgba(10, 7, 18, 0.97);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  z-index: 901; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2.25rem; opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease-out);
}
.nav-mobile.is-open { opacity: 1; pointer-events: auto; }
.nav-mobile a { font-family: var(--display); font-size: 1.9rem; font-weight: 700; color: var(--text); transition: color .2s; }
.nav-mobile a:hover { color: var(--accent); }
.nav-mobile .nav-mobile-cta {
  margin-top: .5rem; padding: .85rem 2.25rem; border-radius: 50px;
  background: var(--accent); color: var(--accent-ink); font-size: 1.05rem; font-weight: 700;
}
.nav-mobile .nav-mobile-cta:hover { color: var(--accent-ink); }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-burger { display: none; }
  .nav { padding-inline: 3rem; }
}

/* ─── 5. Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: 4.5rem;
  padding-inline: var(--gutter);
}
.hero-mesh {
  position: absolute; inset: -25%; z-index: 0;
  background:
    radial-gradient(ellipse 55% 45% at 18% 25%, rgba(109, 58, 227, 0.50) 0%, transparent 60%),
    radial-gradient(ellipse 45% 55% at 85% 75%, rgba(139, 92, 246, 0.30) 0%, transparent 55%),
    radial-gradient(ellipse 35% 35% at 70% 20%, rgba(245, 197, 24, 0.10) 0%, transparent 60%);
  filter: blur(80px) saturate(140%);
  animation: meshDrift 20s ease-in-out infinite;
  will-change: transform; pointer-events: none;
}
@keyframes meshDrift {
  0%   { transform: scale(1) rotate(0deg); }
  50%  { transform: scale(1.1) rotate(4deg) translate(-2%, 2%); }
  100% { transform: scale(1) rotate(0deg); }
}
.hero-grain {
  position: absolute; inset: 0; z-index: 1; opacity: 0.04; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px;
}
.hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--max-w); margin-inline: auto;
  display: grid; gap: 3rem; align-items: center;
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.15fr 1fr; gap: 4rem; }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: .55rem;
  margin-bottom: 1.6rem; padding: .45rem 1.1rem;
  background: var(--glass); border: 1px solid var(--border); border-radius: 50px;
  font-size: .75rem; font-weight: 700; color: var(--primary-xl);
  letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}
@media (max-width: 420px) { .hero-badge { white-space: normal; } }
.hero-badge::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 8px var(--accent);
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 8px var(--accent); opacity: 1; }
  50%      { box-shadow: 0 0 16px var(--accent); opacity: .7; }
}

.hero-title {
  font-weight: 800;
  font-size: clamp(2.4rem, 6.5vw, 4.1rem);
  line-height: 1.02; letter-spacing: -0.035em;
  color: var(--text); margin-bottom: 1.4rem;
}
.hero-title .char { display: inline-block; opacity: 0; transform: translateY(40px); }
.hero-title .w { display: inline-block; white-space: nowrap; }
.hero-title em {
  font-style: normal; color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(245, 197, 24, 0.35);
  text-decoration-thickness: 4px;
  text-underline-offset: 8px;
}
.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.14rem);
  color: var(--text-2); max-width: 46ch;
  margin-bottom: 2.25rem; line-height: 1.75;
}
.hero-actions { display: flex; flex-direction: column; gap: .85rem; align-items: flex-start; }

.btn-gold {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: 1.05rem 2.4rem; border-radius: 50px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-l) 100%);
  color: var(--accent-ink);
  font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: .01em;
  transition: transform .3s var(--ease-out), box-shadow .3s;
  box-shadow: 0 10px 36px var(--gold-glow);
  width: 100%; justify-content: center; max-width: 360px;
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 14px 44px rgba(245, 197, 24, 0.42); color: var(--accent-ink); }
.btn-gold .arr { transition: transform .3s var(--ease-out); }
.btn-gold:hover .arr { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .8rem 1.8rem; border-radius: 50px;
  border: 1px solid var(--border-l); color: var(--text-2);
  font-size: .9rem; font-weight: 600; white-space: nowrap;
  transition: all .25s var(--ease-out);
}
.btn-ghost:hover { border-color: var(--primary-l); color: var(--primary-xl); background: var(--glass); }

.hero-proof {
  display: flex; gap: 2.25rem; margin-top: 2.5rem;
  padding-top: 1.75rem; border-top: 1px solid var(--border);
}
.proof-item { display: flex; flex-direction: column; gap: .1rem; }
.proof-num {
  font-family: var(--display); font-weight: 800; font-size: 1.55rem;
  color: var(--text); letter-spacing: -0.02em;
}
.proof-num em { font-style: normal; color: var(--accent); }
.proof-label { font-size: .78rem; color: var(--muted); letter-spacing: .04em; }

/* Hero photo card */
.hero-visual { position: relative; max-width: 480px; margin-inline: auto; width: 100%; }
.hero-photo-card {
  position: relative; border-radius: var(--radius-l);
  overflow: hidden; border: 1px solid var(--border-l);
  box-shadow: 0 30px 80px rgba(109, 58, 227, 0.35), 0 0 0 1px rgba(255,255,255,0.03) inset;
  aspect-ratio: 4 / 4.6;
  background: var(--surface-2);
}
.hero-photo-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.hero-photo-shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,7,18,0.75) 0%, transparent 45%);
}
.hero-photo-id {
  position: absolute; left: 1.4rem; bottom: 1.3rem; right: 1.4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.hero-photo-name { font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: #fff; line-height: 1.2; }
.hero-photo-role { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.hero-x3-chip {
  flex: 0 0 auto;
  padding: .45rem .95rem; border-radius: 50px;
  background: rgba(245, 197, 24, 0.14);
  border: 1px solid rgba(245, 197, 24, 0.4);
  color: var(--accent-l); font-family: var(--display);
  font-weight: 700; font-size: .8rem; letter-spacing: .04em;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero-visual::before {
  content: ''; position: absolute; inset: auto -8% -6% 55%;
  height: 42%; border-radius: var(--radius-l);
  background: linear-gradient(135deg, rgba(139,92,246,0.25), rgba(245,197,24,0.12));
  filter: blur(40px); z-index: -1;
}

.hero-scroll {
  position: absolute; bottom: 1.75rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: none; flex-direction: column; align-items: center; gap: .5rem;
}
@media (min-width: 900px) { .hero-scroll { display: flex; } }
.hero-scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0) translateY(-100%); opacity: 0; }
  50%  { transform: scaleY(1) translateY(0); opacity: 1; }
  100% { transform: scaleY(0) translateY(100%); opacity: 0; }
}

@media (min-width: 540px) {
  .hero-actions { flex-direction: row; }
  .btn-gold { width: auto; }
}

/* ─── 6. Marquee strip ──────────────────────────────────────── */
.marquee {
  overflow: hidden; padding-block: 1.1rem;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  position: relative;
}
.marquee-track {
  display: flex; gap: 3rem; width: max-content;
  animation: marquee 30s linear infinite;
  font-family: var(--display); font-weight: 700; font-size: .85rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  white-space: nowrap;
}
.marquee-track .dot { color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ─── 7. Sections shared ────────────────────────────────────── */
.section { padding-block: 5.5rem 6rem; position: relative; }
.section-inner { max-width: var(--max-w); margin-inline: auto; padding-inline: var(--gutter); }
.section-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.1rem;
}
.section-tag::before { content: ''; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.section-title {
  font-weight: 800;
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  color: var(--text); margin-bottom: 1rem; letter-spacing: -0.03em;
}
.section-sub { font-size: 1.05rem; color: var(--text-2); max-width: 56ch; line-height: 1.7; }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }

/* ─── 8. Glass card ─────────────────────────────────────────── */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 2rem 1.75rem;
  transition: transform .4s var(--ease-out), box-shadow .4s, border-color .3s;
  position: relative; overflow: hidden;
}
@supports (backdrop-filter: blur(12px)) {
  .glass-card { background: var(--glass); backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%); }
}
.glass-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, rgba(139,92,246,0.12) 0%, transparent 55%);
  opacity: 0; transition: opacity .4s;
}
@media (hover: hover) {
  .glass-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(109,58,227,0.22), 0 0 0 1px var(--border-l);
    border-color: var(--border-l);
  }
  .glass-card:hover::before { opacity: 1; }
}

/* ─── 9. Método X3 ──────────────────────────────────────────── */
.metodo { background: var(--bg-2); }
.metodo-head { display: grid; gap: 1.5rem; align-items: end; }
@media (min-width: 860px) {
  .metodo-head { grid-template-columns: 1fr auto; }
  .metodo-badge { justify-self: end; }
}
.metodo-badge {
  width: 116px; height: 116px; object-fit: contain; border-radius: 24px;
  filter: drop-shadow(0 10px 28px rgba(139,92,246,0.40));
}
.metodo-grid { display: grid; gap: 1.25rem; margin-top: 3rem; }
.metodo-num {
  font-family: var(--display); font-weight: 800; font-size: .85rem;
  letter-spacing: .1em; color: var(--accent);
  display: inline-flex; align-items: center; gap: .6rem;
  margin-bottom: 1.5rem;
}
.metodo-num::after { content: ''; width: 34px; height: 1px; background: var(--border-l); }
.metodo-card-title { font-size: 1.4rem; font-weight: 700; color: var(--text); margin-bottom: .75rem; }
.metodo-card-text { font-size: .95rem; color: var(--text-2); line-height: 1.75; }
.metodo-card-accent {
  display: inline-block; margin-top: 1.4rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary-xl);
}
@media (min-width: 720px) { .metodo-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

/* ─── 10. Sobre mí ──────────────────────────────────────────── */
.sobre-mi { background: var(--bg); }
.sobremi-grid { display: grid; gap: 2.75rem; margin-top: 2.75rem; align-items: center; }
@media (min-width: 860px) { .sobremi-grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; } }
.sobremi-photos { display: grid; grid-template-columns: 1.35fr 1fr; gap: .9rem; }
.sobremi-photo-main {
  grid-row: 1 / 3; width: 100%; height: 100%; min-height: 280px;
  object-fit: cover; border-radius: var(--radius-l); border: 1px solid var(--border);
}
.sobremi-photo-side { display: flex; flex-direction: column; gap: .9rem; }
.sobremi-photo-side img {
  width: 100%; height: 100%; min-height: 130px; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--border);
}
.sobremi-photos.no-photo { display: none; }
.sobremi-name { font-size: 1.75rem; font-weight: 800; color: var(--text); margin-bottom: .25rem; }
.sobremi-role {
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.25rem;
}
.sobremi-bio { font-size: 1.02rem; color: var(--text-2); line-height: 1.85; margin-bottom: 1.75rem; }
.sobremi-spec-title { font-weight: 700; color: var(--text); margin-bottom: .75rem; font-family: var(--display); }
.sobremi-spec-list { display: grid; grid-template-columns: 1fr; gap: .6rem; list-style: none; padding: 0; }
@media (min-width: 480px) { .sobremi-spec-list { grid-template-columns: 1fr 1fr; } }
.sobremi-spec-list li { font-size: .92rem; color: var(--text-2); padding-left: 1.5rem; position: relative; }
.sobremi-spec-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; }

/* ─── 11. Transformaciones ──────────────────────────────────── */
.transformaciones { background: var(--bg-2); }
.transf-head { display: grid; gap: 1rem; }
@media (min-width: 860px) {
  .transf-head { grid-template-columns: 1fr auto; align-items: end; }
}
.transf-count {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1; letter-spacing: -0.04em;
  color: var(--accent); text-align: left;
}
.transf-count small { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: .35rem; }

.transf-grid { display: grid; grid-template-columns: 1fr; gap: 1.15rem; margin-top: 3rem; }
.transf-card {
  position: relative; border-radius: var(--radius-l); overflow: hidden;
  border: 1px solid var(--border); background: var(--surface);
  aspect-ratio: 4 / 4.6;
}
.transf-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.transf-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,7,18,0.85) 0%, transparent 45%);
  opacity: 0; transition: opacity .4s;
  display: flex; align-items: flex-end; justify-content: space-between; padding: 1.25rem;
}
.transf-card-tag {
  display: inline-flex; align-items: center;
  padding: .4rem 1rem; border-radius: 50px;
  background: rgba(245, 197, 24, 0.13); border: 1px solid rgba(245, 197, 24, 0.45);
  font-size: .78rem; font-weight: 700; color: var(--accent-l);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.transf-card-num {
  font-family: var(--display); font-weight: 800; font-size: .8rem;
  color: rgba(255,255,255,0.65); letter-spacing: .08em;
}
@media (hover: hover) {
  .transf-card:hover img { transform: scale(1.05); }
  .transf-card:hover .transf-card-overlay { opacity: 1; }
}

.transf-card.no-photo {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem;
  background: var(--surface-2); border: 1px dashed var(--border);
}
.transf-card.no-photo img, .transf-card.no-photo .transf-card-overlay { display: none; }
.transf-card.no-photo::after {
  content: "Añade tu foto aquí"; font-size: .82rem; color: var(--muted);
  text-align: center; padding: 0 1.5rem;
}

.transf-cta-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.1rem;
  background: linear-gradient(150deg, var(--surface-2), rgba(139,92,246,0.10));
  border: 1px dashed var(--border-l); border-radius: var(--radius-l);
  padding: 2.5rem 1.75rem; text-align: center;
  aspect-ratio: 4 / 4.6; color: var(--text-2); font-size: .95rem;
}
.transf-cta-card strong { font-family: var(--display); font-size: 1.2rem; color: var(--text); line-height: 1.3; }
.transf-cta-card a {
  padding: .7rem 1.6rem; border-radius: 50px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: .85rem;
  transition: transform .25s var(--ease-out), box-shadow .25s;
}
.transf-cta-card a:hover { transform: translateY(-2px); box-shadow: 0 8px 28px var(--gold-glow); color: var(--accent-ink); }

@media (max-width: 539px) {
  .transf-wrapper {
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; display: flex; gap: 1rem;
    padding-inline: var(--gutter); margin-inline: calc(-1 * var(--gutter)); padding-bottom: .5rem;
  }
  .transf-wrapper::-webkit-scrollbar { display: none; }
  .transf-grid { display: contents; }
  .transf-card, .transf-cta-card { flex: 0 0 78vw; scroll-snap-align: start; margin: 0; max-width: 330px; }
}
@media (min-width: 540px) { .transf-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .transf-grid { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; } }

/* ─── 12. Cómo funciona ─────────────────────────────────────── */
.como-funciona { background: var(--bg); }
.pasos-list { list-style: none; padding: 0; margin-top: 3rem; display: grid; gap: 1.1rem; counter-reset: pasos; }
@media (min-width: 720px) { .pasos-list { grid-template-columns: repeat(2, 1fr); } }
.paso-item { display: flex; gap: 1.2rem; align-items: flex-start; padding: 1.6rem 1.7rem; }
.paso-num {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-d) 0%, var(--primary) 100%);
  color: #fff; font-family: var(--display); font-weight: 800; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(139,92,246,0.35);
}
.paso-title { font-size: 1.08rem; font-weight: 700; color: var(--text); margin-bottom: .4rem; }
.paso-text { font-size: .9rem; color: var(--text-2); line-height: 1.7; }

/* ─── 13. FAQ ───────────────────────────────────────────────── */
.faq { background: var(--bg-2); }
.faq-list { margin-top: 2.75rem; display: flex; flex-direction: column; gap: .85rem; max-width: 820px; }
.faq-item { background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .3s; }
.faq-item.is-open { border-color: var(--border-l); }
.faq-question {
  width: 100%; text-align: left; padding: 1.25rem 1.5rem;
  color: var(--text); font-family: var(--display); font-weight: 700; font-size: 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-chevron { flex: 0 0 auto; font-size: .75rem; color: var(--muted); transition: transform .3s var(--ease-out), color .3s; }
.faq-item.is-open .faq-chevron { transform: rotate(180deg); color: var(--accent); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease-out); }
.faq-answer p { overflow: hidden; padding: 0 1.5rem; color: var(--text-2); font-size: .93rem; line-height: 1.7; }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-item.is-open .faq-answer p { padding: 0 1.5rem 1.3rem; }

/* ─── 14. Contacto ──────────────────────────────────────────── */
.contacto {
  background:
    radial-gradient(ellipse 70% 60% at 50% 110%, rgba(109, 58, 227, 0.30) 0%, transparent 65%),
    var(--bg);
  padding-block: 6rem 6.5rem;
}
.contacto .section-tag { justify-content: center; }
.contacto .section-tag::before { display: none; }
.contacto .section-title { text-align: center; margin-inline: auto; }
.contacto .section-sub { text-align: center; margin-inline: auto; margin-bottom: 0; }
.contacto-head { text-align: center; }

.contacto-grid { display: grid; gap: 1.25rem; margin-top: 3.25rem; max-width: 900px; margin-inline: auto; }
.contact-card {
  border-radius: var(--radius-l); padding: 2.25rem 2rem;
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
@media (hover: hover) { .contact-card:hover { transform: translateY(-5px); } }

.contact-card--wa {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.09) 0%, rgba(37, 211, 102, 0.03) 100%);
  border: 1px solid rgba(37, 211, 102, 0.25);
}
.contact-card--wa:hover { box-shadow: 0 16px 48px rgba(37, 211, 102, 0.15); border-color: rgba(37, 211, 102, 0.5); }
.contact-card--ig {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.10) 0%, rgba(245,197,24,0.05) 100%);
  border: 1px solid var(--border-l);
}
.contact-card--ig:hover { box-shadow: 0 16px 48px rgba(139, 92, 246, 0.18); border-color: var(--primary-l); }

.contact-card-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; }
.contact-icon {
  width: 50px; height: 50px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; font-size: .95rem; flex-shrink: 0;
}
.contact-icon--wa { background: rgba(37, 211, 102, 0.15); color: #4ade80; }
.contact-icon--ig { background: rgba(139, 92, 246, 0.18); color: var(--primary-xl); }
.contact-card-name { font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: var(--text); margin-bottom: .15rem; }
.contact-card-sub { font-size: .82rem; color: var(--text-2); line-height: 1.5; }
.contact-card-desc { font-size: .92rem; color: var(--text-2); line-height: 1.7; margin-bottom: 1.75rem; }
.contact-card-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.8rem; border-radius: 50px;
  font-weight: 700; font-size: .9rem;
  transition: all .25s var(--ease-out);
}
.contact-card-btn--wa { background: #25D366; color: #06130a; box-shadow: 0 6px 24px rgba(37,211,102,.25); }
.contact-card-btn--wa:hover { background: #2ee06f; box-shadow: 0 8px 28px rgba(37,211,102,.35); color: #06130a; }
.contact-card-btn--ig { background: linear-gradient(135deg, var(--primary-d), var(--primary)); color: #fff; box-shadow: 0 6px 24px rgba(139,92,246,.30); }
.contact-card-btn--ig:hover { box-shadow: 0 8px 28px rgba(139,92,246,.42); color: #fff; }

@media (min-width: 720px) { .contacto-grid { grid-template-columns: repeat(2, 1fr); } }

/* IG modal */
.ig-modal {
  position: fixed; inset: 0; z-index: 9000;
  display: flex; align-items: flex-end; padding: 1rem;
  opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease-out);
}
.ig-modal.is-open { opacity: 1; pointer-events: auto; }
.ig-modal-bg {
  position: absolute; inset: 0; background: rgba(10,7,18,0.78);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); cursor: pointer;
}
.ig-modal-box {
  position: relative; z-index: 1;
  background: var(--surface-2); border: 1px solid var(--border-l);
  border-radius: var(--radius-l); padding: 2rem 1.75rem;
  width: 100%; max-width: 560px; margin-inline: auto;
  transform: translateY(30px); transition: transform .4s var(--ease-out);
}
.ig-modal.is-open .ig-modal-box { transform: translateY(0); }
.ig-modal-title { font-family: var(--display); font-weight: 700; font-size: 1.15rem; margin-bottom: .5rem; }
.ig-modal-sub { font-size: .87rem; color: var(--muted); margin-bottom: 1.25rem; }
.ig-modal-message {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.1rem 1.25rem; font-size: .92rem; color: var(--text-2); line-height: 1.65;
  margin-bottom: 1.5rem; font-style: italic;
}
.ig-modal-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.ig-btn-copy {
  flex: 1; min-width: 130px; padding: .8rem 1.25rem; border-radius: 50px;
  border: 1px solid var(--border-l); color: var(--primary-xl);
  font-weight: 600; font-size: .87rem; transition: all .25s;
}
.ig-btn-copy:hover, .ig-btn-copy.is-copied { background: var(--primary); border-color: var(--primary); color: #fff; }
.ig-btn-open {
  flex: 1; min-width: 130px; padding: .8rem 1.25rem; border-radius: 50px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: .87rem; text-align: center;
  transition: all .25s;
}
.ig-btn-open:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--gold-glow); color: var(--accent-ink); }
@media (min-width: 540px) { .ig-modal { align-items: center; } }

/* ─── 15. Footer ────────────────────────────────────────────── */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding-block: 3.25rem; text-align: center; }
.container { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: var(--gutter); }
.footer-brand {
  font-family: var(--display); font-weight: 800; font-size: 1.6rem;
  letter-spacing: -0.03em; margin-bottom: .4rem;
  display: flex; align-items: center; justify-content: center; gap: .6rem;
}
.footer-brand span {
  width: 34px; height: 34px; border-radius: 10px; font-size: .85rem;
  background: linear-gradient(135deg, var(--primary-d), var(--primary));
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
}
.footer-brand img {
  width: 40px; height: 40px; object-fit: contain;
  filter: drop-shadow(0 3px 12px rgba(139, 92, 246, 0.45));
}
.footer-tagline { font-size: .9rem; color: var(--muted); margin-bottom: 2rem; }
.footer-links { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.footer-links a { font-size: .9rem; color: var(--text-2); transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
.footer-client-link {
  display: inline-block; font-size: .8rem; color: var(--muted);
  padding: .35rem .95rem; border: 1px solid var(--border); border-radius: 50px;
  transition: all .2s;
}
.footer-client-link:hover { color: var(--primary-xl); border-color: var(--border-l); }
.footer-copy { font-size: .78rem; color: var(--muted); margin-top: 1.5rem; }

/* ─── 16. Reduced motion ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero-mesh { animation: none; }
  .hero-scroll-line { animation: none; opacity: .6; }
  .hero-badge::before { animation: none; }
}


/* ─── Mobile polish ──────────────────────────────────────────── */
html { -webkit-tap-highlight-color: transparent; }
a, button { touch-action: manipulation; }
@media (max-width: 539px) {
  .hero { padding-top: calc(var(--nav-h) + 1.25rem); padding-bottom: 3.5rem; }
  .hero-proof { gap: 1rem; flex-wrap: wrap; justify-content: space-between; margin-top: 2rem; padding-top: 1.4rem; }
  .proof-item { flex: 1 1 30%; min-width: 96px; }
  .proof-num { font-size: 1.3rem; }
  .proof-label { font-size: .72rem; }
  .hero-visual { max-width: 400px; }
  .hero-photo-card { aspect-ratio: 4 / 4.2; }
  .btn-gold, .btn-ghost { min-height: 52px; }
  .section { padding-block: 4rem 4.5rem; }
  .glass-card { padding: 1.6rem 1.35rem; }
  .paso-item { padding: 1.25rem 1.3rem; }
  .faq-question { min-height: 56px; }
  .contact-card { padding: 1.75rem 1.5rem; }
  .contact-card-btn { width: 100%; justify-content: center; min-height: 50px; }
  .transf-count { font-size: 2.4rem; }
}
.nav { padding-top: env(safe-area-inset-top, 0px); height: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); }
.nav-mobile { padding-top: env(safe-area-inset-top, 0px); }
