/* ==========================================================================
   HYBRIDS DATA SOLUTIONS — Sistema visual
   Colores tomados del logotipo oficial. Mobile first.
   Índice: 1 Tokens · 2 Base · 3 Layout · 4 Botones · 5 Header/Nav · 6 Hero
           7 Secciones · 8 Tarjetas · 9 Diagramas · 10 Productos · 11 Proceso
           12 CTA · 13 Footer · 14 Formularios · 15 Blog · 16 Utilidades · 17 Motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --navy-950: #020c20;
  --navy-900: #04183b;
  --navy-800: #0a2350;
  --navy-700: #123068;
  --blue-600: #0a58a3;
  --blue-500: #1a6fc4;
  --blue-400: #4a93e0;
  --blue-300: #8cbcf0;
  --glow:     #5cb8ff;
  --orange-600: #c2410c;
  --orange-500: #f26a1b;
  --orange-400: #ff8a3d;
  --orange-300: #ffb27a;
  --white: #ffffff;
  --gray-50:  #f6f8fc;
  --gray-100: #edf1f8;
  --gray-200: #dde4ef;
  --gray-400: #97a3b8;
  --gray-600: #56647c;
  --ink:      #0d1b34;

  --grad-brand: linear-gradient(135deg, var(--blue-600) 0%, var(--navy-800) 60%, var(--navy-900) 100%);
  --grad-orange: linear-gradient(135deg, var(--orange-400), var(--orange-500));
  --grad-line: linear-gradient(90deg, var(--orange-500), var(--blue-400));

  --font-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1rem;
  --fs-lg: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
  --fs-h4: clamp(1.125rem, 1.05rem + .35vw, 1.3rem);
  --fs-h3: clamp(1.25rem, 1.1rem + .6vw, 1.6rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.8vw, 2.75rem);
  --fs-h1: clamp(2.1rem, 1.4rem + 3.4vw, 4.1rem);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(4, 24, 59, .06), 0 2px 8px rgba(4, 24, 59, .05);
  --shadow: 0 10px 30px -12px rgba(4, 24, 59, .22);
  --shadow-lg: 0 30px 60px -24px rgba(4, 24, 59, .35);

  --container: 1240px;
  --gutter: clamp(1rem, .6rem + 2vw, 2rem);
  --section-y: clamp(4rem, 2.8rem + 5vw, 7.5rem);
  --header-h: 72px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .6em; color: var(--navy-900); letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: var(--fs-h2); font-weight: 800; }
h3 { font-size: var(--fs-h3); font-weight: 700; }
h4 { font-size: var(--fs-h4); font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-800); }
ul, ol { padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--orange-500); color: var(--navy-900); }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--orange-500); color: var(--navy-900); font-weight: 700;
  padding: .75rem 1.25rem; border-radius: var(--radius-sm); text-decoration: none;
}
.skip-link:focus { top: 1rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 3. Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.section { padding-block: var(--section-y); position: relative; }
.section--tint { background: var(--gray-50); }
.section--dark { background: var(--navy-900); color: #d6e2f5; isolation: isolate; overflow: hidden; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark a:not(.btn) { color: var(--orange-300); }
.section--tight { padding-block: clamp(3rem, 2rem + 3vw, 4.5rem); }

.section-head { max-width: 760px; margin-bottom: clamp(2.25rem, 1.5rem + 2.5vw, 3.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: var(--fs-lg); color: var(--gray-600); }
.section--dark .section-head p { color: #aebfdb; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--blue-600);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--grad-line);
}
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--orange-400); }
.accent { color: var(--orange-500); }
.section--dark .accent, .hero .accent { color: var(--orange-400); }

.grid { display: grid; gap: clamp(1rem, .7rem + 1vw, 1.5rem); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.15fr .85fr; }
  .split--wide-right { grid-template-columns: .9fr 1.1fr; }
}

/* 4. Botones --------------------------------------------------------------- */
.btn {
  --btn-bg: var(--orange-500); --btn-fg: var(--navy-900); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .8rem 1.5rem;
  font-family: var(--font-display); font-size: .875rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--btn-fg); background: var(--btn-bg); border: 2px solid var(--btn-bd); border-radius: 999px;
  text-decoration: none; cursor: pointer; position: relative; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(242, 106, 27, .6); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--grad-orange); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy-900); --btn-bd: var(--navy-900); }
.btn--outline:hover { --btn-bg: var(--navy-900); --btn-fg: var(--white); box-shadow: var(--shadow); }
.btn--ghost { --btn-bg: rgba(255, 255, 255, .06); --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn--ghost:hover { --btn-bg: var(--white); --btn-fg: var(--navy-900); --btn-bd: var(--white); box-shadow: 0 12px 24px -12px rgba(255, 255, 255, .5); }
.btn--navy { --btn-bg: var(--navy-900); --btn-fg: var(--white); }
.btn--navy:hover { --btn-bg: var(--blue-600); box-shadow: var(--shadow); }
.btn--whatsapp { --btn-bg: #1faa53; --btn-fg: var(--white); }
.btn--whatsapp:hover { --btn-bg: #178a43; box-shadow: 0 12px 24px -10px rgba(31, 170, 83, .6); }
.btn--sm { min-height: 40px; padding: .55rem 1.1rem; font-size: .78rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }
@media (max-width: 479px) { .btn-row .btn { width: 100%; } }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-display); font-weight: 700; font-size: .875rem; text-decoration: none; color: var(--blue-600);
}
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* 5. Header / Navegación -------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.site-header.is-scrolled { border-color: var(--gray-200); box-shadow: 0 8px 24px -18px rgba(4, 24, 59, .45); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }
@media (min-width: 1200px) { .brand img { height: 52px; } }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--gray-200);
  background: var(--white); color: var(--navy-900); cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

.nav-menu {
  /* El header usa backdrop-filter (crea bloque contenedor): altura explícita en vh/dvh. */
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
  height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
  background: var(--white); overflow-y: auto; overscroll-behavior: contain;
  padding: 1rem var(--gutter) 2rem;
  opacity: 0; transform: translateY(-12px); visibility: hidden;
  transition: opacity .25s, transform .3s var(--ease), visibility 0s linear .3s;
}
.nav-open .nav-menu { opacity: 1; transform: none; visibility: visible; transition: opacity .25s, transform .3s var(--ease); }
.nav-open { overflow: hidden; }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list > li { border-bottom: 1px solid var(--gray-100); }
.nav-link, .nav-sub-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: .4rem; width: 100%;
  padding: 1rem .25rem; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-size: .95rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  color: var(--navy-900); text-decoration: none;
}
.nav-link.is-active, .nav-sub-toggle.is-active { color: var(--blue-600); }
.nav-sub-toggle .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.nav-sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav-sub { list-style: none; margin: 0; padding: 0 0 .75rem; display: none; }
.nav-item.is-open .nav-sub { display: block; }
.nav-sub a {
  display: flex; align-items: center; gap: .75rem; padding: .6rem .5rem; border-radius: 10px;
  color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500;
}
.nav-sub a .icon { color: var(--blue-600); width: 20px; height: 20px; }
.nav-sub a:hover, .nav-sub a[aria-current] { background: var(--gray-50); color: var(--blue-600); }
.nav-sub .nav-sub-all { font-weight: 700; color: var(--blue-600); }
.nav-cta { margin-top: 1.5rem; }
.nav-cta .btn { width: 100%; }

@media (min-width: 1140px) {
  .nav-toggle { display: none; }
  .nav-menu {
    position: static; inset: auto; height: auto; transform: none; opacity: 1; visibility: visible; overflow: visible;
    background: none; padding: 0; display: flex; align-items: center; gap: 1.25rem;
  }
  .nav-list { display: flex; align-items: center; gap: .1rem; }
  .nav-list > li { border: 0; position: relative; }
  .nav-link, .nav-sub-toggle {
    padding: .55rem .7rem; font-size: .76rem; letter-spacing: .06em; border-radius: 999px; position: relative;
  }
  .nav-link::after, .nav-sub-toggle::after {
    content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .2rem; height: 2px; border-radius: 2px;
    background: var(--grad-line); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
  }
  .nav-link:hover::after, .nav-link.is-active::after, .nav-sub-toggle:hover::after, .nav-sub-toggle.is-active::after { transform: scaleX(1); }
  .nav-link:hover, .nav-sub-toggle:hover { color: var(--blue-600); }
  .nav-sub-toggle .icon { width: 14px; height: 14px; }
  .nav-sub {
    position: absolute; top: calc(100% + 10px); left: 50%; min-width: 300px;
    display: block; padding: .6rem; background: var(--white);
    border: 1px solid var(--gray-100); border-radius: var(--radius); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
    transition: opacity .2s, transform .25s var(--ease), visibility 0s linear .25s;
  }
  .nav-sub::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
  .nav-sub--wide { min-width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: .15rem; }
  .nav-sub--wide li:last-child { grid-column: 1 / -1; border-top: 1px solid var(--gray-100); margin-top: .3rem; padding-top: .3rem; }
  .nav-item.is-open .nav-sub, .nav-item:focus-within .nav-sub {
    display: block; opacity: 1; visibility: visible; transform: translate(-50%, 0);
    transition: opacity .2s, transform .25s var(--ease);
  }
  .nav-item.is-open .nav-sub--wide, .nav-item:focus-within .nav-sub--wide { display: grid; }
  .nav-sub a { font-size: .9rem; padding: .55rem .7rem; }
  .nav-cta { margin: 0; }
  .nav-cta .btn { width: auto; }
}
@media (min-width: 1140px) and (hover: hover) {
  .nav-item:hover .nav-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .2s, transform .25s var(--ease); }
}
@media (min-width: 1280px) {
  .nav-link, .nav-sub-toggle { font-size: .8rem; padding-inline: .85rem; }
}

/* Migas */
.breadcrumbs { font-size: var(--fs-xs); margin-bottom: 1.25rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: 0; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: .35rem; color: #9fb3d4; }
.breadcrumbs li + li::before { content: "/"; opacity: .5; }
.breadcrumbs a { color: #cfe0f7; text-decoration: none; }
.breadcrumbs a:hover { color: var(--orange-400); }
.breadcrumbs [aria-current] { color: var(--orange-300); }

/* 6. Hero ------------------------------------------------------------------ */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% -10%, rgba(26, 111, 196, .45), transparent 60%),
              radial-gradient(900px 500px at -10% 110%, rgba(242, 106, 27, .18), transparent 60%),
              var(--navy-900);
  color: #d4e1f5;
  padding-block: clamp(3.5rem, 2rem + 6vw, 7rem) clamp(4.5rem, 3rem + 6vw, 8rem);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .55; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(rgba(140, 188, 240, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(140, 188, 240, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
}
.hero-inner { display: grid; gap: clamp(2.5rem, 1rem + 5vw, 4rem); align-items: center; }
@media (min-width: 1024px) { .hero-inner { grid-template-columns: 1.2fr .8fr; } }
.hero h1 { color: var(--white); margin-bottom: 1.4rem; font-size: clamp(2.05rem, 1.1rem + 2.35vw, 3.35rem); }
.hero h1 .line { display: block; }
.hero h1 .line:nth-child(2) { color: var(--blue-300); }
.hero h1 .line:nth-child(3) {
  background: linear-gradient(90deg, var(--orange-400), var(--orange-300));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: var(--fs-lg); max-width: 38rem; color: #bccde8; margin-bottom: 2.2rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.25rem; padding: 0; list-style: none; }
.hero-badges li {
  display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .8rem; border-radius: 999px;
  font-size: var(--fs-xs); font-weight: 600; color: #cfe0f7;
  border: 1px solid rgba(140, 188, 240, .22); background: rgba(10, 35, 80, .45);
}
.hero-badges .icon { width: 15px; height: 15px; color: var(--orange-400); }

.hero-visual { position: relative; margin-inline: auto; width: 100%; max-width: 600px; }
.hero-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(140, 188, 240, .25);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 8px rgba(92, 184, 255, .05);
  aspect-ratio: 950 / 768;
}
.hero-frame picture, .hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(4, 24, 59, .7)), linear-gradient(90deg, rgba(4, 24, 59, .25), transparent 40%);
}
.hero-chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem .85rem; border-radius: 14px;
  font-family: var(--font-display); font-size: .74rem; font-weight: 700; letter-spacing: .04em; color: var(--white);
  background: rgba(4, 24, 59, .82); border: 1px solid rgba(140, 188, 240, .3);
  backdrop-filter: blur(8px); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .6);
  animation: float 6s ease-in-out infinite;
}
.hero-chip .icon { color: var(--orange-400); width: 18px; height: 18px; }
.hero-chip--1 { top: 8%; left: -4%; }
.hero-chip--2 { top: 42%; right: -5%; animation-delay: -2s; }
.hero-chip--3 { bottom: 9%; left: 6%; animation-delay: -4s; }
@media (max-width: 639px) {
  .hero-chip--1 { left: 2%; } .hero-chip--2 { right: 2%; } .hero-chip { font-size: .68rem; padding: .45rem .7rem; }
}
.hero-strands { position: absolute; left: 0; right: 0; bottom: -2px; z-index: -1; width: 100%; height: clamp(60px, 9vw, 140px); }

/* Hero interno */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: radial-gradient(900px 400px at 90% 0%, rgba(26, 111, 196, .45), transparent 60%), var(--navy-900);
  color: #c9d8ee; padding-block: clamp(2.75rem, 2rem + 4vw, 5rem) clamp(3.25rem, 2.5rem + 4vw, 5.5rem);
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); max-width: 22ch; }
.page-hero .lead { font-size: var(--fs-lg); max-width: 44rem; color: #bccde8; margin: 0; }
.page-hero .hero-grid { mask-image: radial-gradient(ellipse at 85% 30%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 85% 30%, #000 10%, transparent 70%); }
.page-hero-icon {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; margin-bottom: 1.25rem;
  color: var(--white); background: linear-gradient(135deg, var(--blue-500), var(--navy-700));
  border: 1px solid rgba(140, 188, 240, .3); box-shadow: 0 0 0 6px rgba(92, 184, 255, .08);
}
.page-hero-icon .icon { width: 32px; height: 32px; }

/* Banner corporativo */
.banner-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--gray-100); background: var(--navy-900); }
.banner-frame img { width: 100%; }

/* 7. Propuesta de valor ---------------------------------------------------- */
.value { position: relative; }
.value-statement { font-family: var(--font-display); font-size: clamp(1.3rem, 1rem + 1.3vw, 1.9rem); font-weight: 700; line-height: 1.35; color: var(--navy-900); }
.value-statement strong { color: var(--blue-600); }
.value-points { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .9rem; }
@media (min-width: 560px) { .value-points { grid-template-columns: 1fr 1fr; } }
.value-points li {
  display: flex; gap: .8rem; align-items: center; padding: 1rem 1.1rem; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm); font-weight: 600; color: var(--navy-900);
}
.value-points .icon { color: var(--orange-500); width: 24px; height: 24px; }
.value-visual { position: relative; }
.philosophy {
  position: relative; padding: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); border-radius: var(--radius-lg);
  background: var(--grad-brand); color: #d6e3f7; overflow: hidden; box-shadow: var(--shadow-lg);
}
.philosophy::before {
  content: ""; position: absolute; width: 320px; height: 320px; right: -120px; top: -140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 106, 27, .35), transparent 65%);
}
.philosophy blockquote { margin: 0; position: relative; font-family: var(--font-display); font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); font-weight: 600; line-height: 1.45; color: var(--white); }
.philosophy blockquote::before { content: "“"; display: block; font-size: 4rem; line-height: .6; color: var(--orange-400); margin-bottom: .6rem; }
.philosophy figcaption { position: relative; margin-top: 1.25rem; font-size: var(--fs-sm); color: var(--blue-300); font-weight: 600; }
.philosophy .isotipo { position: absolute; right: 1.25rem; bottom: 1rem; width: 72px; opacity: .9; }

/* 8. Tarjetas de solución -------------------------------------------------- */
.card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  padding: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  overflow: hidden; isolation: isolate;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--grad-line);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.card::after {
  content: ""; position: absolute; z-index: -1; width: 220px; height: 220px; right: -90px; top: -90px; border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 111, 196, .12), transparent 70%); transition: transform .5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card:hover::after { transform: scale(1.5); }
.card h3 { font-size: var(--fs-h4); margin-bottom: .5rem; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card p { color: var(--gray-600); font-size: var(--fs-sm); }
.card .link-arrow { margin-top: auto; position: relative; z-index: 2; }
.card-icon {
  display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 1.25rem; border-radius: 16px;
  color: var(--blue-600); background: linear-gradient(135deg, #e7f1fd, #f4f8fe); border: 1px solid #d7e7fb;
  transition: background .35s, color .35s, transform .35s var(--ease);
}
.card-icon .icon { width: 28px; height: 28px; }
.card:hover .card-icon { background: var(--grad-brand); color: var(--white); transform: rotate(-6deg) scale(1.05); border-color: transparent; }
.card-list { list-style: none; padding: 0; margin: 0 0 1.4rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.card-list li {
  font-size: .76rem; font-weight: 600; padding: .28rem .6rem; border-radius: 999px;
  background: var(--gray-50); color: var(--navy-700); border: 1px solid var(--gray-100);
}
.card--dark { background: rgba(10, 35, 80, .55); border-color: rgba(140, 188, 240, .15); color: #c9d8ee; }
.card--dark p { color: #a9bcd9; }
.card--dark .card-icon { background: rgba(26, 111, 196, .2); border-color: rgba(140, 188, 240, .25); color: var(--glow); }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; }
.check-list .icon {
  width: 22px; height: 22px; padding: 4px; border-radius: 50%; margin-top: .1rem;
  background: rgba(242, 106, 27, .12); color: var(--orange-600);
}
.section--dark .check-list .icon { background: rgba(255, 138, 61, .15); color: var(--orange-400); }

.feature-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
.feature {
  display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.2rem; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm); font-weight: 600; color: var(--navy-900);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature .icon-wrap { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--grad-brand); color: var(--white); flex: none; }
.feature .icon-wrap .icon { width: 20px; height: 20px; }

/* 9. Diagramas de integración --------------------------------------------- */
.flow { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 520px; margin-inline: auto; }
.flow-step { position: relative; display: flex; align-items: center; gap: 1rem; padding-bottom: 2.1rem; }
.flow-step:last-child { padding-bottom: 0; }
.flow-step::before {
  content: ""; position: absolute; left: 31px; top: 64px; bottom: 0; width: 2px;
  background: linear-gradient(180deg, rgba(92, 184, 255, .55), rgba(242, 106, 27, .45));
}
.flow-step:last-child::before { display: none; }
.flow-step::after {
  content: ""; position: absolute; left: 28px; top: 64px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange-400); box-shadow: 0 0 12px 2px rgba(255, 138, 61, .8);
  animation: pulse-down 2.6s var(--ease) infinite; animation-delay: calc(var(--i, 0) * .35s);
}
.flow-step:last-child::after { display: none; }
.flow-node {
  position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px;
  color: var(--white); background: linear-gradient(145deg, var(--blue-500), var(--navy-700));
  border: 1px solid rgba(140, 188, 240, .35); box-shadow: 0 0 0 6px rgba(92, 184, 255, .07), 0 14px 30px -12px rgba(0, 0, 0, .6);
}
.flow-node .icon { width: 28px; height: 28px; }
.flow-step--accent .flow-node { background: var(--grad-orange); color: var(--navy-900); box-shadow: 0 0 0 6px rgba(242, 106, 27, .12), 0 0 36px -4px rgba(242, 106, 27, .55); }
.flow-body { min-width: 0; }
.flow-body strong { display: block; font-family: var(--font-display); font-size: .95rem; letter-spacing: .05em; text-transform: uppercase; color: var(--white); }
.flow-body span { font-size: var(--fs-sm); color: #a9bcd9; }
.flow--light .flow-body strong { color: var(--navy-900); }
.flow--light .flow-body span { color: var(--gray-600); }

.hybrid-legend { display: grid; gap: 1rem; margin-top: 2rem; }
.hybrid-legend div { display: flex; gap: .9rem; align-items: flex-start; }
.hybrid-legend .dot { flex: none; width: 12px; height: 12px; border-radius: 50%; margin-top: .45rem; }
.hybrid-legend .dot--blue { background: var(--glow); box-shadow: 0 0 12px var(--glow); }
.hybrid-legend .dot--orange { background: var(--orange-400); box-shadow: 0 0 12px var(--orange-400); }
.hybrid-legend .dot--white { background: var(--white); box-shadow: 0 0 12px rgba(255, 255, 255, .7); }

/* Flujo horizontal (WhatsApp + IA) */
.pipeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; grid-template-columns: 1fr; counter-reset: pipe; }
.pipeline li {
  position: relative; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border-radius: var(--radius);
  background: rgba(10, 35, 80, .6); border: 1px solid rgba(140, 188, 240, .18); color: var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: .88rem; letter-spacing: .03em;
}
.pipeline li::after {
  content: ""; position: absolute; left: 50%; bottom: -1.6rem; width: 2px; height: 1.6rem; transform: translateX(-50%);
  background: linear-gradient(180deg, var(--glow), var(--orange-400));
}
.pipeline li:last-child::after { display: none; }
.pipeline .icon-wrap { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(26, 111, 196, .35); color: var(--glow); }
.pipeline li.is-wa .icon-wrap { background: #1faa53; color: var(--white); }
.pipeline li.is-ai .icon-wrap { background: var(--grad-orange); color: var(--navy-900); }
.pipeline .icon-wrap .icon { width: 22px; height: 22px; }
@media (min-width: 1024px) {
  .pipeline { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.4rem; }
  .pipeline li { flex-direction: column; text-align: center; padding: 1.3rem .6rem; font-size: .76rem; }
  .pipeline li::after { left: auto; right: -1.4rem; top: 50%; bottom: auto; width: 1.4rem; height: 2px; transform: none; background: linear-gradient(90deg, var(--glow), var(--orange-400)); }
  .pipeline .icon-wrap { width: 52px; height: 52px; }
}
.usecases { display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: 0; list-style: none; }
.usecases li {
  display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .95rem; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(140, 188, 240, .2); font-size: var(--fs-sm); font-weight: 600; color: #e1ebf8;
  transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.usecases li:hover { background: rgba(242, 106, 27, .12); border-color: rgba(255, 138, 61, .45); transform: translateY(-2px); }
.usecases .icon { width: 18px; height: 18px; color: var(--orange-400); }
.note {
  display: flex; gap: .7rem; align-items: flex-start; padding: .9rem 1rem; border-radius: var(--radius-sm);
  font-size: var(--fs-sm); background: rgba(92, 184, 255, .08); border: 1px dashed rgba(140, 188, 240, .35); color: #b9cbe6;
}
.note .icon { width: 20px; height: 20px; color: var(--glow); margin-top: .15rem; }
.note--light { background: var(--gray-50); border-color: var(--gray-200); color: var(--gray-600); }
.note--light .icon { color: var(--blue-600); }

/* 10. Ecosistema y productos ---------------------------------------------- */
.ecosystem { position: relative; }
.eco-hub { position: relative; display: grid; place-items: center; margin: 0 auto 1rem; }
.eco-core {
  position: relative; display: grid; place-items: center; width: 132px; height: 132px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--gray-100);
  box-shadow: 0 0 0 10px rgba(26, 111, 196, .06), 0 0 0 22px rgba(26, 111, 196, .035), var(--shadow-lg);
}
.eco-core img { width: 64%; }
.eco-core::after {
  content: ""; position: absolute; inset: -22px; border-radius: 50%; border: 1px dashed rgba(26, 111, 196, .35);
  animation: spin 40s linear infinite;
}
.eco-label { margin-top: 1.4rem; font-family: var(--font-display); font-weight: 800; letter-spacing: .22em; color: var(--navy-900); font-size: .9rem; }
.eco-lines { display: none; }
@media (min-width: 1024px) {
  .eco-lines { display: block; width: 100%; height: 90px; margin: -.25rem 0 .5rem; overflow: visible; }
  .eco-lines path { fill: none; stroke: url(#ecoGrad); stroke-width: 2; stroke-dasharray: 6 8; animation: dash 1.6s linear infinite; }
  .eco-lines circle { fill: var(--orange-500); }
}
.product-card {
  position: relative; display: flex; flex-direction: column; height: 100%; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--white); border: 1px solid var(--gray-100); box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card-media {
  display: grid; place-items: center; aspect-ratio: 16 / 9; padding: 1.25rem;
  background: radial-gradient(circle at 50% 40%, #ffffff, var(--gray-50)); border-bottom: 1px solid var(--gray-100);
}
.product-card-media img { max-height: 150px; width: auto; object-fit: contain; }
.product-card-media--wa { background: radial-gradient(circle at 50% 30%, var(--navy-700), var(--navy-900)); }
.wa-badge { display: flex; align-items: center; gap: 1rem; color: var(--white); font-family: var(--font-display); font-weight: 800; font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem); }
.wa-badge .bubble { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 20px; background: #1faa53; box-shadow: 0 0 40px -6px rgba(31, 170, 83, .8); }
.wa-badge .bubble .icon { width: 38px; height: 38px; }
.wa-badge .plus { color: var(--orange-400); }
.wa-badge .ai { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 20px; background: var(--grad-orange); color: var(--navy-900); box-shadow: 0 0 40px -6px rgba(242, 106, 27, .8); }
.wa-badge .ai .icon { width: 38px; height: 38px; }
.product-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.6rem 1.7rem; }
.product-card-body .tag { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-600); margin-bottom: .4rem; }
.product-card-body h3 { margin-bottom: .5rem; }
.product-card-body p { color: var(--gray-600); font-size: var(--fs-sm); }
.product-card-body .btn-row { margin-top: auto; padding-top: .5rem; }

.product-logo-panel {
  display: grid; place-items: center; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--gray-100); box-shadow: var(--shadow-lg);
}
.product-logo-panel img { max-height: 280px; width: auto; }

.shot-placeholder {
  position: relative; display: grid; place-items: center; gap: .75rem; text-align: center; aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg); padding: 1.5rem; color: #a9bcd9;
  background: repeating-linear-gradient(135deg, rgba(140, 188, 240, .06) 0 12px, transparent 12px 24px), var(--navy-800);
  border: 2px dashed rgba(140, 188, 240, .35);
}
.shot-placeholder .icon { width: 42px; height: 42px; color: var(--blue-300); margin-inline: auto; }
.shot-placeholder strong { display: block; color: var(--white); font-family: var(--font-display); letter-spacing: .06em; text-transform: uppercase; font-size: .85rem; }
.shot-placeholder small { display: block; font-size: var(--fs-xs); max-width: 34ch; margin-inline: auto; }
.shot-placeholder .browser-dots { position: absolute; top: 14px; left: 16px; display: flex; gap: 6px; }
.shot-placeholder .browser-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(140, 188, 240, .35); }

/* 11. Metodología ---------------------------------------------------------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
@media (min-width: 1280px) { .steps { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.step {
  position: relative; padding: 1.5rem 1.35rem 1.6rem; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step-num {
  font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1;
  background: linear-gradient(135deg, var(--blue-500), var(--navy-900)); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .9;
}
.step .icon { position: absolute; top: 1.5rem; right: 1.35rem; width: 26px; height: 26px; color: var(--orange-500); }
.step h3 { font-size: .98rem; letter-spacing: .08em; text-transform: uppercase; margin: 1rem 0 .35rem; }
.step p { font-size: var(--fs-sm); color: var(--gray-600); margin: 0; }
@media (min-width: 1280px) {
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 2.4rem; right: -1.25rem; width: 1.25rem; height: 2px; background: var(--grad-line);
  }
}

/* Misión / visión / valores */
.mvv-card { position: relative; }
.mvv-card .review-mark { position: relative; z-index: 2; margin-bottom: 1rem; }
.values { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .values { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.values li { display: flex; gap: 1rem; padding: 1.25rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm); }
.values li .icon-wrap { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(242, 106, 27, .1); color: var(--orange-600); }
.values li strong { display: block; font-family: var(--font-display); color: var(--navy-900); }
.values li span { font-size: var(--fs-sm); color: var(--gray-600); }

/* Casos de éxito */
.case-card .case-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; font-size: var(--fs-xs); color: var(--gray-600); }
.case-card .case-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.case-card .case-meta .icon { width: 15px; height: 15px; color: var(--blue-600); }
.case-card--placeholder { border: 2px dashed var(--gray-200); box-shadow: none; background: repeating-linear-gradient(135deg, var(--gray-50) 0 14px, #fff 14px 28px); }
.case-card--placeholder:hover { transform: none; box-shadow: none; }
.case-card--placeholder dl { margin: 0; display: grid; gap: .45rem; font-size: var(--fs-sm); }
.case-card--placeholder dt { font-weight: 700; color: var(--navy-900); }
.case-card--placeholder dd { margin: 0 0 .35rem; color: var(--gray-400); font-style: italic; }
.placeholder-tag {
  display: inline-flex; align-items: center; gap: .4rem; margin-bottom: 1rem; padding: .3rem .7rem; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--orange-600); background: rgba(242, 106, 27, .1); border: 1px solid rgba(242, 106, 27, .3);
}
.case-detail dl { display: grid; gap: 1.5rem; margin: 0; }
.case-detail dt { font-family: var(--font-display); font-weight: 800; color: var(--navy-900); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; margin-bottom: .4rem; }
.case-detail dd { margin: 0; color: var(--gray-600); }

/* 12. CTA ------------------------------------------------------------------ */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-lg);
  padding: clamp(2rem, 1.2rem + 3.5vw, 4rem); background: var(--grad-brand); color: #d6e3f7; box-shadow: var(--shadow-lg);
  display: grid; gap: 1.75rem; align-items: center;
}
@media (min-width: 960px) { .cta-band { grid-template-columns: 1.4fr auto; } }
.cta-band h2 { color: var(--white); margin-bottom: .5rem; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
.cta-band p { margin: 0; color: #c2d4ee; font-size: var(--fs-lg); max-width: 46rem; }
.cta-band::before {
  content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -160px; bottom: -300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 106, 27, .45), transparent 65%);
}
.cta-band::after {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px); background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent 30%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000);
}

/* 13. Footer --------------------------------------------------------------- */
.site-footer { position: relative; background: var(--navy-950); color: #9fb3d4; padding-top: clamp(3.5rem, 2.5rem + 4vw, 5.5rem); overflow: hidden; isolation: isolate; }
.site-footer::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--orange-500), var(--blue-500), var(--navy-950));
}
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; } }
.footer-brand img { width: 120px; height: auto; margin-bottom: 1.25rem; }
.footer-slogan { font-family: var(--font-display); font-weight: 700; letter-spacing: .06em; font-size: .85rem; color: var(--white); line-height: 1.7; text-transform: uppercase; }
.footer-slogan span { display: block; }
.footer-slogan span:nth-child(3) { color: var(--orange-400); }
.site-footer h2 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--white); margin-bottom: 1.1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: var(--fs-sm); }
.footer-links a { color: #9fb3d4; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--orange-400); }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--orange-400); margin-top: .2rem; }
.social { display: flex; gap: .6rem; margin-top: 1.25rem; padding: 0; list-style: none; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #cfe0f7; background: rgba(255, 255, 255, .06); border: 1px solid rgba(140, 188, 240, .15); transition: background .2s, color .2s, transform .2s; }
.social a:hover { background: var(--orange-500); color: var(--navy-900); transform: translateY(-2px); }
.social .icon { width: 18px; height: 18px; }
.footer-bottom { margin-top: 3rem; padding-block: 1.5rem; border-top: 1px solid rgba(140, 188, 240, .12); display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; font-size: var(--fs-xs); }
.footer-bottom a { color: #9fb3d4; }
.footer-watermark { position: absolute; right: -60px; bottom: -40px; width: 320px; opacity: .05; z-index: -1; pointer-events: none; }
.config-hint { font-size: var(--fs-xs); color: #6f84a6; font-style: italic; }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: clamp(1rem, .5rem + 1.5vw, 1.75rem); bottom: clamp(1rem, .5rem + 1.5vw, 1.75rem); z-index: 90;
  display: inline-flex; align-items: center; gap: .6rem; height: 60px; padding: 0 1.1rem 0 .95rem; border-radius: 999px;
  background: #1faa53; color: var(--white); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: .85rem;
  box-shadow: 0 14px 30px -10px rgba(31, 170, 83, .75), 0 0 0 0 rgba(31, 170, 83, .5);
  animation: wa-ring 3.2s ease-out infinite 2s; transition: transform .25s var(--ease), background .2s;
}
.wa-float:hover { color: var(--white); background: #178a43; transform: translateY(-3px); }
.wa-float .icon { width: 30px; height: 30px; }
.wa-float span { display: none; }
@media (min-width: 768px) { .wa-float span { display: inline; } }
@media (max-width: 767px) { .wa-float { width: 60px; padding: 0; justify-content: center; } }

/* 14. Formularios ---------------------------------------------------------- */
.contact-layout { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: start; } }
.contact-aside { display: grid; gap: 1rem; }
.contact-tile { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm); }
.contact-tile .icon-wrap { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--grad-brand); color: var(--white); }
.contact-tile .icon-wrap--wa { background: #1faa53; }
.contact-tile strong { display: block; font-family: var(--font-display); color: var(--navy-900); }
.contact-tile a { word-break: break-word; }
.contact-tile p { margin: .2rem 0 0; font-size: var(--fs-sm); color: var(--gray-600); }

.form-card { padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--gray-100); box-shadow: var(--shadow-lg); }
.form-grid { display: grid; gap: 1.1rem 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; margin-bottom: .4rem; font-size: var(--fs-sm); font-weight: 600; color: var(--navy-900); }
.field label .req { color: var(--orange-600); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem 1rem; border-radius: 12px; border: 1.5px solid var(--gray-200); background: var(--gray-50);
  transition: border-color .2s, box-shadow .2s, background .2s; font-size: 1rem;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--navy-700) 50%), linear-gradient(135deg, var(--navy-700) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); background: var(--white); box-shadow: 0 0 0 4px rgba(26, 111, 196, .15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c62828; background: #fff7f7; }
.field-error { display: block; margin-top: .35rem; font-size: var(--fs-xs); color: #b71c1c; font-weight: 600; min-height: 0; }
.field-hint { display: block; margin-top: .35rem; font-size: var(--fs-xs); color: var(--gray-600); }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--gray-600); }
.check input { width: 20px; height: 20px; min-height: 0; margin-top: .15rem; accent-color: var(--blue-600); flex: none; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: .85rem; align-items: flex-start; padding: 1rem 1.2rem; border-radius: var(--radius); margin-bottom: 1.5rem; font-size: var(--fs-sm); }
.alert .icon { width: 22px; height: 22px; margin-top: .1rem; }
.alert strong { display: block; font-family: var(--font-display); }
.alert--success { background: #ebf8f0; border: 1px solid #b6e3c6; color: #145c32; }
.alert--error { background: #fdeeee; border: 1px solid #f3c1c1; color: #8e1a1a; }
.form-footer { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-top: .5rem; }
.form-footer small { color: var(--gray-600); font-size: var(--fs-xs); }

/* 15. Blog ----------------------------------------------------------------- */
.blog-layout { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .blog-layout { grid-template-columns: 1fr 280px; gap: 3rem; align-items: start; } }
.post-card { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius-lg); overflow: hidden; background: var(--white); border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); position: relative; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.post-card-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--grad-brand); display: grid; place-items: center; color: rgba(255, 255, 255, .8); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-media .icon { width: 48px; height: 48px; }
.post-card-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.post-card-body h3 { font-size: 1.12rem; margin-bottom: .6rem; }
.post-card-body h3 a { color: inherit; text-decoration: none; }
.post-card-body h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card-body p { font-size: var(--fs-sm); color: var(--gray-600); }
.post-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: var(--fs-xs); color: var(--gray-600); margin-bottom: .75rem; }
.post-meta .cat { color: var(--orange-600); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.sidebar-box { padding: 1.5rem; border-radius: var(--radius-lg); background: var(--gray-50); border: 1px solid var(--gray-100); }
.sidebar-box h2 { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.cat-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .25rem; }
.cat-list a { display: flex; justify-content: space-between; gap: .5rem; padding: .55rem .75rem; border-radius: 10px; text-decoration: none; color: var(--ink); font-size: var(--fs-sm); font-weight: 500; }
.cat-list a:hover, .cat-list a[aria-current] { background: var(--white); color: var(--blue-600); box-shadow: var(--shadow-sm); }
.cat-list .count { font-size: var(--fs-xs); color: var(--gray-400); }
.empty-state { text-align: center; padding: clamp(2.5rem, 2rem + 3vw, 4rem) 1.5rem; border-radius: var(--radius-lg); border: 2px dashed var(--gray-200); background: var(--gray-50); }
.empty-state .icon { width: 48px; height: 48px; color: var(--blue-500); margin: 0 auto 1rem; }
.empty-state h2 { font-size: var(--fs-h3); }
.empty-state p { color: var(--gray-600); max-width: 44ch; margin-inline: auto; }
.pager { margin-top: 2.5rem; }
.pager ul { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; justify-content: center; }
.pager a, .pager span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .75rem; border-radius: 12px; border: 1px solid var(--gray-200); text-decoration: none; font-weight: 600; color: var(--navy-900); }
.pager a:hover { border-color: var(--blue-500); color: var(--blue-600); }
.pager .active span { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }

.prose { font-size: 1.0625rem; line-height: 1.8; color: #22324d; }
.prose h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); margin-top: 2.2em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.8em; }
.prose img { border-radius: var(--radius); margin-block: 1.5rem; }
.prose blockquote { margin: 1.8rem 0; padding: 1rem 1.4rem; border-left: 4px solid var(--orange-500); background: var(--gray-50); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose pre { overflow-x: auto; padding: 1rem; border-radius: var(--radius-sm); background: var(--navy-900); color: #d6e3f7; font-size: .9rem; }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--gray-200); padding: .5rem .75rem; }
.post-cover { border-radius: var(--radius-lg); overflow: hidden; margin: -3.5rem 0 2.5rem; box-shadow: var(--shadow-lg); position: relative; }

/* 16. Utilidades ----------------------------------------------------------- */
.review-mark {
  display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .7rem; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: #7a4a00; background: #fff4d6; border: 1px dashed #e0a526;
}
.review-mark .icon { width: 14px; height: 14px; }
.text-center { text-align: center; }
.h-sm { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.95rem); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.lead { font-size: var(--fs-lg); color: var(--gray-600); }
.divider-strands { display: block; width: 100%; height: 60px; }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.tag-list li { padding: .35rem .8rem; border-radius: 999px; background: var(--gray-50); border: 1px solid var(--gray-100); font-size: var(--fs-xs); font-weight: 600; color: var(--navy-700); }
.infographic { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); border: 1px solid rgba(140, 188, 240, .2); }
.stack-sm > * + * { margin-top: .75rem; }
.stack > * + * { margin-top: 1.5rem; }
.sticky-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.related-nav { display: grid; gap: .75rem; }
.related-nav a { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--gray-100); text-decoration: none; color: var(--navy-900); font-weight: 600; transition: transform .25s var(--ease), box-shadow .25s; }
.related-nav a:hover { transform: translateX(4px); box-shadow: var(--shadow); color: var(--blue-600); }
.related-nav .icon-wrap { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #e7f1fd; color: var(--blue-600); flex: none; }
.related-nav .icon-wrap .icon { width: 20px; height: 20px; }
.related-nav .icon:last-child { margin-left: auto; width: 18px; height: 18px; color: var(--gray-400); }

.solutions-marquee { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem .75rem; list-style: none; padding: 0; margin: 0; }
.solutions-marquee a { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .95rem; border-radius: 999px; background: var(--white); border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm); font-size: var(--fs-sm); font-weight: 600; color: var(--navy-900); text-decoration: none; transition: transform .25s var(--ease), border-color .25s; }
.solutions-marquee a:hover { transform: translateY(-2px); border-color: var(--blue-400); color: var(--blue-600); }
.solutions-marquee .icon { width: 18px; height: 18px; color: var(--blue-600); }

.error-code { font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 3rem + 10vw, 9rem); line-height: 1; background: linear-gradient(135deg, var(--orange-400), var(--blue-400)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: .5rem; }

/* 17. Motion --------------------------------------------------------------- */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes dash { to { stroke-dashoffset: -28; } }
@keyframes pulse-down { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(var(--travel, 44px)); opacity: 0; } }
@keyframes wa-ring { 0% { box-shadow: 0 14px 30px -10px rgba(31, 170, 83, .75), 0 0 0 0 rgba(31, 170, 83, .45); } 70%, 100% { box-shadow: 0 14px 30px -10px rgba(31, 170, 83, .75), 0 0 0 18px rgba(31, 170, 83, 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-anim > * { animation: rise .9s var(--ease) both; }
.hero-anim > *:nth-child(2) { animation-delay: .1s; }
.hero-anim > *:nth-child(3) { animation-delay: .2s; }
.hero-anim > *:nth-child(4) { animation-delay: .3s; }
.hero-anim > *:nth-child(5) { animation-delay: .4s; }
.hero-strands path { stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: draw 2.4s var(--ease) .3s forwards; }

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-strands path { stroke-dashoffset: 0; }
  .flow-step::after { display: none; }
}

@media print {
  .site-header, .site-footer, .wa-float, .hero-canvas, .cta-band { display: none !important; }
  body { color: #000; }
}

/* Base de las hebras decorativas: toma el color de la sección siguiente. */
.strand-fill { fill: var(--after-bg, #fff); }
.to-tint { --after-bg: var(--gray-50); }
.to-dark { --after-bg: var(--navy-900); }
.split--top { align-items: start; }
.check-list + .review-mark, .check-list + p .review-mark { margin-top: 1.25rem; }
