/* ─────────────────────────────────────────
   FONTS — servite localmente
───────────────────────────────────────── */
@font-face {
  font-family: 'Rajdhani';
  font-style: normal; font-weight: 300; font-display: swap;
  src: url('/fonts/rajdhani-latin-300-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Rajdhani';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/rajdhani-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Rajdhani';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('/fonts/rajdhani-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Rajdhani';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('/fonts/rajdhani-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Rajdhani';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('/fonts/rajdhani-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Exo 2';
  font-style: normal; font-weight: 300; font-display: swap;
  src: url('/fonts/exo-2-latin-300-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Exo 2';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/exo-2-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Exo 2';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('/fonts/exo-2-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Exo 2';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('/fonts/exo-2-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Share Tech Mono';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/share-tech-mono-latin-400-normal.woff2') format('woff2');
}

/* ─────────────────────────────────────────
   VARIABLES & RESET
───────────────────────────────────────── */
:root {
  --blue:       #0087C6;
  --blue-dim:   #005a85;
  --blue-glow:  rgba(0,135,198,0.35);
  --blue-faint: rgba(0,135,198,0.07);
  --dark:       #060c12;
  --darker:     #030710;
  --panel:      #0a1520;
  --panel2:     #0d1d2e;
  --text:       #c8dce8;
  --text-dim:   #4d6e80;
  --white:      #eaf5fb;
  --accent:     #00d4ff;
  --mono: 'Share Tech Mono', 'Courier New', monospace;
  --head: 'Rajdhani', 'Arial Narrow', sans-serif;
  --body: 'Exo 2', 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--dark);
  color: var(--text);
  font-family: var(--body);
  font-weight: 300;
  overflow-x: hidden;
}

/* scanlines */
body::before {
  content: '';
  position: fixed; inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px);
  pointer-events: none;
  z-index: 9999;
}

.grid-bg {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(0,135,198,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,135,198,0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
  z-index: 0;
}

/* ─────────────────────────────────────────
   NAVBAR
───────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 500; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  background: rgba(3,7,16,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,135,198,0.18);
  transition: background .3s;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { height: 34px; width: auto; }
.nav-brand {
  font-family: var(--head); font-weight: 700; font-size: 1.4rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--white);
}
.nav-brand span { color: var(--blue); }
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a {
  font-family: var(--head); font-size: .82rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-dim); text-decoration: none;
  padding: 8px 14px; position: relative; transition: color .2s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 14px; right: 14px;
  height: 2px; background: var(--blue);
  transform: scaleX(0); transition: transform .25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  font-family: var(--head); font-size: .8rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--dark); background: var(--blue); border: none;
  padding: 9px 22px; cursor: pointer;
  clip-path: polygon(8px 0%,100% 0%,calc(100% - 8px) 100%,0% 100%);
  transition: background .2s, box-shadow .2s;
}
.nav-cta:hover { background: var(--accent); box-shadow: 0 0 18px var(--blue-glow); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--blue); transition: .3s; }

/* ─────────────────────────────────────────
   SLIDER
───────────────────────────────────────── */
.slider {
  position: relative; z-index: 1;
  height: 100vh; min-height: 600px; overflow: hidden;
}
.slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  padding: 80px 48px 60px;
  opacity: 0; transition: opacity .9s ease; pointer-events: none;
}
.slide.active { opacity: 1; pointer-events: auto; }

.slide-1 { background: radial-gradient(ellipse 60% 60% at 80% 50%, rgba(0,135,198,.12) 0%, transparent 70%), var(--dark); }
.slide-2 { background: radial-gradient(ellipse 60% 60% at 75% 40%, rgba(255,107,53,.08) 0%, transparent 70%), radial-gradient(ellipse 40% 40% at 85% 70%, rgba(0,135,198,.08) 0%, transparent 60%), var(--dark); }
.slide-3 { background: radial-gradient(ellipse 55% 55% at 78% 50%, rgba(0,212,255,.09) 0%, transparent 70%), var(--dark); }
.slide-4 { background: radial-gradient(ellipse 60% 60% at 76% 45%, rgba(0,135,198,.14) 0%, transparent 70%), var(--dark); }

.slide-content { max-width: 680px; z-index: 2; }

.slide-eyebrow {
  font-family: var(--mono); font-size: .72rem;
  color: var(--blue); letter-spacing: .22em; text-transform: uppercase;
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
}
.slide-eyebrow::before { content: ''; display: inline-block; width: 32px; height: 1px; background: var(--blue); }

.slide h1 {
  font-family: var(--head); font-weight: 700;
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
  line-height: 1.05; letter-spacing: .02em; text-transform: uppercase;
  color: var(--white); margin-bottom: 24px;
}
.slide h1 em { font-style: normal; color: var(--blue); text-shadow: 0 0 28px var(--blue-glow); }
.slide p { font-size: 1rem; line-height: 1.85; color: var(--text-dim); max-width: 500px; margin-bottom: 36px; }
.slide-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-prim {
  font-family: var(--head); font-size: .88rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--dark); background: var(--blue); border: none;
  padding: 13px 34px; cursor: pointer; text-decoration: none; display: inline-block;
  clip-path: polygon(10px 0%,100% 0%,calc(100% - 10px) 100%,0% 100%);
  transition: background .2s, box-shadow .2s;
}
.btn-prim:hover { background: var(--accent); box-shadow: 0 0 22px var(--blue-glow); }

.btn-out {
  font-family: var(--head); font-size: .88rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); background: transparent; border: 1px solid var(--blue);
  padding: 13px 34px; cursor: pointer; text-decoration: none; display: inline-block;
  clip-path: polygon(10px 0%,100% 0%,calc(100% - 10px) 100%,0% 100%);
  transition: background .2s, color .2s;
}
.btn-out:hover { background: var(--blue-faint); color: var(--accent); }

.slide-visual {
  position: absolute; right: 0; top: 0; bottom: 0; width: 45%;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.slide-visual svg { width: min(360px, 90%); height: auto; opacity: .85; }

.slider-dots { position: absolute; bottom: 36px; left: 48px; display: flex; gap: 10px; z-index: 10; }
.dot {
  width: 32px; height: 3px; background: rgba(0,135,198,.25);
  cursor: pointer; transition: background .3s, width .3s;
  clip-path: polygon(2px 0%,100% 0%,calc(100% - 2px) 100%,0% 100%);
}
.dot.active { background: var(--blue); width: 52px; box-shadow: 0 0 10px var(--blue-glow); }

.slider-arrows { position: absolute; bottom: 30px; right: 60px; display: flex; gap: 8px; z-index: 10; }
.arr-btn {
  width: 40px; height: 40px; border: 1px solid rgba(0,135,198,.3);
  background: transparent; color: var(--blue); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  clip-path: polygon(6px 0%,100% 0%,calc(100% - 6px) 100%,0% 100%);
  transition: border-color .2s, background .2s;
}
.arr-btn:hover { border-color: var(--blue); background: var(--blue-faint); }

.slide-counter {
  position: absolute; right: 48px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: .65rem;
  color: rgba(0,135,198,.35); letter-spacing: .12em;
  writing-mode: vertical-rl; z-index: 10;
}

/* ─────────────────────────────────────────
   SECTIONS
───────────────────────────────────────── */
section {
  position: relative; z-index: 1;
  padding: 96px 48px;
  border-top: 1px solid rgba(0,135,198,.08);
}
section:nth-child(odd)  { background: var(--dark); }
section:nth-child(even) { background: var(--darker); }

.sec-divider {
  position: absolute; top: 0; left: 48px; right: 48px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue) 0%, transparent 60%);
}
.sec-tag { font-family: var(--mono); font-size: .68rem; color: var(--blue); letter-spacing: .24em; text-transform: uppercase; margin-bottom: 14px; }

h2 {
  font-family: var(--head); font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  color: var(--white); margin-bottom: 14px;
}
h2 em { font-style: normal; color: var(--blue); }
.sec-lead { font-size: 1rem; color: var(--text-dim); max-width: 540px; line-height: 1.85; margin-bottom: 56px; }

/* ─────────────────────────────────────────
   CARDS
───────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: rgba(0,135,198,.08);
  border: 1px solid rgba(0,135,198,.1);
}
.card {
  background: var(--panel); padding: 32px 28px;
  position: relative; overflow: hidden; transition: background .25s;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 3px; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.card:hover { background: var(--panel2); }
.card:hover::before { transform: scaleX(1); }
.card-num { position: absolute; top: 20px; right: 20px; font-family: var(--mono); font-size: .6rem; color: rgba(0,135,198,.25); }
.card-icon { width: 40px; height: 40px; margin-bottom: 18px; color: var(--blue); }
.card h3 { font-family: var(--head); font-size: 1.05rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--white); margin-bottom: 10px; }
.card p { font-size: .88rem; color: var(--text-dim); line-height: 1.75; }

/* ─────────────────────────────────────────
   TWO-COL (Privacidad)
───────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; margin-bottom: 56px; }
.norm-list { display: flex; flex-direction: column; }
.norm-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(0,135,198,.08); }
.norm-item:first-child { border-top: 1px solid rgba(0,135,198,.08); }
.norm-dot { width: 8px; height: 8px; flex-shrink: 0; margin-top: 6px; background: var(--blue); clip-path: polygon(50% 0%,100% 50%,50% 100%,0% 50%); }
.norm-item h4 { font-family: var(--head); font-size: .95rem; font-weight: 600; letter-spacing: .06em; color: var(--white); margin-bottom: 4px; }
.norm-item p { font-size: .85rem; color: var(--text-dim); line-height: 1.7; }
.hex-wrap { display: flex; align-items: center; justify-content: center; }
.hex-wrap svg { width: 100%; max-width: 300px; }

/* ─────────────────────────────────────────
   CONTACT FORM
───────────────────────────────────────── */
.form-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 72px; align-items: start; }
.form-info h2 { margin-bottom: 12px; }
.form-info p { font-size: .95rem; color: var(--text-dim); line-height: 1.85; margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 18px; }
.contact-item { display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: .75rem; color: var(--text-dim); letter-spacing: .08em; }
.contact-item svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; }

form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--mono); font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; color: var(--blue); }
.field input, .field select, .field textarea {
  background: var(--panel); border: 1px solid rgba(0,135,198,.2);
  color: var(--white); font-family: var(--body); font-size: .9rem;
  padding: 11px 14px; outline: none;
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px var(--blue-faint), 0 0 8px var(--blue-glow);
}
.field select option { background: var(--panel); }
.field textarea { resize: vertical; min-height: 110px; }
input::placeholder, textarea::placeholder { color: var(--text-dim); }

.form-submit {
  font-family: var(--head); font-size: .9rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--dark); background: var(--blue); border: none;
  padding: 14px 36px; cursor: pointer; align-self: flex-start;
  clip-path: polygon(10px 0%,100% 0%,calc(100% - 10px) 100%,0% 100%);
  transition: background .2s, box-shadow .2s;
}
.form-submit:hover { background: var(--accent); box-shadow: 0 0 22px var(--blue-glow); }
.form-submit:disabled { opacity: .6; cursor: not-allowed; }

.form-note {
  font-family: var(--mono); font-size: .62rem;
  color: var(--text-dim); letter-spacing: .06em;
  border-top: 1px solid rgba(0,135,198,.08); padding-top: 12px;
}
.form-success {
  display: none; background: var(--panel);
  border: 1px solid rgba(0,135,198,.3);
  padding: 28px 24px; font-family: var(--head); font-size: 1rem;
  color: var(--blue); letter-spacing: .06em; text-align: center;
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
footer {
  position: relative; z-index: 1;
  background: #020609;
  border-top: 1px solid rgba(0,135,198,.15);
  padding: 36px 48px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer-brand { font-family: var(--head); font-weight: 700; font-size: 1.2rem; letter-spacing: .14em; text-transform: uppercase; color: var(--white); }
.footer-brand span { color: var(--blue); }
.footer-links { display: flex; gap: 28px; list-style: none; flex-wrap: wrap; }
.footer-links a { font-family: var(--head); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--blue); }
.footer-copy { width: 100%; border-top: 1px solid rgba(0,135,198,.07); padding-top: 20px; font-family: var(--mono); font-size: .62rem; color: var(--text-dim); letter-spacing: .08em; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ─────────────────────────────────────────
   ANIMATIONS
───────────────────────────────────────── */
@keyframes blink    { 0%,100%{opacity:1} 50%{opacity:0} }
@keyframes fadeUp   { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
@keyframes spin-cw  { to{transform:rotate(360deg)} }
@keyframes spin-ccw { to{transform:rotate(-360deg)} }
@keyframes pulse-c  { 0%,100%{opacity:.4} 50%{opacity:.12} }

.blink { animation: blink 1.1s step-end infinite; }

.slide.active .slide-content > * { animation: fadeUp .7s ease both; }
.slide.active .slide-eyebrow  { animation-delay: .1s; }
.slide.active h1               { animation-delay: .2s; }
.slide.active p                { animation-delay: .3s; }
.slide.active .slide-actions   { animation-delay: .4s; }

.ring-spin   { transform-box: fill-box; transform-origin: center; animation: spin-cw  20s linear infinite; }
.ring-spin-r { transform-box: fill-box; transform-origin: center; animation: spin-ccw 15s linear infinite; }
.pulse-c { animation: pulse-c 3s ease-in-out infinite; }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 960px) {
  nav { padding: 0 20px; }
  .nav-links {
    display: none; position: fixed; top: 64px; left: 0; right: 0;
    flex-direction: column; background: rgba(3,7,16,.97);
    padding: 20px 0; border-bottom: 1px solid rgba(0,135,198,.2);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 24px; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
  .slide { padding: 80px 24px 60px; }
  .slide-visual { display: none; }
  section { padding: 64px 24px; }
  .sec-divider { left: 24px; right: 24px; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .hex-wrap { display: none; }
  .form-wrap { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .slider-dots { left: 24px; }
  .slider-arrows { right: 24px; }
  .slide-counter { display: none; }
  footer { flex-direction: column; padding: 28px 24px; }
}
