/* ============================================================
   SEQUENCE — Estilos globales (landing + login)
   Paleta: blanco dominante, azules profundos y celestes de energía
   ============================================================ */

:root {
  --blue-950: #051A3C;
  --blue-900: #07234F;
  --blue-800: #0A2F6B;
  --blue-700: #0B3C8C;
  --blue-600: #1150B4;
  --blue-500: #1667D9;
  --sky-500: #2FA8F5;
  --sky-400: #57BBF8;
  --sky-300: #7CD1FF;
  --sky-100: #E3F2FE;
  --sky-50:  #F1F9FF;
  --ink:      #0A1729;
  --ink-soft: #3D4C63;
  --ink-mute: #6B7A93;
  --line:     #E0E9F5;
  --bg-soft:  #F5F9FE;
  --white:    #FFFFFF;
  --ok:       #14A56E;
  --warn:     #E8A020;
  --danger:   #E14D4D;

  --font-display: 'Archivo', 'Arial Black', sans-serif;
  --font-body: 'Instrument Sans', 'Segoe UI', sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(7, 35, 79, .06);
  --shadow-md: 0 10px 30px rgba(7, 35, 79, .10);
  --shadow-lg: 0 24px 60px rgba(7, 35, 79, .16);
  --grad-blue: linear-gradient(120deg, var(--blue-700) 0%, var(--blue-500) 55%, var(--sky-500) 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(1200px, 92%); margin-inline: auto; }

/* ---------- Tipografía display ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.5px;
  text-wrap: balance;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  color: var(--blue-600);
}
.eyebrow::before {
  content: "";
  width: 34px; height: 3px;
  border-radius: 2px;
  background: var(--grad-blue);
}
.section-head.center .eyebrow { justify-content: center; }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 14px 0 12px; text-transform: uppercase; }
.section-head h2 em { font-style: normal; color: var(--blue-500); }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: 100px;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--grad-blue);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(22, 103, 217, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(22, 103, 217, .45); }

.btn-ghost {
  background: var(--white);
  color: var(--blue-700);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--sky-400); color: var(--blue-500); transform: translateY(-2px); }

.btn-light {
  background: var(--white);
  color: var(--blue-700);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 76px;
  width: min(1280px, 94%);
}
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { height: 30px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 24px; flex-wrap: nowrap; margin-left: auto; }
.main-nav a {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink-soft);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.main-nav a:hover, .main-nav a.active { color: var(--blue-500); border-color: var(--blue-500); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn { padding: 11px 22px; font-size: .8rem; }

.nav-toggle { display: none; background: none; border: none; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(47, 168, 245, .16), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(22, 103, 217, .10), transparent 60%),
    var(--white);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 60, 140, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 60, 140, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(800px 500px at 70% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  padding: 84px 0 96px;
}
.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.7rem);
  text-transform: uppercase;
  letter-spacing: -1px;
}
.hero h1 .accent { color: var(--blue-500); }
.hero h1 .underline {
  position: relative;
  display: inline-block;
}
.hero h1 .underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 5px;
  border-radius: 4px;
  background: var(--grad-blue);
}
.hero .lead {
  margin: 22px 0 32px;
  max-width: 520px;
  font-size: 1.12rem;
  color: var(--ink-soft);
}
.hero .lead strong { color: var(--blue-700); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-trust {
  margin-top: 40px;
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}
.hero-trust .item { display: flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 600; color: var(--ink-mute); }
.hero-trust .item svg { color: var(--ok); flex: none; }

/* Tarjeta visual del hero (mock panel) */
.hero-visual { position: relative; }
.hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 26px;
  transform: rotate(1.5deg);
}
.hero-card .hc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 18px;
}
.hero-card .hc-head strong { font-family: var(--font-display); font-size: .95rem; letter-spacing: .5px; }
.hero-card .hc-head span { font-size: .74rem; font-weight: 700; color: var(--ok); background: #E7F8F0; padding: 4px 12px; border-radius: 100px; }
.hc-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; }
.hc-row + .hc-row { border-top: 1px solid var(--bg-soft); }
.hc-ico {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--sky-100);
  color: var(--blue-500);
}
.hc-row .hc-txt { flex: 1; min-width: 0; }
.hc-row .hc-txt b { display: block; font-size: .9rem; }
.hc-row .hc-txt small { color: var(--ink-mute); font-size: .76rem; }
.hc-bar { width: 110px; height: 8px; border-radius: 100px; background: var(--sky-100); overflow: hidden; flex: none; }
.hc-bar i { display: block; height: 100%; border-radius: 100px; background: var(--grad-blue); animation: growBar 1.4s cubic-bezier(.2,.8,.2,1) both .4s; }
@keyframes growBar { from { width: 0 } }

.hero-chip {
  position: absolute;
  z-index: 6;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 100px;
  box-shadow: var(--shadow-md);
  padding: 10px 18px;
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: floaty 5s ease-in-out infinite;
}
.hero-chip svg { color: var(--blue-500); }
.hero-chip.chip-a { top: -44px; left: -26px; animation-delay: .3s; }
.hero-chip.chip-b { bottom: -14px; right: -10px; animation-delay: 1.2s; color: var(--blue-700); }
@keyframes floaty { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-9px) } }

/* ---------- Franja marquee ---------- */
.strip {
  background: var(--blue-900);
  color: #BFDFFB;
  overflow: hidden;
  padding: 14px 0;
}
.strip-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.strip span {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 48px;
}
.strip span::after { content: "●"; color: var(--sky-500); font-size: .6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Servicios (cards) ---------- */
.services { padding: 96px 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: var(--grad-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #CBE0F8; }
.service-card:hover::after { transform: scaleX(1); }
.service-card .ico {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--sky-100);
  color: var(--blue-500);
  margin-bottom: 20px;
}
.service-card h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 10px; }
.service-card p { font-size: .92rem; color: var(--ink-soft); margin-bottom: 18px; }
.service-card .link {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--blue-500);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.service-card .link .arrow { transition: transform .18s; }
.service-card:hover .link .arrow { transform: translateX(4px); }

/* ---------- Banners por rubro ---------- */
.sectors { padding: 40px 0 96px; }
.sector-banner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
  background: var(--white);
  transition: box-shadow .2s ease;
}
.sector-banner:hover { box-shadow: var(--shadow-md); }
.sector-banner.reverse { grid-template-columns: .9fr 1.1fr; }
.sector-banner.reverse .sector-copy { order: 2; }
.sector-banner.reverse .sector-art { order: 1; }

.sector-copy { padding: 46px 44px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; }
.sector-copy .tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: .72rem; font-weight: 800; letter-spacing: 2.6px; text-transform: uppercase;
  color: var(--blue-600);
}
.sector-copy .tag::before {
  content: "";
  width: 26px; height: 3px;
  border-radius: 2px;
  background: var(--grad-blue);
}
.sector-copy h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); text-transform: uppercase; }
.sector-copy p { color: var(--ink-soft); font-size: .98rem; }
.sector-copy ul { display: grid; gap: 8px; margin: 6px 0 10px; }
.sector-copy ul li { display: flex; gap: 10px; font-size: .9rem; color: var(--ink-soft); }
.sector-copy ul li::before { content: "✓"; color: var(--sky-500); font-weight: 800; }

.sector-art {
  position: relative;
  min-height: 300px;
  display: grid;
  place-items: center;
  background: var(--grad-blue);
  overflow: hidden;
}
.sector-art.alt { background: linear-gradient(140deg, var(--blue-900), var(--blue-600)); }
.sector-art::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.14) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
}
.sector-art .big-ico {
  position: relative;
  width: 130px; height: 130px;
  display: grid; place-items: center;
  border-radius: 34px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(4px);
  color: #fff;
  animation: floaty 6s ease-in-out infinite;
}
.sector-art .orbit {
  position: absolute;
  border: 1.5px dashed rgba(255,255,255,.3);
  border-radius: 50%;
}
.sector-art .orbit.o1 { width: 240px; height: 240px; }
.sector-art .orbit.o2 { width: 360px; height: 360px; }

/* ---------- Stats ---------- */
.stats { background: var(--bg-soft); border-block: 1px solid var(--line); padding: 70px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}
.stat .ico { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--sky-100); color: var(--blue-500); }
.stat b { font-family: var(--font-display); font-size: 1.9rem; font-weight: 900; color: var(--blue-600); display: block; line-height: 1.1; }
.stat small { font-size: .8rem; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--ink-mute); }

/* ---------- Proceso ---------- */
.process { padding: 96px 0; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 58px 24px 26px;
  transition: transform .2s, box-shadow .2s;
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step-card::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 18px; left: 22px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--sky-500);
}
.step-card h4 { font-family: var(--font-display); font-size: .98rem; text-transform: uppercase; margin-bottom: 8px; }
.step-card p { font-size: .88rem; color: var(--ink-soft); }

/* ---------- CTA panel ---------- */
.cta {
  margin: 20px 0 96px;
}
.cta-box {
  position: relative;
  background: var(--grad-blue);
  border-radius: 28px;
  padding: 64px 56px;
  color: #fff;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 32px;
}
.cta-box::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.13) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}
.cta-box h2 { position: relative; font-size: clamp(1.6rem, 3vw, 2.3rem); text-transform: uppercase; }
.cta-box p { position: relative; margin-top: 12px; color: #DCEEFE; max-width: 480px; }
.cta-box .actions { position: relative; display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-950); color: #9FB8DA; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 64px 0 48px;
}
.footer-top .brand img { height: 26px; }
.footer-top .about p { margin-top: 18px; font-size: .9rem; max-width: 300px; }
.footer-top h5 {
  font-family: var(--font-display);
  color: #fff;
  font-size: .82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-top ul li { margin-bottom: 10px; }
.footer-top ul a { font-size: .9rem; transition: color .15s; }
.footer-top ul a:hover { color: var(--sky-300); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.footer-contact svg { color: var(--sky-400); flex: none; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: .8rem;
}
.footer-bottom a { color: var(--sky-300); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }

/* ============================================================
   LOGIN
   ============================================================ */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-side {
  position: relative;
  background: var(--grad-blue);
  color: #fff;
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.auth-side::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.13) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
}
.auth-side > * { position: relative; }
.auth-side .brand img { height: 30px; }
.auth-side h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); text-transform: uppercase; max-width: 420px; }
.auth-side .points { margin-top: 26px; display: grid; gap: 14px; }
.auth-side .points li { display: flex; gap: 12px; align-items: flex-start; color: #DCEEFE; font-size: .95rem; }
.auth-side .points svg { flex: none; margin-top: 3px; color: var(--sky-300); }
.auth-side small { color: #BFDFFB; font-size: .8rem; }

.auth-main {
  display: grid;
  place-items: center;
  padding: 48px 24px;
  background:
    radial-gradient(600px 400px at 90% 0%, rgba(47,168,245,.08), transparent 60%),
    var(--white);
}
.auth-card { width: min(430px, 100%); }
.auth-card .back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 34px;
}
.auth-card .back:hover { color: var(--blue-500); }
.auth-card h1 { font-size: 1.7rem; text-transform: uppercase; margin-bottom: 8px; }
.auth-card > p { color: var(--ink-soft); margin-bottom: 30px; }

.auth-tabs {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 5px;
  margin-bottom: 28px;
}
.auth-tabs button {
  border: none;
  background: transparent;
  border-radius: 100px;
  padding: 11px;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-mute);
  transition: .18s;
}
.auth-tabs button.active { background: var(--white); color: var(--blue-600); box-shadow: var(--shadow-sm); }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.field .control { position: relative; }
.field .control svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-mute); pointer-events: none; }
.field input, .field select {
  width: 100%;
  font: inherit;
  padding: 14px 16px 14px 46px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--sky-500);
  box-shadow: 0 0 0 4px rgba(47, 168, 245, .15);
}
.field-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; font-size: .85rem; }
.field-row label { display: flex; gap: 8px; align-items: center; color: var(--ink-soft); }
.field-row a { color: var(--blue-500); font-weight: 600; }
.auth-card .btn { width: 100%; }
.auth-alt { margin-top: 24px; text-align: center; font-size: .9rem; color: var(--ink-soft); }
.auth-alt a { color: var(--blue-500); font-weight: 700; }
.demo-note {
  margin-top: 26px;
  font-size: .8rem;
  color: var(--ink-mute);
  background: var(--sky-50);
  border: 1px dashed #BADEF9;
  border-radius: var(--radius);
  padding: 12px 16px;
  text-align: center;
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero { position: relative; }

/* Video de fondo con trama blanca */
.hero-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.9) 42%, rgba(241,249,255,.72) 100%);
}

.hero .slide { display: none; position: relative; z-index: 2; }
.hero .slide.active { display: block; animation: slideIn .6s ease both; }
@keyframes slideIn {
  from { opacity: 0; transform: translateX(26px); }
  to { opacity: 1; transform: none; }
}

.slider-controls {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 5;
}
.slider-dots { display: flex; gap: 8px; }
.slider-dots button {
  width: 10px; height: 10px;
  border-radius: 100px;
  border: none;
  background: #C4D9F2;
  padding: 0;
  transition: width .25s ease, background .25s ease;
}
.slider-dots button.active { width: 30px; background: var(--blue-500); }
.slider-arrow {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--blue-600);
  box-shadow: var(--shadow-sm);
  transition: .15s;
}
.slider-arrow:hover { border-color: var(--sky-500); color: var(--sky-500); transform: scale(1.06); }

/* Foto con personas en el hero */
.hero-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: var(--grad-blue);
  transform: rotate(-1.2deg);
}
.hero-photo img { width: 100%; height: 420px; object-fit: cover; }
.hero-photo .photo-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 24px 20px;
  background: linear-gradient(transparent, rgba(5, 26, 60, .82));
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-photo .photo-overlay svg { color: var(--sky-300); flex: none; }

/* Banners con fotografía */
.sector-art.photo { background: var(--blue-900); padding: 0; }
.sector-art.photo::before { display: none; }
.sector-art.photo img {
  width: 100%; height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
}

/* ============================================================
   PÁGINA CONTACTO
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 36px;
  align-items: stretch;
  padding: 72px 0 96px;
}
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 36px;
}
.contact-form-card h2 { font-size: 1.4rem; text-transform: uppercase; margin: 12px 0 8px; }
.contact-form-card > p { color: var(--ink-soft); margin-bottom: 26px; font-size: .95rem; }
.contact-form-card .grid-2f { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field textarea {
  width: 100%;
  font: inherit;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  resize: vertical;
  min-height: 100px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea:focus { outline: none; border-color: var(--sky-500); box-shadow: 0 0 0 4px rgba(47,168,245,.15); }
.field input.no-icon, .field select.no-icon { padding-left: 16px; }

.form-success {
  text-align: center;
  padding: 40px 10px;
}
.form-success .big-check {
  width: 76px; height: 76px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #E7F8F0;
  color: var(--ok);
}
.form-success h3 { font-size: 1.2rem; text-transform: uppercase; margin-bottom: 8px; }
.form-success p { color: var(--ink-soft); }

/* Slider de fotos (contacto) */
.photo-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow-lg);
  background: var(--grad-blue);
}
.photo-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .8s ease;
}
.photo-slider img.active { opacity: 1; }
.photo-slider .ps-caption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 60px 26px 22px;
  background: linear-gradient(transparent, rgba(5,26,60,.85));
  color: #fff;
}
.photo-slider .ps-caption b { font-family: var(--font-display); text-transform: uppercase; font-size: 1.05rem; display: block; }
.photo-slider .ps-caption small { color: #CFE7FC; }
.photo-slider .ps-dots {
  position: absolute;
  top: 18px; right: 18px;
  z-index: 2;
  display: flex;
  gap: 6px;
}
.photo-slider .ps-dots i {
  width: 8px; height: 8px;
  border-radius: 100px;
  background: rgba(255,255,255,.45);
  transition: .25s;
}
.photo-slider .ps-dots i.active { width: 22px; background: #fff; }

.contact-info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-bottom: 90px;
}

/* ============================================================
   PÁGINA SERVICIOS (interior)
   ============================================================ */
.services-cta-row { text-align: center; margin-top: 44px; }
.service-detail { scroll-margin-top: 100px; }

/* ============================================================
   TESTIMONIOS
   ============================================================ */
.testimonials { padding: 20px 0 96px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .2s, box-shadow .2s;
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 6px; right: 22px;
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--sky-100);
}
.testimonial-card .stars { color: #F5A623; font-size: .95rem; letter-spacing: 3px; }
.testimonial-card p { font-size: .93rem; color: var(--ink-soft); flex: 1; position: relative; }
.testimonial-card .who { display: flex; align-items: center; gap: 12px; }
.testimonial-card .who .avatar-t {
  width: 44px; height: 44px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad-blue);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .82rem;
}
.testimonial-card .who b { display: block; font-size: .88rem; }
.testimonial-card .who small { color: var(--ink-mute); font-size: .74rem; }
.testimonial-card .service-tag {
  align-self: flex-start;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--blue-500);
  background: var(--sky-50);
  border: 1px solid #CBE6FC;
  padding: 4px 12px;
  border-radius: 100px;
}

/* ============================================================
   BOTONES FLOTANTES (WhatsApp + volver arriba)
   ============================================================ */
.float-actions {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.whatsapp-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366;
  color: #fff;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
  transition: transform .18s;
  animation: waPulse 2.6s ease-in-out infinite;
}
.whatsapp-btn:hover { transform: scale(1.1); }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 10px 26px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.35); }
  50%      { box-shadow: 0 10px 26px rgba(37,211,102,.45), 0 0 0 14px rgba(37,211,102,0); }
}
.back-top {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--blue-600);
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .25s, transform .25s;
}
.back-top.show { opacity: 1; pointer-events: auto; transform: none; }
.back-top:hover { border-color: var(--sky-500); color: var(--sky-500); }

@media (max-width: 860px) {
  .testimonial-grid { grid-template-columns: 1fr; }
  .float-actions { right: 14px; bottom: 14px; }
}

/* ============================================================
   PÁGINA NOSOTROS
   ============================================================ */
.page-hero {
  position: relative;
  background:
    radial-gradient(800px 420px at 90% -20%, rgba(47,168,245,.15), transparent 60%),
    var(--white);
  border-bottom: 1px solid var(--line);
  padding: 72px 0;
}
.page-hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); text-transform: uppercase; margin: 14px 0 16px; }
.page-hero h1 em { font-style: normal; color: var(--blue-500); }
.page-hero p { color: var(--ink-soft); font-size: 1.08rem; max-width: 520px; }
.page-hero .photo-stack { position: relative; }
.page-hero .photo-stack img {
  width: 100%; height: 380px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.years-badge {
  position: absolute;
  bottom: -22px; left: -22px;
  background: var(--grad-blue);
  color: #fff;
  border-radius: 20px;
  padding: 18px 26px;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.years-badge b { font-family: var(--font-display); font-size: 2.1rem; font-weight: 900; display: block; line-height: 1; }
.years-badge small { font-size: .72rem; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }

.about-block { padding: 90px 0; }
.about-block.soft { background: var(--bg-soft); border-block: 1px solid var(--line); }

.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mvv-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
}
.mvv-card .ico {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 15px;
  background: var(--sky-100);
  color: var(--blue-500);
  margin-bottom: 18px;
}
.mvv-card h3 { font-size: 1rem; text-transform: uppercase; margin-bottom: 10px; }
.mvv-card p { font-size: .92rem; color: var(--ink-soft); }

.history { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; margin-top: 20px; }
.history::before {
  content: "";
  position: absolute;
  top: 7px; left: 4%; right: 4%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--sky-400));
}
.history-item { position: relative; padding: 30px 18px 0; }
.history-item::before {
  content: "";
  position: absolute;
  top: 0; left: 18px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--blue-500);
}
.history-item b { font-family: var(--font-display); font-size: 1.15rem; font-weight: 900; color: var(--blue-600); display: block; margin-bottom: 6px; }
.history-item p { font-size: .88rem; color: var(--ink-soft); }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.team-card img { width: 100%; height: 260px; object-fit: cover; }
.team-card .t-info { padding: 20px 22px; }
.team-card .t-info b { font-family: var(--font-display); font-size: .98rem; text-transform: uppercase; display: block; }
.team-card .t-info small { color: var(--blue-500); font-weight: 700; font-size: .78rem; letter-spacing: 1px; text-transform: uppercase; }
.team-card .t-info p { font-size: .86rem; color: var(--ink-soft); margin-top: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .page-hero .container { grid-template-columns: 1fr; }
  .mvv-grid, .team-grid { grid-template-columns: 1fr 1fr; }
  .history { grid-template-columns: 1fr 1fr; gap: 26px 0; }
  .history::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .photo-slider { min-height: 320px; }
  .contact-info-strip { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .mvv-grid, .team-grid, .history { grid-template-columns: 1fr; }
  .hero-photo img { height: 300px; }
  .slider-controls { bottom: 12px; }
  .contact-form-card { padding: 26px 20px; }
  .contact-form-card .grid-2f { grid-template-columns: 1fr; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; padding: 60px 0 70px; }
  .hero-visual { max-width: 560px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cta-box { grid-template-columns: 1fr; padding: 48px 36px; }
  .cta-box .actions { justify-content: flex-start; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-side { display: none; }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 18px 6%;
    box-shadow: var(--shadow-md);
    transform: translateY(-130%);
    transition: transform .25s ease;
  }
  .main-nav.open { transform: none; }
  .main-nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--bg-soft); }
  .nav-toggle { display: block; }
  .header-actions .btn-ghost { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .sector-banner, .sector-banner.reverse { grid-template-columns: 1fr; }
  .sector-banner.reverse .sector-copy { order: 1; }
  .sector-banner.reverse .sector-art { order: 2; }
  .sector-art { min-height: 220px; }
  .stats-grid, .process-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .hero-chip.chip-a { left: 0; }
}
