/* RTHTI — sitio corporativo
   Concepto: bandas horizontales alternas (blanco / azul marino) con transiciones diagonales;
   el amarillo se reserva para acentos de acción y estados "resuelto". */
:root {
  --navy: #0A2463;
  --navy-2: #0E2F7E;
  --blue: #1A5FE0;
  --blue-soft: #E9F0FF;
  --sky: #F5F8FF;
  --yellow: #FFC72C;
  --yellow-deep: #E5A800;
  --white: #FFFFFF;
  --ink: #0F1B33;
  --ink-2: #44506A;
  --line: #D9E2F3;

  --f-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --shadow: 0 18px 40px -20px rgba(10, 36, 99, .35);
  --ease: cubic-bezier(.22, .8, .25, 1);
  --wrap: 1180px;
  --header-h: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.15; margin: 0; text-wrap: balance; color: var(--navy); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--navy); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--yellow); }
.section-head { display: grid; gap: 14px; max-width: 720px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.section-head p { color: var(--ink-2); font-size: 1.08rem; }

/* Placeholders que el cliente debe sustituir */
.ph-data {
  background: rgba(255, 199, 44, .22);
  border: 1px dashed var(--yellow-deep);
  border-radius: 6px; padding: 0 6px; font-weight: 600;
}

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 1rem var(--f-body); text-decoration: none; cursor: pointer; border: 0;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--yellow); color: var(--navy); box-shadow: 0 10px 24px -12px rgba(229, 168, 0, .9); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(229, 168, 0, 1); }
.btn-ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--navy-2); transform: translateY(-2px); }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--white); }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(10,36,99,.5); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand svg { width: 42px; height: 42px; flex: none; }
.brand b { font: 800 1.35rem/1 var(--f-display); letter-spacing: .02em; }
.brand small { display: block; font: 500 .68rem/1.2 var(--f-body); color: var(--ink-2); letter-spacing: .04em; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative; display: block; padding: 10px 12px; border-radius: 8px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem;
}
.nav-links a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2px; background: var(--navy); margin: auto; position: relative; transition: transform .3s var(--ease), background .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(26,95,224,.85), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(255,199,44,.18), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, #0B2B74 55%, #123C9C 100%);
  padding-block: 72px 120px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 64px), 0 100%);
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.7rem); letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero .lead { margin-top: 20px; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgba(255,255,255,.84); max-width: 560px; }
.hero .eyebrow { color: #BFD3FF; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.16); }
.hero-proof div { min-width: 120px; }
.hero-proof strong { display: block; font: 700 2rem/1 var(--f-display); color: var(--white); font-variant-numeric: tabular-nums; }
.hero-proof strong span { color: var(--yellow); }
.hero-proof small { color: rgba(255,255,255,.72); font-size: .88rem; }

.hero-visual { position: relative; min-width: 0; }
.photo {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background: linear-gradient(135deg, #1A5FE0, #0A2463);
  aspect-ratio: 4 / 3; max-width: 100%;
}
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo .ph-icon { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.28); }
.photo .ph-icon svg { width: 34%; height: auto; }
.photo img { position: relative; z-index: 1; }
.hero-visual .photo { aspect-ratio: 5 / 4; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.18); }

.float-card {
  position: absolute; z-index: 2;
  background: rgba(255,255,255,.96); color: var(--ink);
  border-radius: var(--r-md); box-shadow: var(--shadow);
  padding: 14px 16px; font-size: .86rem;
  animation: bob 6s ease-in-out infinite;
}
.float-card.ticket { left: -28px; bottom: 34px; width: 250px; }
.float-card.cert { right: -18px; top: 26px; display: flex; align-items: center; gap: 10px; animation-delay: -3s; }
.ticket-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.ticket-id { font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.pill.ok { background: #E3F6EA; color: #13703A; }
.pill.ok::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #1FA055; }
.ticket-bar { height: 6px; background: var(--blue-soft); border-radius: 6px; overflow: hidden; margin: 10px 0 6px; }
.ticket-bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--blue), var(--yellow)); transform-origin: left; animation: fill 2.4s var(--ease) both; }
.ticket-meta { display: flex; justify-content: space-between; color: var(--ink-2); font-size: .76rem; }
.itil-badge { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--yellow); font: 800 .72rem var(--f-display); }
.float-card.cert b { display: block; color: var(--navy); }
.float-card.cert small { color: var(--ink-2); }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes fill { from { transform: scaleX(.05); } }

/* Sectores (franja) */
.strip { margin-top: -28px; position: relative; z-index: 3; }
.strip-inner {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 28px;
  background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow);
  padding: 22px 28px; border: 1px solid var(--line);
}
.strip-inner > p { font-weight: 600; color: var(--ink-2); font-size: .92rem; max-width: 200px; }
.strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.strip li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); font-size: .95rem; }
.strip li svg { width: 34px; height: 34px; flex: none; padding: 7px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); }

/* Secciones generales */
section { position: relative; }
.band { padding-block: 104px; }
.band-sky { background: var(--sky); }

/* Servicios */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc {
  display: flex; flex-direction: column; background: var(--white); border-radius: var(--r-lg);
  border: 1px solid var(--line); overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc:hover .photo img { transform: scale(1.06); }
.svc .photo { border-radius: 0; aspect-ratio: 16 / 10; }
.svc-body { display: grid; gap: 12px; padding: 26px; align-content: start; flex: 1; }
.svc-tag { justify-self: start; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); background: var(--yellow); padding: 4px 10px; border-radius: 999px; }
.svc h3 { font-size: 1.4rem; }
.svc p { color: var(--ink-2); }
.svc ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.svc li { display: flex; gap: 10px; font-size: .94rem; }
.svc li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A5FE0' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }

.extras { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.extra { display: grid; gap: 8px; padding: 22px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease); }
.extra:hover { border-color: var(--blue); transform: translateY(-3px); }
.extra svg { width: 28px; height: 28px; color: var(--blue); }
.extra h4 { font-size: 1.02rem; }
.extra p { font-size: .9rem; color: var(--ink-2); }

/* Atención personalizada */
.care { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.care .photo { aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.care-copy { display: grid; gap: 22px; min-width: 0; }
.care-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.care-copy > p { color: var(--ink-2); font-size: 1.06rem; }
.levels { display: grid; gap: 10px; margin: 8px 0 0; padding: 0; list-style: none; }
.levels li {
  display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center;
  padding: 14px 16px; border-radius: var(--r-md); background: var(--sky); border: 1px solid var(--line);
  transition: background .3s, transform .3s var(--ease);
}
.levels li:hover { background: var(--blue-soft); transform: translateX(6px); }
.levels .lv { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--white); color: var(--blue); border: 1px solid var(--line); }
.levels .lv svg { width: 22px; height: 22px; }
.levels li.vip { background: var(--navy); border-color: var(--navy); }
.levels li.vip .lv { background: var(--yellow); color: var(--navy); border-color: var(--yellow); }
.levels li.vip b { color: var(--white); }
.levels li.vip span { color: rgba(255,255,255,.75); }
.levels b { display: block; color: var(--navy); }
.levels span { font-size: .9rem; color: var(--ink-2); }
.modes { display: flex; flex-wrap: wrap; gap: 10px; }
.mode { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--blue); color: var(--blue); font-weight: 600; font-size: .9rem; }
.mode svg { width: 18px; height: 18px; }

/* ITIL — banda oscura */
.itil {
  color: var(--white);
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(26,95,224,.55), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(255,199,44,.12), transparent 60%),
    var(--navy);
  clip-path: polygon(0 64px, 100% 0, 100% calc(100% - 64px), 0 100%);
  padding-block: 160px;
  margin-block: -40px;
}
.itil .section-head h2, .itil h3 { color: var(--white); }
.itil .section-head p { color: rgba(255,255,255,.8); }
.itil .eyebrow { color: #BFD3FF; }
.itil-top { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; margin-bottom: 56px; }
.itil-top .section-head { margin-bottom: 0; }
.cert-panel {
  position: relative; display: grid; gap: 16px; padding: 30px;
  border-radius: var(--r-lg); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
}
.cert-seal { display: flex; align-items: center; gap: 18px; }
.seal {
  flex: none; width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: conic-gradient(from 0deg, var(--yellow), #FFE08A, var(--yellow-deep), var(--yellow));
  color: var(--navy); font: 800 1.15rem/1 var(--f-display);
  box-shadow: 0 0 0 6px rgba(255,199,44,.18);
  animation: spinGlow 8s linear infinite;
}
.seal span { display: block; background: var(--yellow); width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; animation: spinGlow 8s linear infinite reverse; }
.seal small { display: block; font-size: .6rem; letter-spacing: .1em; font-weight: 700; margin-top: 2px; }
@keyframes spinGlow { to { transform: rotate(360deg); } }
.cert-seal b { font: 700 1.25rem var(--f-display); display: block; }
.cert-seal p { color: rgba(255,255,255,.78); font-size: .94rem; }
.cert-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cert-list li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.07); font-size: .94rem; flex-wrap: wrap; }
.cert-list .ph-data { color: var(--white); font-size: .82rem; }
.cert-note { font-size: .78rem; color: rgba(255,255,255,.6); }

.practices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.practice {
  display: grid; gap: 10px; padding: 26px; border-radius: var(--r-md);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  transition: background .35s, transform .35s var(--ease), border-color .35s;
}
.practice:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); border-color: rgba(255,199,44,.5); }
.practice svg { width: 30px; height: 30px; color: var(--yellow); }
.practice h3 { font-size: 1.12rem; }
.practice p { color: rgba(255,255,255,.76); font-size: .93rem; }
.svs { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; }
.svs span { padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); font-size: .88rem; color: rgba(255,255,255,.88); }
.svs b { color: var(--yellow); font-family: var(--f-display); margin-right: 6px; }

/* Tecnología y seguridad */
.tech { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.tech-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.tech-item { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.tech-item .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.tech-item .ic svg { width: 20px; height: 20px; }
.tech-item b { display: block; color: var(--navy); font-size: .98rem; }
.tech-item span { font-size: .88rem; color: var(--ink-2); }

.console {
  position: relative; min-width: 0;
  border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
  overflow: hidden;
}
.console-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--navy); color: rgba(255,255,255,.85); font-size: .8rem; }
.console-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.25); }
.console-bar i:first-child { background: var(--yellow); }
.console-bar span { margin-left: 8px; }
.console-body { padding: 20px; display: grid; gap: 16px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi { padding: 14px; border-radius: 12px; background: var(--sky); border: 1px solid var(--line); }
.kpi small { display: block; color: var(--ink-2); font-size: .74rem; }
.kpi b { font: 700 1.5rem var(--f-display); color: var(--navy); font-variant-numeric: tabular-nums; }
.chart { height: 130px; display: flex; align-items: flex-end; gap: 8px; padding: 10px 6px 0; border-bottom: 1px solid var(--line); background-image: linear-gradient(var(--line) 1px, transparent 1px); background-size: 100% 32px; }
.chart i { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--blue), #6E9BF0); transform-origin: bottom; transition: transform 1s var(--ease); }
.chart i:nth-child(5n) { background: linear-gradient(180deg, var(--yellow), #FFE08A); }
.queue { display: grid; gap: 8px; }
.queue div { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); font-size: .84rem; }
.queue code { font: 600 .8rem ui-monospace, "SFMono-Regular", Menlo, monospace; color: var(--blue); }
.pill.prog { background: #FFF4D6; color: #8A5A00; }
.pill.vip { background: var(--navy); color: var(--yellow); }
.console-note { font-size: .74rem; color: var(--ink-2); text-align: right; }

/* Sectores */
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sector { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 320px; display: flex; align-items: flex-end; color: var(--white); isolation: isolate; }
.sector .photo { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; z-index: -1; }
.sector::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(10,36,99,.92)); transition: opacity .4s; }
.sector:hover .photo img { transform: scale(1.08); }
.sector-body { padding: 22px; display: grid; gap: 6px; }
.sector h3 { color: var(--white); font-size: 1.2rem; }
.sector p { font-size: .9rem; color: rgba(255,255,255,.82); }
.years {
  margin-top: 36px; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
  padding: 28px 32px; border-radius: var(--r-lg); background: var(--yellow); color: var(--navy);
}
.years strong { font: 800 clamp(3rem, 7vw, 4.6rem)/1 var(--f-display); font-variant-numeric: tabular-nums; }
.years p { font-size: 1.08rem; font-weight: 500; max-width: 640px; }

/* Proceso */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 28px; right: 18%; top: 27px; height: 2px; background: repeating-linear-gradient(90deg, var(--blue) 0 8px, transparent 8px 16px); opacity: .35; }
.steps li { position: relative; display: grid; gap: 10px; align-content: start; }
.steps li::before {
  counter-increment: s; content: counter(s);
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); border: 2px solid var(--blue); color: var(--blue);
  font: 700 1.2rem var(--f-display); position: relative; z-index: 1;
  transition: background .3s, color .3s;
}
.steps li:hover::before { background: var(--blue); color: var(--white); }
.steps li:last-child::before { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.steps h3 { font-size: 1.08rem; }
.steps p { font-size: .9rem; color: var(--ink-2); }

/* Contacto */
.contact {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; overflow: hidden;
  border-radius: var(--r-lg); box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--white);
}
.contact-info {
  padding: 44px; color: var(--white); display: grid; gap: 22px; align-content: start;
  background: radial-gradient(500px 300px at 100% 0%, rgba(26,95,224,.7), transparent 60%), var(--navy);
}
.contact-info h2 { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.3rem); }
.contact-info > p { color: rgba(255,255,255,.8); }
.contact-info ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-info li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; }
.contact-info li .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.1); color: var(--yellow); }
.contact-info li .ic svg { width: 20px; height: 20px; }
.contact-info li small { display: block; color: rgba(255,255,255,.65); font-size: .78rem; }
.contact-info .ph-data { color: var(--white); }
form.contact-form { padding: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .88rem; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--sky);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 48px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(26,95,224,.15); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.form-foot small { color: var(--ink-2); font-size: .8rem; max-width: 340px; }
.form-msg { grid-column: 1 / -1; padding: 12px 14px; border-radius: 12px; background: #E3F6EA; color: #13703A; font-weight: 600; font-size: .92rem; }

/* Footer */
.site-footer { background: #071A48; color: rgba(255,255,255,.75); padding-block: 56px 28px; margin-top: 104px; padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .brand { color: var(--white); }
.site-footer .brand small { color: rgba(255,255,255,.6); }
.site-footer h4 { color: var(--white); font-size: .95rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .8rem; }

/* Banner de instalación (PWA) */
.install {
  position: fixed; z-index: 70; left: 50%; transform: translate(-50%, 140%);
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: min(520px, calc(100% - 32px));
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 24px 50px -20px rgba(10,36,99,.55);
  transition: transform .5s var(--ease);
}
.install.show { transform: translate(-50%, 0); }
.install img { width: 44px; height: 44px; border-radius: 12px; flex: none; }
.install p { font-size: .88rem; color: var(--ink-2); flex: 1; min-width: 0; }
.install p b { display: block; color: var(--navy); }
.install .btn { min-height: 40px; padding: 0 16px; font-size: .88rem; }
.install .x { background: none; border: 0; font-size: 1.4rem; line-height: 1; color: var(--ink-2); cursor: pointer; padding: 6px; }

/* Transiciones entre módulos */
.reveal { opacity: .2; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal-l { transform: translateX(-40px); } .reveal-r { transform: translateX(40px); }
.reveal-l.in, .reveal-r.in { transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

.progress { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; height: 3px; z-index: 80; background: linear-gradient(90deg, var(--yellow), var(--blue)); transform-origin: left; transform: scaleX(0); }

/* Responsivo */
@media (max-width: 1080px) {
  .extras { grid-template-columns: repeat(2, 1fr); }
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .steps::before { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav-links, .nav-cta .btn { display: none; }
  .menu-btn { display: block; }
  .menu-open .nav-links {
    display: grid; position: absolute; left: 0; right: 0; top: var(--header-h);
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 12px max(20px, env(safe-area-inset-right, 0px)) 20px max(20px, env(safe-area-inset-left, 0px));
    animation: drop .35s var(--ease);
  }
  .menu-open .nav-links a { padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .menu-open .nav-links a::after { display: none; }
  .hero .wrap, .care, .tech, .itil-top, .contact { grid-template-columns: 1fr; }
  .hero { padding-block: 48px 110px; }
  .hero-visual { max-width: 560px; }
  .float-card.ticket { left: 12px; }
  .float-card.cert { right: 12px; }
  .services { grid-template-columns: 1fr; max-width: 620px; }
  .care .photo { aspect-ratio: 16 / 11; }
  .strip-inner { grid-template-columns: 1fr; }
  .strip-inner > p { max-width: none; }
  .strip ul { grid-template-columns: repeat(2, 1fr); }
  .practices { grid-template-columns: repeat(2, 1fr); }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
@media (max-width: 620px) {
  .band { padding-block: 72px; }
  .itil { padding-block: 120px; }
  .extras, .sectors, .practices, .tech-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 56px 1fr; column-gap: 16px; }
  .steps li::before { grid-row: span 2; }
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .kpi b { font-size: 1.15rem; }
  .float-card.ticket { width: 210px; bottom: -18px; }
  .float-card.cert { top: -14px; }
  .years { grid-template-columns: 1fr; gap: 10px; padding: 24px; }
  .contact-info, form.contact-form { padding: 28px 22px; }
  form.contact-form { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .brand small { display: none; }
  .sector { min-height: 240px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 480px) {
  .hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .hero-proof div { min-width: 0; }
  .hero-proof strong { font-size: 1.5rem; }
  .hero-proof small { font-size: .78rem; display: block; line-height: 1.3; }
}

/* Testimonios */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi {
  position: relative; margin: 0; display: grid; gap: 16px; align-content: start;
  padding: 30px 26px 26px; border-radius: var(--r-lg); background: var(--sky); border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s;
}
.testi:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: var(--white); }
.testi .q { position: absolute; top: 22px; right: 22px; width: 38px; height: 38px; color: var(--yellow); }
.stars { color: var(--yellow-deep); letter-spacing: 3px; font-size: 1.05rem; }
.testi blockquote { margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.65; }
.testi blockquote .ph-data { display: inline-block; margin-bottom: 6px; font-size: .82rem; }
.testi figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); margin-top: auto; }
.avatar { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--yellow); font: 700 .9rem var(--f-display); }
.testi figcaption b { display: inline-block; color: var(--navy); font-size: .95rem; }
.testi figcaption small { display: inline-block; margin-top: 4px; color: var(--ink-2); font-size: .82rem; }
.testi figcaption span:last-child { display: grid; justify-items: start; }

/* Datos de contacto y certificaciones */
.c-link { color: var(--white); text-decoration: none; font-weight: 600; word-break: break-word; }
.c-link:hover { color: var(--yellow); }
.cert-n { color: var(--yellow); font-weight: 700; font-size: .88rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Botón flotante de WhatsApp */
.wa-fab {
  position: fixed; z-index: 65;
  right: max(18px, calc(env(safe-area-inset-right, 0px) + 12px));
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; color: #FFFFFF; background: #25D366;
  box-shadow: 0 14px 30px -10px rgba(18, 140, 70, .7);
  transition: transform .3s var(--ease);
  animation: waPulse 2.8s ease-out infinite;
}
.wa-fab svg { width: 32px; height: 32px; }
.wa-fab:hover { transform: scale(1.08); }
.wa-tip {
  position: absolute; right: 72px; white-space: nowrap;
  background: var(--navy); color: var(--white); font-size: .85rem; font-weight: 600;
  padding: 8px 12px; border-radius: 10px; box-shadow: var(--shadow);
  opacity: 0; transform: translateX(8px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
}
.wa-fab:hover .wa-tip, .wa-fab:focus-visible .wa-tip, .wa-fab.hint .wa-tip { opacity: 1; transform: none; }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55), 0 14px 30px -10px rgba(18,140,70,.7); } 70%,100% { box-shadow: 0 0 0 18px rgba(37,211,102,0), 0 14px 30px -10px rgba(18,140,70,.7); } }
.install.show ~ .wa-fab { bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 960px) { .testimonials { grid-template-columns: 1fr; max-width: 640px; } }
@media (max-width: 620px) { .wa-tip { display: none; } .wa-fab { width: 56px; height: 56px; } }
@media (max-width: 480px) { .c-link { font-size: .9rem; } }
