:root {
  --bg:       #060a12;
  --bg2:      #080d18;
  --bg3:      #0b1220;
  --blue:     #0ea5e9;
  --cyan:     #22d3ee;
  --blue-dim: #0369a1;
  --glow-b:   rgba(14,165,233,0.35);
  --glow-c:   rgba(34,211,238,0.25);
  --white:    #f0f8ff;
  --muted:    #7a93b4;
  --faint:    rgba(14,165,233,0.08);
  --border:   rgba(14,165,233,0.18);
  --border2:  rgba(34,211,238,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
  cursor: none;
}

/* ── NOISE OVERLAY ── */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  opacity: .022;
  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='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 9990;
}

/* ── CURSOR ── */
#cur {
  position: fixed; width: 8px; height: 8px;
  background: var(--cyan); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
}
#cur-ring {
  position: fixed; width: 32px; height: 32px;
  border: 1px solid rgba(34,211,238,.45); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s, border-color .2s;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 5rem;
  background: rgba(6,10,18,.75);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border2);
}
.logo {
  font-family: 'DM Mono', monospace;
  font-size: 1.25rem; font-weight: 500;
  color: var(--white); text-decoration: none;
  display: flex; align-items: center; gap: .3rem;
}
.logo em { font-style: normal; color: var(--cyan); }
.logo sup {
  font-size: .5rem; color: var(--blue);
  letter-spacing: .12em; text-transform: uppercase;
  margin-left: .1rem; vertical-align: super;
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: .82rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  transition: color .2s; position: relative;
}
.nav-links a:hover { color: var(--white); }
.nav-links a::after {
  content: ''; position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--cyan); transition: width .3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-btn {
  background: transparent !important;
  border: 1px solid var(--blue) !important;
  color: var(--cyan) !important;
  padding: .55rem 1.4rem;
  font-size: .78rem !important; font-weight: 700 !important;
  letter-spacing: .1em;
  transition: background .25s, box-shadow .25s !important;
}
.nav-btn::after { display: none !important; }
.nav-btn:hover {
  background: rgba(14,165,233,.12) !important;
  box-shadow: 0 0 22px var(--glow-b) !important;
  color: var(--white) !important;
}

/* ── HERO ── */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 8rem 5rem 5rem; overflow: hidden;
}
/* Video de fondo */
#hero-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: .28;
  filter: brightness(1.4) contrast(1.3);
}
.hero-video-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom,  rgba(6,10,18,.75) 0%,  rgba(6,10,18,.45) 40%, rgba(6,10,18,.85) 100%),
    linear-gradient(to right,   rgba(6,10,18,.6)  0%,  transparent        60%);
}
.hgrid {
  position: absolute; inset: 0; z-index: 2;
  background-image:
    linear-gradient(rgba(14,165,233,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(120px); pointer-events: none; z-index: 2;
}
.orb1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(14,165,233,.18), transparent 70%);
  top: -100px; left: -100px;
}
.orb2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(34,211,238,.12), transparent 70%);
  bottom: -80px; right: -80px;
}
.hero-inner {
  position: relative; z-index: 3;
  max-width: 860px; text-align: center;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(14,165,233,.1);
  border: 1px solid rgba(14,165,233,.3);
  padding: .38rem 1.1rem;
  font-family: 'DM Mono', monospace;
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 2.2rem;
  animation: fadeUp .7s ease .1s both;
}
.pill-dot {
  width: 5px; height: 5px;
  background: var(--cyan); border-radius: 50%;
  animation: blink 1.4s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.hero-title {
  font-size: clamp(2.8rem, 6.5vw, 6rem);
  font-weight: 900; line-height: 1.02;
  letter-spacing: -.03em; margin-bottom: 1.6rem;
  animation: fadeUp .7s ease .25s both;
}
.hero-title .t2 {
  display: block;
  background: linear-gradient(90deg, var(--blue) 0%, var(--cyan) 60%, #a5f3fc 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-title .t2::after {
  content: '|';
  -webkit-text-fill-color: var(--cyan);
  animation: blink .75s step-end infinite;
}
.hero-sub {
  font-size: 1.1rem; color: var(--muted);
  max-width: 580px; margin: 0 auto 3rem;
  line-height: 1.75; font-weight: 300;
  animation: fadeUp .7s ease .4s both;
}
.hero-actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  animation: fadeUp .7s ease .55s both;
}
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: var(--muted); font-family: 'DM Mono', monospace;
  font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
  animation: fadeUp .7s ease .9s both;
}
.scl {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scldrop 1.6s ease-in-out infinite;
}
@keyframes scldrop {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── BUTTONS ── */
.btn-p {
  background: linear-gradient(135deg, var(--blue-dim), var(--blue));
  color: var(--white); padding: .95rem 2.4rem;
  font-family: 'Outfit', sans-serif; font-size: .88rem;
  font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  border: none; text-decoration: none; cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: box-shadow .3s, transform .2s;
  box-shadow: 0 4px 30px rgba(14,165,233,.3);
  display: inline-block;
}
.btn-p:hover { box-shadow: 0 6px 40px rgba(14,165,233,.55); transform: translateY(-2px); }
.btn-g {
  background: transparent; color: var(--white);
  padding: .95rem 2.4rem; font-family: 'Outfit', sans-serif;
  font-size: .88rem; font-weight: 600; letter-spacing: .07em;
  text-transform: uppercase; border: 1px solid rgba(255,255,255,.15);
  text-decoration: none; cursor: pointer;
  transition: border-color .3s, color .3s;
  display: inline-block;
}
.btn-g:hover { border-color: var(--cyan); color: var(--cyan); }

/* ── STATS ── */
.statsbar {
  display: grid; grid-template-columns: repeat(4,1fr);
  background: var(--bg2);
  border-top: 1px solid var(--border2);
  border-bottom: 1px solid var(--border2);
  padding: 2.5rem 5rem; gap: 1rem; text-align: center;
}
.snum {
  font-family: 'DM Mono', monospace; font-size: 2.6rem; font-weight: 500;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1; display: block;
}
.slbl { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-top: .35rem; }

/* ── SECTION COMMONS ── */
section { padding: 7rem 5rem; position: relative; }
.stag {
  font-family: 'DM Mono', monospace; font-size: .68rem;
  color: var(--cyan); letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: .9rem; display: flex; align-items: center; gap: .8rem;
}
.stag::before { content: ''; display: block; width: 28px; height: 1px; background: var(--cyan); }
.stitle {
  font-size: clamp(1.9rem, 3.8vw, 3.3rem);
  font-weight: 800; line-height: 1.08;
  letter-spacing: -.025em; margin-bottom: 1.4rem;
}
.gl { height: 1px; background: linear-gradient(to right, transparent, var(--blue), transparent); opacity: .3; }

/* ── REVEAL ── */
.rv { opacity: 0; transform: translateY(36px); transition: opacity .65s ease, transform .65s ease; }
.rv.on { opacity: 1; transform: none; }

/* ── HISTORIA ── */
#historia { background: var(--bg2); }
.hist-wrap {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start;
}
.hist-text p { color: var(--muted); line-height: 1.82; font-size: .97rem; margin-bottom: 1.4rem; }
.hist-text p strong { color: var(--white); }
.hist-link {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--cyan); text-decoration: none;
  font-size: .85rem; font-weight: 700; letter-spacing: .05em;
  margin-top: 1rem; transition: gap .3s;
}
.hist-link:hover { gap: 1rem; }

/* Historia image */
.hist-img-wrap {
  position: relative; overflow: hidden;
  border: 1px solid var(--border2);
  height: 480px;
}
.hist-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  display: block;
  filter: brightness(.75) saturate(.8) hue-rotate(10deg);
  transition: transform .6s ease;
}
.hist-img-wrap:hover img { transform: scale(1.03); }
.hist-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(6,10,18,.5) 0%, rgba(14,165,233,.1) 100%);
}
.hist-img-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg2));
}
.hist-img-label {
  position: absolute; top: 1.5rem; left: 1.5rem;
  font-family: 'DM Mono', monospace; font-size: .62rem;
  color: var(--cyan); letter-spacing: .15em; text-transform: uppercase; opacity: .85;
}

/* Timeline */
.tline { display: flex; flex-direction: column; position: relative; padding-left: 3rem; margin-top: 2rem; }
.tline::before {
  content: ''; position: absolute;
  left: 11px; top: 10px; bottom: 0;
  width: 1px; background: linear-gradient(to bottom, var(--blue), transparent);
}
.tli { position: relative; margin-bottom: 2.8rem; }
.tli:last-child { margin-bottom: 0; }
.tdot {
  position: absolute; left: -3rem; top: 4px;
  width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid var(--blue); background: var(--bg2);
  display: flex; align-items: center; justify-content: center;
}
.tdot-inner { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.tyr { font-family: 'DM Mono', monospace; font-size: .68rem; color: var(--blue); letter-spacing: .12em; margin-bottom: .3rem; }
.ttl { font-size: 1.05rem; font-weight: 700; margin-bottom: .35rem; }
.tds { font-size: .87rem; color: var(--muted); line-height: 1.65; }

/* ── SERVICIOS ── */
#svc-wrap { padding: 7rem 5rem; background: var(--bg); }
.svc-head {
  max-width: 1200px; margin: 0 auto 4rem;
  display: flex; justify-content: space-between;
  align-items: flex-end; flex-wrap: wrap; gap: 2rem;
}
.svc-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--border2);
  outline: 1px solid var(--border2);
}
.scard {
  background: var(--bg); padding: 3rem 2.5rem;
  position: relative; overflow: hidden;
  text-decoration: none; color: var(--white);
  display: block; transition: background .3s;
}
.scard::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(145deg, rgba(14,165,233,.07), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.scard:hover { background: var(--bg3); }
.scard:hover::before { opacity: 1; }
.scard:hover .sarr { transform: translate(4px,-4px); color: var(--cyan); }
.scard:hover .sicon { filter: drop-shadow(0 0 14px var(--glow-c)); }
.snum2 { font-family: 'DM Mono', monospace; font-size: .65rem; color: rgba(14,165,233,.35); letter-spacing: .15em; margin-bottom: 2rem; }
.sicon { width: 44px; height: 44px; margin-bottom: 1.5rem; color: var(--cyan); transition: filter .3s; }
.sname { font-size: 1.25rem; font-weight: 700; margin-bottom: .75rem; line-height: 1.2; }
.sdesc { font-size: .87rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.8rem; }
.stags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 2rem; }
.stg {
  font-family: 'DM Mono', monospace; font-size: .62rem;
  padding: .22rem .6rem; border: 1px solid rgba(14,165,233,.22);
  color: rgba(14,165,233,.65); letter-spacing: .08em; text-transform: uppercase;
}
.sarr { position: absolute; bottom: 2.5rem; right: 2.5rem; font-size: 1.1rem; transition: transform .3s, color .3s; }

/* ── MISIÓN / VISIÓN / PILARES ── */
#mv { background: var(--bg2); padding: 7rem 5rem; }
.mv-inner { max-width: 1200px; margin: 0 auto; }
.mvgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 4rem; }
.mvcard {
  padding: 3rem; position: relative; overflow: hidden;
  background: rgba(14,165,233,.04); border: 1px solid var(--border);
}
.mvcard::after {
  content: ''; position: absolute; top: 0; left: 0;
  width: 2px; height: 100%;
  background: linear-gradient(to bottom, var(--cyan), var(--blue));
}
.mvlabel { font-family: 'DM Mono', monospace; font-size: .65rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin-bottom: .8rem; }
.mvcard h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: .9rem; line-height: 1.2; }
.mvcard p { color: var(--muted); line-height: 1.8; font-size: .92rem; }
.pil-head { text-align: center; margin-bottom: 3rem; }
.pilgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.pcard {
  padding: 2.5rem 2rem; text-align: center;
  background: rgba(14,165,233,.03); border: 1px solid var(--border2);
  transition: border-color .3s, transform .3s, background .3s; cursor: default;
}
.pcard:hover { border-color: rgba(34,211,238,.5); transform: translateY(-5px); background: rgba(14,165,233,.07); }
.pcard:hover .pico { filter: drop-shadow(0 0 12px var(--glow-c)); }
.pico { font-size: 2.4rem; margin-bottom: 1.1rem; transition: filter .3s; display: block; }
.pname { font-size: 1rem; font-weight: 700; margin-bottom: .7rem; }
.pdesc { font-size: .84rem; color: var(--muted); line-height: 1.7; }

/* ── CONTACTO ── */
#contacto { background: var(--bg); padding: 7rem 5rem; }
.ctc-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 6rem; align-items: start;
}
.ctc-info p { color: var(--muted); font-size: .97rem; line-height: 1.8; margin-bottom: 2.5rem; }

/* Contact image */
.ctc-img-wrap {
  position: relative; overflow: hidden;
  border: 1px solid var(--border2); height: 260px;
  margin-bottom: 2.5rem;
}
.ctc-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
  display: block;
  filter: brightness(.6) saturate(.7) hue-rotate(15deg);
}
.ctc-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(6,10,18,.7) 0%, rgba(14,165,233,.15) 100%);
}
.ctc-img-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 80px;
  background: linear-gradient(to bottom, transparent, var(--bg));
}
.ctc-img-badge {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: .4rem;
}
.ctc-img-badge span:first-child {
  font-family: 'DM Mono', monospace; font-size: .65rem;
  color: var(--cyan); letter-spacing: .18em; text-transform: uppercase; opacity: .9;
}
.ctc-img-badge span:last-child {
  font-family: 'DM Mono', monospace; font-size: 2.8rem;
  font-weight: 500; color: var(--white); line-height: 1;
}
.ctc-img-badge span:last-child em {
  font-style: normal; font-size: 1rem; color: var(--cyan); margin-left: .3rem;
}

.channels { display: flex; flex-direction: column; gap: 1.2rem; }
.ch {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.4rem;
  background: rgba(14,165,233,.04); border: 1px solid var(--border2);
  transition: border-color .3s;
}
.ch:hover { border-color: var(--blue); }
.chico {
  width: 38px; height: 38px; background: rgba(14,165,233,.12); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan); font-size: .95rem; flex-shrink: 0;
}
.chlbl { font-family: 'DM Mono', monospace; font-size: .65rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .15rem; }
.chval { font-size: .92rem; font-weight: 600; }

/* Form */
.cform { display: flex; flex-direction: column; gap: 1.1rem; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.fld { display: flex; flex-direction: column; gap: .35rem; }
.fld label { font-family: 'DM Mono', monospace; font-size: .65rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.fld input, .fld textarea, .fld select {
  background: rgba(14,165,233,.04); border: 1px solid rgba(255,255,255,.08);
  color: var(--white); padding: .85rem 1.1rem;
  font-family: 'Outfit', sans-serif; font-size: .92rem; outline: none;
  transition: border-color .3s, box-shadow .3s; -webkit-appearance: none;
}
.fld input:focus, .fld textarea:focus, .fld select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 18px rgba(34,211,238,.12);
}
.fld textarea { resize: vertical; min-height: 120px; }
.fld select option { background: var(--bg); }
#form-ok {
  display: none; text-align: center; padding: 3.5rem;
  border: 1px solid rgba(14,165,233,.3);
  background: rgba(14,165,233,.05);
}
#form-ok .ok-icon { font-size: 2rem; margin-bottom: .8rem; }
#form-ok h3 { font-size: 1.2rem; margin-bottom: .5rem; }
#form-ok p { color: var(--muted); font-size: .88rem; }

/* ── FOOTER ── */
footer {
  background: rgba(14,165,233,.03);
  border-top: 1px solid var(--border2);
  padding: 2.8rem 5rem;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 2rem;
}
.flogo { font-family: 'DM Mono', monospace; font-size: .95rem; font-weight: 500; color: var(--white); }
.flogo em { font-style: normal; color: var(--cyan); }
.flinks { display: flex; gap: 2rem; list-style: none; }
.flinks a { color: var(--muted); text-decoration: none; font-size: .8rem; transition: color .2s; }
.flinks a:hover { color: var(--cyan); }
.fcopy { font-family: 'DM Mono', monospace; font-size: .65rem; color: rgba(122,147,180,.45); letter-spacing: .08em; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}


/* ══════════════════════════════════════════
   HAMBURGER — hidden on desktop by default
══════════════════════════════════════════ */
.nav-hamburger { display: none; }

/* ══════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 1024px)
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  nav { padding: 1rem 2rem; }
  .nav-links { gap: 1.5rem; }
  .nav-links a { font-size: .75rem; }

  #hero { padding: 7rem 2rem 4rem; }

  .statsbar { padding: 2rem; gap: .5rem; }
  .snum { font-size: 2rem; }

  section { padding: 5rem 2rem; }

  #historia { padding: 5rem 2rem; }
  .hist-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .hist-img-wrap { height: 340px; }

  #svc-wrap { padding: 5rem 2rem; }
  .svc-grid { grid-template-columns: 1fr; }

  #mv { padding: 5rem 2rem; }
  .mvgrid { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 3rem; }
  .pilgrid { grid-template-columns: 1fr 1fr; gap: 1rem; }

  #contacto { padding: 5rem 2rem; }
  .ctc-inner { grid-template-columns: 1fr; gap: 3rem; }
  .frow { grid-template-columns: 1fr; }

  footer { padding: 2rem; flex-direction: column; text-align: center; }
  .flinks { flex-wrap: wrap; justify-content: center; gap: 1rem; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 768px)
══════════════════════════════════════════ */
@media (max-width: 768px) {

  /* CURSOR */
  #cur, #cur-ring { display: none; }
  body { cursor: auto; }

  /* NAV */
  nav { padding: .9rem 1.25rem; }

  .nav-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: .4rem;
    z-index: 201;
  }
  .nav-hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
  }
  .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    padding-top: 80px;
    background: rgba(6,10,18,.97);
    backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 200;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.2rem; letter-spacing: .1em; }
  .nav-btn { padding: .8rem 2.5rem !important; font-size: .9rem !important; }

  /* HERO */
  #hero { padding: 6rem 1.25rem 4rem; min-height: 90vh; }
  .hero-pill { font-size: .58rem; padding: .3rem .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 90vw; }
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); letter-spacing: -.02em; }
  .hero-sub { font-size: .95rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-p, .btn-g { width: 100%; max-width: 300px; text-align: center; display: block; }

  /* STATS */
  .statsbar { grid-template-columns: 1fr 1fr; padding: 1.5rem 1.25rem; }
  .snum { font-size: 1.8rem; }
  .slbl { font-size: .68rem; }

  /* SECTIONS */
  section { padding: 4rem 1.25rem; }
  .stitle { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  .stag { font-size: .62rem; }

  /* HISTORIA */
  #historia { padding: 4rem 1.25rem; }
  .hist-img-wrap { height: 240px; }
  .tline { padding-left: 2rem; }

  /* SERVICIOS GRID */
  #svc-wrap { padding: 4rem 1.25rem; }
  .svc-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .scard { padding: 2rem 1.5rem; }
  .sarr { display: none; }

  /* MISIÓN / VISIÓN */
  #mv { padding: 4rem 1.25rem; }
  .mvcard { padding: 2rem 1.5rem; }
  .mvcard h3 { font-size: 1.2rem; }
  .pilgrid { grid-template-columns: 1fr; }
  .pcard { padding: 2rem 1.5rem; }

  /* CONTACTO INDEX */
  #contacto { padding: 4rem 1.25rem; }

  /* FOOTER */
  footer { padding: 2rem 1.25rem; flex-direction: column; text-align: center; gap: 1.5rem; }
  .flinks { flex-wrap: wrap; justify-content: center; gap: .75rem; }
  .fcopy { font-size: .6rem; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — SMALL (≤ 480px)
══════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero-title { font-size: clamp(1.8rem, 9vw, 2.4rem); }
  .statsbar { grid-template-columns: 1fr 1fr; gap: .3rem; }
  .snum { font-size: 1.5rem; }
  .slbl { font-size: .62rem; }
  .hero-pill { font-size: .54rem; }
}
