/* =========================================================
   Virtum Marketing Integral — hoja de estilos (2026)
   Paleta y tipografías heredadas del sitio original,
   con un lenguaje visual más actual: bordes redondeados,
   degradados suaves, glass cards y movimiento al hacer scroll.
   ========================================================= */

:root {
  --azul: #0E25E6;
  --azul-2: #3B4FF0;
  --azul-oscuro: #1F4E79;
  --azul-claro: #F2FAFF;
  --azul-tinte: #E4ECFF;
  --amarillo: #F2B705;
  --amarillo-2: #FFD24D;
  --amarillo-claro: #FFF6D6;
  --ink: #111827;
  --ink-2: #1B2540;
  --gris: #444B54;
  --gris-2: #6B7280;
  --gris-claro: #D0D2D4;
  --blanco: #FFFFFF;
  --fondo: #FFFFFF;

  --grad-azul: linear-gradient(135deg, #0E25E6 0%, #3B4FF0 60%, #5B7CFF 100%);
  --grad-amarillo: linear-gradient(135deg, #F2B705 0%, #FFCF3F 100%);
  --grad-oscuro: linear-gradient(160deg, #0B1330 0%, #111827 55%, #141C3A 100%);

  --font-title: 'Raleway', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Montserrat', 'Raleway', system-ui, sans-serif;

  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 32px;
  --shadow-sm: 0 4px 14px rgba(17, 24, 39, .06);
  --shadow: 0 18px 40px -18px rgba(17, 24, 39, .28);
  --shadow-lg: 0 30px 70px -25px rgba(14, 37, 230, .35);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 84px;
  --container: 1200px;
}

/* ---------- Reset básico ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--gris);
  background: var(--fondo);
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--azul); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--azul-2); }
ul { padding-left: 1.2em; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-title); color: var(--ink); line-height: 1.15; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
strong { font-weight: 700; color: inherit; }
.container { width: min(var(--container), 100% - 2rem); margin-inline: auto; }
.container-narrow { width: min(860px, 100% - 2rem); margin-inline: auto; }
.text-center { text-align: center; }
.mt { margin-top: 1.5rem; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--azul); color: #fff; padding: .5rem 1rem; z-index: 1000; }
.skip-link:focus { left: 1rem; top: 1rem; }
::selection { background: var(--amarillo-2); color: var(--ink); }

/* ---------- Barra de progreso de scroll ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 1001; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 0; background: var(--grad-amarillo); transition: width .1s linear; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.7rem; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-title); font-weight: 700; font-size: .98rem; letter-spacing: .01em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s, color .35s, border-color .35s;
  will-change: transform; position: relative; overflow: hidden; white-space: nowrap;
}
.btn svg { transition: transform .35s var(--ease); flex: none; }
.btn:hover svg { transform: translateX(4px); }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--grad-azul); color: #fff; box-shadow: 0 10px 24px -10px rgba(14, 37, 230, .7); }
.btn-primary:hover { color: #fff; box-shadow: 0 18px 34px -12px rgba(14, 37, 230, .75); }
.btn-accent { background: var(--grad-amarillo); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(242, 183, 5, .8); }
.btn-accent:hover { color: var(--ink); box-shadow: 0 18px 34px -12px rgba(242, 183, 5, .9); }
.btn-light { background: #fff; color: var(--azul); box-shadow: var(--shadow-sm); }
.btn-light:hover { color: var(--azul); }
.btn-outline { border-color: var(--azul); color: var(--azul); background: transparent; }
.btn-outline:hover { background: var(--azul); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn-outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-lg { padding: 1rem 2.1rem; font-size: 1.05rem; }
.btn-sm { padding: .6rem 1.2rem; font-size: .9rem; }
.btn-link { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-title); font-weight: 700; color: var(--azul); }
.btn-link svg { transition: transform .3s var(--ease); }
.btn-link:hover svg { transform: translateX(5px); }
.btn-link.on-dark { color: var(--amarillo); }

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(17,24,39,.06);
  transition: box-shadow .35s var(--ease), background .35s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(17,24,39,.35); background: rgba(255,255,255,.94); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }
.brand img { width: 150px; height: auto; transition: transform .35s var(--ease); }
.site-header.is-scrolled .brand img { transform: scale(.9); }
.main-nav { display: flex; align-items: center; gap: .9rem; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .15rem; }
.main-nav li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: .35rem; padding: .5rem .7rem; border-radius: 999px;
  font-family: var(--font-title); font-weight: 700; font-size: .9rem; color: var(--ink-2); white-space: nowrap;
  background: transparent; border: 0; position: relative; transition: background .25s, color .25s;
}
.nav-link::after { content: ''; position: absolute; left: .7rem; right: .7rem; bottom: .3rem; height: 2px; background: var(--amarillo); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-link:hover, li.is-active > .nav-link { color: var(--azul); }
.nav-link:hover::after, li.is-active > .nav-link::after { transform: scaleX(1); }
.nav-toggle svg { transition: transform .3s var(--ease); }
.has-sub.is-open .nav-toggle svg, .has-sub:hover .nav-toggle svg { transform: rotate(180deg); }
.sub-menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 300px;
  background: #fff; border-radius: var(--radius-sm); padding: .6rem; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(17,24,39,.06);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.has-sub:hover .sub-menu, .has-sub.is-open .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu a { display: block; padding: .65rem .85rem; border-radius: 10px; color: var(--ink-2); transition: background .25s, transform .25s var(--ease); }
.sub-menu a:hover, .sub-menu a.is-current { background: var(--azul-claro); transform: translateX(3px); }
.sub-title { display: block; font-family: var(--font-title); font-weight: 700; font-size: .95rem; }
.sub-desc { display: block; font-size: .8rem; color: var(--gris-2); }
.nav-social { display: flex; gap: .2rem; }
.nav-social a { color: var(--ink-2); padding: .45rem; border-radius: 50%; transition: color .25s, background .25s, transform .3s var(--ease); }
.nav-social a:hover { color: var(--azul); background: var(--azul-claro); transform: translateY(-2px); }
.nav-cta { padding: .65rem 1.3rem; font-size: .9rem; }
@media (max-width: 1220px) and (min-width: 961px) { .nav-social { display: none; } .brand img { width: 130px; } }
.nav-burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 0; background: var(--azul-claro); flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-backdrop { position: fixed; inset: 0; background: rgba(17,24,39,.5); z-index: 890; opacity: 0; visibility: hidden; transition: opacity .3s; }
.nav-backdrop.is-visible { opacity: 1; visibility: visible; }

/* ---------- Secciones ---------- */
section { position: relative; overflow: hidden; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-sm { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.bg-light { background: var(--azul-claro); }
.bg-tint { background: linear-gradient(180deg, #fff 0%, var(--azul-claro) 100%); }
.bg-blue { background: var(--grad-azul); color: rgba(255,255,255,.92); }
.bg-blue h2, .bg-blue h3, .bg-blue h4 { color: #fff; }
.bg-yellow { background: var(--grad-amarillo); color: var(--ink); }
.bg-yellow h2, .bg-yellow h3 { color: var(--ink); }
.bg-dark { background: var(--grad-oscuro); color: rgba(255,255,255,.88); }
.bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.kicker { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-title); font-weight: 700; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--azul); margin-bottom: 1rem; }
.kicker::before { content: ''; width: 26px; height: 3px; border-radius: 3px; background: var(--amarillo); }
.bg-blue .kicker, .bg-dark .kicker { color: var(--amarillo); }
.bg-yellow .kicker { color: var(--azul); }
.bg-yellow .kicker::before { background: var(--azul); }
.lead { font-size: 1.15rem; }
.text-azul { color: var(--azul); }
.text-amarillo { color: var(--amarillo); }
.underline-anim { display: inline; background-image: linear-gradient(rgba(242,183,5,.45), rgba(242,183,5,.45)); background-repeat: no-repeat; background-position: 0 90%; background-size: 0% .28em; transition: background-size .8s var(--ease) .3s; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.is-visible .underline-anim, .underline-anim.is-visible { background-size: 100% .28em; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(88vh, 780px); display: grid; align-items: center; color: #fff; overflow: hidden;
  padding: clamp(5rem, 10vw, 8rem) 0;
}
.hero-bg { position: absolute; inset: -12% 0; background-size: cover; background-position: center; will-change: transform; z-index: 0; transform: scale(1.02); }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(11,19,48,.86) 0%, rgba(14,37,230,.55) 55%, rgba(242,183,5,.25) 100%); }
.hero.hero-gold .hero-overlay { background: linear-gradient(100deg, rgba(242,183,5,.92) 0%, rgba(255,207,63,.75) 50%, rgba(14,37,230,.35) 100%); }
.hero.hero-blue .hero-overlay { background: linear-gradient(120deg, rgba(14,37,230,.92) 0%, rgba(59,79,240,.75) 60%, rgba(17,24,39,.6) 100%); }
.hero.hero-dark .hero-overlay { background: linear-gradient(120deg, rgba(11,19,48,.92) 0%, rgba(17,24,39,.72) 60%, rgba(14,37,230,.45) 100%); }
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 720px; }
.hero h1 { color: #fff; text-shadow: 0 8px 30px rgba(0,0,0,.25); }
.hero h1 .accent { color: var(--amarillo-2); }
.hero .hero-sub { font-size: clamp(1.1rem, 1.7vw, 1.3rem); max-width: 620px; color: rgba(255,255,255,.9); margin-bottom: 2rem; }
.hero-gold h1 { color: var(--azul); text-shadow: none; }
.hero-gold h1 .accent { color: #fff; text-shadow: 0 6px 24px rgba(0,0,0,.2); }
.hero-gold .hero-sub { color: var(--ink-2); text-shadow: none; }
.hero-gold .kicker { color: var(--azul); }
.hero-gold .kicker::before { background: var(--azul); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-kicker { display: inline-flex; align-items: center; gap: .6rem; padding: .45rem 1rem .45rem .5rem; border-radius: 999px; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.25); font-family: var(--font-title); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.4rem; }
.hero-kicker .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--amarillo); box-shadow: 0 0 0 0 rgba(242,183,5,.7); animation: pulse 2s infinite; }
.hero-gold .hero-kicker { background: rgba(255,255,255,.55); border-color: rgba(14,37,230,.15); color: var(--azul); }
.hero-gold .hero-kicker .dot { background: var(--azul); box-shadow: 0 0 0 0 rgba(14,37,230,.6); }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; z-index: 1; pointer-events: none; animation: float 14s ease-in-out infinite; }
.blob-1 { width: 420px; height: 420px; background: var(--amarillo); right: -120px; top: -80px; }
.blob-2 { width: 360px; height: 360px; background: var(--azul-2); left: -140px; bottom: -160px; animation-delay: -6s; }
.hero-scroll { position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); z-index: 2; color: rgba(255,255,255,.75); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.hero-scroll span { width: 1px; height: 38px; background: linear-gradient(to bottom, rgba(255,255,255,.9), transparent); animation: scrollHint 2s infinite; }
.hero-gold .hero-scroll { color: rgba(17,24,39,.6); }
.hero-gold .hero-scroll span { background: linear-gradient(to bottom, rgba(17,24,39,.6), transparent); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.2rem 2.5rem; margin-top: 2.6rem; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-family: var(--font-title); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; color: var(--amarillo-2); line-height: 1; }
.stat small { font-size: .85rem; color: rgba(255,255,255,.8); }
.hero-gold .stat strong { color: var(--azul); }
.hero-gold .stat small { color: var(--ink-2); }
.hero-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero-split .hero-media { position: relative; }
.hero-split .hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* ---------- Tarjetas y componentes ---------- */
.card { background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); border: 1px solid rgba(17,24,39,.05); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.glass { background: rgba(255,255,255,.12); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius-lg); box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.glass-light { background: rgba(255,255,255,.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.7); border-radius: var(--radius-lg); box-shadow: var(--shadow); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.2rem; }

/* Fila imagen + texto */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.feature.reverse .feature-media { order: 2; }
.feature-media { position: relative; }
.feature-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .8s var(--ease); }
.feature-media.tall img { aspect-ratio: 4 / 5; }
.feature-media.square img { aspect-ratio: 1; }
.feature-media:hover img { transform: scale(1.02) rotate(-.4deg); }
.feature-media::before { content: ''; position: absolute; inset: 14px -14px -14px 14px; border-radius: var(--radius-lg); background: var(--grad-amarillo); opacity: .35; z-index: -1; transition: transform .8s var(--ease); }
.feature-media.reverse-deco::before, .feature.reverse .feature-media::before { inset: 14px 14px -14px -14px; }
.feature:hover .feature-media::before { transform: translate(4px, 4px); }
.feature-media.deco-blue::before { background: var(--grad-azul); }
.feature-badge { position: absolute; left: -14px; bottom: 24px; background: #fff; border-radius: 16px; padding: .8rem 1.1rem; box-shadow: var(--shadow); display: flex; align-items: center; gap: .7rem; font-family: var(--font-title); font-weight: 700; color: var(--ink); animation: float 7s ease-in-out infinite; }
.feature-badge img { width: 42px; height: 42px; object-fit: contain; }
.feature-badge.right { left: auto; right: -14px; top: 24px; bottom: auto; }
.feature-text h2 { margin-bottom: 1rem; }
.check-list { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: .6rem; }
.check-list li { position: relative; padding-left: 2rem; }
.check-list li::before { content: ''; position: absolute; left: 0; top: .35em; width: 20px; height: 20px; border-radius: 50%; background: var(--azul-tinte) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E25E6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.bg-blue .check-list li::before, .bg-dark .check-list li::before, .on-dark .check-list li::before { background-color: rgba(255,255,255,.15); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2B705' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E"); }
.bg-yellow .check-list li::before { background-color: rgba(14,37,230,.12); }

/* Tarjetas de servicio (home) */
.service-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 460px; display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s var(--ease); isolation: isolate; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); z-index: -2; }
.service-card:hover img { transform: scale(1.08); }
.service-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(11,19,48,.95) 0%, rgba(11,19,48,.55) 45%, rgba(11,19,48,.05) 100%); transition: opacity .5s; }
.service-card.tone-blue::before { background: linear-gradient(to top, rgba(14,37,230,.96) 0%, rgba(14,37,230,.5) 50%, rgba(14,37,230,.05) 100%); }
.service-card.tone-gold::before { background: linear-gradient(to top, rgba(120,88,0,.95) 0%, rgba(242,183,5,.55) 50%, rgba(242,183,5,.05) 100%); }
.service-body { padding: 2rem; }
.service-body .num { font-family: var(--font-title); font-weight: 800; font-size: .85rem; letter-spacing: .2em; color: var(--amarillo-2); }
.service-body h3 { color: #fff; font-size: 1.5rem; margin: .4rem 0 .6rem; }
.service-body p { color: rgba(255,255,255,.85); font-size: .97rem; margin-bottom: 1rem; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s; }
.service-card:hover .service-body p, .service-card:focus-within .service-body p { max-height: 260px; opacity: 1; }
@media (hover: none) { .service-body p { max-height: none; opacity: 1; } }

/* Grid de iconos */
.icon-grid { display: grid; gap: 1.3rem; }
.icon-item { text-align: center; padding: 1.8rem 1.2rem; border-radius: var(--radius); background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.7); backdrop-filter: blur(8px); transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .3s; }
.icon-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: #fff; }
.bg-blue .icon-item, .bg-dark .icon-item { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }
.bg-blue .icon-item:hover, .bg-dark .icon-item:hover { background: rgba(255,255,255,.14); }
.icon-item .icon { width: 84px; height: 84px; margin: 0 auto 1rem; border-radius: 26px; display: grid; place-items: center; background: var(--grad-azul); box-shadow: 0 12px 24px -12px rgba(14,37,230,.6); transition: transform .5s var(--ease); }
.icon-item:hover .icon { transform: rotate(-6deg) scale(1.06); }
.icon-item .icon.gold { background: var(--grad-amarillo); box-shadow: 0 12px 24px -12px rgba(242,183,5,.8); }
.icon-item .icon.soft { background: #fff; box-shadow: var(--shadow-sm); }
.icon-item .icon img { width: 50px; height: 50px; object-fit: contain; }
.icon-item .icon.soft img { width: 56px; height: 56px; }
.icon-item h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.icon-item p { font-size: .95rem; margin: 0; }
.bg-yellow .icon-item h3 { color: var(--azul); }
.bg-blue .icon-item h3 { color: var(--amarillo-2); }

/* Pasos / timeline */
.steps { counter-reset: step; display: grid; gap: 1.4rem; position: relative; }
.steps.horizontal { grid-template-columns: repeat(4, 1fr); }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 2rem 1.6rem 1.8rem; box-shadow: var(--shadow-sm); border: 1px solid rgba(17,24,39,.05); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step .step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--grad-azul); color: #fff; display: grid; place-items: center; font-family: var(--font-title); font-weight: 800; font-size: 1.15rem; box-shadow: 0 10px 20px -10px rgba(14,37,230,.7); margin-bottom: 1rem; }
.step .step-icon { width: 64px; height: 64px; object-fit: contain; margin-bottom: 1rem; }
.step h3 { font-size: 1.15rem; color: var(--azul); }
.step p { font-size: .95rem; margin: 0; }
.steps.horizontal::before { content: ''; position: absolute; top: 3.5rem; left: 8%; right: 8%; height: 3px; background: linear-gradient(90deg, var(--amarillo), var(--azul)); border-radius: 3px; opacity: .35; z-index: 0; transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) .2s; }
.steps.horizontal.is-visible::before { transform: scaleX(1); }
.step { z-index: 1; }

/* Lista numerada grande (planes) */
.numbered { display: grid; gap: 1.2rem; }
.numbered-item { display: grid; grid-template-columns: 76px 1fr; gap: 1.2rem; padding: 1.8rem; border-radius: var(--radius); background: #fff; border: 1px solid rgba(17,24,39,.06); box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.numbered-item:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: rgba(242,183,5,.6); }
.numbered-item .n { font-family: var(--font-title); font-weight: 900; font-size: 2.6rem; line-height: 1; background: var(--grad-azul); -webkit-background-clip: text; background-clip: text; color: transparent; }
.numbered-item h3 { color: var(--azul); font-size: 1.2rem; margin-bottom: .5rem; }
.numbered-item p { margin-bottom: .6rem; }
.numbered-item p:last-child { margin: 0; }
.result { display: inline-block; padding: .55rem .9rem; border-radius: 12px; background: var(--amarillo-claro); border-left: 4px solid var(--amarillo); font-size: .95rem; color: var(--ink); }
.result strong { color: var(--azul-oscuro); }

/* Equipo */
.team-card { text-align: center; padding: 2.4rem 1.6rem 2rem; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid rgba(17,24,39,.05); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.team-photo { position: relative; width: 168px; height: 168px; border-radius: 50%; margin: 0 auto 1.2rem; padding: 6px; }
.team-photo::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 180deg, var(--azul), var(--amarillo), var(--azul)); animation: spin 12s linear infinite; }
.team-photo img { position: relative; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; filter: grayscale(100%); transition: filter .6s; border: 4px solid #fff; background: #fff; }
.team-card:hover .team-photo img { filter: grayscale(0); }
.team-card .role { font-size: .85rem; color: var(--azul); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.team-card h3 { margin: .3rem 0 .8rem; }
.team-card .linkedin { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--azul-claro); color: var(--azul); transition: background .3s, color .3s, transform .3s var(--ease); }
.team-card .linkedin:hover { background: var(--azul); color: #fff; transform: translateY(-3px); }

/* Marquee de logos */
.marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 2.5rem; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 78px; width: auto; object-fit: contain; filter: grayscale(100%); opacity: .7; transition: filter .4s, opacity .4s, transform .4s var(--ease); }
.marquee-track img:hover { filter: grayscale(0); opacity: 1; transform: scale(1.08); }

/* Testimonios */
.testimonials { position: relative; }
.testi-track { display: grid; }
.testi { grid-area: 1 / 1; opacity: 0; transform: translateX(40px) scale(.98); transition: opacity .7s var(--ease), transform .7s var(--ease); pointer-events: none; }
.testi.is-active { opacity: 1; transform: none; pointer-events: auto; }
.testi-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(2rem, 4vw, 3rem); box-shadow: var(--shadow); max-width: 820px; margin: 0 auto; position: relative; }
.testi-card::before { content: '“'; position: absolute; top: -1.2rem; left: 2rem; font-family: Georgia, serif; font-size: 7rem; line-height: 1; color: var(--amarillo); opacity: .8; }
.testi-card blockquote { margin: 0 0 1.4rem; font-size: 1.15rem; color: var(--ink-2); font-style: italic; line-height: 1.6; }
.testi-card cite { font-style: normal; display: block; }
.testi-card cite strong { display: block; color: var(--azul); font-family: var(--font-title); }
.testi-card cite span { font-size: .9rem; color: var(--gris-2); }
.testi-nav { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 1.8rem; }
.testi-dots { display: flex; gap: .5rem; }
.testi-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: var(--gris-claro); padding: 0; transition: transform .3s var(--ease), background .3s, width .3s; }
.testi-dots button.is-active { background: var(--azul); width: 28px; border-radius: 6px; }
.testi-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(17,24,39,.1); background: #fff; color: var(--azul); display: grid; place-items: center; transition: background .3s, color .3s, transform .3s var(--ease); }
.testi-arrow:hover { background: var(--azul); color: #fff; transform: scale(1.06); }

/* Contacto / oficinas */
.offices { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.5rem; margin-top: 2.2rem; }
.office { display: flex; align-items: center; gap: .8rem; color: #fff; padding: .6rem 1rem; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(8px); transition: background .3s, transform .3s var(--ease); }
.office:hover { background: rgba(255,255,255,.2); color: #fff; transform: translateY(-3px); }
.office img { width: 40px; height: 40px; object-fit: contain; }
.office span { display: flex; flex-direction: column; line-height: 1.2; }
.office small { font-size: .78rem; opacity: .85; }
.office strong { font-family: var(--font-title); }
.cta-final { position: relative; padding: clamp(4rem, 9vw, 7rem) 0; overflow: hidden; color: #fff; }
.cta-final .cta-bg { position: absolute; inset: -15% 0; background-size: cover; background-position: center; z-index: 0; will-change: transform; }
.cta-final::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(120deg, rgba(11,19,48,.9), rgba(14,37,230,.6)); }
.cta-final.theme-gold::before { background: linear-gradient(120deg, rgba(120,88,0,.75), rgba(242,183,5,.7)); }
.cta-final .container { position: relative; z-index: 2; }
.cta-card { max-width: 820px; margin: 0 auto; padding: clamp(2rem, 5vw, 3.5rem); text-align: center; }
.cta-card h2 { color: #fff; }
.cta-list { list-style: none; padding: 0; margin: 0 0 1.5rem; text-align: left; display: grid; gap: .7rem; }
.cta-list li { padding-left: 1.6rem; position: relative; }
.cta-list li::before { content: '•'; color: var(--amarillo); position: absolute; left: .4rem; font-size: 1.3em; line-height: 1; }
.cta-list strong { color: var(--amarillo-2); }
.cta-text { font-size: 1.1rem; margin-bottom: 1.6rem; }

/* Banda CTA */
.cta-band { padding: 2.5rem 0; }
.cta-band .inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.2rem; }
.cta-band h3 { margin: 0; }

/* Pills / etiquetas */
.pills { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.2rem 0 1.8rem; }
.pill { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-radius: 999px; background: var(--amarillo-claro); color: var(--ink); font-family: var(--font-title); font-weight: 700; font-size: .9rem; border: 1px solid rgba(242,183,5,.5); transition: transform .3s var(--ease), background .3s; }
.pill:hover { transform: translateY(-2px); background: var(--amarillo-2); color: var(--ink); }
.pill svg { color: var(--azul); }

/* Preguntas por etapa */
.stage-card { padding: 2rem; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); border: 1px solid rgba(17,24,39,.05); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.stage-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.stage-card .icon { width: 70px; height: 70px; border-radius: 20px; background: var(--azul-tinte); display: grid; place-items: center; margin-bottom: 1rem; }
.stage-card .icon img { width: 44px; height: 44px; object-fit: contain; }
.stage-card h3 { color: var(--azul); }
.stage-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.stage-card li { padding-left: 1.4rem; position: relative; font-size: .97rem; }
.stage-card li::before { content: '?'; position: absolute; left: 0; top: 0; font-family: var(--font-title); font-weight: 800; color: var(--amarillo); }

/* Tarjeta de beneficios en franja */
.benefit { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem; border-radius: var(--radius); background: rgba(255,255,255,.65); border: 1px solid rgba(255,255,255,.8); backdrop-filter: blur(8px); transition: transform .4s var(--ease), background .3s; }
.benefit:hover { transform: translateY(-4px); background: #fff; }
.benefit .b-icon { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--grad-azul); color: #fff; display: grid; place-items: center; font-family: var(--font-title); font-weight: 800; }
.benefit h4 { margin: 0 0 .2rem; color: var(--azul); }
.benefit p { margin: 0; font-size: .95rem; }

/* Aliados */
.partner-card { background: #fff; border-radius: var(--radius); padding: 2rem; text-align: center; box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease); display: flex; flex-direction: column; align-items: center; gap: .8rem; color: var(--gris); }
.partner-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); color: var(--gris); }
.partner-card img { height: 90px; width: auto; object-fit: contain; transition: transform .5s var(--ease); }
.partner-card:hover img { transform: scale(1.06); }
.partner-card p { margin: 0; font-size: .95rem; }
.partner-card .p-name { font-family: var(--font-title); font-weight: 800; color: var(--azul); font-size: 1.05rem; }

/* Formularios */
.lead-form { display: grid; gap: 1rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1rem; }
.field { display: flex; flex-direction: column; gap: .3rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-family: var(--font-title); font-weight: 700; font-size: .85rem; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; padding: .8rem 1rem; border-radius: 14px; border: 1.5px solid rgba(17,24,39,.12); background: #fff; font: inherit; font-size: .97rem; color: var(--ink); transition: border-color .25s, box-shadow .25s; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 4px rgba(14,37,230,.12); }
.field.has-error input, .field.has-error select { border-color: #e11d48; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-legal { font-size: .78rem; color: var(--gris-2); margin: 0; }
.form-status { margin: 0; font-weight: 600; min-height: 1.4em; font-size: .95rem; }
.form-status.ok { color: #047857; }
.form-status.error { color: #e11d48; }
.btn-submit.is-loading { opacity: .7; pointer-events: none; }
.btn-submit.is-loading span::after { content: '…'; }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: var(--shadow-lg); }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 1100; display: grid; place-items: center; padding: 1rem; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(11,19,48,.6); backdrop-filter: blur(6px); animation: fadeIn .3s; }
.modal-card { position: relative; width: min(640px, 100%); max-height: calc(100vh - 2rem); overflow: auto; background: #fff; border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow-lg); animation: modalIn .45s var(--ease); }
.modal-close { position: absolute; top: .8rem; right: .8rem; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--azul-claro); color: var(--ink); font-size: 1.5rem; line-height: 1; transition: background .3s, transform .3s var(--ease); }
.modal-close:hover { background: var(--amarillo-2); transform: rotate(90deg); }
.modal-head { text-align: center; margin-bottom: 1.4rem; }
.modal-head img { margin: 0 auto .8rem; }
.modal-head h2 { font-size: 1.5rem; color: var(--azul); margin-bottom: .3rem; }
.modal-head p { margin: 0; }
body.modal-open { overflow: hidden; }

/* Pie de página */
.site-footer { position: relative; background: var(--grad-oscuro); color: rgba(255,255,255,.8); padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem; overflow: hidden; }
.footer-glow { position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(14,37,230,.45), transparent 65%); top: -300px; right: -200px; pointer-events: none; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 2.5rem; position: relative; }
.footer-brand img { width: 150px; margin-bottom: 1rem; }
.footer-tagline { font-size: .95rem; max-width: 320px; }
.footer-contact span { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.55); }
.footer-contact a { color: #fff; font-weight: 600; }
.footer-contact a:hover { color: var(--amarillo-2); }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer li a { color: rgba(255,255,255,.8); display: inline-block; transition: color .25s, transform .25s var(--ease); }
.site-footer li a:hover { color: var(--amarillo-2); transform: translateX(4px); }
.footer-sub { margin: .4rem 0 .2rem 1rem !important; gap: .35rem !important; font-size: .92rem; }
.footer-offices li { display: block; font-size: .92rem; line-height: 1.5; }
.footer-offices img { display: inline-block; vertical-align: middle; margin-right: .3rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-top: 1.6rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; font-size: .88rem; }
.footer-bottom p { margin: 0; }
.footer-social { display: flex; gap: .4rem; }
.footer-social a { color: #fff; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: background .3s, transform .3s var(--ease), color .3s; }
.footer-social a:hover { background: var(--amarillo); color: var(--ink); transform: translateY(-3px); }

/* Flotantes */
.whatsapp-float { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 950; width: 62px; height: 62px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,.8); transition: transform .35s var(--ease); }
.whatsapp-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ring 2.4s ease-out infinite; }
.whatsapp-float:hover { transform: scale(1.08) rotate(-6deg); color: #fff; }
.whatsapp-tip { position: absolute; right: 74px; top: 50%; transform: translateY(-50%) translateX(10px); background: #fff; color: var(--ink); font-family: var(--font-title); font-weight: 700; font-size: .85rem; padding: .45rem .9rem; border-radius: 999px; box-shadow: var(--shadow); white-space: nowrap; opacity: 0; transition: opacity .3s, transform .3s var(--ease); }
.whatsapp-float:hover .whatsapp-tip, .whatsapp-float.show-tip .whatsapp-tip { opacity: 1; transform: translateY(-50%) translateX(0); }
.back-to-top { position: fixed; left: 1.4rem; bottom: 1.4rem; z-index: 950; width: 46px; height: 46px; border-radius: 14px; background: #fff; color: var(--azul); display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s var(--ease), visibility .3s; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--azul); color: #fff; }

/* Blog */
.post-card { display: grid; grid-template-columns: 300px 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; transition: transform 1s var(--ease); }
.post-card:hover img { transform: scale(1.05); }
.post-card .post-body { padding: 2rem; }
.post-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .82rem; color: var(--gris-2); margin-bottom: .6rem; }
.post-meta .cat { color: var(--azul); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.article { max-width: 780px; margin: 0 auto; }
.article h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.article h2 { font-size: clamp(1.35rem, 2.3vw, 1.7rem); margin-top: 2.4rem; color: var(--azul-oscuro); }
.article h3 { margin-top: 1.8rem; }
.article p, .article li { font-size: 1.05rem; color: var(--gris); }
.article figure { margin: 2rem 0; }
.article figure img { border-radius: var(--radius); margin: 0 auto; box-shadow: var(--shadow-sm); }
.article figure.float { float: right; max-width: 300px; margin: .4rem 0 1.2rem 2rem; }
.article figure.float.left { float: left; margin: .4rem 2rem 1.2rem 0; }
.article figcaption { font-size: .82rem; color: var(--gris-2); text-align: center; margin-top: .5rem; }
.article .callout { background: var(--azul-claro); border-left: 4px solid var(--azul); border-radius: 12px; padding: 1.2rem 1.4rem; margin: 1.6rem 0; font-weight: 600; color: var(--ink-2); }
.article .highlight { background: linear-gradient(120deg, var(--amarillo-claro), #fff); border-radius: var(--radius); padding: 1.6rem; margin: 2rem 0; border: 1px solid rgba(242,183,5,.4); }
.article .sources { font-size: .85rem; color: var(--gris-2); border-top: 1px solid rgba(17,24,39,.08); padding-top: 1rem; margin-top: 2.5rem; clear: both; }
.article-cover { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); margin: 2rem auto; max-height: 520px; object-fit: cover; width: 100%; }
.author-box { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem; border-radius: var(--radius); background: var(--azul-claro); margin: 2.5rem 0; clear: both; }
.author-box img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.author-box strong { color: var(--azul); font-family: var(--font-title); }
.author-box p { margin: 0; font-size: .92rem; }

/* Páginas legales */
.legal h2 { font-size: 1.25rem; margin-top: 2.2rem; color: var(--azul-oscuro); }
.legal ul { margin-bottom: 1rem; }
.legal .updated { font-size: .85rem; color: var(--gris-2); border-top: 1px solid rgba(17,24,39,.08); padding-top: 1rem; margin-top: 2.5rem; }
.page-hero { padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem); background: var(--grad-oscuro); color: #fff; position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 700px; }

/* Contacto */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.contact-card { text-align: center; padding: 2rem 1.4rem; }
.contact-card .c-icon { width: 60px; height: 60px; border-radius: 18px; margin: 0 auto 1rem; background: var(--grad-amarillo); display: grid; place-items: center; color: var(--ink); }
.contact-card h3 { font-size: 1.1rem; }
.contact-card a { font-weight: 600; }
.contact-card .office-line { display: flex; align-items: center; justify-content: center; gap: .5rem; margin: .4rem 0; }
.contact-card .office-line img { width: 28px; height: 28px; }
.contact-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: start; }

/* Clientify */
.clientify-embed { background: #fff; border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-lg); min-height: 300px; }
.clientify-embed h3 { text-align: center; color: var(--azul); }

/* ---------- Animaciones de scroll ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); will-change: opacity, transform; }
.reveal.from-left { transform: translateX(-46px); }
.reveal.from-right { transform: translateX(46px); }
.reveal.zoom { transform: scale(.9); }
.reveal.is-visible { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.stagger.is-visible > * { opacity: 1; transform: none; }
.stagger.is-visible > *:nth-child(1) { transition-delay: .05s; }
.stagger.is-visible > *:nth-child(2) { transition-delay: .15s; }
.stagger.is-visible > *:nth-child(3) { transition-delay: .25s; }
.stagger.is-visible > *:nth-child(4) { transition-delay: .35s; }
.stagger.is-visible > *:nth-child(5) { transition-delay: .45s; }
.stagger.is-visible > *:nth-child(6) { transition-delay: .55s; }
.stagger.is-visible > *:nth-child(7) { transition-delay: .65s; }
.stagger.is-visible > *:nth-child(8) { transition-delay: .75s; }
.hero .reveal-hero { opacity: 0; transform: translateY(30px); animation: heroIn 1s var(--ease) forwards; }
.hero .reveal-hero:nth-child(2) { animation-delay: .15s; }
.hero .reveal-hero:nth-child(3) { animation-delay: .3s; }
.hero .reveal-hero:nth-child(4) { animation-delay: .45s; }
.hero .reveal-hero:nth-child(5) { animation-delay: .6s; }
[data-tilt] { transition: transform .4s var(--ease); transform-style: preserve-3d; }

@keyframes heroIn { to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(30px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -18px, 0); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(242,183,5,.7); } 70% { box-shadow: 0 0 0 12px rgba(242,183,5,0); } 100% { box-shadow: 0 0 0 0 rgba(242,183,5,0); } }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes scrollHint { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.gradient-text { background: linear-gradient(90deg, var(--azul), var(--azul-2), var(--amarillo), var(--azul)); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradientShift 8s ease infinite; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-5, .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps.horizontal { grid-template-columns: repeat(2, 1fr); }
  .steps.horizontal::before { display: none; }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .nav-burger { display: flex; }
  .main-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: #fff; flex-direction: column; align-items: stretch; padding: 5.5rem 1.4rem 2rem; gap: 1rem; z-index: 895; transform: translateX(105%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; overflow-y: auto; box-shadow: -20px 0 60px rgba(17,24,39,.2); }
  .main-nav.is-open { transform: none; visibility: visible; transition: transform .45s var(--ease), visibility 0s; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: .2rem; }
  .nav-link { width: 100%; justify-content: space-between; padding: .8rem .9rem; font-size: 1rem; border-radius: 12px; }
  .nav-link::after { display: none; }
  .nav-link:hover, li.is-active > .nav-link { background: var(--azul-claro); }
  .sub-menu { position: static; min-width: 0; box-shadow: none; border: 0; padding: .2rem 0 .4rem .6rem; opacity: 1; visibility: visible; transform: none; display: none; }
  .has-sub.is-open .sub-menu { display: block; }
  .has-sub:hover .sub-menu { display: none; }
  .has-sub.is-open:hover .sub-menu { display: block; }
  .nav-social { justify-content: center; padding-top: .5rem; border-top: 1px solid rgba(17,24,39,.08); }
  .nav-cta { width: 100%; }
  .brand img { width: 120px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .feature, .hero-split, .contact-layout { grid-template-columns: 1fr; }
  .feature.reverse .feature-media { order: 0; }
  .feature-media img { aspect-ratio: 16 / 10; }
  .feature-media.tall img, .feature-media.square img { aspect-ratio: 4 / 3; }
  .post-card { grid-template-columns: 1fr; }
  .post-card img { max-height: 280px; }
  .contact-cards { grid-template-columns: 1fr; }
  .article figure.float, .article figure.float.left { float: none; max-width: 100%; margin: 1.6rem 0; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .grid-2, .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: 1fr; }
  .steps.horizontal { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero { min-height: 0; padding: 4.5rem 0 4rem; }
  .hero-actions .btn { width: 100%; }
  .numbered-item { grid-template-columns: 1fr; gap: .4rem; padding: 1.4rem; }
  .numbered-item .n { font-size: 2rem; }
  .service-card { min-height: 380px; }
  .whatsapp-float { width: 56px; height: 56px; right: 1rem; bottom: 1rem; }
  .back-to-top { left: 1rem; bottom: 1rem; }
  .blob { display: none; }
  .cta-card { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .stagger > * { opacity: 1 !important; transform: none !important; }
  .hero .reveal-hero { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}
