/* =========================================================
   YRP Financial Consulting — sitio web
   Colores y tipografía según el Manual de Marca (Poppins,
   Azul #3d8dee, Verde #29b926, fondo azul oscuro).
   ========================================================= */

:root {
  --blue: #3d8dee;
  --blue-600: #1d6ad1;     /* azul para texto pequeño sobre blanco */
  --blue-50: #0f4f8f;      /* "Azul 50%" del manual */
  --blue-80: #74b6ff;      /* "Azul 80%" */
  --green: #29b926;
  --green-600: #1e8f1c;    /* verde para texto pequeño sobre blanco */
  --green-80: #8fd88d;
  --navy: #061a33;         /* "Azul oscuro" */
  --navy-2: #0a2547;
  --ink: #0c1b30;
  --muted: #56667c;
  --line: #e2e9f2;
  --bg: #ffffff;
  --bg-soft: #f3f7fc;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(6, 26, 51, .18);
  --shadow-lg: 0 30px 60px -20px rgba(6, 26, 51, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.ic { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.tx-green { color: var(--green); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .72em 1.35em; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: .95rem; line-height: 1.2; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn--lg { padding: .95em 1.7em; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--green { background: var(--green); color: #fff; box-shadow: 0 10px 24px -10px rgba(41, 185, 38, .7); }
.btn--green:hover { background: #24a821; transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(41, 185, 38, .8); }
.btn--green .ic { transition: transform .25s var(--ease); }
.btn--green:hover .ic { transform: translateX(4px); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* ---------- Etiquetas ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 3px; border-radius: 3px; background: var(--green); }
.eyebrow--light { color: var(--blue-80); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 18px 0;
  transition: background-color .35s, padding .35s, box-shadow .35s;
}
.nav__inner { display: flex; align-items: center; gap: 28px; }
.nav__brand { position: relative; display: block; width: 60px; height: 60px; flex: none; }
.nav__logo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .35s; }
.nav__logo--color { opacity: 0; }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a { position: relative; color: rgba(255, 255, 255, .85); font-weight: 500; font-size: .93rem; transition: color .25s; }
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%;
  background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__links a:not(.btn):hover, .nav__links a.is-current { color: #fff; }
.nav__links a:not(.btn):hover::after, .nav__links a.is-current::after { transform: scaleX(1); }
.nav__mobile-cta { display: none; }
.nav__actions { display: flex; align-items: center; gap: 14px; }

.lang {
  display: inline-flex; align-items: center; gap: 4px;
  background: transparent; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px;
  padding: 6px 12px; font-size: .8rem; font-weight: 600; color: rgba(255, 255, 255, .55);
  transition: border-color .25s, color .25s;
}
.lang:hover { border-color: #fff; }
.lang [data-l].is-on { color: #fff; }
.lang__sep { opacity: .5; }

.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s, background-color .3s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Nav al hacer scroll */
.nav.is-scrolled { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); padding: 10px 0; box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(6, 26, 51, .3); }
.nav.is-scrolled .nav__logo--white { opacity: 0; }
.nav.is-scrolled .nav__logo--color { opacity: 1; }
.nav.is-scrolled .nav__links a:not(.btn) { color: var(--ink); }
.nav.is-scrolled .nav__links a:not(.btn):hover, .nav.is-scrolled .nav__links a.is-current { color: var(--blue-600); }
.nav.is-scrolled .lang { border-color: var(--line); color: #9aa7b8; }
.nav.is-scrolled .lang [data-l].is-on { color: var(--ink); }
.nav.is-scrolled .burger span { background: var(--ink); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 600px at 75% 30%, #0e3a72 0%, rgba(14, 58, 114, 0) 60%),
              radial-gradient(900px 500px at 10% 100%, #0b3f2a 0%, rgba(11, 63, 42, 0) 60%),
              var(--navy);
  padding: 150px 0 150px;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.beam {
  position: absolute; width: 38%; height: 160%; top: -30%;
  transform: skewX(-24deg); opacity: .5;
  animation: drift 14s ease-in-out infinite alternate;
}
.beam--1 { left: 48%; background: linear-gradient(180deg, rgba(61, 141, 238, .22), rgba(61, 141, 238, 0) 70%); }
.beam--2 { left: 72%; width: 18%; background: linear-gradient(180deg, rgba(41, 185, 38, .2), rgba(41, 185, 38, 0) 65%); animation-delay: -5s; }
.beam--3 { left: -8%; width: 22%; background: linear-gradient(0deg, rgba(41, 185, 38, .14), rgba(41, 185, 38, 0) 60%); animation-delay: -9s; }
@keyframes drift { from { transform: skewX(-24deg) translateX(-20px); } to { transform: skewX(-24deg) translateX(30px); } }
.dots {
  position: absolute; right: 4%; bottom: 70px; width: 160px; height: 90px; opacity: .35;
  background-image: radial-gradient(rgba(255, 255, 255, .8) 1.5px, transparent 1.6px);
  background-size: 16px 16px;
}

.hero__grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
.hero__title { font-size: clamp(2.6rem, 5.6vw, 4.4rem); line-height: 1.05; letter-spacing: -.025em; margin-bottom: 26px; }
.hl {
  position: relative; display: inline-block; padding: 0 .18em; margin: 0 -.04em; z-index: 0;
}
.hl::before {
  content: ""; position: absolute; inset: .08em 0 .02em 0; background: var(--green); z-index: -1;
  transform: scaleX(0); transform-origin: left;
  animation: hl 1s .55s var(--ease) forwards;
}
@keyframes hl { to { transform: scaleX(1); } }
.hero__lead { font-size: 1.1rem; font-weight: 300; color: rgba(255, 255, 255, .8); max-width: 540px; margin-bottom: 36px; }
.hero__lead strong { color: #fff; font-weight: 600; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__tag { font-size: .9rem; color: rgba(255, 255, 255, .6); letter-spacing: .02em; }
.hero__tag b { color: var(--green-80); font-weight: 600; }

.hero__visual { position: relative; justify-self: end; width: min(420px, 100%); }
.hero__photo {
  margin: 0; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg); position: relative;
  outline: 1px solid rgba(255, 255, 255, .12); outline-offset: 10px;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 26, 51, 0) 55%, rgba(6, 26, 51, .55)); }

.chart-card {
  position: absolute; left: -70px; bottom: -40px; width: 250px;
  background: rgba(255, 255, 255, .96); color: var(--ink);
  border-radius: 20px; padding: 18px 18px 16px; box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.chart { width: 100%; height: auto; display: block; }
.chart .b { transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); animation: grow 1s var(--d) var(--ease) forwards; animation-delay: calc(var(--d) + .7s); }
.b--blue { fill: var(--blue); }
.b--green { fill: var(--green); }
@keyframes grow { to { transform: scaleY(1); } }
.chart__arrow, .chart__head { fill: none; stroke: var(--green); stroke-width: 9; stroke-linecap: square; stroke-linejoin: miter; }
.chart__arrow { stroke-dasharray: 300; stroke-dashoffset: 300; animation: draw 1.2s 1.4s var(--ease) forwards; }
.chart__head { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .4s 2.5s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.chart-card__label { display: flex; align-items: center; gap: 12px; margin-top: 10px; font-size: .78rem; line-height: 1.3; color: var(--muted); }
.chart-card__num { font-size: 1.9rem; font-weight: 700; color: var(--blue-600); letter-spacing: -.02em; }

.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(6, 26, 51, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .18); color: #fff;
  padding: 9px 16px; border-radius: 999px; font-size: .82rem; font-weight: 500;
}
.chip .ic { color: var(--green); }
.chip--city { right: -18px; top: 28px; animation: float 7s -2s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* =========================================================
   STATS
   ========================================================= */
.stats { position: relative; z-index: 2; margin-top: -70px; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.stat { padding: 30px 28px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 26px; bottom: 26px; width: 1px; background: var(--line); }
.stat__num { display: block; font-size: 2.6rem; font-weight: 700; color: var(--blue-600); letter-spacing: -.03em; line-height: 1; margin-bottom: 10px; }
.stat:nth-child(even) .stat__num { color: var(--green-600); }
.stat__txt { font-size: .88rem; color: var(--muted); line-height: 1.45; display: block; }

/* =========================================================
   SECCIONES
   ========================================================= */
.section { padding: 120px 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 780px; margin-bottom: 56px; }
.section__title { font-size: clamp(1.9rem, 3.4vw, 2.75rem); letter-spacing: -.02em; margin-bottom: 18px; }
.section__lead { font-size: 1.05rem; color: var(--muted); font-weight: 300; max-width: 700px; }
.section__head--light .section__lead { color: rgba(255, 255, 255, .72); }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 14px; margin-bottom: 34px; flex-wrap: wrap; }
.tab {
  display: flex; align-items: center; gap: 16px; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 16px 24px 16px 18px; min-width: 290px;
  transition: border-color .3s, box-shadow .3s, background-color .3s, color .3s;
}
.tab:hover { border-color: var(--blue); }
.tab__n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--bg-soft); color: var(--blue-600); font-weight: 700; transition: background-color .3s, color .3s; }
.tab__t { display: flex; flex-direction: column; line-height: 1.3; }
.tab__t b { font-size: 1.02rem; font-weight: 600; }
.tab__t small { color: var(--muted); font-size: .82rem; transition: color .3s; }
.tab.is-active { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: var(--shadow); }
.tab.is-active .tab__n { background: var(--green); color: #fff; }
.tab.is-active small { color: rgba(255, 255, 255, .65); }

.panel { animation: panelIn .5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 22px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 30px; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--green)); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card__icon {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), #2a6fd0); color: #fff; margin-bottom: 22px;
  box-shadow: 0 10px 20px -10px rgba(61, 141, 238, .8);
}
.card__icon .ic { width: 26px; height: 26px; }
.card__title { font-size: 1.22rem; margin-bottom: 10px; }
.card__txt { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.card--compact { padding: 28px 26px; }
.card--compact .card__txt { margin-bottom: 0; }
.card--feature { background: var(--navy); color: #fff; border-color: var(--navy); }
.card--feature .card__icon { background: var(--green); box-shadow: 0 10px 20px -10px rgba(41, 185, 38, .8); }
.card--feature .card__txt { color: rgba(255, 255, 255, .7); }
.card--feature .checks li { color: rgba(255, 255, 255, .88); border-color: rgba(255, 255, 255, .1); }

.checks li {
  position: relative; padding: 10px 0 10px 30px; font-size: .92rem; border-top: 1px solid var(--line);
}
.checks li::before {
  content: ""; position: absolute; left: 0; top: 14px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---------- Ingeniería ---------- */
.ing { display: grid; grid-template-columns: .7fr 1.3fr; gap: 22px; align-items: stretch; }
.ing__photo { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; min-height: 320px; }
.ing__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ing__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 26, 51, 0) 40%, rgba(6, 26, 51, .85)); }
.ing__photo figcaption { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; color: #fff; font-weight: 600; font-size: 1.1rem; line-height: 1.35; }

/* ---------- Transversal ---------- */
.cross {
  margin-top: 26px; border-radius: var(--radius); padding: 34px 34px 30px;
  background: linear-gradient(120deg, var(--blue-50), #1a5fb0 60%, #1d7a3a);
  color: #fff; position: relative; overflow: hidden;
}
.cross::before { content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.cross__label { font-size: .78rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--green-80); margin-bottom: 22px; }
.cross__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; position: relative; }
.cross__item { display: flex; gap: 18px; align-items: flex-start; }
.cross__item h3 { font-size: 1.12rem; margin-bottom: 6px; }
.cross__item p { color: rgba(255, 255, 255, .78); font-size: .94rem; }
.card__icon--light { background: rgba(255, 255, 255, .14); box-shadow: none; margin: 0; flex: none; }

/* =========================================================
   SECTORES
   ========================================================= */
.sectors { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.sectors__head .section__lead { margin-bottom: 34px; }
.sectors__total { display: flex; align-items: center; gap: 18px; }
.sectors__big { font-size: clamp(3.6rem, 7vw, 5.4rem); font-weight: 700; line-height: 1; color: var(--blue); letter-spacing: -.04em; }
.sectors__cap { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); max-width: 170px; line-height: 1.5; font-weight: 500; }

.bars { display: grid; gap: 12px; background: #fff; border-radius: 22px; padding: 30px 32px; box-shadow: var(--shadow); }
.bars li { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; }
.bars__n { grid-row: span 2; font-size: 1.5rem; font-weight: 700; color: var(--blue-600); text-align: right; letter-spacing: -.02em; }
.bars li:first-child .bars__n { color: var(--green-600); }
.bars__l { font-size: .9rem; font-weight: 500; margin-bottom: 4px; }
.bars__track { height: 8px; border-radius: 8px; background: var(--bg-soft); overflow: hidden; }
.bars__fill {
  display: block; height: 100%; border-radius: 8px;
  width: calc(var(--v) / 30 * 100%); min-width: 10px;
  background: linear-gradient(90deg, var(--blue), var(--blue-80));
  transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease);
}
.bars li:first-child .bars__fill { background: linear-gradient(90deg, var(--green), var(--green-80)); }
.bars.is-in .bars__fill { transform: scaleX(1); }
.bars li:nth-child(2) .bars__fill { transition-delay: .08s; }
.bars li:nth-child(3) .bars__fill { transition-delay: .16s; }
.bars li:nth-child(4) .bars__fill { transition-delay: .24s; }
.bars li:nth-child(5) .bars__fill { transition-delay: .32s; }
.bars li:nth-child(6) .bars__fill { transition-delay: .40s; }
.bars li:nth-child(7) .bars__fill { transition-delay: .48s; }
.bars li:nth-child(8) .bars__fill { transition-delay: .56s; }
.bars li:nth-child(9) .bars__fill { transition-delay: .64s; }

/* =========================================================
   MÉTODO
   ========================================================= */
.method, .contact {
  color: #fff; overflow: hidden;
  background: radial-gradient(900px 500px at 85% 0%, #0f3b73 0%, rgba(15, 59, 115, 0) 60%), var(--navy);
}
.method__bg { position: absolute; inset: 0; pointer-events: none; }
.method .container, .contact .container { position: relative; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step {
  position: relative; padding: 34px 30px 32px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  transition: background-color .35s, transform .35s var(--ease), border-color .35s;
}
.step:hover { background: rgba(255, 255, 255, .09); transform: translateY(-6px); border-color: rgba(41, 185, 38, .5); }
.step__n { display: block; font-size: 3rem; font-weight: 700; line-height: 1; margin-bottom: 18px; background: linear-gradient(135deg, var(--blue), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 1.4rem; margin-bottom: 10px; }
.step p { color: rgba(255, 255, 255, .72); font-size: .96rem; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 56px; right: -18px; width: 14px; height: 14px; z-index: 1;
  border-top: 3px solid var(--green); border-right: 3px solid var(--green); transform: rotate(45deg);
}
.quote { margin: 64px 0 0; text-align: center; }
.quote p { font-size: clamp(1.4rem, 2.8vw, 2.1rem); font-weight: 300; line-height: 1.35; max-width: 820px; margin-inline: auto; }
.quote p::before { content: "“"; display: block; font-size: 4rem; line-height: .6; color: var(--green); font-weight: 700; margin-bottom: 14px; }

/* =========================================================
   EQUIPO
   ========================================================= */
.group { margin: 10px 0 26px; }
.group:not(:first-of-type) { margin-top: 70px; }
.group__title { display: flex; align-items: center; gap: 14px; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .14em; flex-wrap: wrap; }
.group__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--blue); color: #fff; letter-spacing: 0; font-size: .95rem; }
.group__title small { margin-left: auto; font-size: .82rem; text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 400; }
.group__title::after { content: ""; order: 2; flex: 1; height: 1px; background: var(--line); min-width: 40px; }
.group__title small { order: 3; margin-left: 0; }

.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.person {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.person:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.person__photo { position: relative; aspect-ratio: 4 / 4.2; overflow: hidden; background: linear-gradient(180deg, #f1f5fb, #d6e2f2); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; transform-origin: 50% 30%; transition: transform .7s var(--ease); }
.person:hover .person__photo img { transform: scale(1.05); }
.person__photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--blue) 0 55%, var(--green) 55%); }
.person__body { padding: 20px 20px 22px; flex: 1; }
.person__role { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green-600); margin-bottom: 6px; }
.person__name { font-size: 1.08rem; margin-bottom: 6px; }
.person__deg { font-size: .84rem; color: var(--blue-600); font-weight: 500; line-height: 1.45; margin-bottom: 10px; }
.person__list li { position: relative; font-size: .84rem; color: var(--muted); padding-left: 16px; line-height: 1.5; margin-top: 4px; }
.person__list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 2px; background: var(--green); }

.person--lead { grid-column: span 2; flex-direction: row; background: var(--navy); color: #fff; border-color: var(--navy); }
.person--lead .person__photo { flex: 0 0 46%; aspect-ratio: auto; }
.person--lead .person__body { padding: 30px 28px; display: flex; flex-direction: column; justify-content: center; }
.person--lead .person__name { font-size: 1.6rem; }
.person--lead .person__role { color: var(--green-80); }
.person--lead .person__deg { color: var(--blue-80); font-size: .95rem; }
.person--lead .person__list li { color: rgba(255, 255, 255, .8); font-size: .92rem; margin-top: 8px; }

.people--ing { grid-template-columns: repeat(4, 1fr); }
.model {
  grid-column: span 2; border-radius: var(--radius); padding: 34px 32px;
  background: linear-gradient(135deg, var(--green), #1c8f1a); color: #fff;
  display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden;
}
.model::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px; border: 28px solid rgba(255, 255, 255, .12); border-radius: 50%; }
.model__label { font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; opacity: .85; margin-bottom: 14px; }
.model__txt { font-size: 1.25rem; font-weight: 500; line-height: 1.45; position: relative; z-index: 1; }

.assoc { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.assoc__item { display: flex; gap: 20px; align-items: flex-start; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-soft); transition: border-color .3s, background-color .3s; }
.assoc__item:hover { border-color: var(--blue); background: #fff; }
.assoc__icon { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 14px; background: #fff; color: var(--blue-600); box-shadow: var(--shadow); }
.assoc__icon .ic { width: 24px; height: 24px; }
.assoc__item h4 { font-size: 1.1rem; margin-bottom: 4px; }
.assoc__item p:last-child { color: var(--muted); font-size: .94rem; }

/* =========================================================
   CONTACTO
   ========================================================= */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.contact .section__title { font-size: clamp(1.6rem, 2.8vw, 2.25rem); line-height: 1.25; margin-bottom: 34px; }
.contact__list { display: grid; gap: 16px; }
.contact__list li { display: flex; align-items: center; gap: 14px; font-size: 1rem; color: rgba(255, 255, 255, .85); }
.contact__list .ic { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: var(--green); }
.contact__list a { border-bottom: 1px solid rgba(255, 255, 255, .3); transition: border-color .25s, color .25s; }
.contact__list a:hover { color: #fff; border-color: var(--green); }

.form { background: #fff; color: var(--ink); border-radius: 24px; padding: 34px; box-shadow: var(--shadow-lg); display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .82rem; font-weight: 500; color: var(--muted); }
.form input, .form select, .form textarea {
  font: inherit; font-size: .95rem; color: var(--ink); width: 100%;
  border: 1px solid var(--line); background: var(--bg-soft); border-radius: 12px; padding: 12px 14px;
  transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(61, 141, 238, .15); }
.form .is-invalid { border-color: #e0475b; box-shadow: 0 0 0 4px rgba(224, 71, 91, .12); }
.form__note { font-size: .8rem; color: var(--muted); text-align: center; }
.form__note.is-error { color: #c4283c; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: #04122a; color: rgba(255, 255, 255, .7); padding: 54px 0 40px; }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px 40px; }
.footer__inner img { width: 64px; height: auto; }
.footer__tag { font-size: .95rem; }
.footer__tag b { color: var(--green-80); font-weight: 600; }
.footer__links { display: flex; gap: 24px; font-size: .9rem; }
.footer__links a:hover { color: #fff; }
.footer__copy { grid-column: 1 / -1; font-size: .8rem; color: rgba(255, 255, 255, .45); border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 22px; }

/* =========================================================
   ANIMACIONES DE ENTRADA
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* El hero entra al cargar, sin esperar el scroll */
.js .hero .reveal { transition: none; animation: rise .9s var(--ease) forwards; }
.js .hero__copy .reveal:nth-child(2) { animation-delay: .1s; }
.js .hero__copy .reveal:nth-child(3) { animation-delay: .2s; }
.js .hero__copy .reveal:nth-child(4) { animation-delay: .3s; }
.js .hero__copy .reveal:nth-child(5) { animation-delay: .4s; }
.js .hero__visual.reveal { animation-delay: .25s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .people { grid-template-columns: repeat(3, 1fr); }
  .person--lead { grid-column: span 3; }
  .people--ing { grid-template-columns: repeat(2, 1fr); }
  .model { grid-column: span 2; }
}

@media (max-width: 960px) {
  .nav__links {
    position: fixed; inset: 0 0 auto 0; top: 0; padding: 96px 24px 32px;
    flex-direction: column; gap: 6px; background: #fff; box-shadow: var(--shadow-lg);
    transform: translateY(-105%); transition: transform .45s var(--ease); z-index: -1;
  }
  .nav__links a:not(.btn) { color: var(--ink) !important; font-size: 1.1rem; padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__mobile-cta { display: inline-flex; margin-top: 18px; }
  .nav.is-open .nav__links { transform: none; }
  .nav.is-open .burger span { background: var(--ink); }
  .nav.is-open .nav__logo--white { opacity: 0; }
  .nav.is-open .nav__logo--color { opacity: 1; }
  .nav.is-open .lang { border-color: var(--line); color: #9aa7b8; }
  .nav.is-open .lang [data-l].is-on { color: var(--ink); }
  .nav__cta { display: none; }
  .burger { display: block; }
  .nav__actions { margin-left: auto; }

  .hero { padding: 130px 0 130px; }
  .hero__grid { grid-template-columns: 1fr; gap: 70px; }
  .hero__visual { justify-self: center; width: min(360px, 82%); }
  .chart-card { left: -40px; width: 220px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }

  .cards--3 { grid-template-columns: 1fr; }
  .ing { grid-template-columns: 1fr; }
  .ing__photo { min-height: 260px; }
  .cross__grid { grid-template-columns: 1fr; gap: 24px; }
  .sectors { grid-template-columns: 1fr; gap: 44px; }
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { top: auto; bottom: -19px; right: auto; left: 40px; transform: rotate(135deg); }
  .contact__grid { grid-template-columns: 1fr; gap: 44px; }
  .footer__inner { grid-template-columns: 1fr; text-align: left; }
}

@media (max-width: 720px) {
  .section { padding: 84px 0; }
  .people { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .person--lead { grid-column: span 2; flex-direction: column; }
  .person--lead .person__photo { flex: none; aspect-ratio: 4 / 3.4; }
  .person--lead .person__body { padding: 22px 20px 24px; }
  .person__body { padding: 16px 14px 18px; }
  .person__name { font-size: .98rem; }
  .people--ing { grid-template-columns: repeat(2, 1fr); }
  .assoc { grid-template-columns: 1fr; }
  .cards--2 { grid-template-columns: 1fr; }
  .tab { min-width: 0; flex: 1 1 100%; }
  .form__row { grid-template-columns: 1fr; }
  .form { padding: 24px 20px; }
  .group__title small { flex-basis: 100%; }
  .group__title::after { display: none; }
}

@media (max-width: 520px) {
  .container { width: calc(100% - 32px); }
  .hero__btns .btn { flex: 1 1 100%; }
  .hero { padding-bottom: 120px; }
  .hero__grid { gap: 56px; }
  .hero__visual { width: 74%; margin-right: 14px; }
  .chart-card { left: -40px; bottom: -34px; width: 158px; padding: 12px 12px 10px; border-radius: 16px; }
  .chart-card__label { gap: 8px; font-size: .66rem; margin-top: 6px; }
  .chart-card__num { font-size: 1.3rem; }
  .chip--city { right: -24px; top: 18px; font-size: .74rem; padding: 7px 12px; }
  .stat { padding: 22px 18px; }
  .stat__num { font-size: 2.1rem; }
  .bars { padding: 22px 18px; }
  .people { grid-template-columns: 1fr 1fr; }
  .cross { padding: 26px 22px; }
  .model { padding: 28px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   WHATSAPP
   ========================================================= */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  height: 58px; padding: 0 17px; border-radius: 999px;
  background: #25d366; color: #fff; font-weight: 600; font-size: .95rem;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .65), 0 4px 12px rgba(6, 26, 51, .18);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s;
  animation: waIn .6s 1.2s var(--ease) backwards;
}
.wa-float .ic { width: 26px; height: 26px; stroke-width: 1.9; }
.wa-float:hover { background: #1fbd5a; transform: translateY(-3px); box-shadow: 0 18px 34px -10px rgba(37, 211, 102, .75), 0 4px 12px rgba(6, 26, 51, .2); }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25d366;
  animation: waPulse 2.6s 2s ease-out infinite; pointer-events: none;
}
@keyframes waIn { from { opacity: 0; transform: translateY(20px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes waPulse { 0% { opacity: .7; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.35); } }
@media (max-width: 720px) {
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; padding: 0; justify-content: center; }
  .wa-float__txt { display: none; }
}
