/* =========================================================
   Inruptiva — landing estática
   ========================================================= */

/* ---------- Fuentes (auto-hospedadas, sin terceros) ---------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  /* Marca */
  --navy-900: #0A1F5C;
  --navy-800: #0B2E7A;   /* fondo hero */
  --navy-700: #16286E;   /* títulos */
  --navy-600: #1D3681;   /* header original */
  --blue-500: #3E63E0;   /* chips */
  --cyan-500: #009FE3;   /* acento de marca (decorativo / sobre navy) */
  --cyan-600: #0077B6;   /* acción: AA sobre blanco */
  --cyan-700: #00609A;
  --ice-100:  #F2F7FD;
  --ice-200:  #E3EEFB;
  --ice-300:  #CCE0F9;
  --purple:   #A460BC;

  /* Texto */
  --ink:      #1E293B;
  --text:     #334155;
  --muted:    #5B6B82;
  --line:     #DCE5F2;
  --white:    #FFFFFF;

  /* Tipografía */
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --fs-xl: clamp(1.6rem, 1.25rem + 1.3vw, 2.25rem);
  --fs-hero: clamp(2rem, 1.3rem + 2.4vw, 3.1rem);

  /* Espaciado y forma */
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --section: clamp(4rem, 3rem + 5vw, 7.5rem);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-1: 0 1px 2px rgba(10, 31, 92, .06), 0 4px 14px rgba(10, 31, 92, .06);
  --shadow-2: 0 2px 6px rgba(10, 31, 92, .08), 0 18px 40px -12px rgba(10, 31, 92, .22);
  --header-h: 72px;
  --ease: cubic-bezier(.22, .8, .28, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
h1, h2, h3 { color: var(--navy-700); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }
p { text-wrap: pretty; }
ul { padding: 0; list-style: none; }
a { color: var(--cyan-600); text-underline-offset: .2em; }
strong { font-weight: 600; color: var(--ink); }
:focus-visible { outline: 3px solid var(--cyan-500); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--white); color: var(--navy-700); padding: .75rem 1rem; border-radius: var(--radius-sm); font-weight: 600; box-shadow: var(--shadow-2); }
.skip-link:focus { top: 1rem; }

.section-title { font-size: var(--fs-xl); margin-bottom: 1.25rem; }
.section-title--center { text-align: center; }
.section-title--light { color: var(--white); }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--cyan-600); --fg: var(--white); --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.5rem;
  font: 500 0.95rem/1.2 var(--font); letter-spacing: .005em;
  color: var(--fg); background: var(--bg); border: 1.5px solid var(--bd); border-radius: var(--radius-pill);
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { box-shadow: 0 8px 20px -8px rgba(0, 119, 182, .55); }
.btn--primary:hover { --bg: var(--cyan-700); }
.btn--ghost { --bg: transparent; --fg: var(--white); --bd: rgba(255, 255, 255, .45); }
.btn--ghost:hover { --bg: rgba(255, 255, 255, .1); --bd: var(--white); }
.btn--light { --bg: var(--white); --fg: var(--navy-700); }
.btn--light:hover { --bg: var(--ice-200); }
.btn--sm { min-height: 40px; padding: .5rem 1.15rem; font-size: .9rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: var(--navy-800);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { background: rgba(11, 46, 122, .92); -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px); box-shadow: 0 6px 24px -10px rgba(5, 15, 50, .55); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand img { width: auto; height: 34px; }
.site-nav__list { display: flex; align-items: center; gap: .25rem; }
.site-nav__list a:not(.btn) {
  position: relative; display: block; padding: .6rem .9rem;
  color: rgba(255, 255, 255, .86); font-size: .95rem; font-weight: 500; text-decoration: none;
  transition: color .2s;
}
.site-nav__list a:not(.btn)::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .3rem; height: 2px;
  background: var(--cyan-500); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.site-nav__list a:not(.btn):hover, .site-nav__list a:not(.btn)[aria-current="true"] { color: var(--white); }
.site-nav__list a:not(.btn):hover::after, .site-nav__list a:not(.btn)[aria-current="true"]::after { transform: scaleX(1); }
.site-nav__cta { margin-left: .75rem; }
.site-nav__cta .btn[aria-current="true"] { box-shadow: 0 0 0 2px var(--cyan-500); }

.nav-toggle { display: none; }

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .brand img { height: 28px; }
  .nav-toggle {
    display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -8px;
    background: transparent; border: 0; border-radius: 10px; color: var(--white); cursor: pointer;
  }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    content: ""; display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
    transition: transform .3s var(--ease), opacity .2s;
  }
  .nav-toggle__bars { position: relative; }
  .nav-toggle__bars::before { position: absolute; top: -7px; }
  .nav-toggle__bars::after { position: absolute; top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--navy-800); border-top: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 24px 40px -16px rgba(5, 15, 50, .6);
    padding: .75rem var(--gutter) 1.5rem;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .3s var(--ease), opacity .25s var(--ease), visibility 0s linear .3s;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__list a:not(.btn) { padding: .9rem .25rem; font-size: 1.05rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .site-nav__list a:not(.btn)::after { display: none; }
  .site-nav__cta { margin: 1rem 0 0; }
  .site-nav__cta .btn { width: 100%; min-height: 48px; }
}

/* ---------- Hero (capas con parallax) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; overflow: clip;
  color: var(--white);
  background: linear-gradient(165deg, var(--navy-800) 0%, #0A2A72 55%, var(--navy-900) 100%);
  padding-top: clamp(3rem, 2rem + 5vw, 6.5rem);
  padding-bottom: clamp(7rem, 5rem + 7vw, 11rem);
}
.hero__layers { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__layer { position: absolute; will-change: transform; }
.hero__glow {
  inset: -20% -10% -10% -10%;
  background:
    radial-gradient(38% 46% at 78% 34%, rgba(0, 159, 227, .38), transparent 70%),
    radial-gradient(30% 40% at 10% 85%, rgba(62, 99, 224, .45), transparent 70%),
    radial-gradient(26% 30% at 40% 0%, rgba(255, 255, 255, .08), transparent 70%);
}
.hero__orbits { width: min(1100px, 120vw); aspect-ratio: 1; right: -18%; top: 50%; margin-top: calc(min(1100px, 120vw) / -2); }
.hero__orbits circle { fill: none; stroke: rgba(204, 224, 249, .16); stroke-width: 1.2; }
.hero__dots {
  right: 4%; top: 8%; width: 220px; height: 160px;
  background-image: radial-gradient(rgba(204, 224, 249, .5) 1.4px, transparent 1.6px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(135deg, #000 30%, transparent 85%); mask-image: linear-gradient(135deg, #000 30%, transparent 85%);
}
.hero__inner {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center; gap: clamp(2rem, 1rem + 4vw, 4.5rem);
}
.hero__title { color: var(--white); font-size: var(--fs-hero); line-height: 1.12; letter-spacing: -0.02em; max-width: 19ch; }
.hero__lead { margin-top: 1.5rem; max-width: 52ch; font-size: var(--fs-md); line-height: 1.75; color: rgba(230, 239, 252, .9); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; margin-top: 2.25rem; }

.hero__visual { --cw: min(380px, 27vw); display: flex; justify-content: center; }
.hero__card {
  position: relative; flex: none; width: var(--cw); aspect-ratio: 834 / 1046;
  margin-left: calc(var(--cw) * .2); margin-right: calc(var(--cw) * .42);
  container-type: inline-size;
  will-change: transform;
}
.hero__card::before { /* halo detrás de la tarjeta */
  content: ""; position: absolute; inset: 8% -6% -6% 10%; z-index: -1;
  border-radius: 12%; background: linear-gradient(160deg, rgba(0, 159, 227, .55), rgba(62, 99, 224, .2));
  filter: blur(36px); opacity: .7;
}
.hero__card-img { width: 100%; height: 100%; object-fit: cover; filter: drop-shadow(0 30px 40px rgba(3, 12, 45, .45)); }
.chip {
  position: absolute; z-index: 1; white-space: nowrap;
  font-size: 4.6cqw; font-weight: 500; line-height: 1.2; letter-spacing: .01em;
  padding: .95em 1.35em; border-radius: var(--radius-pill);
  color: var(--white); background: var(--blue-500);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) inset, 0 14px 30px -8px rgba(3, 12, 45, .55), 0 0 40px rgba(62, 99, 224, .45);
  will-change: transform;
}
.chip--top { left: 77.5%; top: 8.2%; min-width: 66%; }
.chip--bottom { left: -23%; top: 78.4%; min-width: 67%; }

.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(70px, 9vw, 150px); }
.hero__wave-back { fill: rgba(204, 224, 249, .22); }
.hero__wave-front { fill: var(--white); }

/* Coreografía de carga: un solo momento orquestado */
.js .hero__copy > *, .js .hero__card, .js .chip { opacity: 0; }
/* Si el JS no llega a ejecutarse, el contenido aparece igual a los 2,5 s */
.js:not(.is-loaded) .hero__copy > *, .js:not(.is-loaded) .hero__card, .js:not(.is-loaded) .chip { animation: failsafe 0s 2.5s forwards; }
@keyframes failsafe { to { opacity: 1; } }
.is-loaded .hero__copy > * { animation: rise .8s var(--ease) both; }
.is-loaded .hero__copy > :nth-child(2) { animation-delay: .08s; }
.is-loaded .hero__copy > :nth-child(3) { animation-delay: .16s; }
.is-loaded .hero__card { animation: settle 1s var(--ease) .1s both; }
.is-loaded .chip--top { animation: pop .6s var(--ease) .65s both; }
.is-loaded .chip--bottom { animation: pop .6s var(--ease) .8s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; scale: .94; } to { opacity: 1; scale: 1; } }
@keyframes pop { from { opacity: 0; scale: .85; } to { opacity: 1; scale: 1; } }

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__copy { text-align: left; }
  .hero__visual { --cw: min(340px, 54vw); justify-content: center; }
  .hero__orbits { right: -60%; }
}
@media (max-width: 480px) {
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__visual { --cw: 52vw; }
}

/* ---------- Nosotros ---------- */
.about { padding-top: clamp(2rem, 1rem + 3vw, 4rem); }
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 1rem + 4vw, 5rem); }
.about__copy { max-width: 560px; }
.about__copy .section-title { font-size: var(--fs-xl); }
.about__subtitle { font-size: var(--fs-lg); color: var(--cyan-600); margin: .25rem 0 1rem; }
.about__copy p + p { margin-top: 1rem; }
.about__copy .btn { margin-top: 2rem; }
.about__visual img { width: 100%; max-width: 540px; margin-inline: auto; }
@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__visual { order: -1; }
  .about__visual img { max-width: 380px; }
}

/* ---------- Clientes ---------- */
.clients { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); background: var(--ice-100); border-block: 1px solid var(--line); }
.clients__title { text-align: center; font-size: var(--fs-lg); max-width: 34ch; margin: 0 auto 2rem; }
.clients__list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.5rem, 1rem + 4vw, 5rem); }
.clients__list img { height: auto; mix-blend-mode: multiply; }
.clients__list li { display: flex; align-items: center; justify-content: center; min-height: 90px; }
.clients__logo--bci img { width: clamp(120px, 8rem + 3vw, 168px); }
.clients__logo--itau img { width: clamp(88px, 5.5rem + 1.5vw, 116px); }
.clients__logo--bice img { width: clamp(150px, 9rem + 3vw, 210px); }
.clients__logo--falabella img { width: clamp(130px, 8rem + 2.5vw, 180px); }

/* ---------- Servicios (pestañas) ---------- */
.services { background: var(--white); }
.tabs__list {
  display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap;
  margin: 0 auto clamp(2rem, 1.5rem + 2vw, 3rem);
  padding: .4rem; width: fit-content; max-width: 100%;
  background: var(--ice-100); border: 1px solid var(--line); border-radius: var(--radius-pill);
}
.tabs__tab {
  min-height: 44px; padding: .55rem 1.25rem;
  font: 500 .95rem/1.2 var(--font); color: var(--navy-700);
  background: transparent; border: 0; border-radius: var(--radius-pill); cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.tabs__tab:hover { background: var(--ice-200); }
.tabs__tab[aria-selected="true"] { background: var(--cyan-600); color: var(--white); box-shadow: 0 6px 16px -6px rgba(0, 119, 182, .6); }

.service {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  padding: clamp(1.5rem, 1rem + 2.5vw, 3.5rem);
  background: var(--ice-100); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.js .service:not(.is-active) { display: none; }
.service + .service { margin-top: 1.5rem; } /* sin JS se muestran todos */
.js .service + .service { margin-top: 0; }
.service.is-active { animation: fade .4s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.service__media { position: sticky; top: calc(var(--header-h) + 2rem); }
.service__media img { width: 100%; max-width: 440px; margin-inline: auto; }
.service__title { font-size: var(--fs-lg); line-height: 1.3; color: var(--navy-700); margin-bottom: 1rem; }
.service__lead { color: var(--text); }

.accordion { margin-top: 1.75rem; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 56px; padding: .9rem 0; cursor: pointer; list-style: none;
  font-weight: 600; color: var(--navy-700);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary svg { flex: none; width: 22px; height: 22px; color: var(--cyan-600); transition: transform .3s var(--ease); }
.accordion details[open] summary svg { transform: rotate(180deg); }
.accordion summary:hover { color: var(--cyan-600); }
.accordion__panel { padding: 0 0 1.25rem; }
.accordion__panel p { margin-bottom: .75rem; }
.checklist { display: grid; gap: .55rem; }
.checklist li { position: relative; padding-left: 1.85rem; line-height: 1.6; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--cyan-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 72% no-repeat;
}

.platform-band {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem;
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  padding: 1.5rem clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: linear-gradient(120deg, var(--navy-800), var(--navy-600));
  border-radius: var(--radius-lg); color: var(--white);
}
.platform-band__text { display: flex; align-items: center; gap: .9rem; font-size: var(--fs-md); font-weight: 500; }
.platform-band__text svg { flex: none; width: 36px; height: 36px; color: var(--cyan-500); }

@media (max-width: 860px) {
  .tabs__list { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; width: 100%; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
  .tabs__list::-webkit-scrollbar { display: none; }
  .tabs__tab { flex: none; scroll-snap-align: center; }
  .service { grid-template-columns: 1fr; }
  .service__media { position: static; }
  .service__media img { max-width: 260px; }
  .platform-band { flex-direction: column; align-items: flex-start; }
}

/* ---------- Equipo ---------- */
.team {
  position: relative; isolation: isolate; overflow: hidden; overflow: clip;
  padding-block: calc(var(--section) + 3rem);
  background: linear-gradient(160deg, var(--navy-800) 0%, #12398F 55%, var(--navy-900) 100%);
  color: rgba(230, 239, 252, .9);
}
.team__wave { position: absolute; left: 0; width: 100%; height: clamp(50px, 7vw, 110px); fill: var(--white); }
.team__wave--top { top: -1px; }
.team__wave--bottom { bottom: -1px; }
.team__blob {
  position: absolute; z-index: -1; width: 70vw; max-width: 900px; aspect-ratio: 1.6; right: -18%; top: 12%;
  background: radial-gradient(closest-side, rgba(0, 159, 227, .35), transparent);
  border-radius: 50%; filter: blur(10px); will-change: transform;
}
.team__intro { max-width: 760px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 2.75rem); }
.team__eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #7CCBEF; margin-bottom: .75rem; }
.team__intro p:not(.team__eyebrow) { max-width: 60ch; font-size: var(--fs-md); }

/* Tarjetas del equipo directivo */
.execs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.exec { display: flex; }
.exec article {
  position: relative; display: flex; flex-direction: column; width: 100%;
  background: var(--white); color: var(--text); border-radius: 20px; overflow: hidden;
  box-shadow: 0 2px 6px rgba(10, 31, 92, .1), 0 24px 48px -18px rgba(3, 12, 45, .5);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.exec article::before { content: ""; height: 4px; background: linear-gradient(90deg, var(--cyan-500), var(--blue-500)); }
.exec article:hover { transform: translateY(-4px); box-shadow: 0 2px 6px rgba(10, 31, 92, .1), 0 32px 56px -18px rgba(3, 12, 45, .6); }
.exec__head { display: flex; align-items: center; gap: 1rem; padding: 1.4rem 1.5rem 1.1rem; }
.exec__avatar {
  flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  font-weight: 600; font-size: 1.05rem; letter-spacing: .04em; color: var(--white);
  background: linear-gradient(135deg, var(--cyan-500), var(--navy-700)); box-shadow: 0 0 0 4px var(--ice-200);
}
.exec__name { font-size: 1.15rem; color: var(--navy-700); }
.exec__role { font-size: .85rem; font-weight: 500; line-height: 1.4; color: var(--cyan-600); margin-top: .15rem; }
.exec__body { flex: 1; padding: 0 1.5rem 1.25rem; }
.exec__years { display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; margin-bottom: 1.1rem; border-radius: 12px; background: var(--ice-100); border: 1px solid var(--line); }
.exec__years b { font-size: 1.6rem; line-height: 1; font-weight: 600; color: var(--navy-700); }
.exec__years span { font-size: .8rem; line-height: 1.35; color: var(--muted); }
.exec__facts { display: grid; gap: .9rem; font-size: .9rem; line-height: 1.55; }
.exec__facts dt { display: flex; align-items: center; gap: .45rem; margin-bottom: .2rem; font-weight: 600; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; color: var(--navy-700); }
.exec__facts dt svg { width: 24px; height: 24px; padding: 4px; border-radius: 7px; background: var(--ice-200); color: var(--cyan-600); }
.exec__area { margin: 0 1.5rem 1.4rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.exec__tag { display: inline-block; margin-top: 1rem; padding: .35rem .8rem; border-radius: var(--radius-pill); font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-700); background: var(--ice-200); }
/* Gerente General: tarjeta destacada en dos columnas */
.exec--lead { grid-column: span 2; }
.exec--lead article { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); background: linear-gradient(135deg, var(--white) 55%, var(--ice-100)); }
.exec--lead article::before { grid-column: 1 / -1; }
.exec--lead .exec__head { flex-direction: column; align-items: flex-start; justify-content: center; padding: 2rem; }
.exec--lead .exec__avatar { width: 84px; height: 84px; font-size: 1.5rem; }
.exec--lead .exec__name { font-size: 1.6rem; }
.exec--lead .exec__role { font-size: .95rem; }
.exec--lead .exec__body { align-self: center; padding: 2rem 2rem 2rem 0; }
@media (max-width: 960px) {
  .execs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .execs { grid-template-columns: 1fr; }
  .exec--lead { grid-column: auto; }
  .exec--lead article { display: flex; }
  .exec--lead .exec__head { flex-direction: row; align-items: center; justify-content: flex-start; padding: 1.4rem 1.5rem 1.1rem; }
  .exec--lead .exec__avatar { width: 56px; height: 56px; font-size: 1.05rem; }
  .exec--lead .exec__name { font-size: 1.15rem; }
  .exec--lead .exec__tag { margin-top: .5rem; }
  .exec--lead .exec__body { padding: 0 1.5rem 1.25rem; }
}

/* ---------- Tecnología ---------- */
.tech__lead { text-align: center; max-width: 52ch; margin: -.25rem auto 2.5rem; color: var(--muted); }
.tech__list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.tech__list li {
  display: flex; flex-direction: column; align-items: center; gap: .75rem;
  padding: 1.5rem .75rem; border-radius: var(--radius);
  color: var(--navy-700); font-size: .9rem; font-weight: 500;
  border: 1px solid var(--line); background: var(--white);
  transition: color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.tech__list svg { width: 40px; height: 40px; transition: color .25s var(--ease); }
.tech__list li:hover { border-color: transparent; box-shadow: var(--shadow-1); }
.tech__list li:hover svg { color: var(--brand); }
.tech--angular { --brand: #DD0031; } .tech--node { --brand: #5FA04E; } .tech--express { --brand: #303030; }
.tech--mongo { --brand: #47A248; } .tech--gcloud { --brand: #4285F4; } .tech--gitlab { --brand: #FC6D26; }
@media (max-width: 860px) { .tech__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Contacto ---------- */
.contact { background: var(--ice-100); border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.contact__copy p { max-width: 38ch; }
.contact__mail {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.5rem;
  font-weight: 600; font-size: var(--fs-md); color: var(--navy-700); text-decoration: none;
}
.contact__mail svg { width: 26px; height: 26px; color: var(--cyan-600); }
.contact__mail:hover { color: var(--cyan-600); text-decoration: underline; }

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 1rem + 2vw, 2.5rem); box-shadow: var(--shadow-1); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field { margin-bottom: 1.15rem; }
.field label { display: block; margin-bottom: .4rem; font-size: .9rem; font-weight: 500; color: var(--ink); }
.field__optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: .75rem 1rem;
  font: 400 1rem/1.5 var(--font); color: var(--ink);
  background: var(--white); border: 1.5px solid #C9D6E8; border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: #8A99AF; }
.field input:hover, .field textarea:hover { border-color: #A9BBD3; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan-600); box-shadow: 0 0 0 4px rgba(0, 119, 182, .15); }
.field [aria-invalid="true"] { border-color: #C2410C; }
.field__error { margin-top: .35rem; font-size: .85rem; color: #B23A0A; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: .5rem; }
.form__note { font-size: .85rem; color: var(--muted); }
.form__status { margin-top: 1rem; font-size: .95rem; font-weight: 500; }
.form__status:empty { display: none; }
.form__status.is-ok { color: #0F7B4B; }
.form__status.is-error { color: #B23A0A; }
.form.is-sending button[type="submit"] { opacity: .7; pointer-events: none; }
@media (max-width: 860px) {
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
  .form__footer .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative; color: rgba(230, 239, 252, .78);
  background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
  padding-top: clamp(3rem, 2.5rem + 2vw, 4.5rem);
}
.site-footer::before { /* filo superior con el acento de marca */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--cyan-500), var(--blue-500) 50%, transparent);
}
.site-footer__grid {
  display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.25fr);
  gap: 2.5rem clamp(1.5rem, 1rem + 2vw, 3rem); padding-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem);
}
.brand--footer img { height: 32px; }
.site-footer__brand p { margin-top: 1.1rem; max-width: 36ch; font-size: .92rem; line-height: 1.7; }
.site-footer__title { font-size: .95rem; font-weight: 600; color: var(--white); margin-bottom: 1rem; letter-spacing: 0; }
.site-footer__col ul { display: grid; gap: .15rem; }
.site-footer__col a:not(.btn) {
  display: inline-flex; align-items: center; gap: .55rem; padding-block: .35rem;
  color: rgba(230, 239, 252, .78); font-size: .92rem; text-decoration: none; transition: color .2s;
}
.site-footer__col a:not(.btn):hover { color: var(--white); text-decoration: underline; text-underline-offset: .2em; }
.site-footer__contact svg { flex: none; width: 18px; height: 18px; color: var(--cyan-500); }
.site-footer__cta { margin-top: 1.1rem; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); background: rgba(3, 12, 45, .25); }
.site-footer__legal { padding-block: 1.1rem 1.25rem; font-size: .82rem; color: rgba(230, 239, 252, .66); }
@media (max-width: 960px) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .site-footer__grid { gap: 2rem 1.25rem; }
  .site-footer__col:last-child { grid-column: 1 / -1; }
  .site-footer__col a:not(.btn) { font-size: .9rem; }
}

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 40;
  display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.1rem .7rem .8rem;
  background: #15803D; color: var(--white); font-weight: 500; font-size: .92rem; text-decoration: none;
  border-radius: var(--radius-pill); box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .45);
  transition: transform .2s var(--ease), background-color .2s;
}
.wa-float[hidden] { display: none; }
.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover { transform: translateY(-2px); background: #116B33; }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: .8rem; } }

/* ---------- Ajustes móviles finos ---------- */
@media (max-width: 960px) {
  .hero__dots { display: none; }
}
@media (max-width: 560px) {
  .hero__visual { --cw: 56vw; justify-content: flex-start; padding-left: calc(56vw * .24); }
  .hero__card { margin-left: 0; margin-right: 0; }
  .chip { font-size: max(4.6cqw, 11px); padding: .8em 1.05em; }
  .chip--top { min-width: 0; }
  .chip--bottom { min-width: 0; }
  .clients__list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem 1rem; justify-items: center; }
  .clients__logo--bci img { width: 120px; }
  .clients__logo--itau img { width: 80px; }
  .clients__logo--bice img { width: 140px; }
  .clients__logo--falabella img { width: 130px; }
}
@media (max-width: 860px) {
  .tabs__list { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .tabs__list.is-end { -webkit-mask-image: none; mask-image: none; }
}
.tech__list span { text-align: center; line-height: 1.3; }

/* ---------- Botón contorno (fondo claro) ---------- */
.btn--outline { --bg: transparent; --fg: var(--navy-700); --bd: #B8C7DD; }
.btn--outline:hover { --bg: var(--ice-100); --bd: var(--navy-700); }

/* ---------- Enlaces legales del pie ---------- */
.site-footer__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; }
.site-footer__legal p { max-width: 70ch; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.site-footer__links a, .linklike {
  display: inline-block; padding-block: .5rem; background: none; border: 0; cursor: pointer;
  font: inherit; color: rgba(230, 239, 252, .78); text-decoration: underline; text-underline-offset: .2em;
}
.site-footer__links a:hover, .linklike:hover { color: var(--white); }
.form__note a { color: var(--cyan-600); }

/* ---------- Aviso de cookies ---------- */
.consent {
  position: fixed; left: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 60;
  width: min(420px, calc(100vw - 2rem));
  padding: 1.25rem 1.25rem 1.1rem; background: var(--white); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 20px 50px -12px rgba(10, 31, 92, .35);
  animation: rise .4s var(--ease) both;
}
.consent[hidden] { display: none; }
.consent__title { font-weight: 600; color: var(--navy-700); margin-bottom: .35rem; }
.consent__text { font-size: .9rem; line-height: 1.55; }
.consent__actions { display: flex; gap: .6rem; justify-content: flex-end; margin-top: 1rem; }
.consent__actions .btn { flex: 1; }
.has-wa .site-footer__bottom { padding-bottom: 4.25rem; } /* deja libre el pie bajo el botón de WhatsApp */
@media (max-width: 560px) {
  .consent { left: .75rem; right: .75rem; width: auto; bottom: calc(.75rem + env(safe-area-inset-bottom)); }
  .has-consent .wa-float { display: none; }
}

/* ---------- Página legal ---------- */
.site-header--legal { position: sticky; }
.legal { padding-block: clamp(2.5rem, 2rem + 3vw, 5rem); background: var(--white); }
.legal__inner { max-width: 780px; }
.legal h1 { font-size: var(--fs-xl); margin-bottom: .5rem; }
.legal__meta { color: var(--muted); font-size: .9rem; margin-bottom: 1.5rem; }
.legal__lead { font-size: var(--fs-md); margin-bottom: 2rem; }
.legal section { padding-top: 2rem; margin-top: 2rem; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 1rem); }
.legal h2 { font-size: var(--fs-lg); margin-bottom: .9rem; }
.legal p + p, .legal ul + p, .legal p + ul { margin-top: .9rem; }
.legal ul { list-style: disc; padding-left: 1.25rem; display: grid; gap: .5rem; }
.legal__toc { background: var(--ice-100); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.legal__toc ol { margin: 0; padding-left: 1.25rem; columns: 2; column-gap: 2rem; }
.legal__toc li { padding-block: .2rem; break-inside: avoid; }
.legal__toc a { color: var(--navy-700); }
.legal__facts { display: grid; gap: .75rem; }
.legal__facts dt { font-weight: 600; color: var(--ink); font-size: .9rem; }
.legal__note { color: var(--muted); font-size: .9rem; }
.site-footer--legal { padding-top: 0; }
.site-footer--legal::before { display: none; }
@media (max-width: 560px) { .legal__toc ol { columns: 1; } }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .hero__copy > *, .js .hero__card, .js .chip { opacity: 1; }
  [data-scroll], [data-depth] { transform: none !important; }
}

/* ---------- Impresión ---------- */
@media print {
  .site-header, .wa-float, .hero__layers, .hero__wave, .team__wave, .form { display: none !important; }
  .hero, .team { background: none; color: #000; }
  .hero__title, .section-title--light { color: #000; }
  .js .service:not(.is-active) { display: grid; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: flex; align-items: center; padding-block: 4rem; }
.notfound .brand img { height: 34px; margin-bottom: 3rem; }

/* ---------- Producto: SAGGEE ---------- */
.product {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 2.5rem;
  margin-top: 1.5rem; padding: clamp(1.75rem, 1rem + 3vw, 3rem) clamp(1.5rem, 1rem + 3vw, 3.5rem);
  border-radius: var(--radius-lg); color: rgba(230, 239, 252, .88);
  background: radial-gradient(60% 90% at 90% 10%, rgba(0, 159, 227, .35), transparent 60%), linear-gradient(125deg, #11175A, var(--navy-600) 60%, var(--navy-700));
}
.product__eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #7CCBEF; margin-bottom: .9rem; }
.product__logo { width: auto; height: 46px; margin-bottom: 1rem; }
.product__title { color: var(--white); font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); line-height: 1.3; margin-bottom: .8rem; }
.product__chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0 1.6rem; }
.product__chips li { padding: .35rem .85rem; border-radius: var(--radius-pill); font-size: .82rem; font-weight: 500; color: var(--white); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); }
.product__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.product__actions .btn svg { width: 17px; height: 17px; }
.product__domain { font-size: .85rem; color: rgba(230, 239, 252, .72); }
.product__laptop { container-type: inline-size; width: 100%; max-width: 520px; margin-inline: auto; transform: rotate(-2deg) translateY(6px); }
.product__screen { display: block; padding: 2.4cqw 2.4cqw 3.2cqw; background: linear-gradient(#1C1F2B, #0E1018); border-radius: 3cqw 3cqw .8cqw .8cqw; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), 0 40px 60px -26px rgba(0, 0, 0, .7); }
.product__screen img { width: 100%; aspect-ratio: 1456 / 846; object-fit: cover; object-position: left top; border-radius: .5cqw; background: #F3F4F8; }
.product__base { display: block; width: 114%; margin-left: -7%; height: 2.6cqw; background: linear-gradient(#F1F3F8, #CBD0DB 55%, #9097A8); border-radius: .4cqw .4cqw 5cqw 5cqw / .4cqw .4cqw 2.4cqw 2.4cqw; }
@media (max-width: 860px) {
  .product { grid-template-columns: 1fr; }
  .product__laptop { max-width: 420px; order: -1; }
}

/* Enlace externo en el menú y el pie */
.site-nav__ext { display: inline-flex !important; align-items: center; gap: .35rem; }
.site-nav__ext svg, .site-footer__col a svg { width: 15px; height: 15px; flex: none; }
.site-footer__hint { margin-top: .25rem; font-size: .82rem; line-height: 1.5; color: rgba(230, 239, 252, .6); max-width: 24ch; }
.site-footer__grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.25fr); }
@media (max-width: 1100px) {
  .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__col:last-child { grid-column: 1 / -1; }
}

/* ---------- Aparición al hacer scroll (estándar de toda la página) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js figure[data-reveal], .js .product[data-reveal] { transform: translateY(24px) scale(.98); }
.js figure[data-reveal].is-in, .js .product[data-reveal].is-in { transform: none; }
/* Si el JavaScript no llega a ejecutarse, todo aparece igual a los 3 s */
.js:not(.is-loaded) [data-reveal] { animation: failsafe 0s 3s forwards; }
@media print { .js [data-reveal] { opacity: 1 !important; transform: none !important; } }
