/* =========================================================
   MANTENÍA MX — Design System
   ========================================================= */

:root {
  --c-primary: #3B74C4;
  --c-primary-light: #5D97E8;
  --c-primary-dark: #244E8C;
  --c-secondary: #525156;
  --c-accent: #8E8F92;
  --c-white: #FFFFFF;
  --c-ink: #1A1A1A;
  --c-soft: #F5F6F8;
  --c-dark: #19191c;
  --c-dark-2: #232327;
  --c-dark-3: #2c2c31;
  --c-line: #E7E8EC;

  --grad-primary: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-light) 100%);
  --grad-dark: linear-gradient(180deg, rgba(20,21,24,.55) 0%, rgba(15,16,18,.88) 60%, rgba(12,13,15,.97) 100%);

  --font-head: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --ease: cubic-bezier(.22,1,.36,1);
  --wrap: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }

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

body.no-scroll { overflow: hidden; height: 100%; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

/* =========================================================
   Reveal-on-scroll
   ========================================================= */
.rev {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  will-change: transform, opacity;
}
.rev.from-l { transform: translateX(-40px); }
.rev.from-r { transform: translateX(40px); }
.rev.is-visible { opacity: 1; transform: translateY(0) translateX(0); }
.rev.d1 { transition-delay: .06s; }
.rev.d2 { transition-delay: .16s; }
.rev.d3 { transition-delay: .26s; }
.rev.d4 { transition-delay: .36s; }
.rev.d5 { transition-delay: .46s; }
.rev.d6 { transition-delay: .56s; }

/* =========================================================
   Typography helpers
   ========================================================= */
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: 14px;
  position: relative;
  padding-left: 30px;
}
.eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 20px; height: 2px;
  background: var(--c-primary);
  transform: translateY(-50%);
}
.eyebrow--white { color: var(--c-primary-light); }
.eyebrow--white::before { background: var(--c-primary-light); }

.heading {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.14;
  letter-spacing: -.02em;
  color: var(--c-ink);
  max-width: 720px;
}
.heading--white { color: var(--c-white); }
.heading--shine {
  background: linear-gradient(100deg, var(--c-ink) 30%, var(--c-primary) 45%, var(--c-ink) 60%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-position: 100% 0;
  transition: background-position 1.4s var(--ease);
}
.rev.is-visible .heading--shine { background-position: 0 0; }
.heading--shine-dark {
  background: linear-gradient(100deg, var(--c-white) 30%, var(--c-primary-light) 45%, var(--c-white) 60%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-position: 100% 0;
  transition: background-position 1.4s var(--ease);
}
.rev.is-visible .heading--shine-dark { background-position: 0 0; }

.sub {
  font-size: 17px;
  color: var(--c-secondary);
  max-width: 560px;
  margin-top: 16px;
  line-height: 1.7;
}
.sub--white { color: #C9CDD6; }

.section { padding: 120px 0; }
.bg-white { background: var(--c-white); }
.bg-off { background: var(--c-soft); }

.section-head { margin-bottom: 56px; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--center .heading,
.section-head--center .sub { margin-left: auto; margin-right: auto; }
.section-head--center .eyebrow { padding-left: 0; }
.section-head--center .eyebrow::before { display: none; }

@media (max-width: 768px) {
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 40px; }
}

/* =========================================================
   Buttons
   ========================================================= */
.btn-primary, .btn-secondary, .btn-outline, .btn-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  padding: 17px 30px;
  border-radius: 100px;
  border: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 14px 34px -12px rgba(59,116,196,.65);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -12px rgba(59,116,196,.8); }
.btn-primary svg { transition: transform .3s var(--ease); }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-secondary {
  background: rgba(255,255,255,.06);
  color: var(--c-white);
  border: 1.5px solid rgba(255,255,255,.4);
  backdrop-filter: blur(6px);
}
.btn-secondary:hover { background: rgba(255,255,255,.16); transform: translateY(-3px); }

.btn-outline {
  background: transparent;
  color: var(--c-primary);
  border: 1.5px solid var(--c-primary);
  padding: 14px 26px;
}
.btn-outline:hover { background: var(--c-primary); color: #fff; }

.btn-submit {
  width: 100%;
  background: var(--c-ink);
  color: #fff;
  box-shadow: 0 14px 30px -14px rgba(0,0,0,.5);
}
.btn-submit:hover { background: var(--c-primary); transform: translateY(-2px); }

/* =========================================================
   Preloader
   ========================================================= */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--c-dark);
  display: flex; align-items: center; justify-content: center;
}
.ld-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 26px;
  opacity: 1;
  transition: opacity .5s ease;
}
#loader.is-leaving .ld-inner { opacity: 0; }

.ld-logo { position: relative; width: 128px; height: 128px; display: flex; align-items: center; justify-content: center; }
.ld-logo-img { width: 104px; animation: ldPulse 1.8s ease-in-out infinite; filter: drop-shadow(0 0 22px rgba(93,151,232,.55)); }
.ld-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--c-primary);
  border-right-color: var(--c-primary-light);
  animation: ldSpin 1.3s linear infinite;
}
.ld-ring--2 { inset: 14px; border-top-color: var(--c-accent); border-right-color: transparent; border-left-color: var(--c-accent); animation-duration: 2s; animation-direction: reverse; opacity: .6; }

@keyframes ldSpin { to { transform: rotate(360deg); } }
@keyframes ldPulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.06); opacity: .85; } }

.ld-brand { text-align: center; }
.ld-name { font-family: var(--font-head); font-weight: 700; letter-spacing: .12em; color: #fff; font-size: 20px; margin-bottom: 6px; }
.ld-name em { color: var(--c-primary-light); font-style: normal; }
.ld-tag { color: var(--c-accent); font-size: 12.5px; letter-spacing: .06em; }

.ld-progress { width: 220px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ld-track { width: 100%; height: 3px; background: rgba(255,255,255,.12); border-radius: 10px; overflow: hidden; }
.ld-fill { width: 0%; height: 100%; background: var(--grad-primary); transition: width .3s ease-out; }
.ld-note { color: rgba(255,255,255,.55); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; display: flex; }
.ld-dots span { animation: ldDots 1.4s infinite; opacity: 0; }
.ld-dots span:nth-child(2) { animation-delay: .2s; }
.ld-dots span:nth-child(3) { animation-delay: .4s; }
@keyframes ldDots { 0%,100% { opacity: 0; } 50% { opacity: 1; } }

.ld-panel { position: fixed; top: 0; bottom: 0; width: 51%; background: var(--c-dark); z-index: 1; }
.ld-panel--l { left: 0; }
.ld-panel--r { right: 0; }
#loader.is-leaving .ld-panel--l { transform: translateX(-100%); }
#loader.is-leaving .ld-panel--r { transform: translateX(100%); }
.ld-panel { transition: transform 1.05s cubic-bezier(.76,0,.24,1); }
#loader.is-hidden { visibility: hidden; pointer-events: none; }

/* =========================================================
   Nav
   ========================================================= */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 20px 0;
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
#nav.is-scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 10px 30px -18px rgba(20,20,25,.25);
  padding: 12px 0;
}
.nav-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 52px; width: auto; transition: height .35s var(--ease), filter .35s ease; filter: drop-shadow(0 4px 10px rgba(0,0,0,.3)); }
#nav.is-scrolled .logo-img { height: 44px; filter: none; }
.logo-word {
  font-family: var(--font-head); font-weight: 700; font-size: 21px; letter-spacing: -.01em;
  color: #fff; transition: color .35s ease, font-size .35s ease;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.logo-word em { color: var(--c-primary-light); font-style: normal; }
#nav.is-scrolled .logo-word { color: var(--c-ink); font-size: 19px; text-shadow: none; }
#nav.is-scrolled .logo-word em { color: var(--c-primary); }

.nav-links { display: flex; align-items: center; gap: 38px; }
.nav-links a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 15px;
  color: #fff;
  position: relative;
  padding: 4px 0;
  transition: color .3s ease;
}
#nav.is-scrolled .nav-links a { color: var(--c-ink); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -3px; width: 0; height: 2px;
  background: var(--c-primary); transition: width .35s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--c-primary); }

.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-cta {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  padding: 12px 22px; border-radius: 100px;
  background: var(--grad-primary); color: #fff;
  box-shadow: 0 10px 24px -10px rgba(59,116,196,.7);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 28px -10px rgba(59,116,196,.85); }

.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: none; border: none; padding: 0; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .35s var(--ease), background .35s ease; }
#nav.is-scrolled .hamburger span { background: var(--c-ink); }
.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mob-menu {
  position: fixed; top: 0; right: 0; height: 100vh; width: min(86vw, 380px);
  background: var(--c-dark);
  z-index: 490;
  display: flex; flex-direction: column; gap: 6px;
  padding: 120px 34px 40px;
  transform: translateX(100%);
  transition: transform .5s var(--ease);
  box-shadow: -30px 0 60px rgba(0,0,0,.35);
}
.mob-menu.is-open { transform: translateX(0); }
.mob-menu a { color: #fff; font-family: var(--font-head); font-weight: 500; font-size: 20px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.mob-cta {
  margin-top: 20px; text-align: center;
  background: var(--grad-primary); border-radius: 100px; padding: 15px !important;
  border-bottom: none !important;
}

/* =========================================================
   Hero
   ========================================================= */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  background: var(--c-dark);
}
.hero-bg { position: absolute; inset: -6% -6%; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; transform: scale(1.08); }
.hero-ov {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(circle at 18% 20%, rgba(59,116,196,.35), transparent 55%),
    linear-gradient(200deg, rgba(15,16,19,.55) 0%, rgba(12,13,16,.86) 55%, rgba(10,11,13,.97) 100%);
}
.particle-canvas { position: absolute; inset: 0; z-index: 2; pointer-events: none; }

.hero-body { position: relative; z-index: 3; padding-top: 110px; }
.hero-eyebrow {
  font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--c-primary-light); margin-bottom: 22px; display: inline-flex; align-items: center; gap: 10px;
}
.hero-eyebrow::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--c-primary-light); box-shadow: 0 0 14px var(--c-primary-light); }

.hero-h1 { font-family: var(--font-head); font-weight: 700; font-size: clamp(38px, 6.4vw, 76px); line-height: 1.05; letter-spacing: -.02em; color: #fff; }
.h1-line { display: block; overflow: hidden; }
.h1-inner { display: inline-block; transform: translateY(115%); transition: transform 1s var(--ease); }
#hero.is-ready .h1-inner { transform: translateY(0); }
#hero.is-ready .h1-line:nth-child(1) .h1-inner { transition-delay: .1s; }
#hero.is-ready .h1-line:nth-child(2) .h1-inner { transition-delay: .24s; }
#hero.is-ready .h1-line:nth-child(3) .h1-inner { transition-delay: .38s; }

.h1-accent-word {
  font-style: italic;
  background: linear-gradient(100deg, var(--c-primary-light), #9FC1F0, var(--c-primary-light));
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: accentShine 3.6s linear infinite;
}
@keyframes accentShine { 0% { background-position: 0% 0; } 100% { background-position: 200% 0; } }

.hero-typewriter { margin-top: 26px; font-family: var(--font-head); font-size: 17px; color: #DCE2EC; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.tw-label { color: var(--c-accent); }
.tw-text { color: var(--c-primary-light); font-weight: 600; }
.tw-cursor { color: var(--c-primary-light); animation: blink 1s step-end infinite; font-weight: 300; }
@keyframes blink { 50% { opacity: 0; } }

.hero-p { margin-top: 22px; max-width: 560px; font-size: 17px; line-height: 1.75; color: #B9C0CC; }
.hero-btns { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats { position: relative; z-index: 3; padding: 40px 0 60px; margin-top: 60px; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 34px; }
.stat-col { display: flex; align-items: center; gap: 12px; }
.stat-ico { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(59,116,196,.16); color: var(--c-primary-light); flex-shrink: 0; }
.stat-lbl { color: #C9CDD6; font-size: 14.5px; font-weight: 500; }

.hero-deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.hero-orb--1 { width: 420px; height: 420px; background: var(--c-primary); top: -120px; right: -80px; animation: orbFloat 12s ease-in-out infinite; }
.hero-orb--2 { width: 320px; height: 320px; background: var(--c-accent); bottom: -100px; left: -60px; animation: orbFloat 15s ease-in-out infinite reverse; }
@keyframes orbFloat { 0%,100% { transform: translate(0,0); } 50% { transform: translate(30px,-30px); } }

@media (max-width: 768px) {
  .stats-row { grid-template-columns: 1fr; gap: 16px; }
  .hero-body { padding-top: 130px; }
}

/* =========================================================
   Trust bar
   ========================================================= */
#trust { position: relative; padding: 30px 0; background: var(--c-ink); }
.trust-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: center; }
.trust-label { font-family: var(--font-head); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent); }
.trust-chips { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.trust-chip {
  font-family: var(--font-head); font-size: 13.5px; font-weight: 500; color: #EDEFF3;
  border: 1px solid rgba(255,255,255,.18); padding: 9px 18px; border-radius: 100px;
  transition: border-color .3s ease, background .3s ease;
}
.trust-chip:hover { border-color: var(--c-primary-light); background: rgba(59,116,196,.14); }

/* =========================================================
   About
   ========================================================= */
.about-grid { display: grid; grid-template-columns: .85fr 1fr; gap: 70px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-main { border-radius: 22px; overflow: hidden; box-shadow: 0 40px 70px -30px rgba(20,25,35,.35); aspect-ratio: 4/5; }
.about-img-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.about-img-wrap:hover .about-img-main img { transform: scale(1.05); }
.about-accent {
  position: absolute; bottom: -26px; right: -26px; background: var(--grad-primary); color: #fff;
  border-radius: 18px; padding: 22px 26px; box-shadow: 0 24px 40px -16px rgba(59,116,196,.55);
}
.a-num { font-family: var(--font-head); font-weight: 700; font-size: 30px; line-height: 1; }
.a-lbl { font-size: 12.5px; margin-top: 6px; opacity: .9; max-width: 130px; }

.about-text p { color: var(--c-secondary); font-size: 16.5px; line-height: 1.8; margin-top: 18px; }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--c-line); }
.a-stat-n { font-family: var(--font-head); font-weight: 700; font-size: 30px; color: var(--c-primary); }
.a-stat-l { font-size: 12.5px; color: var(--c-accent); margin-top: 6px; line-height: 1.4; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-img-main { aspect-ratio: 16/10; }
}
@media (max-width: 560px) {
  .about-stats { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   Dark section w/ parallax bg (Ventajas)
   ========================================================= */
.section-dark-bg { position: relative; padding: 130px 0; overflow: hidden; background: var(--c-dark); }
.dark-bg-img { position: absolute; inset: -8% -8%; z-index: 0; }
.dark-bg-img img { width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.dark-ov {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(170deg, rgba(14,15,17,.7) 0%, rgba(14,15,17,.94) 70%, rgba(12,13,15,.98) 100%);
}
.section-dark-bg .wrap { position: relative; z-index: 2; }

.why-grid-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px; padding: 36px 28px;
  backdrop-filter: blur(6px);
  transition: transform .5s var(--ease), border-color .5s ease, background .5s ease;
}
.why-card:hover { transform: translateY(-8px); border-color: rgba(93,151,232,.5); background: rgba(59,116,196,.08); }
.why-num {
  display: block; font-family: var(--font-head); font-weight: 800; font-size: 42px;
  background: linear-gradient(135deg, var(--c-primary-light), var(--c-accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 18px;
}
.why-card h3 { font-family: var(--font-head); font-weight: 600; font-size: 19px; color: #fff; margin-bottom: 10px; }
.why-card p { font-size: 14.5px; color: #AEB4C0; line-height: 1.7; }

@media (max-width: 980px) { .why-grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid-cards { grid-template-columns: 1fr; } .section-dark-bg { padding: 90px 0; } }

/* =========================================================
   Servicios
   ========================================================= */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.svc-card {
  background: #fff; border-radius: 20px; overflow: hidden;
  box-shadow: 0 20px 45px -30px rgba(20,25,35,.3);
  border: 1px solid var(--c-line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  display: flex; flex-direction: column;
}
.svc-card:hover { transform: translateY(-8px); box-shadow: 0 30px 55px -25px rgba(20,25,35,.35); }
.svc-photo { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.svc-card:hover .svc-photo img { transform: scale(1.09); }
.svc-num {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  background: rgba(15,16,18,.55); color: #fff; backdrop-filter: blur(6px);
  padding: 6px 12px; border-radius: 100px; letter-spacing: .05em;
}
.svc-icon-wrap { position: relative; padding: 30px 28px 0; display: flex; align-items: center; justify-content: space-between; }
.svc-num--dark { position: static; background: var(--c-soft); color: var(--c-secondary); }
.svc-icon { width: 58px; height: 58px; border-radius: 16px; background: rgba(59,116,196,.1); display: flex; align-items: center; justify-content: center; }
.svc-card--icon { justify-content: flex-start; background: linear-gradient(165deg, #fff 0%, var(--c-soft) 100%); }

.svc-body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.svc-body h3 { font-family: var(--font-head); font-weight: 600; font-size: 19px; }
.svc-body p { font-size: 14.5px; color: var(--c-secondary); line-height: 1.7; flex: 1; }
.svc-link { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--c-primary); margin-top: 8px; transition: gap .3s ease, opacity .3s ease; }
.svc-link:hover { opacity: .7; }

@media (max-width: 1080px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Proceso
   ========================================================= */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; }
.steps-grid::before {
  content: ''; position: absolute; top: 26px; left: 12%; right: 12%; height: 1px;
  background: repeating-linear-gradient(90deg, var(--c-line) 0 10px, transparent 10px 20px);
}
.step-item { position: relative; text-align: center; padding: 0 10px; }
.step-v {
  font-family: var(--font-head); font-weight: 800; font-size: 15px; color: #fff;
  background: var(--grad-primary); width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 22px;
  box-shadow: 0 14px 26px -10px rgba(59,116,196,.6); position: relative; z-index: 1;
  font-size: 12px;
}
.step-item h3 { font-family: var(--font-head); font-weight: 600; font-size: 19px; margin-bottom: 10px; }
.step-item p { font-size: 14.5px; color: var(--c-secondary); line-height: 1.7; max-width: 300px; margin: 0 auto; }

@media (max-width: 800px) {
  .steps-grid { grid-template-columns: 1fr; gap: 46px; }
  .steps-grid::before { display: none; }
}

/* =========================================================
   Números
   ========================================================= */
#numeros { position: relative; padding: 110px 0; overflow: hidden; background: var(--c-dark); }
.numbers-bg { position: absolute; inset: -8% -8%; z-index: 0; }
.numbers-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.numbers-ov { position: absolute; inset: 0; z-index: 1; background: linear-gradient(170deg, rgba(14,15,17,.75) 0%, rgba(14,15,17,.95) 100%); }
#numeros .wrap { position: relative; z-index: 2; }

.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.num-v { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(38px, 4.6vw, 56px); color: var(--c-primary-light); text-shadow: 0 0 30px rgba(93,151,232,.4); }
.num-l { color: #B9C0CC; font-size: 13.5px; margin-top: 12px; line-height: 1.6; max-width: 220px; margin-left: auto; margin-right: auto; }

@media (max-width: 900px) { .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 44px 24px; } }

/* =========================================================
   Galería
   ========================================================= */
#galeria { position: relative; padding: 120px 0; background: var(--c-ink); overflow: hidden; }
.brands-head { text-align: center; margin-bottom: 50px; position: relative; z-index: 2; }
.brands-sub { color: #AEB4C0; margin-top: 14px; font-size: 15.5px; }

.gallery-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gallery-card { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 1/1; margin: 0; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery-card:hover img { transform: scale(1.1); }
.gallery-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 16px 14px;
  font-size: 12.5px; color: #fff; font-weight: 500; line-height: 1.4;
  background: linear-gradient(0deg, rgba(0,0,0,.82) 0%, transparent 100%);
  transform: translateY(8px); opacity: .92; transition: transform .4s var(--ease);
}
.gallery-card:hover figcaption { transform: translateY(0); }

@media (max-width: 980px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* =========================================================
   Contacto
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 0; border-radius: 26px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(20,25,35,.35); }
.contact-info { position: relative; padding: 60px 48px; overflow: hidden; }
.contact-info-bg { position: absolute; inset: 0; background: linear-gradient(155deg, var(--c-dark) 0%, var(--c-dark-3) 60%, var(--c-primary-dark) 130%); }
.contact-info-content { position: relative; z-index: 1; }
.c-item { display: flex; gap: 16px; margin-top: 26px; align-items: flex-start; }
.c-icon { width: 42px; height: 42px; border-radius: 12px; background: rgba(59,116,196,.16); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.c-label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--c-accent); margin-bottom: 4px; }
.c-value { font-size: 15.5px; color: #fff; font-weight: 500; }
.c-value a:hover { color: var(--c-primary-light); }

.form-wrap { background: #fff; padding: 60px 48px; height: 100%; }
.form-wrap h3 { font-family: var(--font-head); font-weight: 700; font-size: 24px; }
.form-sub { color: var(--c-secondary); font-size: 14.5px; margin-top: 10px; margin-bottom: 30px; line-height: 1.6; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fg { margin-bottom: 20px; }
.fl { display: block; font-size: 13px; font-weight: 600; color: var(--c-secondary); margin-bottom: 8px; }
.fi {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--c-line);
  font-family: var(--font-body); font-size: 15px; background: var(--c-soft);
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.fi:focus { outline: none; border-color: var(--c-primary); background: #fff; box-shadow: 0 0 0 4px rgba(59,116,196,.14); }
textarea.fi { resize: vertical; min-height: 90px; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; border-radius: 20px; }
  .contact-info, .form-wrap { padding: 44px 28px; }
}
@media (max-width: 560px) {
  .frow { grid-template-columns: 1fr; gap: 0; }
}

/* =========================================================
   Footer
   ========================================================= */
footer { position: relative; background: var(--c-ink); padding: 90px 0 0; overflow: hidden; }
.foot-bg { position: absolute; inset: 0; background: radial-gradient(circle at 85% 0%, rgba(59,116,196,.16), transparent 55%); }
footer .wrap { position: relative; z-index: 1; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 50px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.08); }
.foot-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.foot-logo-img { height: 56px; width: auto; }
.foot-logo-word { font-family: var(--font-head); font-weight: 700; font-size: 22px; color: #fff; }
.foot-logo-word em { color: var(--c-primary-light); font-style: normal; }
.foot-desc { color: #9CA3B0; font-size: 14.5px; line-height: 1.7; max-width: 320px; }
.foot-social { display: flex; gap: 12px; margin-top: 24px; }
.foot-social-btn { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.06); display: flex; align-items: center; justify-content: center; color: #fff; transition: background .3s ease, transform .3s ease; }
.foot-social-btn:hover { background: var(--c-primary); transform: translateY(-3px); }

.foot-col-title { font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: #fff; margin-bottom: 20px; }
.foot-links li { margin-bottom: 13px; }
.foot-links a { color: #9CA3B0; font-size: 14.5px; transition: color .3s ease, padding-left .3s ease; }
.foot-links a:hover { color: var(--c-primary-light); padding-left: 4px; }

.foot-bottom { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; flex-wrap: wrap; gap: 10px; }
.foot-bottom p { color: #7B8291; font-size: 13px; }
.foot-bottom span { color: #C9CDD6; }

@media (max-width: 860px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
}
@media (max-width: 520px) {
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   FAB
   ========================================================= */
.fab-stack { position: fixed; right: 24px; bottom: 24px; z-index: 400; display: flex; flex-direction: column; gap: 14px; align-items: flex-end; }
.fab-item { position: relative; display: flex; align-items: center; }
.fab-btn {
  width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 16px 32px -12px rgba(0,0,0,.4);
  transition: transform .3s var(--ease);
  position: relative;
}
.fab-btn::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37,211,102,.55);
  animation: fabPulse 2.4s ease-out infinite;
}
.wa-btn { background: #25D366; }
.fab-btn:hover { transform: scale(1.08); }
@keyframes fabPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 100% { box-shadow: 0 0 0 20px rgba(37,211,102,0); } }

.fab-tip {
  position: absolute; right: 72px; white-space: nowrap;
  background: var(--c-ink); color: #fff; font-size: 13px; font-weight: 500;
  padding: 8px 14px; border-radius: 8px; opacity: 0; transform: translateX(8px);
  transition: opacity .3s ease, transform .3s ease; pointer-events: none;
}
.fab-item:hover .fab-tip { opacity: 1; transform: translateX(0); }

@media (max-width: 640px) {
  .fab-stack { right: 16px; bottom: 16px; }
  .fab-tip { display: none; }
}

/* =========================================================
   Misc responsive
   ========================================================= */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 680px) {
  .nav-wrap { gap: 10px; }
  .nav-actions { gap: 10px; }
  .nav-cta { padding: 12px; border-radius: 50%; box-shadow: 0 8px 18px -8px rgba(59,116,196,.7); }
  .nav-cta span { display: none; }
  .logo-word { font-size: 17px; }
  .logo { gap: 8px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 20px; }
  .heading { font-size: clamp(26px, 7vw, 34px); }
  .logo-img { height: 44px; }
  #nav.is-scrolled .logo-img { height: 38px; }
  .logo-word { font-size: 15.5px; }
}
