/* =========================================================
   GRUPO ISET — Sitio corporativo B2B
   Concepto: ingeniería corporativa. Bandas marino profundo
   alternadas con blanco y gris claro; el cyan / azul eléctrico
   marca acción y datos. Retícula firme, esquinas casi rectas.
   ========================================================= */
:root {
  color-scheme: light;
  /* Marino */
  --navy-950: #050F1F;
  --navy-900: #0A1B33;
  --navy-800: #0F2747;
  --navy-700: #183A66;
  /* Blanco / gris claro */
  --white: #FFFFFF;
  --gray-50: #F4F6F9;
  --gray-100: #E9EEF4;
  --gray-200: #D9E0E9;
  /* Cyan / azul eléctrico */
  --blue: #0066FF;
  --blue-700: #0052CC;
  --cyan: #00C2FF;
  --cyan-ink: #03121F;
  /* Texto */
  --ink: #0B1B33;
  --muted: #4E5E75;
  --on-dark: #EAF1FA;
  --on-dark-muted: #9FB2CC;
  --on-dark-line: rgba(159, 178, 204, .2);
  /* Estados */
  --red: #D23A3A; --green: #158A55; --amber: #B7791F;

  /* Alias usados por los prototipos y otras páginas */
  --bg: var(--white);
  --surface: var(--white);
  --surface-2: var(--gray-50);
  --line: var(--gray-200);
  --brand: var(--blue);
  --accent: var(--cyan);

  --f-display: "Archivo", "Arial Narrow", "Segoe UI", system-ui, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius: 4px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --shadow: 0 18px 40px -22px rgba(5, 15, 31, .45);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--f-display); font-stretch: 108%; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 8vw, 112px); }
.bg-gray { background: var(--gray-50); }
.bg-navy { background: var(--navy-900); color: var(--on-dark); }

.eyebrow { font-family: var(--f-mono); font-size: .76rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; }
.bg-navy .eyebrow, .on-dark .eyebrow { color: var(--cyan); }
.section-head { display: grid; gap: 14px; max-width: 780px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 1.08rem; max-width: 66ch; }
.bg-navy .section-head p, .on-dark p { color: var(--on-dark-muted); }
.section-head.split { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 14px 56px; }
.section-head.split > div { display: grid; gap: 14px; }
@media (max-width: 860px) { .section-head.split { grid-template-columns: 1fr; } }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 .95rem/1 var(--f-body); letter-spacing: .01em; padding: 16px 24px; border-radius: var(--radius); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn-primary { background: var(--cyan); color: var(--cyan-ink); }
.btn-primary:hover { background: #4DD6FF; }
.btn-solid { background: var(--blue); color: #fff; }
.btn-solid:hover { background: var(--blue-700); }
.btn-ghost { border-color: rgba(234, 241, 250, .4); color: var(--on-dark); background: transparent; }
.btn-ghost:hover { border-color: var(--on-dark); background: rgba(255,255,255,.06); }
.btn-outline { border-color: var(--navy-900); color: var(--navy-900); background: transparent; }
.btn-outline:hover { background: var(--navy-900); color: #fff; }

/* ---------- Barra utilitaria + encabezado ---------- */
.topbar { background: var(--navy-950); color: var(--on-dark-muted); font-size: .8rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; align-items: center; }
.topbar a { color: var(--on-dark); text-decoration: none; }
.topbar a:hover { color: var(--cyan); }
.topbar .tb-access { font-weight: 600; color: var(--cyan); }
@media (max-width: 860px) { .topbar { display: none; } }

.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--white); border-bottom: 1px solid var(--gray-200); box-shadow: 0 6px 18px -14px rgba(5, 15, 31, .5); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-900); flex: none; }
.brand img { width: 44px; height: 44px; }
.brand-text { display: grid; line-height: 1.05; }
.brand-text strong { font-family: var(--f-display); font-stretch: 120%; font-weight: 800; font-size: 1.22rem; letter-spacing: .02em; }
.brand-text span { font-size: .7rem; color: var(--muted); letter-spacing: .02em; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a { position: relative; display: block; color: var(--navy-900); text-decoration: none; font-size: .9rem; font-weight: 600; padding: 27px 12px; white-space: nowrap; }
.nav-links a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 18px; height: 3px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.nav-cta { background: var(--blue); color: #fff; padding: 13px 20px; border-radius: var(--radius); margin-left: 10px; }
.nav-links a.nav-cta::after { display: none; }
.nav-links a.nav-cta:hover { background: var(--blue-700); }
.nav-links .nav-only-m { display: none; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--gray-200); color: var(--navy-900); border-radius: var(--radius); width: 46px; height: 46px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: currentColor; margin: 5px auto; transition: transform .2s, opacity .2s; }
@media (max-width: 1140px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--gray-200); box-shadow: 0 20px 30px -20px rgba(5,15,31,.4); padding: 8px var(--gutter) 18px; display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--gray-100); }
  .nav-links a::after { display: none; }
  .nav-links a.active { color: var(--blue); }
  .nav-links a.nav-cta { margin: 12px 0 0; text-align: center; border-bottom: 0; }
  .nav-links .nav-only-m { display: block; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 420px) { .brand-text span { display: none; } }

/* ---------- Inicio ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy-900); color: var(--on-dark);
  background-image:
    linear-gradient(115deg, transparent 0 58%, rgba(0, 102, 255, .16) 58% 58.3%, transparent 58.3% 66%, rgba(0, 194, 255, .12) 66% 66.25%, transparent 66.25%),
    radial-gradient(70% 90% at 95% 10%, rgba(0, 102, 255, .35), transparent 60%),
    linear-gradient(var(--on-dark-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--on-dark-line) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(56px, 7vw, 104px); }
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.hero .eyebrow { color: var(--cyan); }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); font-weight: 800; font-stretch: 112%; line-height: 1.02; }
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero-lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--on-dark-muted); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

.caps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--on-dark-line); background: rgba(5, 15, 31, .55); backdrop-filter: blur(4px); }
.cap { display: grid; gap: 10px; align-content: start; padding: 24px; color: var(--on-dark); text-decoration: none; border-right: 1px solid var(--on-dark-line); border-bottom: 1px solid var(--on-dark-line); transition: background .2s; min-width: 0; }
.cap:nth-child(2n) { border-right: 0; }
.cap:nth-child(n+3) { border-bottom: 0; }
.cap:hover { background: rgba(0, 102, 255, .16); }
.cap-ico { width: 46px; height: 46px; display: grid; place-items: center; background: var(--blue); color: #fff; border-radius: var(--radius); }
.cap h3 { font-size: 1.1rem; font-weight: 700; }
.cap p { font-size: .88rem; color: var(--on-dark-muted); }
.cap .more { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); }
.caps-head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding: 14px 24px; border-bottom: 1px solid var(--on-dark-line); font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
.caps-head b { color: var(--cyan); font-weight: 500; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .caps { grid-template-columns: 1fr; } .cap { border-right: 0; border-bottom: 1px solid var(--on-dark-line) !important; } .cap:last-child { border-bottom: 0 !important; } }

.intro { background: var(--gray-50); border-bottom: 1px solid var(--gray-200); }
.intro .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px 64px; padding-block: clamp(48px, 6vw, 80px); align-items: start; }
.intro h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
.intro h2 span { color: var(--blue); }
.intro-text { display: grid; gap: 28px; min-width: 0; }
.intro-text > p { color: var(--muted); font-size: 1.06rem; }
.values-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 3px solid var(--navy-900); }
.values-row li { padding: 16px 16px 0 0; display: grid; gap: 6px; font-size: .86rem; color: var(--muted); }
.values-row b { font-family: var(--f-display); font-size: 1rem; color: var(--navy-900); }
@media (max-width: 900px) { .intro .wrap { grid-template-columns: 1fr; } .values-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; } }

/* ---------- Video del proceso ---------- */
.film-sec { background: var(--navy-950); color: var(--on-dark); padding-block: clamp(64px, 8vw, 104px);
  background-image: radial-gradient(60% 60% at 10% 0%, rgba(0, 102, 255, .22), transparent 60%); }
.film { border: 1px solid var(--on-dark-line); background: var(--navy-900); box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.film-screen { position: relative; aspect-ratio: 16 / 9; display: flex; flex-direction: column; overflow: hidden;
  background:
    radial-gradient(80% 90% at 100% 0%, rgba(0, 102, 255, .28), transparent 60%),
    linear-gradient(rgba(159, 178, 204, .07) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(159, 178, 204, .07) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--navy-900); }
.film-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px clamp(18px, 3vw, 36px); border-bottom: 1px solid var(--on-dark-line); font-family: var(--f-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }
.film-brand { display: flex; align-items: center; gap: 10px; color: var(--on-dark); }
.film-brand img { width: 24px; height: 24px; }
.film-step b { color: var(--cyan); font-weight: 500; }
.film-scenes { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); min-height: 0; }
.fscene { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(20px, 4vw, 56px); align-items: center; padding: clamp(20px, 3.4vw, 44px) clamp(18px, 3vw, 44px); opacity: 0; visibility: hidden; }
.fscene:first-child { opacity: 1; visibility: visible; }
.fs-copy { display: grid; gap: 14px; min-width: 0; align-content: center; }
.fs-num { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: clamp(3rem, 6vw, 5.2rem); line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--cyan); }
.fs-title { font-size: clamp(1.6rem, 2.9vw, 2.4rem); font-weight: 800; font-stretch: 108%; letter-spacing: .03em; }
.fs-rule { width: 64px; height: 4px; background: var(--cyan); transform-origin: left; }
.fs-text { color: var(--on-dark); opacity: .92; font-size: clamp(.98rem, 1.35vw, 1.12rem); line-height: 1.55; max-width: 46ch; }
.fs-tag { justify-self: start; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: 7px 12px; border: 1px solid rgba(0, 194, 255, .5); color: var(--cyan); }
.fs-visual { min-width: 0; position: relative; }

/* Paneles simulados dentro del video */
.vpanel { background: rgba(5, 15, 31, .78); border: 1px solid rgba(159, 178, 204, .26); box-shadow: 0 24px 50px -26px rgba(0,0,0,.9); }
.vpanel-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 16px; border-bottom: 1px solid var(--on-dark-line); font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); }
.vpanel-h b { color: var(--on-dark); font-weight: 500; }
.vpanel-b { padding: 16px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.vchip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; padding: 4px 9px; white-space: nowrap; }
.vchip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.v-bad { color: #FF8A80; background: rgba(240, 90, 90, .16); }
.v-warn { color: #FFC560; background: rgba(255, 180, 60, .15); }
.v-good { color: #5FE0A2; background: rgba(60, 200, 140, .15); }
.v-info { color: #6FD8FF; background: rgba(0, 194, 255, .15); }
.v-off { color: #8C9BB2; background: rgba(140, 155, 178, .14); }

/* 1 · Acercamiento */
.areas-map { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.amap { position: relative; padding: 14px; min-height: 92px; background: rgba(255,255,255,.04); border: 1px solid rgba(159,178,204,.22); display: grid; align-content: space-between; gap: 8px; }
.amap b { font-size: .9rem; }
.amap small { font-size: .72rem; color: var(--on-dark-muted); }
.amap.flag-bad { border-color: rgba(255, 120, 110, .7); background: rgba(240, 90, 90, .08); }
.amap.flag-info { border-color: rgba(0, 194, 255, .7); background: rgba(0, 194, 255, .08); }
.amap .vchip { justify-self: start; white-space: normal; }
.film .eyebrow { color: var(--cyan); }
.scan { position: absolute; top: -6px; bottom: -6px; width: 3px; background: var(--cyan); box-shadow: 0 0 18px 4px rgba(0, 194, 255, .55); left: 0; opacity: 0; pointer-events: none; }
.diag-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .86rem; }
.diag-foot strong { font-family: var(--f-display); font-size: 1.6rem; color: var(--cyan); font-variant-numeric: tabular-nums; }

/* 2 · Propuesta */
.mods { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; }
.mods li { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .84rem; padding: 7px 0; border-bottom: 1px dashed var(--on-dark-line); min-width: 0; }
.mods li.off span:first-child { color: var(--on-dark-muted); text-decoration: line-through; }
.gantt { display: grid; gap: 8px; }
.gantt-row { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 10px; align-items: center; font-size: .78rem; }
.gantt-row span { color: var(--on-dark-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gantt-track { position: relative; height: 16px; background: rgba(255,255,255,.04); }
.gantt-bar { position: absolute; top: 0; bottom: 0; left: var(--l); width: var(--w); background: linear-gradient(90deg, var(--blue), var(--cyan)); transform-origin: left; }
.gantt-scale { display: grid; grid-template-columns: 130px repeat(10, minmax(0, 1fr)); gap: 0 10px; font-family: var(--f-mono); font-size: .62rem; color: var(--on-dark-muted); }
.gantt-scale span:first-child { grid-column: 1; }
.checks-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* 3 · Adaptación */
.progress { display: grid; gap: 8px; }
.progress-top { display: flex; justify-content: space-between; align-items: baseline; font-size: .84rem; color: var(--on-dark-muted); }
.progress-top strong { font-family: var(--f-display); font-size: 1.7rem; color: var(--on-dark); font-variant-numeric: tabular-nums; }
.progress-track { height: 10px; background: rgba(255,255,255,.07); }
.progress-fill { height: 100%; width: 75%; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform-origin: left; }
.deliveries { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.deliveries li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; background: rgba(255,255,255,.035); border-left: 3px solid rgba(159,178,204,.3); }
.deliveries li.done { border-left-color: #3CC88C; }
.deliveries li.now { border-left-color: var(--cyan); }
.deliveries i { width: 34px; height: 34px; display: grid; place-items: center; font-style: normal; font-family: var(--f-mono); font-size: .75rem; background: rgba(255,255,255,.06); }
.deliveries b { font-size: .88rem; display: block; }
.deliveries small { font-size: .72rem; color: var(--on-dark-muted); }
.team-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .82rem; color: var(--on-dark-muted); }
.avatars { display: flex; }
.avatars span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: .68rem; font-weight: 700; background: var(--navy-700); color: var(--on-dark); border: 2px solid var(--navy-900); margin-left: -8px; }
.avatars span:first-child { margin-left: 0; }

/* 4 · Soporte */
.tickets { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tickets li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; background: rgba(255,255,255,.035); font-size: .86rem; }
.tickets code { font-family: var(--f-mono); font-size: .72rem; color: var(--on-dark-muted); }
.tickets span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uptime { display: grid; gap: 8px; }
.uptime-top { display: flex; justify-content: space-between; align-items: center; font-size: .84rem; color: var(--on-dark-muted); gap: 10px; }
.uptime svg { width: 100%; height: 56px; display: block; }
.update { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid rgba(0, 194, 255, .5); background: rgba(0, 194, 255, .08); font-size: .86rem; }
.update i { width: 30px; height: 30px; flex: none; display: grid; place-items: center; background: var(--cyan); color: var(--cyan-ink); font-style: normal; font-weight: 700; }

/* Cierre */
.fscene.close { grid-template-columns: auto minmax(0, 1fr); justify-content: center; }
.close-logo { width: clamp(120px, 16vw, 210px); filter: drop-shadow(0 16px 40px rgba(0, 102, 255, .5)); }
.close-copy { display: grid; gap: 14px; }
.close-copy h3 { font-size: clamp(1.8rem, 3.6vw, 3rem); font-weight: 800; font-stretch: 115%; }
.close-copy p { color: var(--on-dark-muted); font-size: 1.05rem; }
.close-steps { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); }
.close-steps span + span::before { content: "→"; margin-right: 8px; color: var(--on-dark-muted); }

/* Barra de reproducción */
.film-bar { display: flex; align-items: center; gap: 16px; padding: 14px clamp(14px, 2.4vw, 24px); border-top: 1px solid var(--on-dark-line); background: var(--navy-950); }
.film-play { flex: none; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--cyan); color: var(--cyan-ink); display: grid; place-items: center; cursor: pointer; }
.film-play .i-play { display: none; }
.film.paused .film-play .i-play { display: block; }
.film.paused .film-play .i-pause { display: none; }
.film-chapters { flex: 1; display: grid; grid-template-columns: 12fr 12fr 12fr 12fr 5fr; gap: 6px; min-width: 0; }
.chap { background: none; border: 0; padding: 4px 0; color: var(--on-dark-muted); display: grid; gap: 7px; text-align: left; font: 600 .72rem/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; min-width: 0; }
.chap span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chap.on { color: var(--on-dark); }
.chap i { display: block; height: 4px; background: rgba(159,178,204,.22); overflow: hidden; }
.chap b { display: block; height: 100%; width: 0; background: var(--cyan); }
.film-time { flex: none; font-family: var(--f-mono); font-size: .78rem; color: var(--on-dark-muted); font-variant-numeric: tabular-nums; }
.film-note { margin-top: 16px; font-size: .86rem; color: var(--on-dark-muted); }
.film-note a { color: var(--cyan); }

@media (max-width: 900px) {
  .film-screen { aspect-ratio: auto; }
  .fscene { grid-template-columns: minmax(0, 1fr); align-content: start; }
  .fscene.close { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .fs-num { font-size: 3rem; }
}
@media (max-width: 560px) {
  .areas-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mods { grid-template-columns: minmax(0, 1fr); }
  .gantt-row, .gantt-scale { grid-template-columns: 96px minmax(0, 1fr); }
  .gantt-scale { display: none; }
  .chap span { display: none; }
  .film-time { display: none; }
}

/* Modo render (exportar a MP4) */
.film.render { border: 0; box-shadow: none; }
.film.render .film-screen { width: 1280px; height: 720px; aspect-ratio: auto; }
.film.render .film-bar { display: none; }
.film.render .film-top { position: relative; }
.film-progress { display: none; }
.film.render .film-progress { display: block; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(159,178,204,.2); }
.film.render .film-progress b { display: block; height: 100%; width: 0; background: var(--cyan); }

/* ---------- Soluciones ---------- */
.sol-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.sol-grid > * { min-width: 0; }
.prose { display: grid; gap: 18px; color: var(--muted); }
.prose strong { color: var(--ink); }
.question { font-family: var(--f-display); font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 800; line-height: 1.15; color: var(--ink); }
.question span { color: var(--blue); }
.reasons { list-style: none; margin: 0; padding: 0; border: 1px solid var(--gray-200); background: var(--white); }
.reasons-title { padding: 14px 20px; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--navy-900); }
.reasons li { display: flex; gap: 16px; padding: 15px 20px; border-bottom: 1px solid var(--gray-200); align-items: baseline; }
.reasons li:last-child { border-bottom: 0; }
.reasons .n { font-family: var(--f-mono); font-size: .8rem; color: var(--muted); flex: none; }
.reasons li.key { background: #EAF2FF; }
.reasons li.key .n { color: var(--blue); }
.reasons li.key p { color: var(--ink); font-weight: 600; }
.here { margin-top: 0; display: flex; gap: 14px; align-items: center; padding: 18px 20px; background: var(--blue); color: #fff; }
.here strong { font-family: var(--f-display); font-size: 1.2rem; }

.xray { background: var(--navy-900); color: var(--on-dark); border-top: 4px solid var(--cyan); padding: 22px; margin-top: 6px; }
.xray-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--on-dark-line); margin-bottom: 4px; }
.xray-head h3 { font-size: 1.05rem; font-weight: 700; }
.xray-head small { font-family: var(--f-mono); font-size: .66rem; color: var(--on-dark-muted); letter-spacing: .1em; text-transform: uppercase; }
.xray ul { list-style: none; margin: 0; padding: 0; }
.xray li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 11px 0; border-bottom: 1px solid var(--on-dark-line); align-items: center; }
.xray li:last-child { border-bottom: 0; }
.xray .area { font-weight: 700; font-size: .95rem; }
.xray .detail { grid-column: 1 / -1; font-size: .84rem; color: var(--on-dark-muted); }
.xray .chip { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.xray .chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip-red { color: #FF8A80; background: rgba(240, 90, 90, .16); }
.chip-amber { color: #FFC560; background: rgba(255, 180, 60, .15); }
.chip-green { color: #5FE0A2; background: rgba(60, 200, 140, .15); }
.xray-foot { margin-top: 10px; font-size: .76rem; color: var(--on-dark-muted); font-family: var(--f-mono); }

.leaks-wrap { margin-top: clamp(48px, 6vw, 80px); }
.leaks-wrap > p { color: var(--muted); max-width: 72ch; margin-bottom: 24px; }
.leaks-wrap > p strong { color: var(--ink); }
.leaks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--gray-200); border: 1px solid var(--gray-200); }
.leak { background: var(--white); padding: 24px 22px; display: grid; gap: 8px; align-content: start; }
.leak svg { color: var(--red); }
.leak h3 { font-size: 1.05rem; font-weight: 700; }
.leak p { font-size: .9rem; color: var(--muted); }
@media (max-width: 960px) { .leaks { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sol-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .leaks { grid-template-columns: 1fr; } }
.fit { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.fit > span:first-child { font-weight: 700; margin-right: 8px; }
.fit .pill { border: 1.5px solid var(--blue); color: var(--blue); padding: 7px 16px; font-weight: 600; font-size: .9rem; }

/* ---------- Automatización ---------- */
.auto-intro { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.auto-intro > * { min-width: 0; }
.motto { border-left: 4px solid var(--cyan); padding: 6px 0 6px 22px; display: grid; gap: 6px; }
.motto strong { font-family: var(--f-display); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.15; }
.motto span { color: var(--muted); font-family: var(--f-mono); font-size: .8rem; letter-spacing: .04em; }
@media (max-width: 860px) { .auto-intro { grid-template-columns: 1fr; } }
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--gray-200); background: var(--white); }
.service { padding: clamp(24px, 3vw, 36px); display: grid; gap: 16px; align-content: start; border-right: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); min-width: 0; transition: background .2s; }
.service:nth-child(2n) { border-right: 0; }
.service:nth-child(n+3) { border-bottom: 0; }
.service:hover { background: #F7FAFF; }
.service-top { display: flex; align-items: center; gap: 16px; }
.service-ico { width: 52px; height: 52px; flex: none; display: grid; place-items: center; background: var(--navy-900); color: var(--cyan); }
.service h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); font-weight: 800; }
.service p { color: var(--muted); font-size: .96rem; line-height: 1.65; }
.service ul { list-style: none; margin: 4px 0 0; padding: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--gray-200); }
.service li { font-size: .8rem; font-weight: 600; padding: 6px 12px; background: #EAF2FF; color: var(--navy-900); display: flex; gap: 8px; align-items: center; }
.service li::before { content: ""; width: 6px; height: 6px; background: var(--blue); flex: none; }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; } .service { border-right: 0; border-bottom: 1px solid var(--gray-200) !important; } .service:last-child { border-bottom: 0 !important; } }
.values { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-family: var(--f-mono); font-size: .82rem; color: var(--muted); }
.values b { color: var(--blue); font-weight: 500; }

/* ---------- Proyectos ---------- */
.section-head .proto-note, .proto-note { font-family: var(--f-mono); font-size: .76rem; color: var(--muted); }
.projects-note { margin-top: 22px; font-size: .92rem; color: var(--muted); }

/* ---------- Quiénes somos ---------- */
.about { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.about > * { min-width: 0; }
.about-logo { background: var(--navy-900); overflow: hidden; display: grid; color: var(--on-dark); box-shadow: var(--shadow); border-top: 4px solid var(--cyan); }
.about-logo img { width: 100%; height: auto; }
.about-logo p { font-family: var(--f-mono); font-size: .76rem; color: var(--on-dark-muted); letter-spacing: .04em; padding: 16px 22px 18px; border-top: 1px solid var(--on-dark-line); }
.about-copy { display: grid; gap: 18px; }
.about-copy h2 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; }
.about-copy p { color: var(--muted); }
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; margin-top: 6px; }
.pillar { border-top: 3px solid var(--navy-900); padding-top: 12px; display: grid; gap: 4px; }
.pillar strong { font-family: var(--f-display); font-size: 1.08rem; }
.pillar span { font-size: .9rem; color: var(--muted); }
.team-link { justify-self: start; margin-top: 8px; }
.about-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
@media (max-width: 560px) { .about-actions .btn { width: 100%; white-space: normal; text-align: center; } }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Contacto ---------- */
.contact-sec { background: var(--navy-900); color: var(--on-dark);
  background-image: linear-gradient(115deg, transparent 0 70%, rgba(0, 102, 255, .14) 70% 70.3%, transparent 70.3%); }
.contact-sec .section-head p { color: var(--on-dark-muted); }
.contact-sec .eyebrow { color: var(--cyan); }
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact > * { min-width: 0; }
.contact-info { display: grid; gap: 0; border-top: 3px solid var(--cyan); }
.contact-info .item { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--on-dark-line); }
.contact-info .item small { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
.contact-info .item span { font-size: 1.1rem; font-weight: 600; color: var(--on-dark); overflow-wrap: anywhere; }
.contact-info .promise { color: var(--on-dark-muted); font-size: .95rem; padding-top: 18px; }
.form { background: var(--white); color: var(--ink); padding: clamp(22px, 4vw, 38px); display: grid; gap: 18px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); border-top: 4px solid var(--blue); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: .84rem; font-weight: 600; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--gray-50); border: 1px solid var(--gray-200); border-bottom: 2px solid var(--gray-200); border-radius: 0; padding: 12px 14px; width: 100%; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--blue); background: var(--white); }
.field .err { font-size: .8rem; color: var(--red); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--muted); }
.consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--blue); }
.form-foot { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.form-status { font-size: .92rem; font-weight: 600; }
.form-status.ok { color: var(--green); }
.form-status.bad { color: var(--red); }
.form .btn-solid[disabled] { opacity: .6; cursor: wait; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Pie ---------- */
.site-footer { background: var(--navy-950); color: var(--on-dark-muted); font-size: .9rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 56px 40px; }
.foot-grid h4 { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark); font-weight: 500; margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { color: var(--on-dark-muted); text-decoration: none; }
.foot-grid a:hover { color: var(--cyan); }
.foot-brand { display: grid; gap: 14px; align-content: start; }
.foot-brand .brand { color: var(--on-dark); }
.foot-brand .brand-text span { color: var(--on-dark-muted); }
.foot-brand p { max-width: 36ch; }
.foot-base { border-top: 1px solid var(--on-dark-line); }
.foot-base .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 20px; font-size: .8rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

.to-top { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 46px; height: 46px; border-radius: var(--radius); border: 0; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); cursor: pointer; z-index: 40; }

/* ---------- Páginas internas ---------- */
.sub-hero { background: var(--navy-900); color: var(--on-dark); position: relative; overflow: hidden;
  background-image: linear-gradient(115deg, transparent 0 62%, rgba(0, 102, 255, .16) 62% 62.3%, transparent 62.3%), radial-gradient(60% 90% at 95% 10%, rgba(0, 102, 255, .3), transparent 60%), linear-gradient(var(--on-dark-line) 1px, transparent 1px), linear-gradient(90deg, var(--on-dark-line) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px; }
.sub-hero-in { position: relative; display: grid; gap: 16px; padding-block: clamp(44px, 6vw, 84px); }
.sub-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 800; font-stretch: 112%; }
.sub-hero p { color: var(--on-dark-muted); font-size: 1.08rem; max-width: 66ch; }
.back { color: var(--on-dark-muted); text-decoration: none; font-size: .9rem; font-weight: 600; justify-self: start; }
.back:hover { color: var(--cyan); }

/* Equipo de trabajo */
.team-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 3px solid var(--navy-900); counter-reset: tf; }
.team-flow li { padding: 20px 22px 0 0; display: grid; gap: 6px; align-content: start; min-width: 0; }
.team-flow li::before { counter-increment: tf; content: counter(tf, decimal-leading-zero); font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: 2.2rem; line-height: 1; color: var(--blue); margin-bottom: 6px; }
.tf-n { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.team-flow strong { font-family: var(--f-display); font-size: 1.15rem; line-height: 1.2; }
.team-flow p { color: var(--muted); font-size: .94rem; }
@media (max-width: 900px) { .team-flow { grid-template-columns: 1fr 1fr; row-gap: 24px; } }
@media (max-width: 520px) { .team-flow { grid-template-columns: 1fr; } }
.areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.areas .area { background: var(--white); border: 1px solid var(--gray-200); border-top: 4px solid var(--navy-900); padding: clamp(20px, 3vw, 30px); display: grid; gap: 18px; align-content: start; min-width: 0; }
.area-head { display: flex; gap: 16px; align-items: flex-start; }
.area-ico { width: 52px; height: 52px; flex: none; display: grid; place-items: center; background: var(--navy-900); color: var(--cyan); }
.area-head h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 800; margin-bottom: 6px; }
.area-head p { color: var(--muted); font-size: .96rem; }
.area-tasks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.area-tasks li { font-size: .8rem; font-weight: 600; padding: 5px 11px; background: #EAF2FF; color: var(--navy-900); }
.members { display: grid; gap: 12px; border-top: 1px solid var(--gray-200); padding-top: 16px; }
.member { display: flex; gap: 14px; align-items: center; min-width: 0; }
.member-photo { width: 54px; height: 54px; flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--gray-50); color: var(--muted); border: 2px solid var(--gray-200); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.member > div { display: grid; gap: 2px; min-width: 0; }
.member-role { font-size: .98rem; }
.member-name { font-size: .88rem; color: var(--muted); }
@media (max-width: 860px) { .areas { grid-template-columns: 1fr; } }
.cta-band { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 28px; background: var(--navy-900); color: var(--on-dark); border-left: 6px solid var(--cyan); }
.cta-band > div { display: grid; gap: 4px; min-width: 0; flex: 1 1 320px; }
.cta-band small { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.cta-band strong { font-family: var(--f-display); font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
.cta-band p { color: var(--on-dark-muted); font-size: .95rem; }

/* ---------- Proyectos realizados ---------- */
.pr-index { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.pr-index a { font-size: .84rem; font-weight: 600; padding: 7px 13px; background: var(--white); border: 1px solid var(--gray-200); color: var(--navy-900); text-decoration: none; }
.pr-index a:hover { border-color: var(--blue); color: var(--blue); }
.pr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pr-card { background: var(--white); border: 1px solid var(--gray-200); border-top: 4px solid var(--navy-900); display: grid; grid-template-rows: auto 1fr; min-width: 0; scroll-margin-top: 110px; }
.pr-media { position: relative; aspect-ratio: 16 / 9; max-width: 100%; background: var(--navy-900); overflow: hidden; }
.pr-media.empty { background-color: var(--navy-900);
  background-image: linear-gradient(115deg, transparent 0 62%, rgba(0, 102, 255, .18) 62% 62.4%, transparent 62.4%), linear-gradient(rgba(159,178,204,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(159,178,204,.1) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px; }
.pr-empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; color: var(--on-dark-muted); text-align: center; padding: 16px; }
.pr-empty svg { color: var(--cyan); }
.pr-empty span { font-weight: 600; color: var(--on-dark); }
.pr-empty small { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.pr-media { touch-action: pan-y; cursor: grab; user-select: none; }
.pr-media.dragging { cursor: grabbing; }
.pr-media:focus-visible { outline: 3px solid var(--cyan); outline-offset: -3px; }
.pr-slides { position: absolute; inset: 0; display: flex; will-change: transform; }
.pr-slide { flex: 0 0 100%; position: relative; margin: 0; height: 100%; }
.pr-slide img, .pr-slide video { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--navy-950); pointer-events: none; }
.pr-slide video { pointer-events: auto; }
.pr-slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; color: #fff; font-size: .88rem; font-weight: 600; background: linear-gradient(transparent, rgba(5, 15, 31, .88)); }
.pr-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border: 0; background: rgba(5, 15, 31, .72); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.pr-nav:hover { background: var(--blue); }
.pr-nav.prev { left: 10px; } .pr-nav.next { right: 10px; }
.pr-count { position: absolute; z-index: 2; right: 10px; top: 10px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; color: #fff; background: rgba(5, 15, 31, .72); padding: 4px 8px; }
.pr-dots { display: flex; gap: 6px; margin-bottom: 6px; }
.pr-dots button { flex: 1; max-width: 36px; height: 4px; border: 0; padding: 0; background: var(--gray-200); cursor: pointer; }
.pr-dots button[aria-current="true"] { background: var(--blue); }
.pr-goal { color: var(--muted); font-size: .95rem; }
.pr-goal b { color: var(--navy-900); }
.pr-body { padding: 20px 22px 24px; display: grid; gap: 8px; align-content: start; }
.pr-body h2 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 800; }
.pr-text { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .pr-grid { grid-template-columns: 1fr; } }

/* Equipo: integrantes */
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.person { background: var(--white); border: 1px solid var(--gray-200); border-top: 4px solid var(--cyan); display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.person-photo { aspect-ratio: 1 / 1; max-width: 100%; background: var(--navy-900); display: grid; place-items: center; overflow: hidden;
  background-image: linear-gradient(115deg, transparent 0 62%, rgba(0, 102, 255, .2) 62% 62.5%, transparent 62.5%), linear-gradient(rgba(159,178,204,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(159,178,204,.08) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-ini { width: 46%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.8rem); box-shadow: 0 0 0 8px rgba(0, 194, 255, .18); }
.person-body { padding: 20px 20px 24px; display: grid; gap: 12px; align-content: start; }
.person-body h3 { font-size: 1.12rem; font-weight: 800; line-height: 1.2; }
.person-body ul { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--gray-200); display: grid; gap: 8px; }
.person-body li { display: flex; gap: 10px; align-items: baseline; font-size: .92rem; color: var(--muted); }
.person-body li::before { content: ""; width: 8px; height: 8px; flex: none; background: var(--blue); transform: translateY(-1px); }
@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .team-grid { grid-template-columns: 1fr; } .person { grid-template-columns: 120px minmax(0, 1fr); grid-template-rows: auto; } .person-photo { aspect-ratio: auto; height: 100%; } }

/* Inicio sin recuadro de servicios */
.hero-grid.hero-solo { grid-template-columns: minmax(0, 1fr); }
.hero-solo .hero-copy { max-width: 900px; }
.hero-solo h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.hero-solo .hero-lead { max-width: 62ch; }

/* Soluciones: tres planteamientos */
.sol-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--gray-200); background: var(--white); }
.sol-point { padding: clamp(24px, 3vw, 34px); display: grid; gap: 14px; align-content: start; border-right: 1px solid var(--gray-200); min-width: 0; }
.sol-point:last-child { border-right: 0; }
.sol-ico { width: 52px; height: 52px; display: grid; place-items: center; background: var(--navy-900); color: var(--cyan); }
.sol-point h3 { font-size: clamp(1.15rem, 1.7vw, 1.35rem); font-weight: 800; }
.sol-point p { color: var(--muted); font-size: .98rem; line-height: 1.65; }
@media (max-width: 900px) { .sol-points { grid-template-columns: 1fr; } .sol-point { border-right: 0; border-bottom: 1px solid var(--gray-200); } .sol-point:last-child { border-bottom: 0; } }
.fit-cta { margin-top: 28px; }

/* Proyectos realizados: problema / solución */
.pr-info { margin: 4px 0 0; display: grid; gap: 6px; }
.pr-info dt { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-top: 8px; }
.pr-info dt:first-child { margin-top: 0; }
.pr-info dd { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.65; }
.pr-info dt + dd { padding-left: 14px; border-left: 3px solid var(--gray-200); }
.pr-info dt:nth-of-type(2) + dd { border-left-color: var(--cyan); color: var(--ink); }
.pr-grid { align-items: start; }
.person-mail { justify-self: start; margin-top: -4px; font-family: var(--f-mono); font-size: .8rem; color: var(--blue); text-decoration: none; overflow-wrap: anywhere; display: inline-flex; gap: 6px; align-items: center; }
.person-mail::before { content: ""; width: 14px; height: 10px; flex: none; border: 1.5px solid currentColor; border-radius: 1px; background: linear-gradient(to bottom right, transparent 46%, currentColor 47% 53%, transparent 54%) 0 0 / 50% 100% no-repeat, linear-gradient(to bottom left, transparent 46%, currentColor 47% 53%, transparent 54%) 100% 0 / 50% 100% no-repeat; }
.person-mail:hover { text-decoration: underline; }

/* Enlaces de teléfono / WhatsApp en contacto */
.contact-info .item a { color: inherit; text-decoration: none; }
.contact-info .item a:hover { color: var(--cyan); }
