/* Nexo Cívico LATAM v2.1
 * Índice: variables de marca; base; navegación; hero; secciones;
 * contacto; footer; WhatsApp; animaciones; responsive; página 404.
 * Fuentes: Manrope (títulos), Inter (texto), con alternativas del sistema.
 */

:root {
  --petroleo: #004976;
  --petroleo-900: #002D46;
  --petroleo-800: #003B5D;
  --turquesa: #00968F;
  --turquesa-700: #007D77;
  --turquesa-100: #DDF4F1;
  --ink: #102A3B;
  --muted: #5D7180;
  --line: #D6E2E6;
  --soft: #F5F8F9;
  --white: #FFFFFF;
  --max: 1180px;
  --radius: 20px;
  --shadow: 0 20px 54px rgba(0, 45, 70, .13);
  --font-display: "Manrope", Inter, ui-sans-serif, system-ui, sans-serif;
  --font-body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
:focus-visible {
  outline: 3px solid var(--turquesa-700);
  outline-offset: 4px;
}
button {
  font: inherit;
}
.container > *, .stack-row > * {
  min-width: 0;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-body);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
button, a {
  -webkit-tap-highlight-color: transparent;
}
::selection {
  background: var(--turquesa);
  color: #fff;
}

.skip-link {
  position:absolute;
  left:16px;
  top:-80px;
  z-index:1000;
  padding:10px 14px;
  background:var(--turquesa);
  color:#fff;
  border-radius:8px;
}
.skip-link:focus {
  top:12px;
}
.container {
  width:min(calc(100% - 48px), var(--max));
  margin:0 auto;
}
.section-pad {
  padding:112px 0;
}

/* Header */
.site-header {
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.98);
  border-top:4px solid var(--turquesa);
  border-bottom:1px solid rgba(0,73,118,.12);
  backdrop-filter:blur(14px);
}
.nav-wrap {
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}
.brand {
  display:flex;
  align-items:center;
}
.brand img {
  width:205px;
  height:56px;
  object-fit:contain;
}
.main-nav {
  display:flex;
  align-items:center;
  gap:24px;
  font-size:13px;
  font-weight:700;
  letter-spacing:.01em;
}
.main-nav a {
  text-decoration:none;
  color:#375363;
  position:relative;
}
.main-nav a:not(.nav-cta)::after {
  content:"";
  position:absolute;
  left:0;
  bottom:-8px;
  width:0;
  height:2px;
  background:var(--turquesa);
  transition:width .2s ease;
}
.main-nav a:not(.nav-cta):hover::after {
  width:100%;
}
.main-nav a:hover {
  color:var(--petroleo);
}
.nav-cta {
  background:var(--petroleo);
  color:#fff!important;
  padding:11px 17px;
  border-radius:8px;
}
.nav-cta:hover {
  background:var(--turquesa);
}
.menu-btn {
  display:none;
  border:0;
  background:transparent;
  padding:9px;
}
.menu-btn span {
  display:block;
  width:25px;
  height:2px;
  background:var(--petroleo);
  margin:5px 0;
}

/* Hero */
.hero {
  background:var(--petroleo-900);
  color:#fff;
  padding:86px 0 90px;
  position:relative;
  overflow:hidden;
}
.hero::before, .hero::after {
  content:"";
  position:absolute;
  border:1px solid rgba(0,150,143,.35);
  border-radius:50%;
  pointer-events:none;
}
.hero::before {
  width:420px;
  height:420px;
  right:-160px;
  top:-190px;
}
.hero::after {
  width:240px;
  height:240px;
  left:-120px;
  bottom:-130px;
}
.hero-grid {
  display:grid;
  grid-template-columns:1.08fr .92fr;
  align-items:center;
  gap:66px;
  position:relative;
  z-index:1;
}
.hero-copy {
  max-width:720px;
}
.eyebrow {
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--turquesa);
  letter-spacing:.16em;
  font-size:11px;
  font-weight:800;
  margin-bottom:20px;
  text-transform:uppercase;
}
.eyebrow::before {
  content:"";
  width:28px;
  height:3px;
  background:var(--turquesa);
}
.eyebrow.light {
  color:#7FE0DB;
}
.eyebrow.light::before {
  background:#7FE0DB;
}
h1,h2,h3 {
  font-family:var(--font-display);
  margin-top:0;
}
p {
  margin-top:0;
}
h1 {
  color:#fff;
  font-size:clamp(44px,5.2vw,72px);
  line-height:1.03;
  letter-spacing:-.045em;
  margin-bottom:26px;
  font-weight:800;
}
h2 {
  color:var(--petroleo-900);
  font-size:clamp(34px,4vw,54px);
  line-height:1.08;
  letter-spacing:-.035em;
  margin-bottom:22px;
  font-weight:800;
}
h3 {
  color:var(--petroleo-900);
  font-size:20px;
  line-height:1.2;
  font-weight:750;
}
.lead {
  font-size:20px;
  color:#D3E0E6;
  max-width:700px;
  margin-bottom:32px;
}
.hero-actions {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.btn {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  min-height:50px;
  padding:0 20px;
  border-radius:8px;
  text-decoration:none;
  font-weight:800;
  border:1px solid transparent;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover {
  transform:translateY(-2px);
}
.btn-primary {
  background:var(--turquesa);
  color:#fff;
  box-shadow:0 12px 30px rgba(0,150,143,.2);
}
.btn-primary:hover {
  background:var(--turquesa-700);
}
.btn-ghost {
  background:transparent;
  color:var(--petroleo);
  border-color:#94ACB8;
}
.hero .btn-ghost {
  color:#fff;
  border-color:rgba(255,255,255,.45);
}
.hero .btn-ghost:hover {
  background:#fff;
  color:var(--petroleo-900);
}
.hero-note {
  margin-top:30px;
  display:flex;
  align-items:center;
  gap:12px;
  font-family:var(--font-display);
  font-weight:700;
  color:#fff;
}
.hero-note span {
  display:block;
  width:38px;
  height:3px;
  background:var(--turquesa);
}
.hero-channel-row {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:26px;
}
.hero-channel-row span {
  padding:7px 10px;
  border:1px solid rgba(255,255,255,.18);
  color:#AFC7D1;
  font-size:10px;
  font-weight:800;
  letter-spacing:.08em;
  border-radius:6px;
}
.hero-visual {
  position:relative;
  border-radius:24px;
  overflow:visible;
  background:var(--petroleo);
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 32px 70px rgba(0,0,0,.24);
}
.hero-visual img {
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  border-radius:23px;
  opacity:.9;
}
.visual-caption {
  position:absolute;
  left:20px;
  bottom:20px;
  right:20px;
  background:#fff;
  border-radius:10px;
  padding:13px 15px;
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  font-size:12px;
  color:var(--petroleo);
  box-shadow:0 10px 25px rgba(0,0,0,.15);
}
.dot {
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--turquesa);
  flex:0 0 auto;
}
.hero-badge {
  position:absolute;
  background:var(--turquesa);
  color:#fff;
  border-radius:10px;
  padding:10px 12px;
  min-width:132px;
  box-shadow:0 10px 24px rgba(0,0,0,.18);
  display:flex;
  align-items:center;
  gap:10px;
}
.hero-badge strong {
  font-family:var(--font-display);
  font-size:18px;
}
.hero-badge span {
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.hero-badge-a {
  top:22px;
  left:-22px;
}
.hero-badge-b {
  right:-18px;
  top:120px;
  background:#fff;
  color:var(--petroleo-900);
}

/* Signal */
.signal-strip {
  background:#fff;
  border-bottom:1px solid var(--line);
}
.signal-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
}
.signal-grid div {
  padding:26px 24px;
  border-right:1px solid var(--line);
}
.signal-grid div:first-child {
  border-left:1px solid var(--line);
}
.signal-grid strong {
  display:block;
  color:var(--petroleo);
  font-family:var(--font-display);
  font-size:15px;
  margin-bottom:4px;
}
.signal-grid span {
  display:block;
  color:var(--muted);
  font-size:12px;
}

/* Shared */
.section-heading {
  max-width:790px;
}
.section-heading.centered {
  margin:0 auto 56px;
  text-align:center;
}
.section-heading.centered .eyebrow {
  justify-content:center;
}
.section-heading p {
  color:var(--muted);
  font-size:18px;
}
.two-col {
  display:grid;
  grid-template-columns:.88fr 1.12fr;
  gap:84px;
  align-items:start;
}
.prose {
  font-size:18px;
  color:#496370;
}
.prose strong {
  color:var(--petroleo-900);
}
blockquote {
  margin:34px 0 0;
  padding:26px 28px;
  border-left:5px solid var(--turquesa);
  background:var(--turquesa-100);
  color:var(--petroleo-900);
  font-family:var(--font-display);
  font-size:25px;
  line-height:1.3;
  font-weight:750;
}

/* Solution */
.solution {
  background:var(--soft);
}
.journey-card {
  background:#fff;
  border:1px solid var(--line);
  border-top:5px solid var(--turquesa);
  border-radius:var(--radius);
  padding:34px;
  box-shadow:0 16px 40px rgba(0,45,70,.07);
}
.journey-tabs {
  display:inline-flex;
  padding:4px;
  border-radius:8px;
  background:#E7EEF1;
  margin-bottom:26px;
}
.journey-tab {
  border:0;
  background:transparent;
  color:#55707E;
  border-radius:6px;
  padding:9px 18px;
  font-weight:800;
  cursor:pointer;
  font-family:var(--font-body);
}
.journey-tab.active {
  background:var(--petroleo);
  color:#fff;
}
.journey-intent {
  font-family:var(--font-display);
  font-size:clamp(28px,3vw,40px);
  color:var(--petroleo-900);
  font-weight:800;
  letter-spacing:-.025em;
  margin-bottom:30px;
}
.journey-flow {
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:12px;
}
.journey-step {
  border:1px solid var(--line);
  border-radius:12px;
  padding:18px 16px;
  min-height:124px;
  position:relative;
  background:#FBFDFD;
}
.journey-step::after {
  content:"";
  position:absolute;
  left:16px;
  right:16px;
  bottom:0;
  height:3px;
  background:var(--turquesa);
}
.journey-step .num {
  display:inline-flex;
  width:28px;
  height:28px;
  align-items:center;
  justify-content:center;
  border-radius:6px;
  background:var(--petroleo);
  color:#fff;
  font-weight:850;
  font-size:11px;
  margin-bottom:16px;
}
.journey-step strong {
  display:block;
  color:var(--petroleo);
  font-size:13px;
  line-height:1.35;
}
.principles-grid {
  margin-top:24px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.principle {
  padding:26px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  position:relative;
  overflow:hidden;
}
.principle::before {
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:5px;
  height:100%;
  background:var(--turquesa);
}
.principle span {
  display:block;
  color:var(--turquesa);
  font-size:12px;
  font-weight:850;
  margin-bottom:28px;
}
.principle p {
  color:var(--muted);
  margin-bottom:0;
  font-size:14px;
}

/* Architecture */
.architecture {
  background:#fff;
}
.stack {
  margin-top:48px;
  border:1px solid var(--line);
  padding:22px;
  border-radius:18px;
  background:var(--soft);
}
.stack-row {
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:10px;
}
.stack-row div {
  border-radius:9px;
  padding:17px 10px;
  text-align:center;
  font-weight:800;
  font-size:13px;
}
.channels div {
  background:#fff;
  color:var(--petroleo);
  border:1px solid var(--line);
}
.infra div {
  background:#DCE7EC;
  color:var(--petroleo-900);
}
.stack-core {
  margin:12px 0;
  background:var(--petroleo-900);
  color:#fff;
  border-radius:12px;
  padding:28px;
  border-left:8px solid var(--turquesa);
}
.stack-label {
  font-size:12px;
  letter-spacing:.15em;
  font-weight:850;
  margin-bottom:17px;
  color:#7FE0DB;
}
.stack-items {
  display:flex;
  flex-wrap:wrap;
  gap:9px;
}
.stack-items span {
  border:1px solid rgba(255,255,255,.25);
  border-radius:6px;
  padding:8px 12px;
  font-weight:750;
  font-size:12px;
}

/* Proactive */
.proactive {
  background:var(--petroleo-900);
  color:#fff;
}
.proactive h2 {
  color:#fff;
}
.proactive .section-heading p {
  color:#C7D7DE;
}
.split-card {
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:72px;
  align-items:center;
}
.alert-card {
  background:#fff;
  border-radius:16px;
  padding:32px;
  box-shadow:0 22px 55px rgba(0,0,0,.22);
  border-top:6px solid var(--turquesa);
}
.alert-kicker {
  color:var(--turquesa);
  font-size:10px;
  letter-spacing:.14em;
  font-weight:850;
  margin-bottom:27px;
}
.alert-card p {
  font-family:var(--font-display);
  font-size:22px;
  color:var(--petroleo-900);
}
.alert-card .muted {
  font-family:var(--font-body);
  font-size:14px;
  color:var(--muted);
}
.alert-card button {
  border:0;
  border-radius:8px;
  background:var(--turquesa);
  color:#fff;
  padding:12px 17px;
  font-weight:800;
}

/* Physical */
.physical-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:68px;
  align-items:center;
}
.physical-image {
  border-radius:18px;
  overflow:hidden;
  box-shadow:var(--shadow);
  border:1px solid var(--line);
  position:relative;
}
.physical-image::after {
  content:"ÚLTIMA MILLA";
  position:absolute;
  top:18px;
  left:18px;
  background:var(--petroleo);
  color:#fff;
  padding:7px 10px;
  border-radius:6px;
  font-size:10px;
  letter-spacing:.1em;
  font-weight:800;
}
.physical-image img {
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
}
.feature-chips {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:24px;
}
.feature-chips span {
  background:var(--turquesa-100);
  color:var(--turquesa-700);
  border-radius:6px;
  padding:8px 11px;
  font-size:12px;
  font-weight:800;
}
.micro {
  font-size:12px!important;
  margin-top:14px;
  color:#728692!important;
}

/* What not */
.what-not {
  background:var(--soft);
}
.no-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.no-grid article {
  background:#fff;
  border-radius:14px;
  padding:29px;
  border:1px solid var(--line);
}
.no-mark {
  width:38px;
  height:38px;
  border-radius:8px;
  background:var(--petroleo);
  color:#fff;
  display:grid;
  place-items:center;
  font-size:27px;
  margin-bottom:24px;
}
.no-grid p {
  color:var(--muted);
  margin-bottom:0;
}

/* Costa Rica */
.costa-rica {
  background:#fff;
}
.cr-grid {
  display:grid;
  grid-template-columns:.74fr 1.26fr;
  gap:78px;
  align-items:center;
}
.cr-flag {
  min-height:360px;
  border-radius:18px;
  position:relative;
  overflow:hidden;
  background:var(--petroleo-900);
  display:grid;
  place-items:center;
  box-shadow:var(--shadow);
}
.cr-line {
  position:absolute;
  left:0;
  right:0;
  height:18%;
  background:#fff;
  opacity:.96;
}
.cr-line:nth-child(1) {
  top:20%;
}
.cr-line:nth-child(2) {
  top:41%;
  height:18%;
  background:var(--turquesa);
  opacity:1;
}
.cr-line:nth-child(3) {
  top:62%;
}
.cr-word {
  position:relative;
  z-index:2;
  width:130px;
  height:130px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:#fff;
  color:var(--petroleo);
  font-family:var(--font-display);
  font-size:48px;
  font-weight:900;
  letter-spacing:-.05em;
  box-shadow:0 12px 30px rgba(0,0,0,.18);
}

/* Benchmark */
.benchmark {
  background:var(--petroleo-800);
  color:#fff;
}
.benchmark h2 {
  color:#fff;
}
.benchmark .section-heading p {
  color:#C0D1D9;
}
.benchmark-statement {
  margin-top:44px;
  max-width:980px;
  border-left:6px solid var(--turquesa);
  padding:4px 0 4px 28px;
  font-family:var(--font-display);
  font-size:clamp(24px,3vw,38px);
  font-weight:750;
  line-height:1.28;
}

/* Project */
.project {
  background:#fff;
}
.project-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:72px;
  align-items:start;
}
.project-lines {
  border-top:1px solid var(--line);
}
.project-lines div {
  display:grid;
  grid-template-columns:58px 1fr;
  gap:14px;
  padding:22px 0;
  border-bottom:1px solid var(--line);
}
.project-lines strong {
  color:var(--turquesa);
  font-family:var(--font-display);
}
.project-lines span {
  color:var(--petroleo);
  font-weight:800;
}

/* Vision */
.vision {
  background:var(--turquesa);
  color:#fff;
  position:relative;
  overflow:hidden;
}
.vision::after {
  content:"";
  position:absolute;
  width:250px;
  height:250px;
  border:1px solid rgba(255,255,255,.34);
  border-radius:50%;
  right:-110px;
  top:-110px;
}
.vision .container {
  max-width:1020px;
  text-align:center;
  position:relative;
  z-index:1;
}
.vision h2 {
  color:#fff;
  font-size:clamp(38px,5vw,62px);
}
.vision p {
  color:#E4F6F5;
  font-size:18px;
}

/* Contact */
.contact {
  background:var(--soft);
}
.contact-grid {
  display:grid;
  grid-template-columns:1.06fr .94fr;
  gap:70px;
  align-items:center;
}
.contact-card {
  background:#fff;
  border:1px solid var(--line);
  border-top:6px solid var(--turquesa);
  border-radius:16px;
  padding:28px;
  display:grid;
  grid-template-columns:74px 1fr;
  gap:18px;
  box-shadow:0 15px 38px rgba(0,45,70,.08);
}
.contact-card img {
  width:70px;
}
.contact-card strong,.contact-card span {
  display:block;
}
.contact-card strong {
  color:var(--petroleo);
  font-size:18px;
  font-family:var(--font-display);
}
.contact-card span {
  color:var(--muted);
  font-size:13px;
}
.contact-actions {
  grid-column:1/-1;
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  margin-top:9px;
}
.text-link {
  color:var(--petroleo);
  font-weight:800;
  text-decoration:none;
}
.is-hidden {
  display:none!important;
}
.contact-directory {
  grid-column:1/-1;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:6px;
  padding-top:20px;
  border-top:1px solid var(--line);
}
.contact-directory a {
  min-width:0;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:9px;
  text-decoration:none;
  background:var(--soft);
  transition:.18s ease;
}
.contact-directory a:hover {
  border-color:var(--turquesa);
  background:var(--turquesa-100);
}
.contact-directory span {
  display:block;
  font-size:10px!important;
  text-transform:uppercase;
  letter-spacing:.08em;
  margin-bottom:3px;
}
.contact-directory strong {
  display:block;
  font-size:12px!important;
  overflow-wrap:anywhere;
}

/* Footer */
.site-footer {
  border-top:1px solid var(--line);
  padding:42px 0;
  background:var(--petroleo-900);
  color:#fff;
}
.footer-grid {
  display:grid;
  grid-template-columns:1fr 1.4fr auto;
  gap:40px;
  align-items:end;
}
.site-footer img {
  width:180px;
  background:#fff;
  padding:8px 10px;
  border-radius:8px;
}
.site-footer p {
  margin:10px 0 0;
  color:#BFD0D7;
  font-size:12px;
}
.site-footer a {
  color:#fff;
  font-weight:700;
}
.legal {
  max-width:560px;
}
.copyright {
  white-space:nowrap;
}

/* WhatsApp */
.wa-float {
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:60;
  display:flex;
  align-items:center;
  gap:9px;
  text-decoration:none;
  color:#fff;
  background:var(--turquesa);
  border-radius:10px;
  padding:10px 13px 10px 10px;
  box-shadow:0 12px 30px rgba(0,45,70,.24);
}
.wa-float span {
  width:31px;
  height:31px;
  display:grid;
  place-items:center;
  background:#fff;
  color:var(--turquesa);
  border-radius:7px;
  font-size:10px;
  font-weight:900;
}
.wa-float strong {
  font-size:12px;
}

.reveal {
  opacity:1;
}
.reveal.reveal-pending {
  opacity:0;
  transform:translateY(14px);
  transition:opacity .55s ease, transform .55s ease;
}
.reveal.reveal-pending.visible {
  opacity:1;
  transform:none;
}

@media (max-width: 980px) {
  .section-pad {
  padding:86px 0;
}
  .menu-btn.is-ready {
  display:block;
}
  .main-nav {
  flex-wrap:wrap;
  gap:12px;
}
  .nav-wrap {
  flex-wrap:wrap;
}
  .main-nav.is-ready {
  position:absolute;
  max-height:calc(100dvh - 90px);
  overflow-y:auto;
  top:78px;
  left:0;
  right:0;
  display:none;
  flex-direction:column;
  align-items:stretch;
  padding:18px 24px 24px;
  background:#fff;
  border-bottom:1px solid var(--line);
  box-shadow:0 16px 32px rgba(0,45,70,.1);
}
  .main-nav.is-ready.open {
  display:flex;
}
  .main-nav a {
  padding:8px 0;
}
  .nav-cta {
  text-align:center;
  padding:11px 16px!important;
}
  .hero {
  padding:64px 0 72px;
}
  .hero-grid,.two-col,.split-card,.physical-grid,.cr-grid,.project-grid,.contact-grid {
  grid-template-columns:1fr;
  gap:48px;
}
  .hero-copy {
  max-width:none;
}
  .hero-visual {
  max-width:720px;
}
  .signal-grid {
  grid-template-columns:repeat(2,1fr);
}
  .signal-grid div {
  border-bottom:1px solid var(--line);
}
  .journey-flow {
  grid-template-columns:repeat(2,1fr);
}
  .principles-grid {
  grid-template-columns:repeat(2,1fr);
}
  .stack-row {
  grid-template-columns:repeat(3,1fr);
}
  .no-grid {
  grid-template-columns:1fr;
}
  .cr-flag {
  min-height:280px;
}
  .footer-grid {
  grid-template-columns:1fr;
  gap:20px;
}
}

@media (max-width: 620px) {
  .container {
  width:min(calc(100% - 30px), var(--max));
}
  .section-pad {
  padding:70px 0;
}
  .site-header {
  border-top-width:3px;
}
  .nav-wrap {
  min-height:68px;
}
  .brand img {
  width:164px;
  height:48px;
}
  .main-nav {
  top:68px;
}
  .hero {
  padding:54px 0 58px;
}
  h1 {
  font-size:39px;
  line-height:1.06;
  letter-spacing:-.04em;
}
  h2 {
  font-size:33px;
  line-height:1.12;
}
  .lead {
  font-size:17px;
  line-height:1.65;
}
  .hero-actions {
  display:grid;
  grid-template-columns:1fr 1fr;
}
  .hero-actions .btn {
  min-height:48px;
  padding:0 12px;
  font-size:13px;
}
  .hero-note {
  font-size:13px;
}
  .hero-channel-row {
  gap:6px;
}
  .hero-channel-row span {
  font-size:9px;
}
  .hero-visual {
  border-radius:16px;
}
  .hero-visual img {
  border-radius:15px;
  aspect-ratio:4/3;
}
  .visual-caption {
  left:12px;
  right:12px;
  bottom:12px;
  font-size:10px;
}
  .hero-badge {
  display:none;
}
  .signal-grid {
  grid-template-columns:1fr 1fr;
}
  .signal-grid div {
  padding:18px 14px;
}
  .signal-grid strong {
  font-size:13px;
}
  .signal-grid span {
  font-size:10px;
}
  .eyebrow {
  margin-bottom:16px;
  font-size:10px;
}
  .section-heading p,.prose {
  font-size:16px;
}
  blockquote {
  font-size:21px;
  padding:22px 20px;
}
  .section-heading.centered {
  text-align:left;
  margin-bottom:38px;
}
  .section-heading.centered .eyebrow {
  justify-content:flex-start;
}
  .journey-card {
  padding:20px;
  border-radius:14px;
}
  .journey-tabs {
  width:100%;
}
  .journey-tab {
  flex:1;
}
  .journey-flow,.principles-grid {
  grid-template-columns:1fr;
}
  .journey-step {
  min-height:auto;
}
  .stack {
  padding:14px;
}
  .stack-row {
  grid-template-columns:1fr 1fr;
}
  .stack-row div {
  font-size:11px;
  padding:14px 8px;
}
  .stack-core {
  padding:20px;
}
  .stack-items span {
  font-size:10px;
}
  .physical-image {
  border-radius:14px;
}
  .contact-card {
  grid-template-columns:54px 1fr;
  padding:22px;
}
  .contact-card img {
  width:52px;
}
  .contact-directory {
  grid-template-columns:1fr;
}
  .wa-float strong {
  display:none;
}
  .wa-float {
  padding:9px;
  border-radius:9px;
}
}

@media (prefers-reduced-motion: reduce) {
  html {
  scroll-behavior:auto;
}
  .reveal.reveal-pending {
  opacity:1;
  transform:none;
  transition:none;
}
  .btn {
  transition:none;
}
}

/* Página de error: estilos compartidos sin CSS incrustado. */
.error-page {
  display:grid;
  place-items:center;
  min-height:100vh;
  background:var(--soft);
}
.error-content {
  text-align:center;
  padding:32px;
}
.error-content img {
  width:230px;
  max-width:70vw;
  margin:auto;
}
.error-content h1 {
  color:var(--petroleo);
  font-size:48px;
  margin:30px 0 10px;
}
.error-content a {
  margin-top:20px;
}

/* Pantallas estrechas y espacio para el acceso flotante. */
.site-footer {
  padding-bottom:90px;
}
.wa-float {
  bottom:max(18px, env(safe-area-inset-bottom));
}
.hero .eyebrow, .proactive .eyebrow, .benchmark .eyebrow {
  color:#7FE0DB;
}
@media (max-width:380px) {
  .hero-actions, .stack-row {
  grid-template-columns:1fr;
}
  h1 {
  font-size:2.1rem;
  overflow-wrap:anywhere;
}
  .copyright {
  white-space:normal;
}
}

/* Bandera de Costa Rica: proporción 5:3 y franjas 1:1:2:1:1. */
.cr-flag { min-height:0; background:transparent; border-radius:0; }
.cr-flag img { display:block; width:100%; height:auto; }
