@font-face {
  font-family: "Owners Wide";
  src: url("assets/fonts/owners-wide.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Owners Wide";
  src: url("assets/fonts/owners-wide-bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #1F18BF; /* Azul Klein */
  --brand-light: #2948F3; /* Azul Klein lighter for gradients */
  --gray: #DCDCDC; /* Gris Estelar */
  --dark: #000000; /* Negro */
  --text: #ffffff; /* Blanco */
  --muted: #DCDCDC;
  --bg: #000000;
  --panel: rgba(31, 24, 191, 0.08);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 25px 80px rgba(0, 0, 0, 0.45);
  --shadow-brand: 0 10px 40px rgba(31, 24, 191, 0.4);

  /* Chip patterns */
  --pattern-dots: radial-gradient(circle, var(--brand) 1.5px, transparent 1.5px);
  --pattern-plus:
    linear-gradient(var(--brand) 1px, transparent 1px),
    linear-gradient(90deg, var(--brand) 1px, transparent 1px);
  --pattern-diagonal: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    rgba(31, 24, 191, 0.15) 8px,
    rgba(31, 24, 191, 0.15) 9px
  );
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: "Owners Wide", "Inter", sans-serif;
  letter-spacing: 0.02em;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text);
}

p {
  margin: 0 0 12px;
  color: var(--muted);
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

/* ==================== HEADER ==================== */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(31, 24, 191, 0.2);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-mark {
  height: 120px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
}

.nav a {
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--gray);
  transition: all 0.2s ease;
}

.nav a:hover {
  color: var(--text);
  background: rgba(31, 24, 191, 0.15);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lang-active {
  color: var(--text);
}

.lang-separator {
  color: rgba(220, 220, 220, 0.4);
}

.lang-link {
  color: var(--gray);
  transition: color 0.2s ease;
}

.lang-link:hover {
  color: var(--text);
}

.actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.actions .btn {
  height: 40px;
  padding: 10px 16px;
  font-size: 13px;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn.primary {
  background: var(--brand);
  color: var(--text);
  box-shadow: var(--shadow-brand);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 50px rgba(31, 24, 191, 0.5);
  background: var(--brand-light);
}

.btn.ghost {
  border: 1px solid rgba(220, 220, 220, 0.3);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.btn.ghost:hover {
  background: rgba(31, 24, 191, 0.15);
  border-color: rgba(31, 24, 191, 0.4);
}

.btn.full {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  display: block;
  transition: all 0.2s ease;
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(31, 24, 191, 0.3) 100%),
    url("assets/images/hero.jpg") center/cover no-repeat;
  z-index: -2;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(ellipse at center, rgba(31, 24, 191, 0.15) 0%, transparent 60%);
  z-index: -1;
}

/* Dots pattern decoration - bottom left */
.hero::after {
  content: "";
  position: absolute;
  bottom: 15%;
  left: 5%;
  width: 150px;
  height: 150px;
  background-image: radial-gradient(circle, var(--brand) 2px, transparent 2px);
  background-size: 18px 18px;
  opacity: 0.2;
  z-index: -1;
}

/* Connector graphic element in hero-bg */
.hero-bg::after {
  content: "";
  position: absolute;
  bottom: 10%;
  right: 5%;
  width: 300px;
  height: 200px;
  background:
    linear-gradient(135deg, transparent 40%, var(--brand) 40%, var(--brand) 60%, transparent 60%);
  opacity: 0.1;
  border-radius: var(--radius-lg);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 16px;
  line-height: 1.1;
}

.lede {
  font-size: 18px;
  line-height: 1.7;
  color: var(--gray);
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0 20px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges span {
  padding: 10px 16px;
  border-radius: 8px;
  background: rgba(31, 24, 191, 0.12);
  border: 1px solid rgba(31, 24, 191, 0.25);
  color: var(--gray);
  font-size: 13px;
  font-weight: 500;
}

.hero-card {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(31, 24, 191, 0.3);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

/* Chip pattern decoration */
.hero-card::before {
  content: "+ + + + +\A+ + + + +\A+ + + + +\A+ + + + +";
  white-space: pre;
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 10px;
  color: var(--brand);
  opacity: 0.4;
  letter-spacing: 8px;
  line-height: 1.8;
}

.card-title {
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 16px;
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-card li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(31, 24, 191, 0.15);
  color: var(--gray);
  font-size: 14px;
  line-height: 1.5;
}

.hero-card li:last-child {
  border-bottom: none;
}

/* ==================== EYEBROW ==================== */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand);
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--brand);
}

/* ==================== SECTIONS ==================== */
.section {
  padding: 120px 0;
  position: relative;
}

.section.muted {
  background: linear-gradient(180deg, rgba(31, 24, 191, 0.06) 0%, rgba(0, 0, 0, 0.9) 100%);
}

/* Connector decoration for muted sections */
.section.muted::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--brand) 20%, var(--brand) 80%, transparent);
  opacity: 0.3;
}

.section-head {
  text-align: left;
  max-width: 720px;
  margin-bottom: 50px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
}

.section-lede {
  font-size: 17px;
  color: var(--gray);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 50px;
  align-items: center;
}

.media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(31, 24, 191, 0.2);
}

.bullets {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.bullets li {
  padding: 12px 0 12px 24px;
  position: relative;
  color: var(--gray);
}

.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 2px;
}

/* ==================== GRID & CARDS ==================== */
.grid {
  display: grid;
  gap: 20px;
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid.four {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
  background: rgba(31, 24, 191, 0.04);
  border: 1px solid rgba(31, 24, 191, 0.15);
  padding: 28px;
  border-radius: var(--radius-lg);
  min-height: 200px;
  position: relative;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: rgba(31, 24, 191, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(31, 24, 191, 0.15);
}

/* Corner bracket decoration */
.card::before,
.card::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--brand);
  border-style: solid;
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.card::before {
  top: 12px;
  left: 12px;
  border-width: 2px 0 0 2px;
}

.card::after {
  bottom: 12px;
  right: 12px;
  border-width: 0 2px 2px 0;
}

.card:hover::before,
.card:hover::after {
  opacity: 0.6;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 18px;
}

.card p {
  font-size: 14px;
  line-height: 1.6;
}

/* ==================== STARTUP CARDS ==================== */
.startup-types {
  gap: 24px;
}

.startup-card {
  min-height: auto;
  padding: 24px;
}

.startup-card h3 {
  font-size: 16px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(31, 24, 191, 0.2);
}

.startup-card h3 em {
  font-style: italic;
  color: var(--brand);
}

.startup-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.startup-card ul li {
  font-size: 13px;
  line-height: 1.5;
  padding: 8px 0;
  color: var(--gray);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.startup-card ul li:last-child {
  border-bottom: none;
}

.startup-card ul li strong {
  color: var(--text);
  font-weight: 600;
}

/* ==================== CHIP PATTERNS (Brand Graphics) ==================== */
.chip-pattern {
  position: absolute;
  pointer-events: none;
  opacity: 0.4;
}

/* Dots grid pattern */
.chip-dots {
  width: 120px;
  height: 120px;
  background-image: var(--pattern-dots);
  background-size: 12px 12px;
}

/* Plus/cross grid pattern */
.chip-plus {
  width: 100px;
  height: 100px;
  background-image:
    radial-gradient(circle, transparent 4px, transparent 4px),
    linear-gradient(var(--brand) 1px, transparent 1px),
    linear-gradient(90deg, var(--brand) 1px, transparent 1px);
  background-size: 16px 16px;
  background-position: center center;
}

/* Corner brackets */
.chip-bracket {
  width: 60px;
  height: 60px;
  border: 2px solid var(--brand);
  border-right: none;
  border-bottom: none;
}

.chip-bracket.bottom-right {
  border: 2px solid var(--brand);
  border-left: none;
  border-top: none;
}

/* Diagonal stripes */
.chip-stripes {
  width: 80px;
  height: 80px;
  background: var(--pattern-diagonal);
}

/* Star/asterisk pattern */
.chip-stars {
  width: 100px;
  height: 100px;
  background-image: radial-gradient(var(--brand) 2px, transparent 2px);
  background-size: 20px 20px;
}

/* Section decorations */
#sobre {
  position: relative;
  overflow: hidden;
}

#sobre::before {
  content: "";
  position: absolute;
  top: 60px;
  left: 40px;
  width: 100px;
  height: 100px;
  background-image: var(--pattern-dots);
  background-size: 14px 14px;
  opacity: 0.25;
  pointer-events: none;
}

#infraestructura {
  position: relative;
  overflow: hidden;
}

#infraestructura::after {
  content: "";
  position: absolute;
  bottom: 80px;
  right: 60px;
  width: 80px;
  height: 80px;
  border: 2px solid var(--brand);
  border-left: none;
  border-top: none;
  opacity: 0.3;
  pointer-events: none;
}

#servicios {
  position: relative;
  overflow: hidden;
}

#servicios::before {
  content: "";
  position: absolute;
  top: 100px;
  right: 80px;
  width: 60px;
  height: 60px;
  border: 2px solid var(--brand);
  border-right: none;
  border-bottom: none;
  opacity: 0.3;
  pointer-events: none;
}

#startups {
  position: relative;
  overflow: hidden;
}

#startups::before {
  content: "";
  position: absolute;
  top: 80px;
  left: 60px;
  width: 70px;
  height: 70px;
  background: var(--pattern-diagonal);
  opacity: 0.4;
  pointer-events: none;
}

#startups::after {
  content: "";
  position: absolute;
  bottom: 100px;
  right: 40px;
  width: 90px;
  height: 90px;
  background-image: var(--pattern-dots);
  background-size: 12px 12px;
  opacity: 0.2;
  pointer-events: none;
}

/* Stats section decoration */
.stats {
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  top: 50px;
  left: 30px;
  width: 80px;
  height: 80px;
  border: 2px solid var(--brand);
  border-right: none;
  border-bottom: none;
  opacity: 0.25;
  pointer-events: none;
}

.stats::after {
  content: "";
  position: absolute;
  bottom: 60px;
  right: 50px;
  width: 100px;
  height: 100px;
  background-image: var(--pattern-dots);
  background-size: 16px 16px;
  opacity: 0.2;
  pointer-events: none;
}

/* Agenda/Timeline section decoration */
#agenda {
  position: relative;
  overflow: hidden;
}

#agenda::before {
  content: "";
  position: absolute;
  top: 80px;
  right: 40px;
  width: 70px;
  height: 70px;
  background: var(--pattern-diagonal);
  opacity: 0.35;
  pointer-events: none;
}

#agenda::after {
  content: "";
  position: absolute;
  bottom: 80px;
  left: 50px;
  width: 60px;
  height: 60px;
  border: 2px solid var(--brand);
  border-left: none;
  border-top: none;
  opacity: 0.3;
  pointer-events: none;
}

/* ==================== STATS ==================== */
.stats .stat {
  background: linear-gradient(135deg, rgba(31, 24, 191, 0.15) 0%, rgba(31, 24, 191, 0.05) 100%);
  border: 1px solid rgba(31, 24, 191, 0.3);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Diagonal stripe decoration */
.stats .stat::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 100%;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 4px,
    rgba(31, 24, 191, 0.1) 4px,
    rgba(31, 24, 191, 0.1) 8px
  );
}

.stat-number {
  display: block;
  font-family: "Owners Wide", "Inter", sans-serif;
  font-size: 52px;
  color: var(--text);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-number::after {
  content: "+";
  font-size: 32px;
  color: var(--brand);
}

/* ==================== TIMELINE ==================== */
.timeline {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  border-left: 2px solid rgba(31, 24, 191, 0.3);
}

.timeline li {
  padding: 18px 0 18px 24px;
  position: relative;
  color: var(--gray);
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 24px;
  width: 12px;
  height: 12px;
  background: var(--brand);
  border-radius: 3px;
  transform: rotate(45deg);
}

.timeline span {
  display: inline-block;
  font-weight: 700;
  color: var(--brand);
  margin-right: 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==================== CTA SECTION ==================== */
.cta {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--brand) 0%, rgba(31, 24, 191, 0.8) 100%);
  z-index: -2;
}

/* Connector pattern overlay */
.cta-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 50 L30 50 L30 30 L70 30 L70 50 L100 50' fill='none' stroke='%23ffffff' stroke-width='2' opacity='0.1'/%3E%3C/svg%3E");
  opacity: 0.5;
}

/* Dots pattern top-left */
.cta::before {
  content: "";
  position: absolute;
  top: 60px;
  left: 40px;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.3) 2px, transparent 2px);
  background-size: 16px 16px;
  z-index: 0;
  pointer-events: none;
}

/* Corner bracket bottom-right */
.cta::after {
  content: "";
  position: absolute;
  bottom: 80px;
  right: 60px;
  width: 80px;
  height: 80px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-left: none;
  border-top: none;
  z-index: 0;
  pointer-events: none;
}

.cta-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: stretch;
}

.cta-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.cta-header .cta-actions {
  justify-content: center;
}

.cta-header .contact-meta {
  text-align: center;
}

.cta-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.cta p,
.cta h2 {
  color: var(--text);
}

.cta .eyebrow {
  color: var(--gray);
}

.cta .eyebrow::before {
  background: var(--gray);
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.cta .btn.primary {
  background: var(--text);
  color: var(--brand);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta .btn.primary:hover {
  background: var(--gray);
}

.cta .btn.ghost {
  border-color: rgba(255, 255, 255, 0.4);
}

.cta .btn.ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.contact-meta {
  margin-top: 24px;
}

.contact-meta p {
  margin: 6px 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.contact-meta a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-card {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(10px);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  color: var(--text);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-form input,
.contact-form select {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.4);
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  transition: all 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--text);
  background: rgba(0, 0, 0, 0.6);
}

.contact-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin: 4px 0 0;
  text-transform: none;
  letter-spacing: normal;
}

/* ==================== FOOTER ==================== */
.footer {
  padding: 60px 0 30px;
  background: #0a0a14;
  border-top: 1px solid rgba(31, 24, 191, 0.2);
  position: relative;
  overflow: hidden;
}

/* Subtle dots pattern in footer */
.footer::before {
  content: "";
  position: absolute;
  top: 30px;
  right: 30px;
  width: 80px;
  height: 80px;
  background-image: radial-gradient(circle, var(--brand) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  opacity: 0.15;
  pointer-events: none;
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  flex: 0 0 auto;
}

.footer-logo {
  height: 110px;
  width: auto;
  object-fit: contain;
}

.footer-info {
  padding: 24px 0;
}

.footer-desc {
  color: var(--gray);
  margin-bottom: 4px;
  font-weight: 500;
  font-size: 13px;
}

.footer-address {
  color: rgba(220, 220, 220, 0.6);
  font-size: 12px;
  line-height: 1.6;
}

.footer-nav-group {
  flex: 0 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
}

.footer-links a {
  color: var(--gray);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-partners {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.partner-logos {
  display: flex;
  align-items: center;
  gap: 20px;
}

.partner-logos img {
  height: 55px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s ease;
  object-fit: contain;
}

.partner-logos img:hover {
  opacity: 1;
}

.partner-logos .logo-promalaga {
  height: 38px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  gap: 20px;
}

.footer-legal {
  color: rgba(220, 220, 220, 0.5);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.footer-meta {
  color: rgba(220, 220, 220, 0.5);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 960px) {
  .hero-content,
  .cta-content,
  .cta-cards {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 100px;
  }

  .hero-card {
    margin-top: 20px;
  }

  .section {
    padding: 80px 0;
  }
}

@media (max-width: 960px) {
  .footer-top-row {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .partner-logos {
    justify-content: center;
  }

  .footer-info {
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

@media (max-width: 760px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    padding: 20px;
    border-top: 1px solid rgba(31, 24, 191, 0.2);
    display: none;
    backdrop-filter: blur(20px);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 14px;
    text-align: center;
    border-radius: 10px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .actions .btn {
    display: none;
  }

  .lang-switcher {
    font-size: 12px;
  }

  .header-content {
    padding: 10px 0;
  }

  .brand-mark {
    height: 60px;
  }

  .footer {
    padding: 40px 0 24px;
  }

  .footer-top-row {
    gap: 20px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .footer-links a {
    font-size: 12px;
  }

  .partner-logos {
    gap: 16px;
  }

  .partner-logos img {
    height: 35px;
  }

  .footer-logo {
    height: 50px;
  }

  .footer-info {
    text-align: center;
  }
}

@media (max-width: 520px) {
  .hero-text h1 {
    font-size: 28px;
  }

  .section-head h2 {
    font-size: 26px;
  }

  .stat-number {
    font-size: 40px;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
  }
}

/* ==================== MOBILE OPTIMIZATIONS ==================== */

/* Sticky CTA button for mobile */
.mobile-sticky-cta {
  display: none;
}

@media (max-width: 760px) {
  .mobile-sticky-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(31, 24, 191, 0.3);
    z-index: 99;
    gap: 10px;
  }

  .mobile-sticky-cta .btn {
    flex: 1;
    padding: 14px 16px;
    font-size: 13px;
  }

  /* Add bottom padding to body to account for sticky CTA */
  body {
    padding-bottom: 70px;
  }

  /* Hide hero card on mobile - too much content */
  .hero-card {
    display: none;
  }

  /* Simplify hero badges */
  .hero-badges {
    gap: 6px;
  }

  .hero-badges span {
    padding: 6px 10px;
    font-size: 11px;
  }

  /* Hide secondary CTA in hero on mobile (sticky handles it) */
  .hero-ctas .btn.ghost {
    display: none;
  }

  /* Reduce section padding */
  .section {
    padding: 60px 0;
  }

  /* Simplify lede text */
  .lede {
    font-size: 15px;
    line-height: 1.6;
  }

  /* Hide chip pattern decorations on mobile */
  #sobre::before,
  #infraestructura::after,
  #servicios::before,
  #startups::before,
  #startups::after,
  .stats::before,
  .stats::after,
  #agenda::before,
  #agenda::after,
  .cta::before,
  .cta::after,
  .footer::before,
  .hero::after {
    display: none;
  }
}

/* Collapsible startup cards on mobile */
@media (max-width: 760px) {
  .startup-card {
    cursor: pointer;
  }

  .startup-card h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }

  .startup-card h3::after {
    content: "+";
    font-size: 20px;
    color: var(--brand);
    font-weight: 400;
    transition: transform 0.3s ease;
  }

  .startup-card.expanded h3::after {
    content: "−";
  }

  .startup-card ul {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding-top: 0;
  }

  .startup-card.expanded ul {
    max-height: 500px;
    padding-top: 12px;
    border-top: 1px solid rgba(31, 24, 191, 0.2);
    margin-top: 12px;
  }

  /* Reduce card padding on mobile */
  .card {
    padding: 20px;
  }

  .startup-card {
    padding: 16px;
  }

  /* Stats section - horizontal scroll */
  #stats .grid.three,
  .stats .grid.three {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
  }

  .stats .stat {
    flex: 0 0 80%;
    scroll-snap-align: center;
  }

  /* Timeline compact */
  .timeline li {
    padding: 12px 0 12px 20px;
    font-size: 14px;
  }

  .timeline span {
    font-size: 11px;
  }

  /* Footer more compact */
  .footer-links {
    display: none;
  }

  .footer-info {
    padding: 16px 0;
  }

  .footer-desc {
    font-size: 12px;
  }

  .footer-address {
    font-size: 11px;
  }
}

/* ==================== COOKIE BANNER ==================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(31, 24, 191, 0.3);
  padding: 16px 20px;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-content p {
  margin: 0;
  font-size: 14px;
  color: var(--gray);
}

.cookie-content a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions .btn {
  padding: 10px 20px;
  font-size: 12px;
}

@media (max-width: 600px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions .btn {
    flex: 1;
  }

  /* Ajustar padding del body cuando hay banner + sticky CTA */
  body.cookie-visible {
    padding-bottom: 140px;
  }
}

/* Quick navigation dots for mobile */
.mobile-nav-dots {
  display: none;
}

@media (max-width: 760px) {
  .mobile-nav-dots {
    display: flex;
    position: fixed;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    gap: 8px;
    z-index: 98;
  }

  .mobile-nav-dots a {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(31, 24, 191, 0.3);
    border: 1px solid var(--brand);
    transition: all 0.2s ease;
  }

  .mobile-nav-dots a:hover,
  .mobile-nav-dots a.active {
    background: var(--brand);
    transform: scale(1.2);
  }
}
