/* =====================================================================
   ASIF — Outsourcing de servicios financieros · Libranza en Colombia
   Design system: "Fintech editorial" con motivo hexagonal
   Tipografía: Fraunces (display) + Manrope (texto/UI)
   ===================================================================== */

/* ----------------------------- Tokens ------------------------------ */
:root {
  /* Marca — azul */
  --blue-900: #16243A;
  --blue-800: #1E3A5C;
  --blue-700: #2E4F73;
  --blue-600: #386089;
  --blue:     #426D9B;
  --blue-300: #8FAFCC;
  --blue-100: #DCE8F3;
  --blue-50:  #EEF4FA;

  /* Marca — verde */
  --green-700: #4E7A1C;
  --green-600: #5E9021;
  --green:     #8DC63F;
  --green-300: #BCDE8C;
  --green-50:  #F2F8E7;

  /* Neutros */
  --ink:      #16243A;
  --muted:    #4E6079;
  --faint:    #8493A8;
  --paper:    #FFFFFF;
  --bg:       #F5F8FC;
  --bg-2:     #EDF3F9;
  --line:     #E2EAF2;
  --line-strong: #CFDBE8;

  /* Tipografía */
  --font-display: "Plus Jakarta Sans", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Proporción de hexágono regular (flat-top): ancho/alto */
  --hex-ratio: 1.1547;

  /* Escala de espacios (8pt) */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --sp-9: 96px; --sp-10: 128px;

  /* Radios */
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-xl: 32px; --r-pill: 999px;

  /* Sombras */
  --shadow-sm: 0 1px 2px rgba(22,36,58,.06), 0 2px 8px rgba(22,36,58,.05);
  --shadow-md: 0 8px 24px rgba(22,36,58,.08), 0 2px 6px rgba(22,36,58,.05);
  --shadow-lg: 0 24px 60px rgba(22,36,58,.14), 0 8px 18px rgba(22,36,58,.07);
  --shadow-blue: 0 18px 40px rgba(46,79,115,.28);
  --shadow-green: 0 16px 34px rgba(94,144,33,.30);

  /* Layout */
  --maxw: 1200px;
  --nav-h: 96px;

  /* Movimiento */
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --t-fast: .18s;
  --t: .32s;
}

/* ------------------------------ Reset ------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

/* --------------------------- Tipografía ---------------------------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.06;
  letter-spacing: -.025em; color: var(--blue-900); }
.display {
  font-size: clamp(2.6rem, 6.4vw, 4.8rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.03em;
}
h2.section-title { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); line-height: 1.18; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: var(--muted); line-height: 1.6; }

/* ----------------------------- Layout ------------------------------ */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
.section { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans);
  font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-600);
}
.eyebrow::before {
  content: ""; width: 22px; height: 19px; flex: none;
  background: var(--green);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}
.eyebrow--center { justify-content: center; }

.section-head { max-width: 720px; margin-bottom: var(--sp-7); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: var(--sp-4); }
.section-head h2 { margin-top: var(--sp-3); }
.nosotros-head { max-width: 1160px; }
.nosotros-copy { max-width: 1080px; margin-inline: auto; text-wrap: pretty; }
.process .section-head { max-width: none; }
.process .section-head .lead { white-space: nowrap; }

/* --------------------------- Hexágonos ----------------------------- */
/* Flat-top regular: el alto es ancho / 1.1547 para que todos los lados sean iguales */
.hex { clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); }

/* Patrón honeycomb decorativo (SVG embebido) */
.honeycomb-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='104' viewBox='0 0 60 104' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23426D9B' stroke-width='1.2' stroke-opacity='0.10'%3E%3Cpath d='M30 1 L59 18 L59 52 L30 69 L1 52 L1 18 Z'/%3E%3Cpath d='M30 69 L59 86 L59 120 L30 137 L1 120 L1 86 Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 60px 104px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
          mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
}

/* ----------------------------- Botones ----------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: .98rem; letter-spacing: .005em;
  padding: 15px 26px; border-radius: var(--r-pill);
  min-height: 50px;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t) var(--ease),
              background-color var(--t-fast), color var(--t-fast);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px) scale(.99); }

.btn--primary { background: var(--blue-700); color: #fff; box-shadow: var(--shadow-blue); }
.btn--primary:hover { background: var(--blue-800); transform: translateY(-2px); }

.btn--accent { background: var(--green); color: var(--blue-900); box-shadow: var(--shadow-green); }
.btn--accent:hover { background: var(--green-300); transform: translateY(-2px); }

.btn--ghost { background: transparent; color: var(--blue-700); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--blue-600); background: var(--blue-50); }

.btn--light { background: #fff; color: var(--blue-800); box-shadow: var(--shadow-md); }
.btn--light:hover { transform: translateY(-2px); }

.btn--lg { padding: 17px 32px; font-size: 1.05rem; min-height: 56px; }
.btn--block { width: 100%; }

.btn-arrow { transition: transform var(--t) var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ----------------------------- Header ------------------------------ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: flex-start; padding-top: 16px;
  transition: padding var(--t) var(--ease);
}
.header.is-scrolled {
  padding-top: 10px;
}
.nav { display: flex; align-items: center; justify-content: space-between; width: calc(100% - 40px);
  max-width: 1120px; min-height: 64px; margin-inline: auto; padding: 8px 10px 8px 20px;
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-pill);
  background: linear-gradient(105deg, var(--blue-900), var(--blue-800));
  box-shadow: 0 14px 34px rgba(22,36,58,.18); transition: box-shadow var(--t), transform var(--t) var(--ease); }
.header.is-scrolled .nav { box-shadow: 0 16px 42px rgba(22,36,58,.27); }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { height: 36px; width: auto; filter: brightness(0) invert(1); }
.brand .brand-tag { display: none; font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--faint); border-left: 1px solid var(--line-strong);
  padding-left: 12px; }

.nav-links { display: flex; align-items: center; justify-content: center; gap: 2px; margin-inline: auto; }
.nav-links a {
  position: relative; font-weight: 600; font-size: .88rem; color: rgba(255,255,255,.72);
  padding: 11px 13px; border-radius: var(--r-pill); transition: color var(--t-fast), background var(--t-fast);
}
.nav-links a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 5px; height: 2px;
  background: var(--green-300); border-radius: 2px; transform: scaleX(0); transform-origin: center;
  transition: transform var(--t) var(--ease);
}
.nav-links a:hover, .nav-links a.is-active { color: #fff; background: rgba(255,255,255,.06); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.nav-cta .btn--ghost { min-height: 46px; padding-inline: 22px; background: #fff; color: var(--blue-900);
  box-shadow: none; border: 1px solid rgba(255,255,255,.9); }
.nav-cta .btn--ghost:hover { background: var(--green-50); color: var(--blue-900); box-shadow: none; transform: translateY(-1px); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%; align-items: center; justify-content: center; background: rgba(255,255,255,.08); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform var(--t) var(--ease), opacity var(--t-fast); position: relative;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------- Hero ---------------------------------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + clamp(24px, 4vw, 56px));
  padding-bottom: clamp(40px, 6vw, 80px);
  background:
    radial-gradient(140% 120% at 88% -10%, var(--blue-50) 0%, rgba(238,244,250,0) 55%),
    radial-gradient(120% 110% at -5% 8%, var(--green-50) 0%, rgba(242,248,231,0) 48%),
    var(--paper);
  overflow: hidden;
}
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 7px 7px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill);
  font-size: .85rem; font-weight: 600; color: var(--muted); box-shadow: var(--shadow-sm);
  margin-bottom: var(--sp-5);
}
.hero-badge b { color: var(--blue-700); }
.hero-badge .chip { background: var(--green-50); color: var(--green-700); font-weight: 700;
  padding: 4px 12px; border-radius: var(--r-pill); font-size: .78rem; letter-spacing: .02em; }

.hero h1 { margin-bottom: var(--sp-5); }
.hero h1 .accent { position: relative; color: var(--blue); white-space: nowrap; }
.hero h1 .accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .26em;
  background: linear-gradient(90deg, var(--green-300), var(--green)); border-radius: 4px;
  z-index: -1; opacity: .55;
}
.hero .lead { max-width: 36ch; margin-bottom: var(--sp-6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-6); }

.hero-trust { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
.hero-trust .law { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.hero-trust .law svg { width: 18px; height: 18px; color: var(--green-600); }

/* Hero visual — clúster de hexágonos con personas (evoca el logo) */
.hero-visual { position: relative; aspect-ratio: 1 / 1; }
.hexshot {
  position: absolute; aspect-ratio: var(--hex-ratio) / 1;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  background: #fff; padding: 6px;
  filter: drop-shadow(0 22px 34px rgba(22,36,58,.22));
}
.hexshot img { width: 100%; height: 100%; object-fit: cover;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); }
.hexshot--lg { width: 53%; left: 24%; top: 23%; z-index: 3; animation: floaty 7s var(--ease) infinite; }
.hexshot--md { width: 41%; right: 1%; top: 1%; z-index: 4; animation: floaty 6s var(--ease) infinite .6s; }
.hexshot--sm { width: 37%; left: 1%; bottom: 5%; z-index: 4; animation: floaty 8s var(--ease) infinite 1.1s; }

.hexdot { position: absolute; aspect-ratio: var(--hex-ratio) / 1;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); z-index: 1; }
.hexdot--green { width: 13%; background: var(--green); top: 8%; left: 12%; }
.hexdot--blue { width: 9%; background: var(--blue); bottom: 12%; right: 6%; }
.hexdot--ring { width: 16%; background: none; top: 60%; right: 16%;
  border: 0; box-shadow: none; clip-path: none; }
.hexdot--ring svg { width: 100%; height: auto; opacity: .55; }

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) {
  .hexshot--lg, .hexshot--md, .hexshot--sm { animation: none; }
}
.hero-float {
  position: absolute; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px; z-index: 3;
  border: 1px solid var(--line);
}
.hero-float .hex-ico { width: 46px; height: 40px; flex: none; display: grid; place-items: center; color: #fff; }
.hero-float .hex-ico svg { width: 20px; height: 20px; }
.hero-float .meta small { display: block; color: var(--faint); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; }
.hero-float .meta b { font-size: 1.18rem; color: var(--blue-900); font-family: var(--font-display); }
.hero-float--a { top: 8%; left: -6%; animation: floaty 6s var(--ease) infinite; }
.hero-float--b { bottom: 9%; right: -7%; animation: floaty 7s var(--ease) infinite .8s; }
.hero-float--a .hex-ico { background: linear-gradient(150deg, var(--blue), var(--blue-700)); }
.hero-float--b .hex-ico { background: linear-gradient(150deg, var(--green), var(--green-600)); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .hero-float--a, .hero-float--b { animation: none; } }

/* Hexágonos decorativos flotantes */
.deco-hex { position: absolute; pointer-events: none; opacity: .5; z-index: 1; }
.deco-hex svg { width: 100%; height: 100%; }

/* ------------------------- Hero carrusel -------------------------- */
.hero-slider { position: relative; min-height: clamp(680px, 100svh, 840px); display: block; padding: 0; background: #fff; overflow: hidden; }
.hero-slides { position: absolute; inset: var(--nav-h) 0 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; background-repeat: no-repeat;
  background-size: cover; background-position: center; transition: opacity 700ms var(--ease-out), visibility 700ms; }
.hero-slide::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.96) 31%, rgba(255,255,255,.7) 48%, rgba(255,255,255,0) 69%); }
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-slide--one { background-image: url("../Imagenes/Hero%20slide%201.png"); }
.hero-slide--two { background-image: url("../Imagenes/Hero%20slide%202.png"); }
.hero-slide--three { background-image: url("../Imagenes/Hero%20slide%203.png"); }
.hero-slide-inner { position: relative; z-index: 1; min-height: calc(clamp(680px, 100svh, 840px) - var(--nav-h)); display: flex; align-items: center;
  padding-top: 38px; padding-bottom: 104px; }
.hero-slide-copy { width: min(590px, 52%); opacity: 0; transform: translateY(18px);
  transition: opacity 520ms 130ms var(--ease-out), transform 520ms 130ms var(--ease-out); }
.hero-slide.is-active .hero-slide-copy { opacity: 1; transform: none; }
.hero-slide-copy--wide { width: min(660px, 56%); }
.hero-slider .display { margin-bottom: 28px; color: var(--blue-900); font-size: clamp(3.2rem,5.6vw,5rem); line-height: .98; letter-spacing: -.055em; }
.hero-slide--three .display { font-size: clamp(2.9rem,4.8vw,4.35rem); line-height: 1.04; }
.hero-slider .display .accent { position: relative; z-index: 0; display: inline; color: var(--blue); }
.hero-slider .display .accent::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: .02em; height: .24em;
  border-radius: 4px; background: linear-gradient(90deg, var(--green-300), var(--green)); opacity: .6; }
.hero-slider .lead { max-width: 45ch; margin-bottom: 0; color: var(--muted); font-size: clamp(1.08rem,1.45vw,1.25rem); line-height: 1.65; }
.hero-slide--three .lead { margin-bottom: 28px; }
.hero-slider .hero-actions { margin: 0; }
.hero-badge--feature { max-width: none; gap: 0; padding: 10px 18px; margin-bottom: 28px; white-space: nowrap;
  border-color: rgba(66,109,155,.16); background: rgba(255,255,255,.82); color: var(--blue-700);
  box-shadow: 0 12px 34px rgba(22,36,58,.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero-badge--feature strong { display: inline; color: var(--blue-900); font-family: var(--font-display); font-size: inherit; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; color: var(--blue-700);
  font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero-kicker::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--green); }
.hero-slider .hero-controls { position: absolute; z-index: 4; left: 50%; bottom: 34px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px; pointer-events: none; }
.hero-dots { display: flex; align-items: center; gap: 2px; padding: 4px 6px; border: 1px solid rgba(66,109,155,.14);
  border-radius: var(--r-pill); background: rgba(255,255,255,.78); box-shadow: 0 10px 28px rgba(22,36,58,.1);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); pointer-events: auto; }
.hero-dot { width: 44px; height: 36px; display: grid; place-items: center; border: 0; background: transparent; cursor: pointer; }
.hero-dot span { position: relative; width: 22px; height: 4px; overflow: hidden; border-radius: 4px; background: var(--blue-100);
  transition: width 240ms var(--ease), background 240ms; }
.hero-dot span::after { content: ""; position: absolute; inset: 0; background: var(--green); transform: scaleX(0); transform-origin: left; }
.hero-dot.is-active span { width: 38px; background: var(--blue-100); }
.hero-dot.is-active span::after { animation: heroProgress 5s linear forwards; }
.hero-slider.is-paused .hero-dot.is-active span::after { animation-play-state: paused; }
.hero-dot:focus-visible, .hero-pause:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.hero-pause { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(66,109,155,.14);
  border-radius: 50%; background: rgba(255,255,255,.82); color: var(--blue-900); cursor: pointer;
  box-shadow: 0 10px 28px rgba(22,36,58,.1); backdrop-filter: blur(10px); pointer-events: auto; }
.hero-pause svg { width: 17px; height: 17px; }
.hero-pause .icon-play { display: none; }
.hero-pause[aria-pressed="true"] .icon-pause { display: none; }
.hero-pause[aria-pressed="true"] .icon-play { display: block; }
@keyframes heroProgress { to { transform: scaleX(1); } }

@media (max-width: 760px) {
  .hero-slider, .hero-slide-inner { min-height: 850px; }
  .hero-slides { inset: 0; }
  .hero-slide { background-size: auto 49%; background-position: 66% 84px; }
  .hero-slide::after { background: linear-gradient(180deg, rgba(255,255,255,.02) 8%, rgba(255,255,255,.08) 35%, rgba(255,255,255,.9) 50%, #fff 61%); }
  .hero-slide-inner { align-items: flex-end; padding-top: 430px; padding-bottom: 108px; }
  .hero-slide-copy, .hero-slide-copy--wide { width: 100%; }
  .hero-slider .display, .hero-slide--three .display { margin-bottom: 22px; font-size: clamp(2.45rem,11.5vw,3.25rem); line-height: 1.02; }
  .hero-slide--three .display { font-size: clamp(2.05rem,9.2vw,2.7rem); }
  .hero-badge--feature { width: 100%; justify-content: center; margin-bottom: 20px; padding-inline: 8px;
    font-size: clamp(.59rem,2.45vw,.76rem); letter-spacing: -.025em; }
  .hero-slider .lead { font-size: 1.02rem; line-height: 1.58; }
  .hero-slider .hero-controls { bottom: 24px; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slide-copy { transition: none; }
  .hero-dot.is-active span::after { animation: none; transform: scaleX(1); }
}

/* --------------------------- Banda ecosistema ---------------------- */
.trustband { background: linear-gradient(115deg, var(--blue-700), var(--blue-900)); position: relative; overflow: hidden;
  padding-block: clamp(48px, 6vw, 76px); }
.trustband .honeycomb-bg { mask-image: radial-gradient(100% 120% at 50% 0%, #000 25%, transparent 72%);
  -webkit-mask-image: radial-gradient(100% 120% at 50% 0%, #000 25%, transparent 72%);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='104' viewBox='0 0 60 104' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-width='1.2' stroke-opacity='0.09'%3E%3Cpath d='M30 1 L59 18 L59 52 L30 69 L1 52 L1 18 Z'/%3E%3Cpath d='M30 69 L59 86 L59 120 L30 137 L1 120 L1 86 Z'/%3E%3C/g%3E%3C/svg%3E"); }
.trustband .container { position: relative; z-index: 1; }
.trustband-head { text-align: center; max-width: 680px; margin: 0 auto clamp(28px, 4vw, 40px); }
.trustband-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--green-300); margin-bottom: 14px; }
.trustband-kicker::before { content: ""; width: 20px; height: 17px; background: var(--green);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); }
.trustband-head h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.trustband-head h2 b { color: var(--green-300); font-weight: inherit; }
.ecosystem-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ecosystem-info-card { position: relative; min-height: 210px; display: grid; grid-template-columns: 58px 1fr; align-content: start;
  gap: 18px; padding: 26px; overflow: hidden; border: 1px solid rgba(255,255,255,.15); border-radius: var(--r-lg);
  background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px);
  transition: transform 240ms var(--ease), border-color 240ms ease, background 240ms ease, box-shadow 240ms ease; }
.ecosystem-info-card::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-300), transparent 72%); opacity: .82; }
.ecosystem-info-card:hover { transform: translateY(-5px); border-color: rgba(188,222,140,.42);
  background: linear-gradient(145deg, rgba(255,255,255,.13), rgba(141,198,63,.055));
  box-shadow: 0 18px 38px rgba(8,22,40,.2), inset 0 1px 0 rgba(255,255,255,.12); }
.ecosystem-info-icon { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid rgba(188,222,140,.25);
  border-radius: 18px; background: rgba(141,198,63,.13); color: var(--green-300); }
.ecosystem-info-icon svg { width: 26px; height: 26px; }
.ecosystem-info-card h3 { margin: 3px 0 10px; color: #fff; font-size: 1.22rem; }
.ecosystem-info-card p { color: rgba(255,255,255,.72); font-size: .92rem; line-height: 1.62; }

@media (max-width: 900px) {
  .ecosystem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .ecosystem-grid { grid-template-columns: 1fr; gap: 14px; }
  .ecosystem-info-card { min-height: 0; padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .ecosystem-info-card { transition: none; }
}

/* ----------------------------- Stats ------------------------------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 28px); }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 26px; position: relative; overflow: hidden; transition: transform var(--t) var(--ease), box-shadow var(--t);
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat::before { content: ""; position: absolute; top: -18px; right: -18px; width: 84px; height: 73px;
  background: var(--green-50); clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); }
.stat .num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem,4vw,3.2rem);
  color: var(--blue-700); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; position: relative; }
.stat .num .suf { color: var(--green-600); }
.stat .label { margin-top: 10px; color: var(--muted); font-weight: 600; font-size: .98rem; position: relative; }

/* -------------------------- Quiénes somos ------------------------- */
.about-section { background: var(--paper); }
.about-section > .container { max-width: none; padding-inline: 0; }
.about-layout { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); min-height: 620px; overflow: visible; }
.about-media { min-width: 0; min-height: 620px; background: #fff; overflow: hidden; }
.about-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.about-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(48px,6vw,88px) clamp(42px,7vw,110px) 112px;
  background: transparent; }
.about-copy h2 { max-width: none; margin-top: 14px; color: var(--blue-900); font-size: clamp(2rem,3vw,2.7rem);
  line-height: 1.06; letter-spacing: -.045em; }
.about-copy .eyebrow::before { display: none; }
.about-title-line { display: block; white-space: nowrap; }
.about-copy p { max-width: 52ch; margin-top: 24px; color: var(--muted); font-size: clamp(.96rem,1.2vw,1.05rem); line-height: 1.75; }
.stats.about-stats { position: relative; z-index: 3; width: min(1200px, calc(100% - 80px)); margin: -68px auto 0; gap: 0;
  overflow: hidden; border: 1px solid rgba(207,219,232,.82); border-radius: 22px;
  background: rgba(255,255,255,.91); box-shadow: 0 20px 46px rgba(22,36,58,.16);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.about-stats .stat { min-height: 136px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 25px 30px; border: 0; border-radius: 0; background: transparent; box-shadow: none; text-align: center; }
.about-stats .stat:not(:last-child) { border-right: 1px solid var(--line); }
.about-stats .stat::before { display: none; }
.about-stats .stat:hover { transform: none; background: rgba(242,248,231,.62); box-shadow: none; }
.about-stats .stat .num { font-size: clamp(2.2rem,3.5vw,3rem); }

@media (max-width: 760px) {
  .about-layout { grid-template-columns: 1fr; min-height: 0; }
  .about-media { min-height: 0; aspect-ratio: 1.08 / 1; }
  .about-copy { padding: 38px 26px 92px; }
  .about-copy h2 { max-width: none; font-size: clamp(1.9rem,8vw,2.35rem); }
  .about-copy p { font-size: .96rem; line-height: 1.7; }
  .stats.about-stats { width: calc(100% - 28px); margin-top: -58px; grid-template-columns: repeat(3, minmax(0,1fr)); border-radius: 18px; }
  .about-stats .stat { min-height: 112px; padding: 18px 8px; text-align: center; }
  .about-stats .stat .num { font-size: clamp(1.75rem,8vw,2.3rem); }
  .about-stats .stat .label { margin-top: 7px; font-size: .72rem; line-height: 1.35; }
}

/* --------------------------- Servicios ----------------------------- */
.services-layout { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(54px,8vw,112px); align-items: center; }
.services-intro { max-width: 500px; margin-bottom: 0; }
.services-intro .section-title { max-width: 12ch; font-size: clamp(2.4rem,4.2vw,3.8rem); }
.services-intro .lead { max-width: 44ch; font-size: clamp(1rem,1.35vw,1.12rem); line-height: 1.72; }
.services-list { display: grid; gap: 14px; }
.service-row { position: relative; padding: 23px 28px 23px 32px; overflow: hidden; border: 1px solid var(--line);
  border-radius: 4px; background: rgba(255,255,255,.9); box-shadow: 0 8px 24px rgba(22,36,58,.055);
  transition: transform 220ms var(--ease), box-shadow 220ms ease, border-color 220ms ease; }
.service-row::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--green); }
.service-row:nth-child(even)::before { background: var(--blue); }
.service-row:hover { transform: translateX(5px); border-color: var(--line-strong); box-shadow: 0 14px 32px rgba(22,36,58,.1); }
.service-row h3 { margin-bottom: 7px; color: var(--blue-900); font-size: 1.18rem; }
.service-row p { max-width: 62ch; color: var(--muted); font-size: .91rem; line-height: 1.58; }

@media (max-width: 900px) {
  .services-layout { grid-template-columns: 1fr; gap: 42px; }
  .services-intro { max-width: 680px; }
  .services-intro .section-title { max-width: 15ch; }
}
@media (max-width: 600px) {
  .service-row { padding: 21px 20px 21px 25px; }
  .service-row:hover { transform: none; }
}

/* --------------------------- Audiencias ---------------------------- */
.audience { background: var(--bg); }
.aud-tabs { display: inline-flex; padding: 6px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-pill); box-shadow: var(--shadow-sm); margin-bottom: var(--sp-7); gap: 4px; }
.aud-tab { padding: 12px 26px; border-radius: var(--r-pill); font-weight: 700; color: var(--muted);
  transition: color var(--t-fast); position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 9px; }
.aud-tab svg { width: 18px; height: 18px; }
.aud-tab.is-active { color: #fff; }
.aud-tabs { position: relative; }
.aud-pill { position: absolute; top: 6px; bottom: 6px; border-radius: var(--r-pill);
  background: var(--blue-700); transition: transform var(--t) var(--ease), width var(--t) var(--ease),
  background-color var(--t); z-index: 0; }

.aud-panel { display: none; }
.aud-panel.is-active { display: block; animation: fadeUp .5s var(--ease-out) both; }
.aud-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,64px); align-items: center; }
.aud-copy h2 { margin-bottom: var(--sp-4); }
.aud-copy .lead { margin-bottom: var(--sp-5); }
.aud-list { display: grid; gap: 16px; margin-bottom: var(--sp-6); }
.aud-list li { display: flex; gap: 14px; align-items: flex-start; }
.aud-list .check { width: 28px; height: 28px; flex: none; display: grid; place-items: center; color: #fff;
  background: var(--green-600); margin-top: 2px; }
.aud-list .check svg { width: 15px; height: 15px; }
.aud-list b { display: block; color: var(--blue-900); }
.aud-list span { color: var(--muted); font-size: .96rem; }

.aud-visual { position: relative; background: linear-gradient(155deg, var(--blue-700), var(--blue-900));
  border-radius: var(--r-xl); padding: clamp(28px,4vw,44px); color: #fff; overflow: hidden;
  box-shadow: var(--shadow-lg); }
.aud-visual .honeycomb-bg { mask-image: radial-gradient(120% 120% at 100% 0%, #000 20%, transparent 70%); }
.aud-visual h3 { color: #fff; position: relative; }
.aud-visual p { color: var(--blue-100); position: relative; margin-top: 10px; }
.aud-metrics { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.aud-metric { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-md); padding: 18px; backdrop-filter: blur(4px); }
.aud-metric .num { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--green-300); }
.aud-metric .lbl { font-size: .82rem; color: var(--blue-100); margin-top: 4px; }

/* ----------------- Crédito para personas (B2C emocional) ----------- */
.credito { position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 100% 0%, var(--green-50), transparent 55%), var(--paper); }
.credito .container { max-width: 1320px; padding-inline: clamp(20px,4vw,40px); }
.credito-layout { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0;
  align-items: center; min-height: 560px; }
.credito-copy { padding-block: 56px; padding-inline: 0; }
.credito-copy h2 { max-width: 12ch; font-size: clamp(2.35rem,4.3vw,3.75rem); margin-bottom: var(--sp-4); line-height: 1.04; }
.credito-copy h2 em { font-style: normal; color: var(--green-600); }
.credito-copy .lead { max-width: 43ch; margin-bottom: var(--sp-6); font-size: clamp(1rem,1.35vw,1.14rem); line-height: 1.7; }
.credito-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
.credito-media { min-width: 0; align-self: stretch; display: flex; align-items: center; justify-content: center; overflow: visible; }
.credito-media img { display: block; width: 100%; height: 100%; object-fit: contain;
  transform: translateX(-3%) scale(1.18); transform-origin: center; }

@media (max-width: 900px) {
  .credito-layout { grid-template-columns: 1fr; }
  .credito-copy { padding: 44px clamp(20px,6vw,48px) 64px; }
  .credito-copy h2 { max-width: 15ch; }
  .credito-media { order: -1; min-height: 0; aspect-ratio: 1.5 / 1; }
  .credito-media img { transform: scale(1.05); }
}

/* --------------------------- Proceso ------------------------------- */
.process { position: relative; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px,2.5vw,24px); position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 10px, transparent 10px 20px); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; }
.step .node {
  width: 80px; height: 69px; margin: 0 auto 22px; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--line); color: var(--blue-700);
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 600;
  transition: transform var(--t) var(--ease), border-color var(--t), background var(--t), color var(--t);
}
.step:hover .node { background: var(--blue-700); color: #fff; border-color: var(--blue-700); transform: translateY(-4px); }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .94rem; max-width: 26ch; margin-inline: auto; }

/* --------------------------- Diferenciadores ----------------------- */
.why { background: var(--blue-900); color: #fff; position: relative; overflow: hidden; }
.why .container { position: relative; z-index: 2; }
.why h2 { color: #fff; }
.why .lead { color: var(--blue-100); }
.why-head { max-width: 780px; margin-inline: auto; text-align: center; }
.why-head .eyebrow { color: var(--green-300); justify-content: center; }
.why-head .lead { max-width: 700px; margin-inline: auto; }
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: var(--sp-7); }
.why-item { display: grid; grid-template-columns: 46px minmax(0,1fr); align-content: start; column-gap: 16px;
  min-height: 176px; padding: 25px 24px; border: 1px solid rgba(255,255,255,.11); border-radius: 18px;
  background: rgba(255,255,255,.045); transition: transform .3s ease, border-color .3s ease, background .3s ease; }
.why-item:hover { background: rgba(255,255,255,.07); border-color: rgba(147,201,38,.42); transform: translateY(-3px); }
.why-item .ico { grid-row: 1 / span 2; width: 46px; height: 46px; display: grid; place-items: center; margin: 0;
  clip-path: none; border: 1px solid rgba(147,201,38,.35); border-radius: 50%; background: rgba(147,201,38,.1); color: var(--green-300); }
.why-item .ico svg { width: 21px; height: 21px; }
.why-item h3 { grid-column: 2; align-self: center; color: #fff; font-size: 1.08rem; line-height: 1.25; margin: 2px 0 10px; }
.why-item p { grid-column: 2; color: var(--blue-100); font-size: .92rem; line-height: 1.62; margin: 0; }

/* ----------------------------- FAQ --------------------------------- */
.faq-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px,5vw,64px); align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t); }
.faq-item.is-open { border-color: var(--blue-300); box-shadow: var(--shadow-md); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px; text-align: left; font-weight: 700; font-size: 1.05rem; color: var(--blue-900); }
.faq-q .pm { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%;
  background: var(--blue-50); color: var(--blue-700); transition: transform var(--t) var(--ease), background var(--t); }
.faq-item.is-open .pm { background: var(--blue-700); color: #fff; transform: rotate(45deg); }
.faq-q .pm svg { width: 16px; height: 16px; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--t) var(--ease); }
.faq-a-inner { padding: 0 24px 24px; color: var(--muted); }

/* ----------------------------- CTA --------------------------------- */
.cta-wrap { position: relative; }
.cta {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-900) 70%);
  color: #fff; padding: clamp(40px,6vw,80px); text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta .honeycomb-bg { background-image: url("data:image/svg+xml,%3Csvg width='60' height='104' viewBox='0 0 60 104' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%238DC63F' stroke-width='1.4' stroke-opacity='0.18'%3E%3Cpath d='M30 1 L59 18 L59 52 L30 69 L1 52 L1 18 Z'/%3E%3Cpath d='M30 69 L59 86 L59 120 L30 137 L1 120 L1 86 Z'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: radial-gradient(90% 120% at 50% 120%, #000 20%, transparent 70%); }
.cta > * { position: relative; z-index: 2; }
.cta h2 { color: #fff; font-size: clamp(2rem,4.4vw,3.2rem); max-width: 18ch; margin-inline: auto; }
.cta p { color: var(--blue-100); max-width: 52ch; margin: var(--sp-4) auto var(--sp-6); font-size: 1.1rem; }
.cta-actions { display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; }

/* ----------------------------- Footer ------------------------------ */
.footer { background: var(--blue-900); color: var(--blue-100); padding-top: clamp(56px,7vw,88px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(28px,4vw,52px);
  padding-bottom: var(--sp-8); }
.footer .brand img { height: 36px; filter: brightness(0) invert(1); opacity: .95; }
.footer-about p { margin-top: 18px; max-width: 38ch; color: var(--blue-100); font-size: .96rem; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px;
  background: rgba(255,255,255,.07); color: #fff; transition: background var(--t), transform var(--t-fast); }
.footer-social a:hover { background: var(--green-600); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 { font-family: var(--font-sans); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-300); margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { color: var(--blue-100); font-size: .96rem; transition: color var(--t-fast); }
.footer-col a:hover { color: var(--green-300); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; color: var(--blue-100); font-size: .96rem; margin-bottom: 12px; }
.footer-contact svg { width: 18px; height: 18px; flex: none; color: var(--green-300); margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .86rem; color: var(--blue-300); }
.footer-bottom a { color: var(--blue-100); }
.footer-bottom a:hover { color: var(--green-300); }

/* ---------------------- Scroll reveal / motion --------------------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .aud-panel.is-active { animation: none; }
  .credit-dialog[open] { animation: none; }
  * { scroll-behavior: auto !important; }
}

/* ---------------------- Formulario de solicitud ------------------- */
.credit-dialog { position: fixed; inset: 50% auto auto 50%; width: min(760px, calc(100% - 32px));
  max-width: none; max-height: calc(100dvh - 32px); margin: 0; padding: 0; border: 0;
  border-radius: var(--r-xl); background: transparent; color: var(--ink); overflow: visible;
  transform: translate(-50%,-50%); }
.credit-dialog[open] { animation: dialogIn 260ms var(--ease-out); }
.credit-dialog::backdrop { background: rgba(10,24,42,.52); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px); }
.credit-dialog-shell { position: relative; padding: clamp(30px,5vw,48px); overflow-y: auto; max-height: calc(100dvh - 32px);
  border: 1px solid rgba(255,255,255,.8); border-radius: var(--r-xl);
  background: radial-gradient(circle at 100% 0%, rgba(141,198,63,.13), transparent 31%), rgba(255,255,255,.9);
  box-shadow: 0 30px 90px rgba(10,24,42,.32), inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); scrollbar-width: none; }
.credit-dialog-shell::-webkit-scrollbar { display: none; }
.credit-dialog-shell::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px;
  border-radius: var(--r-xl) var(--r-xl) 0 0; background: linear-gradient(90deg, var(--green), var(--blue), var(--green-300)); }
@keyframes dialogIn { from { opacity: 0; transform: translate(-50%,calc(-50% + 16px)) scale(.98); } to { opacity: 1; transform: translate(-50%,-50%) scale(1); } }
.credit-dialog-close { position: absolute; top: 16px; right: 16px; z-index: 2; width: 44px; height: 44px;
  display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.72);
  color: var(--blue-900); font-size: 1.7rem; cursor: pointer; transition: background var(--t-fast), transform var(--t-fast); }
.credit-dialog-close:hover { background: #fff; transform: rotate(4deg); }
.credit-dialog-close:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.credit-dialog-intro { max-width: 620px; padding-right: 48px; margin-bottom: 28px; }
.credit-dialog-intro h2 { margin-top: 10px; font-size: clamp(1.8rem,4vw,2.7rem); }
.credit-dialog-intro p { max-width: 56ch; margin-top: 12px; color: var(--muted); line-height: 1.6; }
.credit-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.credit-field { display: grid; gap: 8px; color: var(--blue-900); font-size: .88rem; font-weight: 700; }
.credit-field--full { grid-column: 1 / -1; }
.credit-field input, .credit-field select { width: 100%; min-height: 52px; padding: 12px 15px; border: 1px solid rgba(66,109,155,.22);
  border-radius: 13px; background: rgba(255,255,255,.68); color: var(--ink); font: inherit; outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast); }
.credit-field input:focus, .credit-field select:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(66,109,155,.13); }
.credit-consent { display: flex; align-items: flex-start; gap: 11px; margin-block: 22px; padding: 14px;
  border: 1px solid rgba(66,109,155,.13); border-radius: 13px; background: rgba(238,244,250,.62);
  color: var(--muted); font-size: .84rem; line-height: 1.45; }
.credit-consent input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--green-600); flex: none; }
.credit-submit { width: 100%; }
.credit-form-note { margin-top: 12px; color: var(--faint); font-size: .78rem; line-height: 1.45; text-align: center; }
body.credit-form-open { overflow: hidden; }

@media (max-width: 600px) {
  .credit-form-grid { grid-template-columns: 1fr; gap: 14px; }
  .credit-field--full { grid-column: auto; }
  .credit-dialog { width: min(100% - 20px, 760px); max-height: calc(100dvh - 20px); }
  .credit-dialog-shell { padding: 28px 20px 24px; max-height: calc(100dvh - 20px); }
  .credit-dialog-intro { padding-right: 38px; }
}

/* ----------------------------- Mobile ------------------------------ */
.mobile-menu { display: none; }

@media (max-width: 980px) {
  .hero { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { width: min(440px, 84vw); margin-inline: auto; order: -1; margin-bottom: 36px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .aud-layout { grid-template-columns: 1fr; }
  .aud-visual { order: -1; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .steps::before { display: none; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .process .section-head .lead { white-space: normal; }
  .nav { width: calc(100% - 24px); min-height: 60px; padding: 7px 8px 7px 16px; }
  .brand img { height: 32px; }
  .brand .brand-tag { display: none; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }

  .mobile-menu {
    display: block; position: fixed; inset: var(--nav-h) 0 0; z-index: 99;
    background: #fff; padding: 28px clamp(20px,5vw,40px) 40px;
    transform: translateX(100%); transition: transform var(--t) var(--ease);
    overflow-y: auto; box-shadow: var(--shadow-lg);
  }
  body.menu-open .mobile-menu { transform: translateX(0); }
  body.menu-open { overflow: hidden; }
  .mobile-menu a.m-link { display: block; padding: 16px 4px; font-size: 1.3rem; font-weight: 600;
    font-family: var(--font-display); color: var(--blue-900); border-bottom: 1px solid var(--line); }
  .mobile-menu .m-actions { display: grid; gap: 12px; margin-top: 28px; }

  .stats { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .trustband .container { justify-content: flex-start; }
  .aud-tabs { width: 100%; }
  .aud-tab { flex: 1; justify-content: center; padding: 12px 10px; }
  .hero-float { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}
