/* =============================================================
   HAEMET · Seguridad & Legal
   1. Tokens
   ============================================================= */
:root {
  --paper:      #F3F1EB;
  --paper-2:    #E9E5DB;
  --paper-3:    #DDD7C9;
  --sheet:      #FBFAF6;
  --ink:        #15171B;
  --ink-2:      #2B2E34;
  --ink-soft:   #474B53;
  --ink-mute:   #6A6E76;
  --flame:      #B3402C;
  --flame-hot:  #D9552F;
  --flame-soft: #F2DDD4;
  --safe:       #1F8A4C;
  --fire:       #C8321F;
  --vault:      #101216;
  --vault-line: rgba(243, 241, 235, .12);
  --cream:      #F3F1EB;
  --cream-mute: rgba(243, 241, 235, .66);
  --line:        rgba(21, 23, 27, .12);
  --line-strong: rgba(21, 23, 27, .24);
  --wa:        #25D366;
  --wa-ink:    #07371D;

  --serif: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
  --sans:  "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-io:     cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --gutter: clamp(1.1rem, 4vw, 3rem);
  --maxw: 1360px;
  --nav-h: 76px;
  --intro: 1.25s;
}
:root.no-splash { --intro: .1s; }

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 8px);
  overflow-x: clip;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; font-weight: 400; }
address { font-style: normal; }
::selection { background: var(--flame); color: #fff; }
:focus-visible { outline: 2px solid var(--flame); outline-offset: 3px; border-radius: 6px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .7rem 1.1rem; background: var(--ink); color: var(--paper);
  border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   4. Typography
   ============================================================= */
.kicker {
  display: inline-flex; align-items: center; gap: .65rem;
  font: 500 .74rem/1.2 var(--mono);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-soft);
}
.kicker-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: var(--flame); box-shadow: 0 0 0 4px rgba(179, 64, 44, .14);
}
.kicker-light { color: var(--cream-mute); }
.kicker-light .kicker-dot { background: var(--flame-hot); box-shadow: 0 0 0 4px rgba(217, 85, 47, .2); }

.section-head h2,
.clientes-head h2 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5.6vw, 4.9rem);
  line-height: .98;
  letter-spacing: -.02em;
  margin-top: 1.1rem;
  max-width: 15ch;
}
.section-head h2 em,
.clientes-head h2 em { font-style: italic; color: var(--flame); }
.lead {
  font-size: clamp(1.02rem, 1.25vw, 1.15rem);
  color: var(--ink-soft);
  max-width: 34rem;
  margin-top: 1.2rem;
}

/* =============================================================
   5. Components
   ============================================================= */

/* ---- Buttons ---- */
.btn {
  --bh: 50px;
  display: inline-flex; align-items: center; gap: .75rem;
  height: var(--bh);
  padding: 0 1.3rem 0 .4rem;
  border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: -.005em;
  white-space: nowrap;
  position: relative; isolation: isolate;
  transition: background-color .45s var(--ease-out), color .45s var(--ease-out),
              box-shadow .45s var(--ease-out), transform .45s var(--ease-out);
}
.btn:active { transform: scale(.98); }
.btn-ico {
  width: calc(var(--bh) - 10px); height: calc(var(--bh) - 10px);
  border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  transition: transform .6s var(--ease-out), background-color .45s var(--ease-out), color .45s;
}
.btn-ico svg { width: 18px; height: 18px; }
.btn:hover .btn-ico { transform: rotate(-14deg) scale(1.05); }
.btn-lg { --bh: 60px; font-size: 1rem; padding-right: 1.7rem; }

.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink .btn-ico { background: var(--flame); color: #fff; }
.btn-ink:hover { background: var(--flame); }
.btn-ink:hover .btn-ico { background: var(--ink); }

.btn-flame { background: var(--flame); color: #fff; box-shadow: 0 18px 40px -22px rgba(179, 64, 44, .9); }
.btn-flame .btn-ico { background: rgba(255, 255, 255, .16); color: #fff; }
.btn-flame:hover { background: var(--ink); box-shadow: 0 22px 44px -22px rgba(21, 23, 27, .8); }
.btn-flame:hover .btn-ico { background: var(--flame); }

.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-ghost .btn-ico { background: var(--wa); color: #fff; }
.btn-ghost:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }

.btn-wa { background: var(--wa); color: var(--wa-ink); }
.btn-wa .btn-ico { background: rgba(255, 255, 255, .4); color: var(--wa-ink); }
.btn-wa:hover { background: #1EBE5B; box-shadow: 0 16px 36px -18px rgba(18, 140, 75, .9); }

.round-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
  transition: background-color .4s var(--ease-out), color .4s, box-shadow .4s;
}
.round-btn svg { width: 20px; height: 20px; }
.round-btn:hover { background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); }
[data-testi-prev] svg { transform: rotate(180deg); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 600; font-size: .95rem; color: var(--ink);
  padding-bottom: .25rem;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1.5px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .55s var(--ease-out), color .3s;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .45s var(--ease-out); }
.link-arrow:hover { background-size: 100% 1.5px; color: var(--flame); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---- Splash ---- */
.splash {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  background: var(--paper);
  clip-path: inset(0 0 0 0);
  animation: splash-out .9s var(--ease-io) 1.05s forwards;
}
.no-splash .splash { display: none; }
.splash-inner { display: grid; justify-items: center; gap: 1.1rem; }
.splash img { width: 88px; animation: splash-logo 1s var(--ease-out) both; }
.splash-line { width: 120px; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.splash-line::after {
  content: ""; position: absolute; inset: 0; background: var(--flame);
  transform: scaleX(0); transform-origin: left;
  animation: splash-bar .75s var(--ease-out) .2s forwards;
}
.splash-name {
  font: 500 .72rem/1 var(--mono); letter-spacing: .42em; padding-left: .42em;
  animation: fade-in .6s ease .35s both;
}
@keyframes splash-logo { from { opacity: 0; transform: translateY(10px) scale(.94); filter: blur(6px); } }
@keyframes splash-bar { to { transform: scaleX(1); } }
@keyframes splash-out { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }

/* ---- Scroll progress ---- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--flame); transform: scaleX(0); transform-origin: left; }

/* ---- Header ---- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.site-header.is-scrolled { background: rgba(243, 241, 235, .9); box-shadow: 0 1px 0 var(--line); }
@supports ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
  .site-header.is-scrolled {
    background: rgba(243, 241, 235, .78);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    backdrop-filter: blur(14px) saturate(1.4);
  }
}
.nav-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--paper); }

.header-inner {
  position: relative; z-index: 2;
  height: var(--nav-h);
  max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; }
.brand-logo { height: 50px; width: auto; transition: transform .6s var(--ease-out); }
.brand:hover .brand-logo { transform: rotate(-4deg); }
.brand-text { display: grid; gap: .3rem; }
.brand-name { font-family: var(--serif); font-size: 1.6rem; line-height: .9; letter-spacing: .03em; }
.brand-sub { display: none; font: 500 .58rem/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); }

.nav { display: none; }
.nav a {
  position: relative; font-size: .92rem; font-weight: 500; color: var(--ink-soft);
  padding-block: .4rem; transition: color .3s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--flame); transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.header-call { display: none; --bh: 48px; font-size: .9rem; }

.nav-toggle {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
.nav-toggle-bars { width: 18px; height: 10px; position: relative; }
.nav-toggle-bars i {
  position: absolute; left: 0; right: 0; height: 1.8px; border-radius: 2px; background: currentColor;
  transition: transform .5s var(--ease-out), top .5s var(--ease-out);
}
.nav-toggle-bars i:first-child { top: 0; }
.nav-toggle-bars i:last-child { top: 8px; }
.nav-open .nav-toggle-bars i:first-child { top: 4px; transform: rotate(45deg); }
.nav-open .nav-toggle-bars i:last-child { top: 4px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 1;
  background: var(--paper);
  padding: calc(var(--nav-h) + 1.5rem) var(--gutter) 2rem;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  overflow-y: auto;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .7s var(--ease-io), visibility 0s linear .7s;
}
.nav-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease-io); }
.mobile-menu nav { display: grid; }
.mobile-menu nav a {
  font-family: var(--serif); font-size: clamp(2.3rem, 9vw, 3.4rem); line-height: 1.12;
  padding-block: .35rem; border-bottom: 1px solid var(--line);
}
.nav-open .mobile-menu nav a { animation: rise .7s var(--ease-out) both; }
.nav-open .mobile-menu nav a:nth-child(2) { animation-delay: .05s; }
.nav-open .mobile-menu nav a:nth-child(3) { animation-delay: .1s; }
.nav-open .mobile-menu nav a:nth-child(4) { animation-delay: .15s; }
.nav-open .mobile-menu nav a:nth-child(5) { animation-delay: .2s; }
.nav-open .mobile-menu nav a:nth-child(6) { animation-delay: .25s; }
.mobile-menu-foot { display: grid; gap: .6rem; }
.mobile-menu-foot .btn { width: 100%; }

/* =============================================================
   6. Sections
   ============================================================= */
.section { position: relative; padding-block: clamp(5rem, 11vw, 9rem); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; isolation: isolate;
  padding-top: calc(var(--nav-h) + clamp(1.5rem, 5vw, 3.5rem));
  padding-bottom: clamp(4rem, 7vw, 5.5rem);
  display: flex; align-items: center;
}
/* Faded team photo: the paper + blueprint grid stay dominant */
.hero-photo {
  position: absolute; inset: 0 0 auto 0; height: min(100%, 78svh); z-index: -2;
  overflow: hidden; pointer-events: none;
  animation: fade-in 2.2s var(--ease-out) both;
  animation-delay: calc(var(--intro) - .35s);
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 22%;
  opacity: .6; filter: saturate(.85) contrast(.96);
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(243, 241, 235, .5) 0%, rgba(243, 241, 235, .72) 38%, var(--paper) 96%);
}
@media (min-width: 960px) {
  .hero-photo { height: 100%; }
  .hero-photo img { opacity: .74; object-position: 50% 0%; }
  .hero-photo::after {
    background:
      linear-gradient(180deg, rgba(243, 241, 235, .3) 0%, rgba(243, 241, 235, 0) 18%, rgba(243, 241, 235, 0) 58%, var(--paper) 100%),
      linear-gradient(90deg, rgba(243, 241, 235, .92) 0%, rgba(243, 241, 235, .84) 34%, rgba(243, 241, 235, .45) 56%, rgba(243, 241, 235, .2) 78%, rgba(243, 241, 235, .35) 100%);
  }
}
.hero-inner { display: grid; gap: clamp(3rem, 7vw, 4rem); }

.hero-title {
  font-family: var(--serif);
  font-size: clamp(3.1rem, 8.4vw, 6.9rem);
  line-height: .92; letter-spacing: -.025em;
  margin: 1.4rem 0 1.6rem;
}
.hero-title em { font-style: italic; color: var(--flame); }
.h1-line { display: block; overflow: hidden; padding: 0 .1em .12em 0; margin-bottom: -.12em; }
.h1-line > span {
  display: block;
  animation: line-up 1.2s var(--ease-out) both;
  animation-delay: calc(var(--intro) + var(--d, 0) * 1s);
}
.rise { animation: rise 1.1s var(--ease-out) both; animation-delay: calc(var(--intro) + var(--d, 0) * 1s); }

.hero-lead { font-size: clamp(1.02rem, 1.3vw, 1.18rem); color: var(--ink-soft); max-width: 35rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.hero-proof {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem;
  margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
}
.hero-creds { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; }
.hero-creds li { display: flex; align-items: center; gap: .65rem; font-size: .78rem; color: var(--ink-mute); line-height: 1.3; }
.hero-creds strong { display: block; font-size: .86rem; color: var(--ink); font-weight: 700; }
.mini-tile {
  width: 44px; height: 44px; border-radius: 50%; background: #fff; flex-shrink: 0;
  box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; display: grid; place-items: center;
}
.mini-tile img { width: 100%; height: 100%; object-fit: contain; }
.hero-trust { display: flex; align-items: center; gap: .8rem; font-size: .86rem; color: var(--ink-soft); }
.hero-trust strong { color: var(--ink); }
.avatar-stack { display: flex; }
.avatar-stack img {
  width: 36px; height: 36px; border-radius: 50%; background: #fff; object-fit: contain;
  box-shadow: 0 0 0 2px var(--paper), inset 0 0 0 1px var(--line);
}
.avatar-stack img + img { margin-left: -10px; }

/* ---- Hero visual: living evacuation plan ---- */
.hero-visual { position: relative; }
.plan {
  position: relative; margin: 0;
  background: var(--sheet);
  border-radius: 24px;
  padding: .9rem .9rem 1rem;
  box-shadow: 0 50px 90px -50px rgba(21, 23, 27, .45), inset 0 0 0 1px var(--line);
}
.plan-head {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font: 500 .64rem/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-mute);
  padding: .35rem .4rem .8rem;
  border-bottom: 1px dashed var(--line-strong);
}
.plan-head-right { display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; }
.live-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--safe); }
.live-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--safe);
  animation: ping 2s ease-out infinite;
}
.plan-svg { width: 100%; height: auto; margin-top: .6rem; }

.plan-svg .wall { fill: none; stroke: var(--ink); stroke-width: 6; stroke-linejoin: miter; }
.plan-svg .wall-in { stroke-width: 3.5; }
.plan-svg .thin { fill: none; stroke: var(--ink-soft); stroke-width: 1.3; }
.plan-svg .faint { stroke: rgba(21, 23, 27, .32); }
.plan-svg .thin-exit { stroke: var(--safe); stroke-width: 1.8; }
.plan-svg .hatch-line { stroke: rgba(21, 23, 27, .13); stroke-width: 1; }
.plan-svg [pathLength] {
  stroke-dasharray: 1 1; stroke-dashoffset: 1;
  animation: draw 1.4s var(--ease-out) forwards;
  animation-delay: calc(var(--intro) + .25s + var(--dl, 0s));
}
.plan-svg .plan-fade { opacity: 0; animation: fade-in 1s ease forwards; animation-delay: calc(var(--intro) + 1.2s); }
.plan-svg .route-base { fill: none; stroke: var(--safe); stroke-opacity: .16; stroke-width: 10; }
.plan-svg .route-flow {
  fill: none; stroke: var(--safe); stroke-width: 3; stroke-dasharray: 9 9; opacity: 0;
  animation: fade-in .8s ease forwards, flow 1.2s linear infinite;
  animation-delay: calc(var(--intro) + 2.2s), 0s;
}
.plan-svg .chevrons {
  fill: none; stroke: var(--safe); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
  opacity: 0; animation: fade-in .6s ease forwards; animation-delay: calc(var(--intro) + 2.3s);
}
.plan-svg .assembly {
  opacity: 0; transform-box: fill-box; transform-origin: center;
  animation: pop .7s var(--ease-bounce) forwards; animation-delay: calc(var(--intro) + 2.5s);
}
.plan-svg .assembly circle { fill: rgba(31, 138, 76, .12); stroke: var(--safe); stroke-width: 2; }
.plan-svg .assembly path { fill: none; stroke: var(--safe); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.plan-svg .marker {
  opacity: 0; transform-box: fill-box; transform-origin: center;
  animation: pop .6s var(--ease-bounce) forwards;
  animation-delay: calc(var(--intro) + 1.8s + var(--mk, 0) * .12s);
}
.plan-svg .marker text { font: 700 9px var(--sans); fill: #fff; text-anchor: middle; }
.plan-svg .marker-fire rect { fill: var(--fire); }
.plan-svg .marker-aid rect { fill: var(--safe); }
.plan-svg .marker-aid path { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.plan-svg .marker-smoke circle:first-child { fill: #fff; stroke: var(--fire); stroke-width: 1.6; }
.plan-svg .marker-smoke circle:last-child { fill: var(--fire); }
.plan-svg .you { opacity: 0; animation: fade-in .5s ease forwards; animation-delay: calc(var(--intro) + 1.4s); }
.plan-svg .you-dot { fill: var(--flame); stroke: #fff; stroke-width: 2; }
.plan-svg .you-ring {
  fill: none; stroke: var(--flame); stroke-width: 2;
  transform-box: fill-box; transform-origin: center;
  animation: ring 2.2s ease-out infinite;
}
.plan-svg .labels { opacity: 0; animation: fade-in 1s ease forwards; animation-delay: calc(var(--intro) + 1.6s); }
.plan-svg .labels text {
  font: 500 10px var(--mono); letter-spacing: .06em; text-anchor: middle; fill: var(--ink-mute);
  paint-order: stroke; stroke: var(--sheet); stroke-width: 4px; stroke-linejoin: round;
}
.plan-svg .labels text:first-child { fill: var(--flame); font-weight: 600; }
.plan-svg .labels .lbl-safe { fill: var(--safe); font-weight: 600; }

.plan-legend {
  display: flex; flex-wrap: wrap; gap: .5rem 1.2rem;
  font: 500 .62rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: .4rem; padding: .8rem .4rem 0;
  border-top: 1px dashed var(--line-strong);
}
.plan-legend span { display: inline-flex; align-items: center; gap: .45rem; }
.lg { display: inline-block; flex-shrink: 0; }
.lg-route { width: 22px; height: 0; border-top: 3px dashed var(--safe); }
.lg-safe { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--safe); background: rgba(31, 138, 76, .12); }
.lg-fire { width: 11px; height: 11px; border-radius: 3px; background: var(--fire); }
.lg-aid { width: 11px; height: 11px; border-radius: 3px; background: var(--safe); }

.status-card {
  position: relative;
  width: min(260px, 84%);
  margin: -2.6rem .8rem 0 auto;
  background: #fff;
  border-radius: 18px;
  padding: 1rem 1.1rem 1.05rem;
  box-shadow: 0 30px 60px -30px rgba(21, 23, 27, .5), inset 0 0 0 1px var(--line);
  animation: rise 1s var(--ease-out) both;
  animation-delay: calc(var(--intro) + 1.2s);
}
.status-head { display: flex; align-items: center; gap: .55rem; font: 500 .64rem/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
.status-ico { width: 26px; height: 26px; border-radius: 8px; background: var(--flame-soft); color: var(--flame); display: grid; place-items: center; }
.status-ico svg { width: 15px; height: 15px; }
.status-list { list-style: none; display: grid; gap: .45rem; margin: .85rem 0 .9rem; }
.status-list li {
  display: flex; align-items: center; gap: .6rem; font-size: .84rem; font-weight: 500;
  color: var(--ink-mute);
  animation: tick-text .4s ease forwards; animation-delay: calc(var(--intro) + 2.4s + var(--k) * .45s);
}
.status-list i {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; color: #fff;
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
  animation: tick .45s var(--ease-out) forwards; animation-delay: calc(var(--intro) + 2.4s + var(--k) * .45s);
}
.status-list svg {
  width: 12px; height: 12px; transform: scale(0);
  animation: pop-in .45s var(--ease-bounce) forwards; animation-delay: calc(var(--intro) + 2.45s + var(--k) * .45s);
}
.status-bar { height: 5px; border-radius: 5px; background: var(--paper-2); overflow: hidden; }
.status-bar span {
  display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--flame), var(--safe));
  transform: scaleX(0); transform-origin: left;
  animation: grow 2.1s var(--ease-soft) forwards; animation-delay: calc(var(--intro) + 2.3s);
}
.status-foot {
  display: flex; align-items: center; gap: .45rem; margin-top: .7rem;
  font-size: .8rem; font-weight: 700; color: var(--safe);
  opacity: 0; animation: fade-in .6s ease forwards; animation-delay: calc(var(--intro) + 4.2s);
}
.status-foot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--safe); }

/* ---------------- Ticker ---------------- */
.ticker { background: var(--ink); color: var(--paper); overflow: hidden; padding-block: 1.05rem; }
.ticker-track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.ticker-group { display: flex; align-items: center; gap: 2rem; padding-right: 2rem; }
.ticker span { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.8vw, 2.3rem); line-height: 1.1; white-space: nowrap; }
.ticker i { width: 9px; height: 9px; background: var(--flame-hot); transform: rotate(45deg); flex-shrink: 0; }

/* ---------------- Firma ---------------- */
.firma-grid { display: grid; gap: 2rem; }
.sector-list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.sector-list li {
  font-size: .84rem; font-weight: 600; color: var(--ink-soft);
  padding: .5rem .9rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong);
}
.firma-statement {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.6vw, 3.2rem);
  line-height: 1.12; letter-spacing: -.012em;
}
.firma-statement em { font-style: italic; color: var(--flame); }

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(3rem, 7vw, 5.5rem); border-top: 1px solid var(--line); }
.stat { display: grid; align-content: start; gap: .5rem; padding: 1.8rem 1rem 0 0; }
.stat-num { font-family: var(--serif); font-size: clamp(3.4rem, 6.4vw, 5.6rem); line-height: .9; font-variant-numeric: tabular-nums; }
.stat-label { font-size: .9rem; color: var(--ink-mute); max-width: 14rem; line-height: 1.4; }

/* ---------------- Servicios ---------------- */
.servicios { background: var(--paper-2); isolation: isolate; }
.svc-photo { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.svc-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 45%;
  opacity: .55; filter: saturate(.75) blur(1.5px);
  transform: scale(1.06);
}
.svc-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--paper-2) 0%, rgba(233, 229, 219, .2) 24%, rgba(233, 229, 219, .2) 70%, var(--paper-2) 100%),
    linear-gradient(90deg, rgba(233, 229, 219, .35) 0%, rgba(233, 229, 219, .6) 45%, rgba(233, 229, 219, .85) 100%);
}
.servicios-grid { display: grid; gap: 3rem; }
.credit-note {
  display: flex; align-items: center; gap: .9rem;
  margin-top: 2.2rem; padding: 1rem 1.2rem; max-width: 27rem;
  border-radius: 16px; background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
}
.credit-note-tag {
  font: 600 .62rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--flame); background: var(--flame-soft);
  padding: .45rem .6rem; border-radius: 7px; white-space: nowrap;
}
.credit-note p { font-size: .95rem; color: var(--ink-soft); }
.credit-note strong { color: var(--ink); }

.svc-list { display: grid; gap: .9rem; }
.svc {
  background: var(--paper); border-radius: 24px; overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.svc[open] { background: #fff; box-shadow: 0 34px 70px -50px rgba(21, 23, 27, .45), inset 0 0 0 1px var(--line); }
.svc summary {
  list-style: none; cursor: pointer;
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.1rem;
  padding: 1.35rem 1.3rem;
  transition: color .45s var(--ease-out);
}
.svc summary::-webkit-details-marker { display: none; }
.svc summary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink); transform: scaleY(0); transform-origin: bottom;
  transition: transform .6s var(--ease-out);
}
.svc-num { font: 500 .8rem/1 var(--mono); letter-spacing: .08em; color: var(--flame); transition: color .45s; }
.svc-name { display: block; font-family: var(--serif); font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1; letter-spacing: -.015em; }
.svc-tags { display: block; margin-top: .5rem; font: 500 .66rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); transition: color .45s; }
.svc-plus {
  position: relative; width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
  transition: transform .55s var(--ease-out), background-color .45s, box-shadow .45s, color .45s;
}
.svc-plus::before, .svc-plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.8px;
  background: currentColor; translate: -50% -50%;
}
.svc-plus::after { rotate: 90deg; }
.svc[open]:not(.is-closing) .svc-plus { transform: rotate(45deg); background: var(--flame); color: #fff; box-shadow: none; }
@media (hover: hover) {
  .svc summary:hover { color: var(--paper); }
  .svc summary:hover::before { transform: scaleY(1); }
  .svc summary:hover .svc-tags { color: rgba(243, 241, 235, .6); }
  .svc summary:hover .svc-num { color: var(--flame-hot); }
  .svc summary:hover .svc-plus { box-shadow: inset 0 0 0 1.5px rgba(243, 241, 235, .35); }
}
.svc-body { overflow: hidden; }
.svc-body-inner { padding: 0 1.3rem 1.7rem; }
.svc-desc { padding-top: 1.3rem; border-top: 1px dashed var(--line-strong); font-size: 1.04rem; color: var(--ink-soft); max-width: 42rem; }
.svc-items { list-style: none; display: grid; column-gap: 1.8rem; margin: 1.2rem 0 1.6rem; }
.svc-items li {
  display: flex; align-items: flex-start; gap: .7rem;
  padding: .62rem 0; border-bottom: 1px solid var(--line);
  font-size: .95rem; line-height: 1.4;
}
.svc-items svg { width: 17px; height: 17px; margin-top: .1rem; flex-shrink: 0; color: var(--flame); }

/* ---------------- Método ---------------- */
.section-head-row { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.process { position: relative; }
.process-line { display: none; }
.process-steps { list-style: none; display: grid; gap: 2.2rem; padding-left: 1.6rem; border-left: 2px solid var(--line); }
.step { position: relative; }
.step-dot {
  position: absolute; left: calc(-1.6rem - 8px); top: .15rem;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--paper); box-shadow: inset 0 0 0 3px var(--flame), 0 0 0 5px var(--paper);
}
.step-num { font: 500 .72rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--flame); }
.step h3 { font-family: var(--serif); font-size: clamp(2rem, 2.9vw, 2.6rem); line-height: 1; margin: .7rem 0 .65rem; }
.step p { color: var(--ink-soft); font-size: .96rem; max-width: 23rem; }

/* ---------------- Crédito ---------------- */
.credito { padding-bottom: clamp(5rem, 11vw, 9rem); }
.credito-band {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; justify-items: start; gap: 1.5rem;
  padding: clamp(2.2rem, 6vw, 4.6rem);
  border-radius: 34px;
  background: var(--flame); color: #fff;
}
.credito-pattern {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .08) 0 2px, transparent 2px 22px);
  -webkit-mask-image: linear-gradient(100deg, transparent 25%, #000 90%);
          mask-image: linear-gradient(100deg, transparent 25%, #000 90%);
  animation: stripes 24s linear infinite;
}
.credito-photo { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.credito-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 63%;
  filter: saturate(.92);
  transform: scale(1.02);
  transition: transform 1.8s var(--ease-out);
}
.credito-band:hover .credito-photo img { transform: scale(1.06); }
.credito-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--flame) 0%, rgba(179, 64, 44, .97) 34%, rgba(179, 64, 44, .6) 50%, rgba(179, 64, 44, .14) 76%, rgba(179, 64, 44, .22) 100%);
}
.credito-photo + .credito-pattern { display: none; }
@media (max-width: 959px) {
  .credito-photo img { object-position: 56% 60%; }
  .credito-photo::after {
    background: linear-gradient(180deg, rgba(179, 64, 44, .97) 0%, rgba(179, 64, 44, .9) 55%, rgba(179, 64, 44, .45) 100%);
  }
}
.credito-kicker { font: 500 .74rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.credito-title { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -.02em; max-width: 17ch; }
.credito-title em { font-style: italic; color: var(--ink); }
.credito .btn-ink:hover { background: #fff; color: var(--ink); }
.credito .btn-ink:hover .btn-ico { background: var(--wa); color: #fff; }
.credito .btn-ico-wa, .btn-ink .btn-ico-wa { background: var(--wa); color: #fff; }

/* ---------------- Certificaciones (vault) ---------------- */
.vault { background: var(--vault); color: var(--cream); overflow: clip; }
.vault-photo { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.vault-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 40%;
  opacity: .36; filter: saturate(.7) contrast(1.05);
}
.vault-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--vault) 0%, rgba(16, 18, 22, .5) 20%, rgba(16, 18, 22, .45) 55%, rgba(16, 18, 22, .88) 86%, var(--vault) 100%),
    linear-gradient(90deg, rgba(16, 18, 22, .55) 0%, rgba(16, 18, 22, .12) 50%, rgba(16, 18, 22, .45) 100%);
}
.vault-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 520px at 88% -5%, rgba(179, 64, 44, .28), transparent 62%),
    radial-gradient(700px 520px at -5% 105%, rgba(243, 241, 235, .07), transparent 62%);
}
.vault .container { position: relative; }
.vault .section-head h2 { color: var(--cream); }
.vault .section-head h2 em { color: var(--flame-hot); }
.vault .lead { color: var(--cream-mute); }

.cred-grid { display: grid; gap: 1.4rem; }
.cred {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 1.4rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 28px;
  color: var(--ink);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(179, 64, 44, .12), transparent 52%),
    repeating-radial-gradient(circle at 0% 100%, rgba(21, 23, 27, .05) 0 1px, transparent 1.5px 10px),
    linear-gradient(160deg, #FCFBF7, #EAE5D9);
  box-shadow: 0 60px 110px -60px rgba(0, 0, 0, .9);
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out);
}
.cred::before {
  content: ""; position: absolute; inset: 10px; border-radius: 20px; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(21, 23, 27, .12);
}
.cred-sheen {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background:
    radial-gradient(340px circle at var(--px, 50%) var(--py, 50%), rgba(255, 255, 255, .75), transparent 55%),
    conic-gradient(from 90deg at var(--px, 50%) var(--py, 50%),
      rgba(255, 80, 150, .16), rgba(70, 200, 255, .16), rgba(255, 215, 70, .16), rgba(120, 255, 170, .14), rgba(255, 80, 150, .16));
  mix-blend-mode: soft-light;
  transition: opacity .5s var(--ease-out);
}
.cred:hover .cred-sheen { opacity: 1; }
.cred-top, .cred-main, .cred-desc, .cred-foot { position: relative; }
.cred-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.cred-label { font: 500 .66rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }
.cred-status {
  display: inline-flex; align-items: center; gap: .45rem;
  font: 600 .64rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--safe); background: rgba(31, 138, 76, .1);
  padding: .45rem .7rem; border-radius: 999px;
}
.cred-status i { position: relative; width: 6px; height: 6px; border-radius: 50%; background: var(--safe); }
.cred-status i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--safe); animation: ping 2s ease-out infinite; }
.cred-main { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 1.2rem; }
.cred-logo {
  width: clamp(84px, 11vw, 124px); aspect-ratio: 1; padding: .45rem;
  background: #fff; border-radius: 20px;
  box-shadow: 0 14px 30px -16px rgba(21, 23, 27, .4), inset 0 0 0 1px var(--line);
}
.cred-logo img { width: 100%; height: 100%; object-fit: contain; }
.cred h3 { font-family: var(--serif); font-size: clamp(1.65rem, 2.7vw, 2.4rem); line-height: 1.02; letter-spacing: -.01em; }
.cred h3 span { font-style: italic; color: var(--flame); }
.cred-issuer { margin-top: .5rem; font-weight: 700; font-size: .9rem; color: var(--ink-soft); }
.cred-desc { font-size: .98rem; color: var(--ink-soft); max-width: 36rem; }
.cred-foot {
  margin-top: auto; padding-top: 1.2rem;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem;
  border-top: 1px dashed rgba(21, 23, 27, .22);
}
.cred-foot dl { display: flex; flex-wrap: wrap; gap: .8rem 1.8rem; }
.cred-foot dt { font: 500 .6rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }
.cred-foot dd { margin: .35rem 0 0; font-size: .9rem; font-weight: 700; }
.seal { width: clamp(84px, 9vw, 112px); height: auto; flex-shrink: 0; margin: -2.2rem -.3rem -.5rem 0; }
.seal-ring { fill: none; stroke: var(--flame); stroke-width: 1.2; stroke-dasharray: 2 3; }
.seal text { font: 500 8.4px var(--mono); fill: var(--flame); letter-spacing: .04em; }
.seal-rot { transform-origin: 60px 60px; animation: spin 26s linear infinite; }
.seal-core { fill: var(--flame); }
.seal-icon { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.cred-benefits {
  list-style: none; display: grid; gap: 1.8rem;
  margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 2.4rem;
  border-top: 1px solid var(--vault-line);
}
.benefit-ico {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(243, 241, 235, .06); box-shadow: inset 0 0 0 1px var(--vault-line); color: var(--flame-hot);
}
.benefit-ico svg { width: 22px; height: 22px; }
.cred-benefits h3 { font-family: var(--serif); font-size: 1.7rem; line-height: 1.05; color: var(--cream); margin: 1rem 0 .45rem; }
.cred-benefits p { font-size: .95rem; color: var(--cream-mute); max-width: 24rem; }

/* ---------------- Testimonios ---------------- */
.testi-stage { display: grid; }
.testi-slide { margin: 0; display: grid; gap: 2.4rem; padding-block: 2.6rem; border-top: 1px solid var(--line); }
.testi-slide:first-child { border-top: 0; padding-top: 0; }
.testi-logo {
  position: relative; justify-self: center;
  width: 100%; max-width: 300px; aspect-ratio: 1;
  display: grid; place-items: center;
  background: #fff; border-radius: 32px;
  box-shadow: 0 60px 90px -60px rgba(21, 23, 27, .55), inset 0 0 0 1px var(--line);
}
.testi-logo img { width: 78%; transition: transform 1.4s var(--ease-out), opacity 1s var(--ease-out); }
.corner { position: absolute; width: 26px; height: 26px; border: 0 solid var(--flame); }
.c-tl { top: 18px; left: 18px; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: 9px; --cx: -8px; --cy: -8px; }
.c-tr { top: 18px; right: 18px; border-top-width: 2px; border-right-width: 2px; border-top-right-radius: 9px; --cx: 8px; --cy: -8px; }
.c-bl { bottom: 18px; left: 18px; border-bottom-width: 2px; border-left-width: 2px; border-bottom-left-radius: 9px; --cx: -8px; --cy: 8px; }
.c-br { bottom: 18px; right: 18px; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: 9px; --cx: 8px; --cy: 8px; }
.testi-sector {
  position: absolute; left: 50%; bottom: -15px; translate: -50% 0;
  font: 500 .64rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  background: var(--ink); color: var(--paper); padding: .62rem .95rem; border-radius: 999px;
}
.testi-mark { display: block; height: .42em; font-family: var(--serif); font-size: clamp(6rem, 11vw, 9rem); line-height: .75; color: var(--flame); }
.testi blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.9rem, 3.5vw, 3.2rem); line-height: 1.08; letter-spacing: -.012em; text-wrap: pretty; }
.testi figcaption { display: grid; gap: .25rem; margin-top: 1.8rem; padding-left: 3.2rem; position: relative; }
.testi figcaption::before { content: ""; position: absolute; left: 0; top: .7rem; width: 2.2rem; height: 1.5px; background: var(--flame); }
.testi figcaption strong { font-size: 1rem; }
.testi figcaption span { font: 500 .7rem/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }

.testi-controls { display: none; }
.testi.is-enhanced .testi-slide {
  grid-area: 1 / 1; border-top: 0; padding-block: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .5s ease, visibility 0s linear .5s;
}
.testi.is-enhanced .testi-slide.is-active { opacity: 1; visibility: visible; transition: opacity .7s ease .1s; }
.testi.is-enhanced .testi-slide:not(.is-active) .testi-logo img { transform: scale(.88); opacity: 0; }
.testi.is-enhanced .testi-slide.is-active .corner { animation: corner-in 1s var(--ease-out) both .15s; }
.testi.is-enhanced .testi-slide blockquote,
.testi.is-enhanced .testi-slide figcaption,
.testi.is-enhanced .testi-slide .testi-mark { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .9s var(--ease-out); }
.testi.is-enhanced .testi-slide.is-active .testi-mark { opacity: 1; transform: none; transition-delay: .1s; }
.testi.is-enhanced .testi-slide.is-active blockquote { opacity: 1; transform: none; transition-delay: .2s; }
.testi.is-enhanced .testi-slide.is-active figcaption { opacity: 1; transform: none; transition-delay: .35s; }
.testi.is-enhanced .testi-controls {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: clamp(2.8rem, 5vw, 4rem); padding-top: 1.4rem; padding-right: 5rem; border-top: 1px solid var(--line);
}
.testi-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; flex: 1; max-width: 780px; }
.testi-tab {
  position: relative; display: flex; align-items: center; justify-content: center; gap: .7rem;
  padding: .55rem .55rem .8rem; border-radius: 14px;
  font-weight: 600; font-size: .88rem; color: var(--ink-mute); text-align: left;
  transition: background-color .4s var(--ease-out), color .4s, box-shadow .4s;
}
.testi-tab img {
  width: 40px; height: 40px; border-radius: 10px; object-fit: contain; flex-shrink: 0;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line); opacity: .7; transition: opacity .4s;
}
.testi-tab span { display: none; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.testi-tab:hover { color: var(--ink); }
.testi-tab:hover img, .testi-tab.is-active img { opacity: 1; }
.testi-tab.is-active { background: #fff; color: var(--ink); box-shadow: 0 14px 30px -22px rgba(21, 23, 27, .5); }
.testi-progress { position: absolute; left: .8rem; right: .8rem; bottom: .38rem; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.testi-progress::after { content: ""; position: absolute; inset: 0; background: var(--flame); transform: scaleX(var(--p, 0)); transform-origin: left; }
.testi-tab:not(.is-active) .testi-progress::after { transform: scaleX(0); }
.testi-arrows { display: flex; gap: .5rem; }

/* ---------------- Clientes ---------------- */
.clientes { background: var(--paper-2); overflow: clip; }
.clientes-head { display: grid; gap: 1rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.clientes-count {
  font-family: var(--serif); font-size: clamp(7rem, 18vw, 15rem); line-height: .8; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1.5px var(--flame);
  font-variant-numeric: tabular-nums;
}
.marquee {
  display: grid; gap: 1rem; padding-block: 1rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee-reverse { animation-direction: reverse; animation-duration: 82s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { list-style: none; display: flex; gap: 1rem; padding-right: 1rem; }
.logo-tile {
  width: clamp(116px, 13vw, 170px); aspect-ratio: 1; flex-shrink: 0;
  display: grid; place-items: center;
  background: #fff; border-radius: 22px;
  box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px -34px rgba(21, 23, 27, .55);
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out);
}
.logo-tile img { width: 88%; height: 88%; object-fit: contain; }
.logo-tile:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line), 0 30px 50px -30px rgba(21, 23, 27, .6); }

/* ---------------- Contacto ---------------- */
.contacto-title { max-width: 16ch; }
.contact-grid { display: grid; gap: 1rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.contact-side { display: grid; gap: 1rem; }
.contact-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 1rem;
  padding: clamp(1.5rem, 3.5vw, 2.6rem);
  border-radius: 30px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line);
}
.contact-label {
  display: inline-flex; align-items: center; gap: .55rem;
  font: 500 .7rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute);
}
.contact-label svg { width: 16px; height: 16px; color: var(--flame); }
.contact-phone {
  justify-content: space-between; gap: 1.6rem;
  isolation: isolate; container-type: inline-size;
  background: var(--ink);
  color: var(--paper); box-shadow: none;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.rv .contact-phone[data-reveal] {
  transition: opacity .9s var(--ease-out), translate 1.1s var(--ease-out), transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms), calc(var(--i, 0) * 80ms), 0s, 0s;
}
.contact-phone::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(640px 340px at var(--gx, 100%) var(--gy, 0%), rgba(179, 64, 44, .42), transparent 62%);
}
.contact-phone::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(217, 85, 47, 0);
  transition: box-shadow .6s var(--ease-out);
}
.phone-brand {
  position: absolute; left: 7%; right: 4%; top: 50%; z-index: -1; pointer-events: none;
  display: flex; align-items: center; gap: 5%;
  translate: 0 -40%;
  opacity: .13;
  transition: opacity .8s var(--ease-out), transform 1.4s var(--ease-out);
}
.phone-brand img { width: 19%; height: auto; flex-shrink: 0; }
.phone-brand span {
  font-family: var(--serif); font-size: 5rem; font-size: 13cqi;
  line-height: 1; letter-spacing: .06em; white-space: nowrap; color: var(--cream);
}
.contact-phone .contact-label svg { transform-origin: 50% 60%; }
@media (hover: hover) {
  .contact-phone:hover { transform: translateY(-4px); box-shadow: 0 40px 80px -40px rgba(21, 23, 27, .7); }
  .contact-phone:hover::after { box-shadow: inset 0 0 0 1px rgba(217, 85, 47, .45); }
  .contact-phone:hover .phone-brand { opacity: .26; transform: scale(1.05); }
  .contact-phone:hover .big-phone { background-size: 100% 3px; }
  .contact-phone:hover .contact-label svg { animation: phone-ring .9s ease-in-out; }
}
@keyframes phone-ring {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-14deg); }
  40% { transform: rotate(12deg); }
  60% { transform: rotate(-8deg); }
  80% { transform: rotate(5deg); }
}
.contact-phone .contact-label { color: var(--cream-mute); }
.contact-phone .contact-label svg { color: var(--flame-hot); }
.big-phone {
  width: fit-content; white-space: nowrap;
  font-family: var(--serif); font-size: clamp(2.9rem, 8vw, 6.6rem); line-height: .95; letter-spacing: -.02em;
  background-image: linear-gradient(var(--flame-hot), var(--flame-hot));
  background-size: 0% 3px; background-repeat: no-repeat; background-position: 0 98%;
  padding-bottom: .1em;
  transition: background-size .7s var(--ease-out);
}
.big-phone:hover { background-size: 100% 3px; }
.contact-note { color: var(--cream-mute); max-width: 32rem; }
.other-lines { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.4rem; padding-top: 1.2rem; border-top: 1px solid rgba(243, 241, 235, .14); }
.other-lines a { font-size: 1.1rem; font-weight: 600; transition: color .3s; }
.other-lines a:hover { color: var(--flame-hot); }
.contact-mini { width: 100%; font: 500 .64rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cream-mute); }
.contact-wa { background: linear-gradient(160deg, #E4F7EB, #fff 72%); }
.contact-wa .contact-label svg { color: #1A9F4F; }
.mid-phone { font-family: var(--serif); font-size: clamp(2.3rem, 4vw, 3.3rem); line-height: 1; width: fit-content; transition: color .3s; }
.mid-phone:hover { color: #178A45; }
.contact-wa .btn { align-self: flex-start; }
.contact-address address { font-size: 1.08rem; line-height: 1.55; }
.contact-address .link-arrow { align-self: flex-start; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--paper-2); border-top: 1px solid var(--line); padding-block: clamp(3.5rem, 7vw, 5rem) 2rem; }
.footer-top { display: grid; gap: 2.4rem; }
.footer-brand { display: flex; align-items: flex-start; gap: 1rem; }
.footer-brand img { height: 76px; width: auto; }
.footer-name { font-family: var(--serif); font-size: 1.9rem; line-height: 1; }
.footer-desc { margin-top: .45rem; font-size: .92rem; color: var(--ink-mute); max-width: 22rem; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; font-size: .94rem; }
.footer-col a { color: var(--ink-soft); transition: color .3s; }
.footer-col a:hover { color: var(--flame); }
.footer-col p:not(.footer-h) { color: var(--ink-soft); max-width: 18rem; }
.footer-h { margin-bottom: .35rem; font: 500 .66rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem;
  margin-top: 3rem; padding-top: 1.4rem; padding-right: 5rem;
  border-top: 1px solid var(--line); font-size: .82rem; color: var(--ink-mute);
}

/* ---------------- WhatsApp flotante ---------------- */
.wa-float {
  position: fixed; right: clamp(16px, 2.4vw, 28px); bottom: clamp(16px, 2.4vw, 28px); z-index: 90;
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 18px 40px -12px rgba(18, 140, 75, .7), 0 2px 6px rgba(0, 0, 0, .14);
  transition: transform .5s var(--ease-bounce), box-shadow .5s var(--ease-out);
  animation: wa-in .9s var(--ease-bounce) backwards;
  animation-delay: calc(var(--intro) + .9s);
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 22px 48px -12px rgba(18, 140, 75, .8), 0 2px 6px rgba(0, 0, 0, .14); }
.wa-icon { position: relative; z-index: 1; width: 32px; height: 32px; }
.wa-ring { position: absolute; inset: 0; border-radius: 50%; background: var(--wa); animation: wa-pulse 2.8s cubic-bezier(.2, .6, .3, 1) infinite; }
.wa-ring-2 { animation-delay: 1.4s; }
.wa-bubble {
  position: absolute; right: calc(100% + 14px); top: 50%;
  translate: 0 -50%;
  padding: .7rem 1rem; border-radius: 14px;
  background: #fff; color: var(--ink); font-size: .86rem; font-weight: 500; white-space: nowrap;
  box-shadow: 0 16px 36px -14px rgba(21, 23, 27, .45), inset 0 0 0 1px var(--line);
  opacity: 0; transform: translateX(10px); pointer-events: none;
  transition: opacity .4s var(--ease-out), transform .5s var(--ease-out);
}
.wa-bubble strong { color: #178A45; }
.wa-bubble::after {
  content: ""; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px;
  background: #fff; border-radius: 2px; transform: translateY(-50%) rotate(45deg);
}
.wa-float:hover .wa-bubble,
.wa-float:focus-visible .wa-bubble,
.wa-float.is-peek .wa-bubble { opacity: 1; transform: none; }

/* =============================================================
   7. Effects (reveals, split text, keyframes)
   ============================================================= */
.rv [data-reveal] {
  opacity: 0; translate: 0 26px;
  transition: opacity .9s var(--ease-out), translate 1.1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.rv [data-reveal].is-in { opacity: 1; translate: none; }
[data-split][data-reveal] { opacity: 1; translate: none; }
.rv .cred[data-reveal] {
  transition: opacity .9s var(--ease-out), translate 1.1s var(--ease-out), transform .7s var(--ease-out), box-shadow .7s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms), calc(var(--i, 0) * 80ms), 0s, 0s;
}
.rv .cred.is-tilting[data-reveal], .cred.is-tilting {
  transition: opacity .9s var(--ease-out), translate 1.1s var(--ease-out), transform .12s linear, box-shadow .7s var(--ease-out);
  transition-delay: 0s;
}

.rv [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .07em .14em 0; margin: 0 -.07em -.14em 0; }
.rv [data-split] .wi {
  display: inline-block; translate: 0 112%;
  transition: translate 1.1s var(--ease-out);
  transition-delay: calc(var(--wi, 0) * 55ms);
}
.rv [data-split].is-in .wi { translate: none; }

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 22px, 0); } to { opacity: 1; transform: none; } }
@keyframes line-up { from { transform: translate3d(0, 110%, 0); } to { transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes flow { to { stroke-dashoffset: -18; } }
@keyframes pop { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: scale(1); } }
@keyframes pop-in { to { transform: scale(1); } }
@keyframes ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3); opacity: 0; } }
@keyframes tick { to { background-color: var(--safe); box-shadow: inset 0 0 0 1.5px var(--safe); } }
@keyframes tick-text { to { color: var(--ink); } }
@keyframes grow { to { transform: scaleX(1); } }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
@keyframes stripes { to { background-position: 311px 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes corner-in { from { opacity: 0; translate: var(--cx) var(--cy); } to { opacity: 1; translate: none; } }
@keyframes wa-in { from { opacity: 0; transform: scale(0) rotate(-40deg); } }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .45; } 100% { transform: scale(1.9); opacity: 0; } }

/* =============================================================
   8. Responsive (mobile-first)
   ============================================================= */
@media (min-width: 540px) {
  .brand-sub { display: block; }
  .testi-tab span { display: block; }
  .testi-tab { justify-content: flex-start; }
}

@media (min-width: 720px) {
  .header-call { display: inline-flex; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat + .stat { padding-left: 1.4rem; border-left: 1px solid var(--line); }
  .svc summary { padding: 1.6rem 1.8rem; gap: 1.6rem; }
  .svc-body-inner { padding: 0 1.8rem 2rem calc(1.8rem + 1.6rem + 1.9rem); }
  .svc-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 2.4rem; padding-left: 0; border-left: 0; }
  .step-dot { position: relative; left: 0; top: 0; display: block; margin-bottom: 1.4rem; }
  .cred-benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4rem; }
  .testi-logo { max-width: 380px; }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .status-card { position: absolute; left: 1.2rem; bottom: -3.4rem; margin: 0; width: 262px; }
  .plan-legend { padding-left: calc(262px + 1.6rem); }
  .hero-visual { padding-bottom: 2.4rem; }
}

@media (min-width: 960px) {
  .nav { display: flex; align-items: center; gap: 1.5rem; margin-right: 1.2rem; }
  .nav-toggle, .mobile-menu { display: none; }
  .hero { min-height: 100vh; min-height: 100svh; }
  .hero-inner { grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); align-items: center; gap: clamp(3rem, 5vw, 5rem); }
  .status-card { left: -2.4rem; bottom: -3.6rem; }
  .plan-legend { padding-left: calc(262px - 2.4rem + 1.2rem); }
  .firma-grid { grid-template-columns: 250px minmax(0, 1fr); gap: 4rem; }
  .sector-list { flex-direction: column; align-items: flex-start; }
  .servicios-grid { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .servicios-head { position: sticky; top: calc(var(--nav-h) + 2.5rem); }
  .section-head-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; gap: 3rem; }
  .section-head-row .lead { margin-top: 0; justify-self: end; }
  .process-line { display: block; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--line); }
  .process-line span { position: absolute; inset: 0; background: var(--flame); transform-origin: left center; }
  .process-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.4rem; }
  .step-dot { box-shadow: inset 0 0 0 3px var(--flame), 0 0 0 6px var(--paper); }
  .credito-band { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 3rem; }
  .credito-kicker { grid-column: 1 / -1; }
  .cred-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
  .testi-slide { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(3rem, 6vw, 6rem); }
  .testi-logo { max-width: 440px; }
  .clientes-head { grid-template-columns: auto minmax(0, 1fr); gap: 3rem; }
  .contact-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1.2rem; }
  .footer-top { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
  .footer-brand { grid-column: auto; }
}

@media (min-width: 960px) and (max-width: 1279px) {
  .header-call { padding: 0 5px; gap: 0; }
  .header-call span:not(.btn-ico) { display: none; }
  .nav { gap: 1.2rem; margin-right: .6rem; }
}

@media (min-width: 1280px) {
  body { font-size: 17px; }
  .nav { gap: 1.9rem; }
}

@media (max-width: 539px) {
  .hero-actions .btn { width: 100%; }
  .credito-band .btn {
    width: 100%; height: auto; min-height: var(--bh);
    padding-block: 5px; white-space: normal; line-height: 1.25;
  }
  .footer-bottom { padding-right: 0; padding-bottom: 4.5rem; }
  .cred-main { grid-template-columns: 1fr; }
  .seal { margin-top: -1rem; }
}

/* =============================================================
   9. Reduced motion — only intrusive, looping effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .plan-svg .route-flow { animation: fade-in .6s ease forwards; animation-delay: calc(var(--intro) + 2.2s); }
  .plan-svg .you-ring, .live-dot::after, .cred-status i::after, .wa-ring, .credito-pattern { animation: none; }
  .wa-ring { opacity: 0; }
}
