:root {
  --bg: #0a0a0c;
  --bg-2: #101014;
  --card: #16161c;
  --line: rgba(245, 215, 142, 0.18);
  --gold: #f5d78e;
  --gold-2: #c9962e;
  --text: #f4f2ec;
  --muted: #a6a6ad;
  --grad: linear-gradient(135deg, #f5d78e, #c9962e);
  --r: 18px;
  --shadow: 0 24px 60px rgba(0,0,0,.5);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, .brand { font-family: "Sora", sans-serif; }
img, video, iframe { display: block; max-width: 100%; }

.container { width: min(1120px, 92%); margin: 0 auto; }
.gold { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.eyebrow {
  display: inline-block; font-size: .78rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold);
  background: rgba(245,215,142,.08); border: 1px solid var(--line);
  padding: 6px 14px; border-radius: 999px; font-weight: 600;
}

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,12,.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 1.15rem; }
.brand span { color: var(--gold); }
.logo-mark { width: 38px; height: 38px; filter: drop-shadow(0 4px 12px rgba(201,150,46,.4)); }
.links { display: flex; gap: 26px; }
.links a { color: var(--muted); text-decoration: none; font-size: .95rem; transition: color .2s; }
.links a:hover { color: var(--gold); }
.nav-cta { font-size: .9rem; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 1rem; cursor: pointer; border: none;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn-gold { background: var(--grad); color: #0a0a0a; box-shadow: 0 8px 24px rgba(201,150,46,.35); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(201,150,46,.5); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,.2); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn.full { width: 100%; }

/* HERO */
.hero { position: relative; padding: 90px 0 70px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; pointer-events: none; }
.orb-a { width: 420px; height: 420px; background: radial-gradient(circle, rgba(201,150,46,.5), transparent 70%); top: -120px; left: -80px; }
.orb-b { width: 380px; height: 380px; background: radial-gradient(circle, rgba(245,215,142,.35), transparent 70%); bottom: -120px; right: -60px; }
.hero-copy h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.12; margin: 20px 0; }
.hero-copy p { color: var(--muted); font-size: 1.08rem; max-width: 480px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin: 30px 0 40px; }
.stats { display: flex; gap: 36px; }
.stats strong { display: block; font-family: "Sora"; font-size: 1.6rem; color: var(--gold); }
.stats span { color: var(--muted); font-size: .85rem; }

/* 3D card */
.card-3d {
  position: relative;
  background: var(--card);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r);
  transform-style: preserve-3d;
  transition: transform .35s ease;
}
.card-3d:hover { transform: translateY(-8px) rotateX(3deg) rotateY(2deg); }
.card-glow { position: absolute; inset: 0; border-radius: var(--r); pointer-events: none; background: radial-gradient(420px at 30% 20%, rgba(245,215,142,.14), transparent 60%); }

.hero-card { padding: 40px; box-shadow: var(--shadow); }
.card-top { display: flex; justify-content: space-between; color: var(--muted); font-size: .9rem; }
.trend { color: #6fdd8b; font-weight: 700; }
.card-balance { font-family: "Sora"; font-size: 2.6rem; font-weight: 700; margin: 12px 0 24px; }
.card-bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; }
.card-bars span { flex: 1; background: var(--grad); border-radius: 6px 6px 0 0; height: var(--h); opacity: .85; }
.card-mini { display: flex; justify-content: space-between; margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); }
.card-mini div span { display: block; color: var(--muted); font-size: .8rem; }
.card-mini strong { font-size: 1.1rem; }

/* SECTIONS */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-2); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 50px; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin: 18px 0 10px; }
.section-head p { color: var(--muted); }

/* GRID SERVICIOS */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.service-card {
  position: relative; padding: 34px 28px; cursor: pointer;
  background: var(--card); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r); overflow: hidden;
  transition: transform .2s, border-color .2s;
  text-decoration: none; color: var(--text);
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--gold-2); }
.service-card .ico { font-size: 2rem; margin-bottom: 16px; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.service-card .more { margin-top: 18px; color: var(--gold); font-weight: 600; display: flex; align-items: center; gap: 6px; }

/* NOSOTROS */
.nosotros { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.nosotros-visual { padding: 50px 40px; text-align: center; overflow: hidden; }
.people { display: flex; justify-content: center; gap: -14px; margin: 26px 0; }
.person { width: 74px; height: 74px; border-radius: 50%; margin-left: -14px; border: 3px solid var(--bg); display: grid; place-items: center; font-family: "Sora"; font-weight: 700; font-size: 1.1rem; color: #0a0a0a; background: var(--grad); }
.people .person:first-child { margin-left: 0; }
.team-title { color: var(--muted); }
.mini-boxes { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.mini-boxes span { background: rgba(245,215,142,.1); border: 1px solid var(--line); color: var(--gold); font-size: .82rem; padding: 8px 14px; border-radius: 999px; }
.nosotros-copy h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 18px 0 14px; }
.nosotros-copy p { color: var(--muted); margin-bottom: 20px; }
.checks { list-style: none; margin-bottom: 28px; }
.checks li { padding: 8px 0 8px 30px; position: relative; color: var(--text); }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* VIDEO */
.video-wrap { overflow: hidden; box-shadow: var(--shadow); }
.video-wrap video { width: 100%; aspect-ratio: 16/9; background: #000; object-fit: cover; }
.video-poster {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; text-align: center; padding: 50px 30px; aspect-ratio: 16/9;
  background:
    radial-gradient(360px at 50% 20%, rgba(201,150,46,.28), transparent 70%),
    var(--bg-2);
}
.video-poster .poster-steps { list-style: none; color: var(--gold); font-weight: 600; line-height: 1.9; font-size: 1.05rem; }
.video-poster .poster-note { color: var(--muted); font-size: .85rem; opacity: .8; }

/* UBICACIÓN */
.ubicacion { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.ubicacion-copy h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 18px 0 26px; }
.info-line { display: flex; gap: 16px; margin-bottom: 22px; align-items: flex-start; }
.info-line .ico { font-size: 1.4rem; }
.info-line strong { display: block; }
.info-line div span { color: var(--muted); font-size: .95rem; }
.map { margin-top: 30px; overflow: hidden; padding: 8px; }
.map iframe { width: 100%; height: 240px; border-radius: 12px; border: none; filter: grayscale(.4) contrast(1.1); }

.ubicacion-form { padding: 40px; box-shadow: var(--shadow); }
.ubicacion-form h3 { font-size: 1.5rem; margin-bottom: 24px; }
.socials { margin-top: 30px; text-align: center; }
.socials .eyebrow { margin-bottom: 16px; }
.social-row { display: flex; gap: 12px; justify-content: center; margin-top: 16px; }
.social-row a {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 50%; background: var(--bg-2); border: 1px solid rgba(255,255,255,.12);
  color: var(--text); text-decoration: none; font-family: "Sora"; font-weight: 700;
  transition: all .2s;
}
.social-row a:hover { background: var(--grad); color: #0a0a0a; transform: translateY(-3px); }

/* FOOTER */
.footer { background: var(--bg-2); border-top: 1px solid rgba(255,255,255,.06); text-align: center; }
.footer-inner { padding: 40px 0; }
.footer .brand { justify-content: center; margin-bottom: 12px; }
.footer-tag { color: var(--muted); }
.footer-copy { color: var(--muted); font-size: .85rem; margin-top: 8px; opacity: .7; }

/* TOAST */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 80px);
  background: var(--card); color: var(--text); border: 1px solid var(--line);
  padding: 14px 22px; border-radius: 12px; box-shadow: var(--shadow);
  opacity: 0; transition: all .3s; z-index: 100; font-size: .9rem;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* RESPONSIVE */
@media (max-width: 880px) {
  .hero-inner, .nosotros, .ubicacion { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 50px 0; text-align: center; }
  .hero-actions, .stats { justify-content: center; }
  .links { display: none; }
  .stats { gap: 24px; }
  .card-3d:hover { transform: none; }
}