/* Tema Jireh — paleta y espaciado tomados de la presentación ejecutiva */
:root {
  --navy: #10253f;
  --navy-deep: #0b3158;
  --blue: #15569a;
  --sky: #4ea3e3;
  --orange: #f36c21;
  --ink: #10253f;
  --muted: #53677a;
  --line: #d6e2ed;
  --surface: #f3f7fb;
  --white: #fff;
  --font: Arial, Helvetica, sans-serif;
  --pad: clamp(20px, 5vw, 64px);
  --bar-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--bar-h); }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.skip { position: absolute; left: -999px; top: 0; background: var(--orange); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* Elementos de marca */
.bar { display: block; width: 44px; height: 4px; background: var(--orange); margin: 0 0 22px; border-radius: 2px; }
.bar--sm { width: 28px; height: 3px; margin: 10px 0 14px; }
.bar--dark { background: var(--navy); }
.eyebrow { display: block; color: var(--orange); font-weight: 700; font-size: .85rem; margin-bottom: 14px; letter-spacing: .03em; }
.lead { color: var(--muted); font-size: 1.05rem; max-width: 62ch; }
.btn { display: inline-block; background: var(--orange); color: #fff; font-weight: 700; padding: 12px 22px; border-radius: 6px; text-decoration: none; margin-top: 8px; }
.btn:hover { filter: brightness(1.08); }
.pill { display: inline-block; background: #fff; color: var(--navy); font-weight: 700; font-size: .85rem; padding: 9px 16px; border-radius: 6px; }

/* Barra superior */
.topbar { position: sticky; top: 0; z-index: 50; height: var(--bar-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--pad); background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.topbar__brand img { height: 34px; width: auto; }
.topbar__nav ul { display: flex; gap: 22px; }
.topbar__nav a { text-decoration: none; font-size: .9rem; font-weight: 700; color: var(--navy); padding: 6px 0; border-bottom: 2px solid transparent; }
.topbar__nav a:hover, .topbar__nav a.is-active { border-bottom-color: var(--orange); }
.topbar__toggle { display: none; background: var(--navy); color: #fff; border: 0; border-radius: 6px; padding: 8px 14px; font: inherit; font-weight: 700; cursor: pointer; }

/* Secciones */
.block { position: relative; }
.block--dark { background: var(--navy); color: #fff; }
.block--dark .lead { color: #bfd0e0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) var(--pad); }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr 1.05fr; min-height: calc(100vh - var(--bar-h)); background: #fff; }
.hero__text { display: flex; flex-direction: column; justify-content: center; padding: var(--pad); border-left: 8px solid var(--orange); }
.hero__logo { margin-bottom: 36px; width: auto; align-self: flex-start; }
.hero__sub { color: var(--muted); font-size: 1.1rem; max-width: 40ch; margin-bottom: 28px; }
.hero__tag { color: var(--blue); font-weight: 700; font-size: .85rem; letter-spacing: .04em; }
.hero__media { position: relative; min-height: 420px; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Stat */
.stat__grid { display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 5vw, 64px); margin-top: 36px; align-items: center; }
.stat__card { background: var(--navy-deep); border-left: 5px solid var(--orange); border-radius: 10px; padding: 30px; }
.stat__num { font-size: clamp(3.4rem, 8vw, 5rem); font-weight: 700; color: var(--orange); line-height: 1; }
.stat__label { font-weight: 700; margin: 10px 0 14px; }
.stat__card p { color: #bfd0e0; font-size: .92rem; }
.stat__card small { font-weight: 700; font-size: .72rem; letter-spacing: .06em; }
.stat__quote blockquote { margin: 0 0 14px; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; line-height: 1.15; }
.stat__quote p { color: #bfd0e0; max-width: 56ch; }

/* Split (texto + foto) */
.split { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 560px; background: #fff; }
.split--left { grid-template-columns: 1fr 1.1fr; }
.split--left .split__media { order: -1; }
.split.block--dark { background: var(--navy); color: #fff; }
.split__text { padding: clamp(40px, 6vw, 80px) var(--pad); align-self: center; }
.split__media { position: relative; min-height: 320px; }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__big { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 700; color: var(--orange); margin: 6px 0 14px; }
.split__stat { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: end; margin: 8px 0 24px; }
.split__stat strong { font-size: 4.6rem; line-height: 1; grid-row: span 2; }
.split__stat span { font-weight: 700; font-size: 1.2rem; }
.split__stat p { color: var(--muted); font-size: .92rem; margin: 6px 0 0; }
.split__footer { font-weight: 700; font-size: .75rem; letter-spacing: .06em; color: var(--blue); margin-top: 24px; }
.group { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.group:first-of-type { border-top: 0; }
.group__icon { flex: none; width: 32px; height: 32px; object-fit: contain; margin-top: 4px; }
.group h3 { margin-bottom: 6px; }
.group p { color: var(--muted); font-size: .92rem; margin: 0; }
.group ul li { position: relative; padding-left: 18px; color: var(--muted); font-size: .95rem; margin: 5px 0; }
.group ul li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.group--hl { background: var(--navy); color: #fff; border-radius: 10px; padding: 18px 20px; margin-top: 12px; border: 0; }
.group--hl p, .group--hl ul li { color: #dce7f1; }
.block--dark .group { border-color: rgba(255,255,255,.15); }
.block--dark .group p, .block--dark .group ul li { color: #dce7f1; }
.block--dark .split__footer { color: var(--sky); }

/* Cards */
.cards__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; margin-top: 36px; }
.card { background: var(--navy-deep); border-top: 4px solid var(--orange); border-radius: 10px; padding: 24px; min-height: 250px; }
.card--2 { border-top-color: var(--sky); }
.card small { color: var(--orange); font-weight: 700; }
.card--2 small { color: var(--sky); }
.card h3 { margin-top: 18px; font-size: 1.25rem; }
.card p { color: #bfd0e0; font-size: .92rem; margin: 0; }

/* Features */
.features__grid { display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 5vw, 64px); margin-top: 36px; align-items: center; }
.features__stat { background: var(--orange); border-radius: 12px; padding: 34px; color: #fff; }
.features__stat strong { display: block; font-size: clamp(3.4rem, 8vw, 4.6rem); line-height: 1; margin-bottom: 14px; }
.features__stat p { margin: 0; font-weight: 700; }
.features__list li { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.18); }
.features__list li:first-child { border-top: 0; }
.features__list p { color: #bfd0e0; font-size: .92rem; margin: 0; }

/* Logos */
.logos__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin-top: 32px; background: #fff; border-radius: 12px; overflow: hidden; }
.logos__grid li { background: #fff; display: grid; place-items: center; padding: 22px; min-height: 104px; box-shadow: inset -1px -1px 0 var(--line); }
.logos__grid img { max-height: 64px; width: auto; max-width: 100%; object-fit: contain; }
.logos__grid span { color: var(--navy); font-weight: 700; }

/* Contacto */
.contact { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 560px; }
.contact__text { padding: clamp(40px, 6vw, 80px) var(--pad); align-self: center; }
.contact dl { margin: 28px 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18); }
.contact dt { color: var(--orange); font-weight: 700; font-size: .8rem; letter-spacing: .06em; margin-bottom: 10px; }
.contact dd { margin: 0 0 8px; color: #dce7f1; }
.contact a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.contact__tag { color: var(--orange); font-weight: 700; font-size: .8rem; letter-spacing: .06em; }
.contact__media { position: relative; min-height: 320px; border-right: 10px solid var(--orange); }
.contact__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.contact__media span { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(243,108,33,.95); color: #fff; font-weight: 700; padding: 12px 20px; font-size: .9rem; }

.footer { background: var(--navy-deep); color: #bfd0e0; font-size: .8rem; padding: 18px var(--pad); }

/* Móvil */
@media (max-width: 860px) {
  .topbar__toggle { display: block; }
  .topbar__nav { position: absolute; top: var(--bar-h); left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); display: none; padding: 8px var(--pad) 16px; }
  .topbar__nav.is-open { display: block; }
  .topbar__nav ul { flex-direction: column; gap: 4px; }
  .topbar__nav a { display: block; padding: 10px 0; }
  .hero, .split, .split--left, .contact { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { order: -1; height: 280px; min-height: 0; }
  .split--left .split__media { order: 0; }
  .split__media { height: 300px; min-height: 0; }
  .stat__grid, .features__grid { grid-template-columns: 1fr; }
  .contact__media { border-right: 0; border-bottom: 10px solid var(--orange); height: 380px; min-height: 0; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
