:root {
  --bg: #07111f;
  --bg-2: #0d1c31;
  --text: #102033;
  --muted: #637083;
  --soft: #f4f7fb;
  --white: #ffffff;
  --line: rgba(16, 32, 51, 0.12);
  --cyan: #1de0d7;
  --blue: #4776e6;
  --gold: #c89b3c;
  --shadow: 0 24px 70px rgba(7, 17, 31, 0.14);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  background: rgba(7, 17, 31, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.brand-logo { width: 46px; height: 46px; object-fit: contain; border-radius: 10px; filter: drop-shadow(0 0 14px rgba(200,155,60,.35)); }
.nav-menu { display: flex; align-items: center; gap: 26px; color: rgba(255,255,255,0.82); font-size: 14px; font-weight: 600; }
.nav-menu a { transition: color 0.2s ease; }
.nav-menu a:hover { color: var(--cyan); }
.nav-cta { border: 1px solid rgba(255,255,255,0.22); border-radius: 999px; padding: 10px 16px; color: var(--white) !important; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle span:not(.sr-only) { display: block; width: 25px; height: 2px; background: white; margin: 5px 0; }

.section { padding: 104px 0; }
.section-dark { background: var(--bg); color: var(--white); }
.section-soft { background: var(--soft); }
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding: 132px 0 84px; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 75% 20%, rgba(29,224,215,.24), transparent 25%),
    radial-gradient(circle at 18% 80%, rgba(200,155,60,.20), transparent 28%),
    linear-gradient(135deg, #07111f 0%, #0d1c31 55%, #050a12 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.85), transparent);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .68fr; gap: 56px; align-items: center; }
.eyebrow { margin: 0 0 18px; color: var(--cyan); text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 800; }
.eyebrow.dark { color: var(--blue); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(42px, 6vw, 78px); line-height: .96; letter-spacing: -0.06em; margin-bottom: 26px; }
h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.04; letter-spacing: -0.045em; margin-bottom: 22px; }
h3 { font-size: 22px; line-height: 1.15; letter-spacing: -0.025em; margin-bottom: 14px; }
.hero-lead { color: rgba(255,255,255,.78); font-size: 19px; max-width: 720px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 999px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--cyan), var(--blue)); color: #04101d; box-shadow: 0 14px 30px rgba(29,224,215,.22); }
.btn-secondary { color: white; border: 1px solid rgba(255,255,255,.25); }
.hero-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 46px; max-width: 680px; }
.hero-metrics div { border-top: 1px solid rgba(255,255,255,.16); padding-top: 16px; }
.hero-metrics strong { display: block; color: white; font-size: 24px; line-height: 1; }
.hero-metrics span { color: rgba(255,255,255,.62); font-size: 13px; }
.hero-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius); padding: 30px; box-shadow: 0 40px 90px rgba(0,0,0,.32); backdrop-filter: blur(18px); }
.hero-card img { width: 92px; border-radius: 22px; margin-bottom: 28px; }
.hero-card p, .hero-card li { color: rgba(255,255,255,.72); }
.hero-card ul { margin: 20px 0 0; padding-left: 20px; }

.split { display: grid; grid-template-columns: 270px 1fr; gap: 72px; }
.section-kicker { color: var(--blue); text-transform: uppercase; letter-spacing: .16em; font-size: 13px; font-weight: 800; padding-top: 12px; }
.section-content { max-width: 820px; }
.section-content p { color: var(--muted); font-size: 18px; }
.section-heading { max-width: 780px; margin-bottom: 44px; }
.section-heading p { color: var(--muted); font-size: 18px; }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card, .ecosystem-card, .quote-panel, .contact-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.service-card { padding: 30px; min-height: 278px; }
.card-number { display: inline-block; color: var(--gold); font-size: 13px; font-weight: 900; letter-spacing: .12em; margin-bottom: 50px; }
.service-card p, .ecosystem-card p { color: var(--muted); }
.highlight-card { background: linear-gradient(135deg, #07111f, #102848); color: white; }
.highlight-card p { color: rgba(255,255,255,.72); }

.band { position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 999px; border: 1px solid rgba(29,224,215,.3); right: -140px; top: -170px; }
.band-grid { position: relative; display: grid; grid-template-columns: .75fr 1fr; gap: 70px; }
.band-copy p { color: rgba(255,255,255,.72); font-size: 18px; }

.quote-panel { padding: 54px; max-width: 980px; margin: 0 auto; }
.quote-panel blockquote { margin: 0 0 24px; font-size: clamp(28px, 4vw, 46px); line-height: 1.07; letter-spacing: -0.045em; font-weight: 800; }
.quote-panel p { color: var(--muted); font-size: 18px; }
.quote-panel strong { color: var(--blue); font-size: 18px; }

.ecosystem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ecosystem-card { padding: 34px; }
.ecosystem-card h3 { font-size: 28px; }
.vision-section { background: white; }
.contact-section { position: relative; }
.contact-grid { display: grid; grid-template-columns: 1fr .62fr; gap: 60px; align-items: center; }
.contact-section p { color: rgba(255,255,255,.72); font-size: 18px; }
.contact-card { padding: 34px; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: white; }
.contact-card p { color: rgba(255,255,255,.68); }
.contact-card a { display: block; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.13); color: var(--cyan); font-weight: 700; }
.footer { background: #050a12; color: rgba(255,255,255,.65); padding: 26px 0; font-size: 14px; }
.footer-grid { display: flex; justify-content: space-between; gap: 18px; }
.footer a { color: white; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }


.brand-showcase { padding: 88px 0; position: relative; overflow: hidden; }
.brand-showcase::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 72% 44%, rgba(200,155,60,.18), transparent 32%), linear-gradient(180deg, #050a12 0%, #07111f 100%);
}
.brand-showcase-grid { position: relative; display: grid; grid-template-columns: .9fr 1fr; gap: 54px; align-items: center; }
.brand-showcase-copy p { color: rgba(255,255,255,.74); font-size: 18px; }
.brand-showcase-logo { border: 1px solid rgba(200,155,60,.28); border-radius: 34px; padding: 18px; background: rgba(255,255,255,.035); box-shadow: 0 28px 80px rgba(0,0,0,.28); }
.brand-showcase-logo img { border-radius: 24px; width: 100%; }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav-menu { position: fixed; top: 78px; left: 20px; right: 20px; padding: 22px; display: none; flex-direction: column; align-items: flex-start; background: rgba(7,17,31,.96); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; }
  .nav-menu.open { display: flex; }
  .hero-grid, .split, .band-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .cards-grid, .ecosystem-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: auto; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1140px); }
  .section { padding: 74px 0; }
  .hero { padding-top: 118px; }
  .cards-grid, .ecosystem-grid, .hero-metrics { grid-template-columns: 1fr; }
  .quote-panel { padding: 32px; }
  .footer-grid { flex-direction: column; }
  .brand span { font-size: 14px; }
}

/* Ajuste de identidad visual: usa el logo principal sobre fondo oscuro y evita áreas blancas del archivo alternativo. */
.brand-showcase-logo {
  max-width: 560px;
  margin-left: auto;
}
.brand-showcase-logo img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #07111f;
}
