:root {
  --navy: #071b3a;
  --blue: #0d47a1;
  --electric: #2f80ed;
  --cyan: #2aa6c8;
  --ink: #14213d;
  --muted: #667085;
  --line: #e6edf6;
  --soft: #f6f9fc;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(7, 27, 58, 0.12);
  --card-shadow: 0 14px 34px rgba(7, 27, 58, 0.065);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 104px;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 58%, #ffffff 100%);
  letter-spacing: 0;
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: min(100% - 144px, 1160px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(230, 237, 246, 0.9);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 34px rgba(7, 27, 58, 0.08);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--navy);
  flex-shrink: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, #061a39, #1b7890);
  box-shadow: 0 12px 28px rgba(13, 71, 161, 0.2);
}

.brand-mark.brand-image {
  overflow: hidden;
  background: #071b3a;
}

.brand-mark.brand-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy strong {
  display: block;
  font-size: 18px;
  line-height: 1.05;
  text-transform: uppercase;
}

.brand-copy small {
  display: block;
  margin-top: 4px;
  color: #5f7690;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-panel {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: #40566f;
  font-size: 14px;
  font-weight: 650;
}

.nav-panel a {
  transition: color 160ms ease;
}

.nav-panel a:hover {
  color: var(--blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 18px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: 0 16px 30px rgba(13, 71, 161, 0.18);
}

.btn-secondary {
  color: var(--navy);
  background: #fff;
  border-color: #dfe8f2;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid #dfe8f2;
  border-radius: 14px;
  background: #fff;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  border-radius: 2px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 560px);
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(54px, 7vw, 86px) 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  padding: 9px 14px;
  border: 1px solid #d8e7f7;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: #194b7d;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(7, 27, 58, 0.05);
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #21a67a;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(38px, 4.8vw, 62px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 700px;
  margin: 22px 0 0;
  color: #61718a;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
}

.hero-stats article {
  min-width: 0;
  padding-top: 16px;
  border-top: 1px solid #dce8f4;
}

.hero-stats strong {
  display: block;
  color: var(--navy);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 7px;
  color: #65768c;
  font-size: 13px;
  font-weight: 750;
}

.hero-media {
  position: relative;
  min-height: clamp(430px, 43vw, 610px);
  padding: 18px;
  border: 1px solid rgba(230, 237, 246, 0.92);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  border-radius: 24px;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(7, 27, 58, 0.02), rgba(7, 27, 58, 0.16));
  pointer-events: none;
}

.service-strip {
  position: absolute;
  left: 38px;
  right: 38px;
  bottom: 56px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.service-strip article {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(225, 235, 244, 0.9);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

.service-strip span,
.number,
.service span {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding-inline: 10px;
  border-radius: 13px;
  color: var(--blue);
  background: #eef6ff;
  font-size: 12px;
  font-weight: 850;
}

.service-strip strong {
  display: block;
  margin-top: 9px;
  color: var(--navy);
  font-size: 12px;
  line-height: 1.25;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  padding-block: 8px 58px;
}

.card,
.service,
.case-card {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--card-shadow);
}

.card {
  min-height: 150px;
  padding: 24px;
  border-radius: 22px;
}

.card h2 {
  margin: 18px 0 8px;
  color: var(--navy);
  font-size: 18px;
}

.card p,
.service p,
.section-head > p,
.case-body p,
.cta p,
.footer p {
  color: var(--muted);
  line-height: 1.6;
}

.card p {
  margin: 0;
  font-size: 14px;
}

.trust {
  padding-block: 26px 70px;
}

.trust > p {
  margin: 0 0 28px;
  color: #7a8ba0;
  text-align: center;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.client-carousel {
  overflow: hidden;
  padding-block: 4px;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.logo-grid {
  width: max-content;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 254px;
  gap: 18px;
  animation: client-marquee 52s linear infinite;
}

.client-carousel:hover .logo-grid {
  animation-play-state: paused;
}

@keyframes client-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 9px));
  }
}

.logo-grid span {
  min-height: 86px;
  display: flex;
  align-items: center;
  border: 1px solid #edf2f8;
  border-radius: 16px;
  color: #708197;
  background: #fff;
  font-weight: 850;
  box-shadow: 0 8px 20px rgba(7, 27, 58, 0.035);
  padding: 14px 16px;
}

.logo-grid .client-mark {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 13px;
  row-gap: 3px;
  text-align: left;
}

.client-mark i {
  width: 44px;
  height: 44px;
  grid-row: 1 / 3;
  align-self: center;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border: 1px solid #dce9f7;
  border-radius: 13px;
  color: var(--blue);
  background: linear-gradient(135deg, #ffffff, #eef6ff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0;
}

.client-mark strong,
.client-mark small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.client-mark strong {
  align-self: end;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.15;
  letter-spacing: 0;
}

.client-mark small {
  align-self: start;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.2;
}

.section {
  padding-block: 76px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

.section-head h2,
.cta h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: 0;
}

.section-head > p {
  margin: 0;
  font-size: 17px;
}

.presence {
  padding-block: 34px 76px;
}

.presence-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  gap: 48px;
  align-items: center;
  padding: clamp(28px, 4vw, 50px);
  border: 1px solid #dce9f7;
  border-radius: 34px;
  background: linear-gradient(135deg, #ffffff, #f3f9ff);
  box-shadow: 0 18px 48px rgba(7, 27, 58, 0.07);
}

.presence-copy h2 {
  max-width: 620px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.1;
}

.presence-copy > p {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.presence-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.presence-list article {
  display: grid;
  grid-template-columns: 58px 1fr;
  column-gap: 14px;
  row-gap: 4px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
}

.presence-list span {
  grid-row: span 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--blue);
  background: #eef6ff;
  font-size: 12px;
  font-weight: 850;
}

.presence-list strong {
  color: var(--navy);
  font-size: 17px;
}

.presence-list small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.peru-map-card {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 30% 18%, rgba(47, 128, 237, 0.12), transparent 28%),
    linear-gradient(180deg, #f9fcff, #eef6ff);
  overflow: hidden;
}

.peru-map-card::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(13, 71, 161, 0.08);
  border-radius: 24px;
}

.map-image-wrap {
  position: relative;
  z-index: 1;
  width: min(88%, 420px);
  margin-bottom: 112px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 24px 54px rgba(7, 27, 58, 0.12);
}

.peru-map-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: inherit;
}

.map-pin {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 850;
  white-space: nowrap;
}

.map-pin i {
  width: 20px;
  height: 20px;
  display: block;
  border: 5px solid #ffffff;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 8px 14px rgba(13, 71, 161, 0.3);
  animation: pin-pulse 2.4s ease-in-out infinite;
}

.pin-tumbes {
  left: 33%;
  top: 14%;
}

.pin-lima {
  left: 28%;
  top: 52%;
}

.pin-lima i {
  background: var(--cyan);
}

.pin-cusco {
  left: 61%;
  top: 61%;
}

@keyframes pin-pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }
}

.map-note {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  padding: 16px;
  border: 1px solid rgba(220, 233, 247, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
}

.map-note strong,
.map-note span {
  display: block;
}

.map-note strong {
  color: var(--navy);
  font-size: 15px;
}

.map-note span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service {
  min-height: 220px;
  padding: 24px;
  border-radius: 20px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service:hover {
  transform: translateY(-4px);
  border-color: #cfe2f5;
  box-shadow: 0 20px 42px rgba(7, 27, 58, 0.1);
}

.service:nth-child(3n + 2) span {
  color: #14748c;
  background: #edf9fb;
}

.service:nth-child(3n) span {
  color: #40566f;
  background: #f2f6fb;
}

.service h3 {
  margin: 22px 0 10px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.25;
}

.service p {
  margin: 0 0 18px;
  font-size: 14px;
}

.service a,
.learn-more {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 14px;
  font-weight: 850;
  font-family: inherit;
  cursor: pointer;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  margin-block: 10px 72px;
  overflow: hidden;
  border: 1px solid #dfeaf5;
  border-radius: 24px;
  background: #dfeaf5;
}

.metrics article {
  min-height: 116px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 20px;
  background: #fff;
  text-align: center;
}

.metrics strong {
  color: var(--navy);
  font-size: clamp(25px, 2.4vw, 32px);
  line-height: 1;
}

.metrics span {
  margin-top: 10px;
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}

.cases {
  background: #f7fbff;
}

.cases .shell {
  width: min(100% - 156px, 1120px);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.case-card {
  overflow: hidden;
  border-radius: 26px;
}

.case-photo {
  min-height: 170px;
  margin: 18px 18px 0;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
}

.case-one {
  background-image: linear-gradient(180deg, rgba(7, 27, 58, 0.04), rgba(7, 27, 58, 0.18)),
    url("assets/caso-infraestructura-v2.svg");
}

.case-two {
  background-image: linear-gradient(135deg, rgba(13, 71, 161, 0.52), rgba(42, 166, 200, 0.28)),
    url("assets/caso-voz-ip-v2.svg");
}

.case-three {
  background-image: linear-gradient(135deg, rgba(7, 27, 58, 0.38), rgba(255, 255, 255, 0.08)),
    url("assets/caso-soporte-ti-v2.svg");
}

.case-four {
  background-image: linear-gradient(135deg, rgba(7, 27, 58, 0.26), rgba(255, 255, 255, 0.08)),
    url("assets/caso-videovigilancia-v2.svg");
}

.case-body {
  padding: 26px;
}

.case-body > span {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--blue);
  background: #edf5ff;
  font-size: 12px;
  font-weight: 850;
}

.case-body h3 {
  margin: 18px 0 14px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.2;
}

.case-body p {
  margin: 0 0 12px;
  font-size: 14px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.chips em {
  padding: 8px 10px;
  border-radius: 999px;
  color: #465b72;
  background: #f2f6fb;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-block: 84px;
  padding: clamp(32px, 4vw, 56px);
  border: 1px solid #dce9f7;
  border-radius: 34px;
  background: linear-gradient(135deg, #f8fbff, #eef6ff);
  box-shadow: 0 18px 48px rgba(7, 27, 58, 0.08);
}

.cta p {
  margin: 12px 0 0;
  font-size: 18px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer {
  padding-block: 54px 60px;
  color: #d9e6f5;
  background: var(--navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(140px, 1fr));
  gap: 42px;
}

.footer .brand {
  color: #fff;
}

.footer p {
  max-width: 420px;
  margin: 18px 0 0;
  color: #aebed2;
  font-size: 14px;
}

.footer .contact-line {
  margin-top: 8px;
  color: #fff;
  font-weight: 750;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(217, 230, 245, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  transition: transform 160ms ease, background 160ms ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
}

.social-links svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.footer .social-links a {
  display: grid;
  margin: 0;
  color: #fff;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 24px;
}

.modal.is-open {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 27, 58, 0.48);
  backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  width: min(100%, 560px);
  padding: 34px;
  border: 1px solid #dce9f7;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(7, 27, 58, 0.24);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid #dfe8f2;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.modal-card h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 30px;
  line-height: 1.12;
}

.modal-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.modal-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.modal-card li {
  position: relative;
  padding-left: 20px;
  color: #40566f;
  font-size: 14px;
  line-height: 1.5;
}

.modal-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.footer h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 14px;
}

.footer a:not(.brand) {
  display: block;
  margin: 0 0 11px;
  color: #aebed2;
  font-size: 14px;
}

.footer .social-links a {
  display: grid;
  margin: 0;
  color: #fff;
}

.reveal,
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  transition: opacity 500ms ease, transform 500ms ease;
}

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

  .reveal,
  .btn,
  .service,
  .site-header,
  .logo-grid,
  .map-pin i {
    transition: none;
    animation: none;
  }
}

@media (max-width: 1180px) {
  .nav-panel {
    gap: 16px;
  }

  .nav-actions .btn-secondary {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 880px;
  }

  .hero-media {
    min-height: 560px;
  }

  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .value-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .presence-layout {
    grid-template-columns: 1fr;
  }

  .peru-map-card {
    min-height: 460px;
  }
}

@media (max-width: 900px) {
  .nav {
    min-height: 74px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav-panel,
  .nav-actions {
    position: fixed;
    left: 16px;
    right: 16px;
    display: none;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

  .nav-panel {
    top: 84px;
    z-index: 40;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border-radius: 22px 22px 0 0;
  }

  .nav-panel a {
    padding: 15px 12px;
    border-radius: 12px;
  }

  .nav-panel a:hover {
    background: #f4f8fc;
  }

  .nav-actions {
    top: 418px;
    z-index: 41;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
    border-top: 0;
    border-radius: 0 0 22px 22px;
  }

  body.menu-open .nav-panel,
  body.menu-open .nav-actions {
    display: grid;
  }

  body.menu-open {
    overflow: hidden;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-strip {
    left: 28px;
    right: 28px;
    bottom: 42px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-grid,
  .services-grid,
  .case-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .presence-layout {
    padding: 28px;
  }

  .metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 24px, 1160px);
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .brand-copy small {
    font-size: 9px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 17px;
  }

  .eyebrow {
    align-items: flex-start;
    border-radius: 18px;
    line-height: 1.35;
  }

  .hero-actions,
  .cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-media {
    min-height: 430px;
    padding: 12px;
    border-radius: 26px;
  }

  .hero-media img,
  .hero-media::after {
    border-radius: 18px;
  }

  .hero-media::after {
    inset: 12px;
  }

  .service-strip {
    left: 22px;
    right: 22px;
    bottom: 28px;
    gap: 8px;
  }

  .service-strip article {
    padding: 10px;
  }

  .service-strip strong {
    font-size: 11px;
  }

  .hero-stats,
  .value-grid,
  .services-grid,
  .case-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cases .shell {
    width: min(100% - 24px, 1240px);
  }

  .case-photo {
    min-height: 190px;
    margin: 14px 14px 0;
  }

  .logo-grid {
    grid-auto-columns: 190px;
  }

  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section {
    padding-block: 58px;
  }

  .presence {
    padding-block: 20px 58px;
  }

  .presence-layout {
    padding: 22px;
    border-radius: 26px;
  }

  .presence-list article {
    grid-template-columns: 1fr;
  }

  .presence-list span {
    grid-row: auto;
  }

  .peru-map-card {
    min-height: 430px;
    border-radius: 24px;
  }

  .map-pin {
    font-size: 16px;
  }

  .cta {
    margin-block: 58px;
    border-radius: 26px;
  }

  .modal {
    padding: 14px;
  }

  .modal-card {
    padding: 28px 22px;
    border-radius: 24px;
  }

  .modal-actions .btn {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: 34px;
  }

  .service-strip {
    grid-template-columns: 1fr 1fr;
  }

  .metrics {
    grid-template-columns: 1fr;
  }
}
