:root {
  --navy-950: #05112c;
  --navy-900: #0a1f44;
  --navy-800: #102f55;
  --blue-600: #2d7ed8;
  --cyan-500: #00b3d8;
  --sky-300: #a8cfed;
  --sky-200: #bfdaf6;
  --ice-100: #eff4fb;
  --ice-50: #f7fbff;
  --slate-700: #2b3d4f;
  --slate-500: #899aae;
  --line: #d6e2ef;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(5, 17, 44, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--slate-700);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

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

.text-justify {
  text-align: justify;
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(214, 226, 239, 0.88);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  padding: 20px clamp(20px, 5vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
  z-index: 20;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 36px rgba(5, 17, 44, 0.08);
  padding-bottom: 14px;
  padding-top: 14px;
}

.brand {
  color: var(--navy-900);
  display: grid;
  gap: 1px;
  letter-spacing: 0;
}

.brand-name {
  font-size: clamp(19px, 2.4vw, 27px);
  font-weight: 800;
  line-height: 1;
}

.brand-tagline {
  color: var(--slate-500);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.main-nav {
  align-items: center;
  display: flex;
  gap: clamp(12px, 2vw, 28px);
}

.main-nav a {
  color: var(--slate-700);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 0;
  position: relative;
}

.main-nav a::after {
  background: var(--blue-600);
  bottom: 0;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  width: 100%;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.menu-toggle {
  align-items: center;
  background: var(--navy-900);
  border: 0;
  border-radius: 6px;
  display: none;
  height: 42px;
  justify-content: center;
  padding: 0;
  width: 42px;
}

.menu-toggle span {
  background: var(--white);
  display: block;
  height: 2px;
  margin: 3px 0;
  width: 18px;
}

.section,
.hero-content,
.metric-strip {
  margin-inline: auto;
  max-width: var(--max);
  width: min(calc(100% - 40px), var(--max));
}

.section {
  padding: clamp(74px, 9vw, 118px) 0;
}

.section-snap {
  min-height: 100vh;
  position: relative;
}

.hero {
  align-items: center;
  background: var(--navy-950);
  display: flex;
  overflow: hidden;
  padding-top: 88px;
}

.hero-bg,
.value-bg {
  background-position: center;
  background-size: cover;
  inset: 0;
  position: absolute;
}

.hero-bg {
  background-image: url("assets/p02-hero.jpg");
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 17, 44, 0.92) 0%, rgba(10, 31, 68, 0.73) 44%, rgba(255, 255, 255, 0.2) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(5, 17, 44, 0.46) 100%);
  inset: 0;
  position: absolute;
}

.hero-content {
  color: var(--white);
  padding-bottom: 140px;
  padding-top: 44px;
  position: relative;
  z-index: 2;
}

.eyebrow,
.kicker {
  color: var(--blue-600);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin: 0 0 22px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--sky-200);
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  color: var(--white);
  font-size: clamp(48px, 8.5vw, 104px);
  letter-spacing: 0;
  line-height: 0.95;
  margin-bottom: 28px;
  max-width: 870px;
}

h1 span {
  display: block;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 22px);
  max-width: 680px;
}

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

.btn {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--blue-600);
  color: var(--white);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.52);
  color: var(--white);
}

.btn-small {
  background: var(--blue-600);
  color: var(--white);
  min-height: 42px;
}

.metric-strip {
  align-items: stretch;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(214, 226, 239, 0.9);
  border-radius: 8px;
  bottom: 8px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: hidden;
  position: absolute;
  z-index: 4;
}

.metric-strip article {
  border-right: 1px solid var(--line);
  padding: 12px 22px;
}

.metric-strip article:last-child {
  border-right: 0;
}

.metric-strip strong {
  color: var(--blue-600);
  display: block;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
  margin-bottom: 9px;
}

.metric-strip span {
  color: var(--slate-700);
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.18;
}

.section-white {
  background: var(--white);
}

.section-ice {
  background:
    linear-gradient(180deg, rgba(191, 218, 246, 0.35), rgba(255, 255, 255, 0)),
    var(--ice-100);
}

.section-heading {
  align-items: flex-start;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  margin-bottom: clamp(32px, 5vw, 58px);
}

.section-heading h2,
.contact h2 {
  color: var(--navy-900);
  font-size: clamp(38px, 6vw, 72px);
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 0;
  max-width: 880px;
}

.section-link {
  color: var(--blue-600);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.about-layout {
  align-items: stretch;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  margin-bottom: 36px;
}

.copy-column {
  color: var(--slate-700);
  display: grid;
  font-size: 18px;
  gap: 18px;
  padding-right: 20px;
}

.image-card {
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin: 0;
  overflow: hidden;
}

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

.mission-grid,
.feature-grid,
.tech-grid,
.portfolio-grid,
.service-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

.mission-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 24px;
}

.mission-grid article,
.feature-grid article,
.tech-card,
.hub-list article,
.portfolio-grid article,
.service-grid article,
.contact-grid article,
.address-card,
.imperative,
.quality-flow {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mission-grid article {
  padding: 24px;
}

.mission-grid h3,
.feature-block h3,
.quality-flow h3,
.imperative h3,
.contact-grid h3,
.address-card h3 {
  color: var(--navy-900);
}

.mission-grid h3 {
  font-size: 15px;
  letter-spacing: 0.08em;
}

.mission-grid p {
  color: var(--slate-700);
  font-size: 14px;
  margin-bottom: 0;
}

.feature-block {
  margin-top: 26px;
}

.feature-block>h3 {
  font-size: 26px;
  margin-bottom: 18px;
}

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

.feature-grid article {
  padding: 24px;
}

.feature-grid span {
  align-items: center;
  background: var(--ice-100);
  border-radius: 6px;
  color: var(--blue-600);
  display: inline-flex;
  font-size: 19px;
  font-weight: 800;
  height: 46px;
  justify-content: center;
  margin-bottom: 18px;
  width: 54px;
}

.feature-grid h4 {
  color: var(--navy-900);
  font-size: 18px;
  line-height: 1.15;
  margin-bottom: 10px;
}

.feature-grid p {
  color: var(--slate-500);
  font-size: 14px;
  margin-bottom: 0;
}

.lead {
  color: var(--slate-700);
  font-size: 18px;
  margin-bottom: 34px;
  max-width: 960px;
}

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

.tech-card {
  box-shadow: 0 14px 40px rgba(5, 17, 44, 0.08);
  padding: clamp(24px, 3vw, 34px);
}

.tech-card h3 {
  color: var(--navy-900);
  font-size: 24px;
  margin-bottom: 20px;
}

.tech-card ul,
.portfolio-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tech-card li,
.portfolio-grid li {
  border-top: 1px solid var(--line);
  color: var(--slate-700);
  font-size: 15px;
  padding: 13px 0 13px 24px;
  position: relative;
}

.tech-card li::before,
.portfolio-grid li::before {
  background: var(--cyan-500);
  border-radius: 99px;
  content: "";
  height: 7px;
  left: 0;
  position: absolute;
  top: 20px;
  width: 7px;
}

.quality-flow {
  margin-top: 24px;
  padding: 28px;
}

.flow-steps {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(6, 1fr);
}

.flow-steps span {
  background: var(--navy-900);
  border-radius: 6px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  font-size: 13px;
  font-weight: 800;
  justify-content: center;
  min-height: 76px;
  padding: 14px;
  position: relative;
  text-align: center;
}

.flow-steps span:not(:last-child)::after {
  color: var(--blue-600);
  content: ">";
  font-size: 24px;
  position: absolute;
  right: -13px;
  top: 22px;
  z-index: 2;
}

.imperative {
  margin-top: 24px;
  padding: 28px;
}

.imperative div {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, 1fr);
}

.imperative p {
  color: var(--slate-700);
  font-size: 14px;
  margin-bottom: 0;
}

.distribution-layout {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
}

.coverage-map h3 {
  color: var(--navy-900);
  font-size: 18px;
  letter-spacing: 0.08em;
}

.map-panel {
  background:
    radial-gradient(circle at 45% 37%, rgba(45, 126, 216, 0.18) 0 3px, transparent 4px),
    linear-gradient(135deg, rgba(191, 218, 246, 0.5), rgba(239, 244, 251, 0.95));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  overflow: hidden;
  position: relative;
}

.map-panel::before {
  background:
    linear-gradient(130deg, transparent 0 14%, rgba(45, 126, 216, 0.2) 15% 17%, transparent 18%),
    linear-gradient(35deg, transparent 0 25%, rgba(16, 47, 85, 0.08) 26% 28%, transparent 29%);
  clip-path: polygon(34% 9%, 54% 14%, 65% 30%, 58% 49%, 71% 68%, 60% 90%, 44% 75%, 37% 59%, 23% 48%, 31% 31%);
  content: "";
  inset: 52px 56px;
  position: absolute;
}

.pin {
  background: var(--navy-900);
  border: 3px solid var(--sky-200);
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(5, 17, 44, 0.18);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  padding: 8px 10px;
  position: absolute;
}

.pin-hou {
  right: 14%;
  top: 18%;
}

.pin-mty {
  left: 40%;
  top: 30%;
}

.pin-cdmx {
  left: 48%;
  top: 51%;
}

.pin-tlk {
  left: 36%;
  top: 57%;
}

.pin-mda {
  right: 18%;
  top: 61%;
}

.pin-sal {
  right: 20%;
  bottom: 18%;
}

.pin-uio {
  right: 33%;
  bottom: 8%;
}

.hub-list {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}

.hub-list article {
  padding: 17px 18px;
}

.hub-list span,
.portfolio-grid p {
  color: var(--blue-600);
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.hub-list h3 {
  color: var(--navy-900);
  font-size: 18px;
  margin-bottom: 6px;
}

.hub-list p {
  color: var(--slate-500);
  font-size: 13px;
  margin-bottom: 0;
}

.plant-card {
  align-items: stretch;
  background: var(--navy-900);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--white);
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  margin-top: 34px;
  overflow: hidden;
}

.plant-card img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.plant-card div {
  padding: clamp(28px, 4vw, 48px);
}

.plant-card h3 {
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.08;
  margin-bottom: 18px;
}

.plant-card p {
  color: rgba(255, 255, 255, 0.8);
}

.plant-card .kicker {
  color: var(--sky-200);
}

.value-section {
  background: var(--navy-950);
  overflow: hidden;
}

.value-bg {
  background-image: url("assets/p06-valor.jpg");
}

.value-overlay {
  background:
    linear-gradient(90deg, rgba(5, 17, 44, 0.95), rgba(5, 17, 44, 0.83) 48%, rgba(5, 17, 44, 0.18)),
    linear-gradient(180deg, rgba(5, 17, 44, 0.2), rgba(5, 17, 44, 0.94));
  inset: 0;
  position: absolute;
}

.value-content {
  color: var(--white);
  position: relative;
  z-index: 2;
}

.value-content .section-heading h2 {
  color: var(--white);
}

.value-content .kicker {
  color: var(--sky-200);
}

.reason-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}

.reason-grid article {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(191, 218, 246, 0.7);
  border-radius: 8px;
  color: var(--slate-700);
  min-height: 210px;
  padding: 24px;
}

.reason-grid strong {
  color: var(--blue-600);
  display: block;
  font-size: 34px;
  line-height: 1;
  margin-bottom: 18px;
}

.reason-grid p {
  font-size: 14px;
  margin-bottom: 0;
}

.product-visual {
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  max-height: 380px;
  overflow: hidden;
}

.product-visual img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

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

.portfolio-grid article {
  padding: 24px;
}

.portfolio-grid h3 {
  color: var(--navy-900);
  font-size: 24px;
  line-height: 1.08;
  margin-bottom: 10px;
}

.portfolio-grid span {
  color: var(--slate-500);
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 16px;
}

.service-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 20px;
}

.service-grid article {
  background: var(--ice-50);
  padding: 22px;
}

.service-grid h3 {
  color: var(--navy-900);
  font-size: 18px;
  line-height: 1.14;
  margin-bottom: 10px;
}

.service-grid p {
  color: var(--slate-500);
  font-size: 13px;
  margin-bottom: 0;
}

.contact {
  background:
    linear-gradient(135deg, rgba(5, 17, 44, 0.96), rgba(16, 47, 85, 0.92)),
    var(--navy-900);
  color: var(--white);
}

.contact-inner {
  min-height: 100vh;
}

.contact h2 {
  color: var(--white);
  margin-bottom: 24px;
}

.contact-copy {
  max-width: 900px;
}

.contact-copy p:not(.kicker) {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
}

.contact-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 54px;
}

.contact-grid article {
  background: rgba(255, 255, 255, 0.95);
  padding: 28px;
}

.contact-grid h3 {
  font-size: 14px;
  letter-spacing: 0.08em;
}

.contact-grid a {
  color: var(--blue-600);
  display: block;
  font-size: 16px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-grid .phone {
  color: var(--navy-900);
  font-size: 21px;
  margin-top: 14px;
}

.address-card {
  margin-top: 20px;
  padding: 28px;
}

.address-card p {
  color: var(--slate-700);
  margin-bottom: 6px;
}

.address-card a {
  color: var(--blue-600);
  font-weight: 800;
}

.certifications {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.certifications span {
  border: 1px solid rgba(191, 218, 246, 0.36);
  border-radius: 999px;
  color: var(--sky-200);
  font-size: 12px;
  font-weight: 800;
  padding: 9px 14px;
}

.site-footer {
  border-top: 1px solid rgba(191, 218, 246, 0.26);
  color: rgba(255, 255, 255, 0.66);
  display: grid;
  gap: 8px;
  margin-top: 42px;
  padding-top: 24px;
}

.site-footer strong {
  color: var(--white);
  font-size: 20px;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: grid;
  }

  .main-nav {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 38px rgba(5, 17, 44, 0.1);
    display: grid;
    gap: 0;
    left: 0;
    padding: 12px 24px 22px;
    position: absolute;
    right: 0;
    top: 100%;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
  }

  .hero {
    min-height: 900px;
  }

  .hero-content {
    padding-bottom: 290px;
  }

  .metric-strip {
    bottom: 24px;
    grid-template-columns: repeat(2, 1fr);
  }

  .metric-strip article {
    padding: 8px 22px;
  }

  .metric-strip article:nth-child(2n) {
    border-right: 0;
  }

  .metric-strip article:last-child {
    grid-column: 1 / -1;
  }

  .section-heading,
  .about-layout,
  .distribution-layout,
  .plant-card {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: grid;
  }

  .mission-grid,
  .feature-grid,
  .tech-grid,
  .imperative div,
  .reason-grid,
  .portfolio-grid,
  .service-grid,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-steps {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 640px) {
  .site-header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section,
  .hero-content,
  .metric-strip {
    width: min(calc(100% - 28px), var(--max));
  }

  .hero {
    min-height: 860px;
  }

  .hero-bg {
    background-position: center top;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(5, 17, 44, 0.94) 0%, rgba(5, 17, 44, 0.82) 58%, rgba(5, 17, 44, 0.42) 100%);
  }

  h1 {
    font-size: clamp(44px, 14vw, 62px);
  }

  .hero-copy,
  .lead,
  .copy-column,
  .contact-copy p:not(.kicker) {
    font-size: 16px;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

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

  .metric-strip article {
    border-right: 0;
    padding: 9px 20px;
  }

  .section-heading h2,
  .contact h2 {
    font-size: clamp(34px, 12vw, 48px);
  }

  .mission-grid,
  .feature-grid,
  .tech-grid,
  .imperative div,
  .reason-grid,
  .portfolio-grid,
  .service-grid,
  .contact-grid,
  .flow-steps {
    grid-template-columns: 1fr;
  }

  .about-layout {
    display: grid;
  }

  .image-card,
  .product-visual {
    max-height: 360px;
  }


  .map-panel::before {
    inset: 40px 20px;
  }

  .flow-steps span:not(:last-child)::after {
    content: "";
  }

  .reason-grid article {
    min-height: auto;
  }

  .site-footer {
    font-size: 13px;
  }


}