:root {
  --steel-blue: #1F4E79;
  --deep-blue: #0F2744;
  --industrial-gray: #5E6A75;
  --light-gray: #F4F6F8;
  --charcoal: #1A1A1A;
  --white: #FFFFFF;
  --line: #DDE3EA;
  --text: #243140;
  --muted: #687482;
  --container: 1180px;
  --header-height: 88px;
  --radius: 8px;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Oswald", "Inter", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

p,
h1,
h2,
h3 {
  margin: 0;
}

p {
  color: var(--muted);
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  font-size: clamp(3rem, 7.6vw, 7rem);
}

h2 {
  color: var(--charcoal);
  font-size: clamp(2.35rem, 5vw, 4.75rem);
}

h3 {
  color: var(--charcoal);
  font-size: 1.12rem;
  line-height: 1.25;
}

button,
input,
select,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

/* Header: transparent over the hero, solid deep blue after scroll. */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled,
body.menu-open .site-header {
  background: rgba(15, 39, 68, 0.98);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.brand span {
  display: grid;
  gap: 0.1rem;
}

.brand strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  white-space: nowrap;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.96rem;
  font-weight: 800;
  padding: 0.82rem 0.9rem;
  border-radius: 5px;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.site-nav .nav-cta {
  margin-left: 0.5rem;
  color: var(--deep-blue);
  background: var(--white);
}

.site-nav .nav-cta:hover {
  color: var(--deep-blue);
  background: var(--light-gray);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero: full-screen editorial composition for a premium engineering first impression. */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--deep-blue);
}

.hero-media,
.hero-overlay,
.cta-media,
.cta-overlay {
  position: absolute;
  inset: 0;
}

.hero-media,
.cta-media {
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(15, 39, 68, 0.96) 0%, rgba(15, 39, 68, 0.78) 52%, rgba(15, 39, 68, 0.28) 100%),
    linear-gradient(0deg, rgba(15, 39, 68, 0.92) 0%, rgba(15, 39, 68, 0.08) 62%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
  padding-top: 150px;
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
}

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

.eyebrow {
  margin-bottom: 1rem;
  color: #BFD3E6;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 1020px;
  color: var(--white);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

.btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 5px;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

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

.btn-primary:hover {
  background: var(--deep-blue);
  border-color: #6F94B8;
}

.btn-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.36);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.95rem 1.25rem;
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: 5px;
  background: #1FA855;
  color: var(--white);
  font-weight: 900;
}

.btn-whatsapp:hover {
  background: #178D47;
  color: var(--white);
  transform: translateY(-2px);
}

.btn-whatsapp svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.hero-indicators {
  display: grid;
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.16);
}

.hero-indicators article {
  padding: 1.35rem;
  background: rgba(15, 39, 68, 0.76);
  backdrop-filter: blur(12px);
}

.hero-indicators strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 2.35rem;
  line-height: 1;
}

.hero-indicators span {
  display: block;
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
}

.section {
  padding: clamp(4.8rem, 8vw, 7.5rem) 0;
}

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

.about-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.section-media {
  position: relative;
}

.section-media::before {
  content: "";
  position: absolute;
  inset: auto auto -22px -22px;
  width: 42%;
  height: 42%;
  background: var(--steel-blue);
  z-index: 0;
}

.section-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
}

.media-label {
  position: absolute;
  z-index: 2;
  right: -18px;
  bottom: 34px;
  max-width: 220px;
  padding: 1.2rem;
  background: var(--deep-blue);
}

.media-label strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1;
}

.media-label span {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

.section-copy p:not(.eyebrow),
.section-heading p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 1.2rem;
  font-size: 1.04rem;
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 2rem;
}

.capability-list span {
  min-height: 76px;
  display: flex;
  align-items: center;
  padding: 1rem;
  border-left: 4px solid var(--steel-blue);
  background: var(--light-gray);
  color: var(--deep-blue);
  font-weight: 900;
}

.why-wmg {
  background:
    linear-gradient(180deg, var(--light-gray), #FFFFFF 54%, var(--light-gray));
}

.why-wmg__header {
  max-width: 880px;
}

.why-wmg__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.why-card {
  min-width: 0;
  min-height: 285px;
  padding: 1.45rem;
  border: 1px solid #D8E1EA;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 50px rgba(15, 39, 68, 0.06);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.why-card:hover {
  border-color: #B5C7D8;
  box-shadow: 0 24px 64px rgba(15, 39, 68, 0.12);
  transform: translateY(-4px);
}

.why-card__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 1.35rem;
  border: 1px solid rgba(31, 78, 121, 0.18);
  background: rgba(31, 78, 121, 0.08);
}

.why-card__icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--steel-blue);
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-card__title {
  margin-bottom: 0.75rem;
  color: var(--charcoal);
  font-size: 1.35rem;
}

.why-card__text {
  margin: 0;
  color: var(--industrial-gray);
}

.why-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.2rem;
  border: 1px solid #D4DEE8;
  background: var(--deep-blue);
}

.why-stat {
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 1.8rem);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.why-stat:last-child {
  border-right: 0;
}

.why-stat__number {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  line-height: 0.95;
}

.why-stat__label {
  display: block;
  max-width: 170px;
  margin-top: 0.7rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.work-process {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(15, 39, 68, 0.98), rgba(31, 78, 121, 0.92)),
    var(--deep-blue);
}

.work-process::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.45;
  pointer-events: none;
}

.work-process .container {
  position: relative;
  z-index: 1;
}

.work-process__header {
  max-width: 880px;
}

.work-process__header .eyebrow {
  color: #C9DDF0;
}

.work-process__header h2 {
  color: var(--white);
}

.work-process__header p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 7%;
  right: 7%;
  height: 1px;
  background: rgba(255, 255, 255, 0.24);
}

.process-step {
  position: relative;
  min-width: 0;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.14);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.process-step:hover {
  border-color: rgba(191, 211, 230, 0.9);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
}

.process-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.1rem;
  border: 1px solid rgba(31, 78, 121, 0.18);
  background: var(--deep-blue);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1;
}

.process-step__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1.05rem;
  background: rgba(31, 78, 121, 0.08);
}

.process-step__icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--steel-blue);
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-step__title {
  margin-bottom: 0.65rem;
  color: var(--charcoal);
  font-size: 1.18rem;
}

.process-step__text {
  margin: 0;
  color: var(--industrial-gray);
  font-size: 0.93rem;
}

.services,
.process {
  background: var(--light-gray);
}

.section-heading {
  margin-bottom: clamp(2.2rem, 5vw, 3.6rem);
}

.heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

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

.service-card {
  min-height: 282px;
  padding: 1.55rem;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: #B7C8D9;
  box-shadow: 0 24px 65px rgba(15, 39, 68, 0.08);
}

.service-card svg {
  width: 42px;
  height: 42px;
  margin-bottom: 1.55rem;
  stroke: var(--steel-blue);
  stroke-width: 1.7;
  fill: none;
}

.service-card h3 {
  margin-bottom: 0.75rem;
}

.solutions-section {
  background: var(--light-gray);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.solution-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #D8E1EA;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 50px rgba(15, 39, 68, 0.06);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.solution-card:hover {
  border-color: #B5C7D8;
  box-shadow: 0 24px 64px rgba(15, 39, 68, 0.12);
  transform: translateY(-4px);
}

.solution-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.solution-card:hover img {
  opacity: 0.9;
  transform: scale(1.04);
}

.solution-card div {
  padding: 1.25rem;
}

.solution-card h3 {
  margin-bottom: 0.65rem;
  color: var(--charcoal);
  font-size: 1.3rem;
}

.solution-card p {
  margin: 0;
  color: var(--industrial-gray);
}

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

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.sector-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  display: grid;
  align-items: end;
  border-radius: var(--radius);
  background-color: var(--deep-blue);
  background-position: center;
  background-size: cover;
  box-shadow: 0 22px 60px rgba(15, 39, 68, 0.14);
  isolation: isolate;
}

.sector-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(15, 39, 68, 0.04), rgba(15, 39, 68, 0.9));
}

.sector-card__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 39, 68, 0.05), rgba(15, 39, 68, 0.88)),
    linear-gradient(90deg, rgba(15, 39, 68, 0.62), rgba(15, 39, 68, 0.12));
  transition: background 0.25s ease;
}

.sector-card__content {
  position: relative;
  z-index: 1;
  padding: clamp(1.25rem, 3vw, 1.7rem);
}

.sector-card__title {
  margin-bottom: 0.75rem;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.85rem);
}

.sector-card__description {
  margin: 0 0 1.15rem;
  color: rgba(255, 255, 255, 0.8);
}

.sector-card__list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sector-card__list li {
  position: relative;
  padding-left: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
}

.sector-card__list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  background: #BFD3E6;
}

.sector-card:hover .sector-card__overlay {
  background:
    linear-gradient(180deg, rgba(15, 39, 68, 0.08), rgba(15, 39, 68, 0.94)),
    linear-gradient(90deg, rgba(31, 78, 121, 0.78), rgba(15, 39, 68, 0.18));
}

.coverage-section {
  background:
    linear-gradient(180deg, #FFFFFF 0%, var(--light-gray) 100%);
}

.coverage-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.coverage-content {
  max-width: 650px;
}

.coverage-content h2 {
  margin-bottom: 1.1rem;
}

.coverage-content > p:not(.eyebrow) {
  margin-bottom: 1.5rem;
  color: var(--industrial-gray);
  font-size: 1.03rem;
}

.coverage-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.coverage-list li {
  position: relative;
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0.8rem 0.9rem 0.8rem 2.2rem;
  border: 1px solid #D8E1EA;
  background: var(--white);
  color: var(--deep-blue);
  font-weight: 900;
}

.coverage-list li::before {
  content: "";
  position: absolute;
  left: 0.95rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--steel-blue);
  box-shadow: 0 0 0 5px rgba(31, 78, 121, 0.12);
}

.coverage-map {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  border: 1px solid #D3DFEA;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(15, 39, 68, 0.96), rgba(31, 78, 121, 0.9)),
    var(--deep-blue);
  box-shadow: 0 24px 70px rgba(15, 39, 68, 0.12);
}

.coverage-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.55;
}

.coverage-map__shape {
  position: relative;
  width: min(100%, 460px);
  min-height: 330px;
  margin: 0 auto 1.2rem;
}

.coverage-map__shape::before {
  content: "";
  position: absolute;
  inset: 8% 18% 6% 16%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    radial-gradient(circle at 54% 45%, rgba(255, 255, 255, 0.18), transparent 0 9%, transparent 10%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.04));
  clip-path: polygon(36% 4%, 56% 10%, 66% 24%, 62% 39%, 76% 51%, 70% 70%, 57% 76%, 52% 95%, 38% 88%, 33% 70%, 20% 62%, 28% 45%, 22% 30%);
}

.coverage-map__shape::after {
  content: "";
  position: absolute;
  top: 46%;
  left: 36%;
  width: 42%;
  height: 1px;
  background: rgba(255, 255, 255, 0.24);
  transform: rotate(-12deg);
  transform-origin: left center;
}

.coverage-point {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--deep-blue);
  font-size: 0.72rem;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.coverage-point::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--steel-blue);
}

.coverage-point--cdmx {
  top: 45%;
  left: 49%;
}

.coverage-point--edomex {
  top: 39%;
  left: 34%;
}

.coverage-point--puebla {
  top: 55%;
  left: 59%;
}

.coverage-point--qro {
  top: 26%;
  left: 31%;
}

.coverage-point--hgo {
  top: 30%;
  left: 54%;
}

.coverage-point--mor {
  top: 63%;
  left: 43%;
}

.coverage-highlight {
  position: relative;
  z-index: 1;
  padding: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.coverage-highlight strong,
.coverage-highlight span {
  display: block;
}

.coverage-highlight strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.1;
}

.coverage-highlight span {
  margin-top: 0.65rem;
  color: rgba(255, 255, 255, 0.76);
}

.coverage-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.coverage-card {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid #D8E1EA;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 50px rgba(15, 39, 68, 0.06);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.coverage-card:hover {
  border-color: #B5C7D8;
  box-shadow: 0 24px 64px rgba(15, 39, 68, 0.12);
  transform: translateY(-4px);
}

.coverage-card span {
  display: block;
  margin-bottom: 1rem;
  color: var(--steel-blue);
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1;
}

.coverage-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.22rem;
}

.coverage-card p {
  margin: 0;
  color: var(--industrial-gray);
}

.projects {
  background: var(--charcoal);
}

.projects h2,
.projects h3 {
  color: var(--white);
}

.projects .eyebrow {
  color: #BFD3E6;
}

.text-link {
  color: #BFD3E6;
  font-weight: 900;
  white-space: nowrap;
}

.text-link:hover {
  color: var(--white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-auto-rows: 250px;
  gap: 1rem;
}

.project-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--deep-blue);
}

.project-card-large {
  grid-row: span 2;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 39, 68, 0.04), rgba(15, 39, 68, 0.9));
}

.project-card span,
.project-card em {
  position: absolute;
  z-index: 2;
  left: 1.2rem;
  right: 1.2rem;
}

.project-card span {
  bottom: 3.3rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-style: normal;
  line-height: 1;
}

.project-card em {
  bottom: 1.25rem;
  color: #DCEAF6;
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 900;
}

.project-card:hover img {
  transform: scale(1.06);
  opacity: 0.66;
}

.portfolio-action {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

/* Portfolio page: full project catalog with filterable premium cards. */
.portfolio-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 420px;
  height: clamp(420px, 48vh, 500px);
  overflow: hidden;
  background-color: var(--deep-blue);
  background-position: center;
  background-size: cover;
}

.portfolio-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 39, 68, 0.93), rgba(15, 39, 68, 0.56)),
    linear-gradient(180deg, rgba(15, 39, 68, 0.3), rgba(15, 39, 68, 0.86));
}

.portfolio-hero__content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  padding-top: 128px;
  padding-bottom: clamp(2.2rem, 6vw, 4.2rem);
}

.portfolio-hero__eyebrow {
  margin-bottom: 0.85rem;
  color: #D7E7F6;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.portfolio-hero__title {
  max-width: 820px;
  color: var(--white);
  font-size: clamp(3rem, 7vw, 4.4rem);
}

.portfolio-hero__description {
  max-width: 760px;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.portfolio-section {
  background:
    linear-gradient(180deg, var(--light-gray), #FFFFFF 46%, var(--light-gray));
}

.portfolio-intro {
  max-width: 860px;
  margin-bottom: 2rem;
}

.portfolio-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.portfolio-filters button {
  min-height: 44px;
  padding: 0.75rem 1rem;
  border: 1px solid #CAD6E0;
  border-radius: 999px;
  background: var(--white);
  color: var(--industrial-gray);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.portfolio-filters button:hover,
.portfolio-filters button.is-active {
  border-color: var(--deep-blue);
  background: var(--deep-blue);
  color: var(--white);
  transform: translateY(-1px);
}

.portfolio-page-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 1.15rem;
}

.portfolio-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  min-width: 0;
  background: var(--white);
  border: 1px solid #D8E1EA;
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(15, 39, 68, 0.06);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.portfolio-card[hidden] {
  display: none;
}

.portfolio-card:hover {
  border-color: #B5C7D8;
  box-shadow: 0 24px 64px rgba(15, 39, 68, 0.12);
  transform: translateY(-4px);
}

.portfolio-card__image {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--deep-blue);
}

.portfolio-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.portfolio-card:hover .portfolio-card__image img {
  opacity: 0.86;
  transform: scale(1.05);
}

.portfolio-card__content {
  display: grid;
  align-content: start;
  gap: 0.72rem;
  padding: 1.25rem;
}

.portfolio-card__category {
  margin: 0;
  color: var(--steel-blue);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portfolio-card__title {
  margin: 0;
  color: var(--charcoal);
  font-size: 1.45rem;
}

.portfolio-card__description {
  margin: 0;
  color: var(--industrial-gray);
  font-size: 0.95rem;
}

.portfolio-card__link {
  align-self: end;
  margin-top: 0.25rem;
  color: var(--steel-blue);
  font-weight: 900;
}

.portfolio-card__link:hover {
  color: var(--deep-blue);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid #C9D3DD;
}

.timeline article {
  position: relative;
  padding: 2rem 1.2rem 0 0;
}

.timeline article::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: var(--steel-blue);
  box-shadow: 0 0 0 8px rgba(31, 78, 121, 0.14);
}

.timeline span {
  color: var(--steel-blue);
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}

.timeline h3 {
  margin: 0.9rem 0 0.55rem;
}

.cta {
  position: relative;
  min-height: 540px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--deep-blue);
}

.cta-overlay {
  background: linear-gradient(90deg, rgba(15, 39, 68, 0.97), rgba(15, 39, 68, 0.7));
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta h2 {
  max-width: 820px;
  color: var(--white);
}

.cta p:not(.eyebrow) {
  max-width: 640px;
  margin: 1.2rem 0 2rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
}

.cta-content .btn + .btn,
.cta-content .btn + .btn-whatsapp {
  margin-left: 0.75rem;
}

/* Clients showcase: static trust section with premium corporate cards. */
.clients-showcase {
  background:
    linear-gradient(180deg, #FFFFFF 0%, var(--light-gray) 100%);
}

.clients-showcase__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.clients-content {
  max-width: 560px;
}

.clients-content h2 {
  margin-bottom: 1.1rem;
}

.clients-content > p:not(.eyebrow) {
  margin-bottom: 1.6rem;
  color: var(--industrial-gray);
  font-size: 1.03rem;
}

.clients-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.8rem 0 2rem;
}

.clients-stats article {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #D6E0EA;
  background: rgba(255, 255, 255, 0.72);
}

.clients-stats strong {
  display: block;
  color: var(--steel-blue);
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}

.clients-stats span {
  display: block;
  margin-top: 0.5rem;
  color: var(--industrial-gray);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.35;
  text-transform: uppercase;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.client-card {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid #D8E1EA;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 48px rgba(15, 39, 68, 0.06);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.client-card:hover {
  border-color: var(--steel-blue);
  box-shadow: 0 24px 60px rgba(15, 39, 68, 0.12);
  transform: translateY(-4px);
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 58px;
  margin-bottom: 1rem;
}

.client-logo img {
  max-width: 150px;
  max-height: 52px;
  object-fit: contain;
  filter: saturate(0.9);
  transition: transform 0.22s ease, filter 0.22s ease;
}

.client-card:hover .client-logo img {
  filter: saturate(1);
  transform: scale(1.035);
}

.client-name {
  margin-bottom: 0.55rem;
  color: var(--charcoal);
  font-size: 1.2rem;
}

.client-description {
  margin: 0;
  color: var(--industrial-gray);
  font-size: 0.92rem;
}

.client-card a {
  display: inline-block;
  margin-top: 0.9rem;
  color: var(--steel-blue);
  font-size: 0.9rem;
  font-weight: 900;
}

.client-card a:hover {
  color: var(--deep-blue);
}

/* Final quote/contact conversion section for the homepage. */
.quote-contact-section {
  padding: clamp(4.8rem, 8vw, 7rem) 0;
  background:
    radial-gradient(circle at 80% 0%, rgba(31, 78, 121, 0.12), transparent 34%),
    linear-gradient(180deg, #FFFFFF 0%, var(--light-gray) 100%);
}

.quote-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 1.06fr);
  align-items: stretch;
  min-height: 720px;
  border: 1px solid #D6E0EA;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 28px 86px rgba(15, 39, 68, 0.12);
}

.quote-contact-visual {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 100%;
  overflow: hidden;
  background-color: var(--deep-blue);
  background-position: center;
  background-size: cover;
}

.quote-contact-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 39, 68, 0.96), rgba(15, 39, 68, 0.78)),
    linear-gradient(0deg, rgba(15, 39, 68, 0.92), rgba(15, 39, 68, 0.24));
}

.quote-contact-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1.4rem;
  padding: clamp(2rem, 4.8vw, 3.4rem);
}

.quote-contact-content h2 {
  max-width: 540px;
  color: var(--white);
  font-size: clamp(2.7rem, 5vw, 4.5rem);
}

.quote-contact-content > p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.quote-contact-details {
  display: grid;
  gap: 0.8rem;
  margin: 0.4rem 0 0.2rem;
}

.quote-contact-item {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(9, 26, 46, 0.46);
  backdrop-filter: blur(8px);
}

.quote-contact-item span {
  display: block;
  margin-bottom: 0.24rem;
  color: #BFD3E6;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quote-contact-item p,
.quote-contact-item a {
  color: var(--white);
  font-weight: 800;
  line-height: 1.45;
}

.quote-contact-item a:hover {
  color: #DCEAF6;
}

.quote-contact-content .btn-whatsapp {
  width: fit-content;
  margin-top: 0.2rem;
}

.quote-contact-form-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(1.5rem, 4.2vw, 3rem);
  background: var(--white);
}

.quote-contact-form-card h2 {
  margin-bottom: 0.85rem;
  color: var(--charcoal);
  font-size: clamp(2rem, 3.2vw, 3rem);
}

.quote-contact-form-card > p {
  max-width: 620px;
  margin-bottom: 1.45rem;
  color: var(--industrial-gray);
}

.quote-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.quote-contact-form-card .form-submit {
  width: 100%;
}

/* Contact section: polished quote form and location details for the homepage. */
.contact-section {
  background:
    linear-gradient(180deg, rgba(244, 246, 248, 0.96), rgba(244, 246, 248, 1)),
    radial-gradient(circle at 18% 0%, rgba(31, 78, 121, 0.12), transparent 30%);
}

.contact-heading {
  max-width: 820px;
}

.contact-heading p:not(.eyebrow) {
  max-width: 720px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 4vw, 2.4rem);
  align-items: start;
}

.contact-left {
  display: grid;
  gap: 1rem;
}

.contact-info-list {
  display: grid;
  gap: 0.9rem;
}

.contact-info-card,
.contact-form-card {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
}

.contact-info-card {
  padding: 1.2rem;
}

.contact-info-card span {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--steel-blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-info-card p {
  color: var(--text);
  font-weight: 700;
}

.contact-info-card a:hover {
  color: var(--steel-blue);
}

.map-wrapper {
  position: relative;
  width: 100%;
  min-height: 340px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #E7ECF2;
}

.map-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.12) contrast(1.02);
}

.contact-form-card {
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 24px 70px rgba(15, 39, 68, 0.1);
}

.contact-whatsapp-card {
  margin-top: 1rem;
  padding: 1.1rem;
  border: 1px solid rgba(31, 78, 121, 0.16);
  border-radius: var(--radius);
  background: var(--light-gray);
}

.contact-whatsapp-card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.25rem;
}

.contact-whatsapp-card p {
  margin: 0 0 1rem;
  color: var(--industrial-gray);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-group {
  min-width: 0;
  display: grid;
  gap: 0.45rem;
}

.form-group label {
  color: var(--deep-blue);
  font-size: 0.9rem;
  font-weight: 800;
}

.form-control {
  width: 100%;
  min-height: 54px;
  padding: 0.9rem 1rem;
  border: 1px solid #C9D3DD;
  border-radius: 6px;
  background: var(--white);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

textarea.form-control {
  min-height: 156px;
  resize: vertical;
}

.form-control:hover {
  border-color: #AFC1D1;
}

.form-control:focus {
  border-color: var(--steel-blue);
  box-shadow: 0 0 0 4px rgba(31, 78, 121, 0.13);
}

.contact-form .field-error,
.contact-form .form-control.field-error {
  border-color: #A83D3D;
  box-shadow: 0 0 0 4px rgba(168, 61, 61, 0.12);
}

.form-submit {
  width: fit-content;
  min-width: 190px;
  margin-top: 0.25rem;
}

.form-status {
  display: none;
  padding: 0.9rem 1rem;
  border-radius: 6px;
  font-weight: 800;
}

.form-status.is-success,
.form-status.is-error {
  display: block;
}

.form-status.is-success {
  color: #155724;
  background: #DDEDDD;
  border: 1px solid #B9D8BE;
}

.form-status.is-error {
  color: #7C2020;
  background: #F4DEDE;
  border: 1px solid #E5BABA;
}

/* Contact page: full-page version aligned with the project detail system. */
.contact-hero {
  position: relative;
  min-height: 460px;
  height: clamp(420px, 48vh, 500px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background-color: var(--deep-blue);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 39, 68, 0.96), rgba(15, 39, 68, 0.62)),
    linear-gradient(0deg, rgba(15, 39, 68, 0.86), rgba(15, 39, 68, 0.08));
}

.contact-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  padding-top: 130px;
  padding-bottom: clamp(2.4rem, 5vw, 4rem);
}

.contact-hero__eyebrow {
  margin-bottom: 0.85rem;
  color: #BFD3E6;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-hero__title {
  max-width: 880px;
  color: var(--white);
  font-size: clamp(3rem, 5.2vw, 4.5rem);
}

.contact-hero__description {
  max-width: 720px;
  margin-top: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.12rem;
}

.contact-info {
  display: grid;
  gap: 1rem;
}

.contact-info__intro {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.contact-info__intro h2,
.contact-form-card h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  margin-bottom: 0.85rem;
}

.contact-info__intro p:not(.eyebrow),
.contact-form-card > p:not(.eyebrow) {
  max-width: 620px;
}

.contact-info-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-card h3 {
  margin-bottom: 0.35rem;
}

.contact-info-card span.contact-info-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--steel-blue);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0;
}

.map-card {
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.map-card .map-wrapper {
  min-height: 320px;
  border: 0;
}

.contact-form-card h2 + p {
  margin-bottom: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-form .form-submit {
  width: 100%;
}

.site-footer {
  padding: 4.5rem 0 1.4rem;
  background: #091A2E;
  color: rgba(255, 255, 255, 0.72);
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1600;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 58px;
  padding: 0.85rem 1.05rem;
  border-radius: 999px;
  background: #1FA855;
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 18px 48px rgba(15, 39, 68, 0.22);
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(31, 168, 85, 0.28);
  border-radius: inherit;
  animation: whatsappPulse 2.8s ease-out infinite;
}

.whatsapp-float:hover {
  background: #178D47;
  color: var(--white);
  box-shadow: 0 24px 60px rgba(15, 39, 68, 0.28);
  transform: translateY(-3px);
}

.whatsapp-float__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.whatsapp-float__icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.whatsapp-float__text {
  position: relative;
  white-space: nowrap;
}

@keyframes whatsappPulse {
  0% {
    opacity: 0.55;
    transform: scale(0.94);
  }

  70%,
  100% {
    opacity: 0;
    transform: scale(1.12);
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(190px, 0.4fr) minmax(280px, 0.8fr);
  gap: 2rem;
}

.footer-brand {
  margin-bottom: 1.1rem;
}

.site-footer h3,
.site-footer .brand strong {
  color: var(--white);
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  display: block;
  margin-bottom: 0.45rem;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.56);
}

/* Project detail template: reusable structure for individual project pages. */
.project-hero {
  position: relative;
  min-height: 560px;
  height: clamp(520px, 58vh, 620px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--deep-blue);
}

.project-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 39, 68, 0.96), rgba(15, 39, 68, 0.64)),
    linear-gradient(0deg, rgba(15, 39, 68, 0.9), rgba(15, 39, 68, 0.08));
}

.project-hero__content,
.project-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  padding-top: 130px;
  padding-bottom: clamp(2.5rem, 5vw, 4.25rem);
}

.project-hero__title,
.project-hero h1 {
  max-width: 900px;
  color: var(--white);
  font-size: clamp(3.5rem, 5.4vw, 4.5rem);
  line-height: 1;
}

.project-hero__eyebrow {
  margin-bottom: 0.85rem;
  color: #BFD3E6;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-hero__description,
.project-hero p:not(.eyebrow):not(.project-hero__eyebrow) {
  max-width: 720px;
  margin-top: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.12rem;
}

.project-detail {
  background: var(--white);
}

.project-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.project-detail-copy h2 {
  max-width: 820px;
}

.project-detail-copy h3 {
  margin-top: 2rem;
  margin-bottom: 0.65rem;
}

.project-detail-copy p:not(.eyebrow) {
  max-width: 820px;
  margin-top: 1rem;
  font-size: 1.05rem;
}

.project-meta-card {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--light-gray);
}

.project-meta-card h2 {
  margin-bottom: 1.2rem;
  font-size: 2rem;
}

.project-meta-card dl {
  display: grid;
  gap: 1rem;
  margin: 0;
}

.project-meta-card div {
  padding-top: 1rem;
  border-top: 1px solid #CBD5DF;
}

.project-meta-card dt {
  color: var(--steel-blue);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-meta-card dd {
  margin: 0.35rem 0 0;
  color: var(--text);
  font-weight: 700;
}

.project-gallery {
  background: var(--light-gray);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--deep-blue);
  cursor: pointer;
}

.gallery-item::after {
  content: "Ver imagen";
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  padding: 0.45rem 0.65rem;
  border-radius: 4px;
  color: var(--white);
  background: rgba(15, 39, 68, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.gallery-item:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item:hover img {
  transform: scale(1.04);
  opacity: 0.78;
}

.project-navigation {
  background: var(--white);
}

.related-projects {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.related-projects a {
  position: relative;
  min-height: 170px;
  overflow: hidden;
  display: block;
  border-radius: var(--radius);
  background: var(--deep-blue);
}

.related-projects img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
  opacity: 0.78;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.related-projects a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 39, 68, 0.08), rgba(15, 39, 68, 0.86));
}

.related-projects span {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1;
}

.related-projects a:hover img {
  transform: scale(1.05);
  opacity: 0.62;
}

.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 72px 88px;
  background: rgba(5, 12, 22, 0.92);
}

.lightbox-modal.is-open {
  display: flex;
}

.lightbox-modal figure {
  width: min(100%, 1120px);
  margin: 0;
}

.lightbox-modal img {
  width: 100%;
  max-height: 78svh;
  object-fit: contain;
}

.lightbox-modal figcaption {
  margin-top: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
  font-weight: 700;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: var(--white);
  background: rgba(15, 39, 68, 0.72);
  cursor: pointer;
}

.lightbox-close {
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  width: 52px;
  height: 52px;
  font-size: 2.6rem;
  line-height: 0.8;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--steel-blue);
}

@media (max-width: 1080px) {
  .hero-grid,
  .about-grid,
  .coverage-grid,
  .clients-showcase__grid,
  .contact-grid,
  .project-detail-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .section-media {
    max-width: 720px;
  }

  .services-grid,
  .solutions-grid,
  .sectors-grid,
  .why-wmg__grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .coverage-map {
    min-height: 460px;
  }

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

  .process-timeline::before {
    display: none;
  }

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

  .why-stat:nth-child(2) {
    border-right: 0;
  }

  .why-stat:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

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

  .project-card-large {
    grid-row: span 1;
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem 1rem;
  }

  .project-meta-card {
    position: static;
  }

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

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

  .project-hero__title,
  .project-hero h1 {
    font-size: 2.75rem;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 74px;
  }

  .site-header {
    background: rgba(15, 39, 68, 0.98);
  }

  .header-inner {
    min-height: var(--header-height);
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .brand strong {
    font-size: 1.3rem;
  }

  .brand small {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--header-height) + 12px);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 0.2rem;
    padding: 1rem;
    background: rgba(15, 39, 68, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

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

  .site-nav a,
  .site-nav .nav-cta {
    margin: 0;
    padding: 0.95rem 1rem;
  }

  .hero-grid {
    padding-top: 120px;
  }

  .hero-indicators,
  .capability-list {
    grid-template-columns: 1fr;
  }

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

  .section-media::before {
    left: -12px;
    bottom: -12px;
  }

  .media-label {
    right: 14px;
    bottom: 14px;
  }

  .quote-contact-section {
    padding: 4.6rem 0 5.4rem;
  }

  .quote-contact-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .quote-contact-visual {
    min-height: 500px;
  }

  .quote-contact-content {
    padding: 2rem;
  }

  .quote-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.45rem;
  }

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

  .quote-contact-section {
    padding: 3.4rem 0 5.8rem;
  }

  .quote-contact-grid {
    border-radius: 0;
  }

  .quote-contact-visual {
    min-height: 0;
  }

  .quote-contact-content {
    gap: 1rem;
    padding: 1.35rem;
  }

  .quote-contact-content h2 {
    font-size: 2.45rem;
  }

  .quote-contact-content > p:not(.eyebrow) {
    font-size: 0.98rem;
  }

  .quote-contact-item {
    padding: 0.85rem;
  }

  .quote-contact-content .btn-whatsapp {
    width: 100%;
  }

  .quote-contact-form-card {
    padding: 1.25rem;
  }

  .quote-contact-form-card h2 {
    font-size: 2.15rem;
  }

  .services-grid,
  .solutions-grid,
  .sectors-grid,
  .why-wmg__grid,
  .process-timeline,
  .coverage-list,
  .coverage-cards,
  .clients-grid,
  .portfolio-grid,
  .gallery-grid,
  .related-projects,
  .timeline {
    grid-template-columns: 1fr;
  }

  .why-stats {
    grid-template-columns: 1fr;
  }

  .why-stat,
  .why-stat:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .why-stat:last-child {
    border-bottom: 0;
  }

  .process-timeline {
    gap: 0.9rem;
  }

  .process-timeline::before {
    display: block;
    top: 0;
    bottom: 0;
    left: 24px;
    right: auto;
    width: 1px;
    height: auto;
    background: rgba(255, 255, 255, 0.22);
  }

  .process-step {
    padding-left: 4.2rem;
  }

  .process-step__number {
    position: absolute;
    top: 1.2rem;
    left: 1rem;
    width: 42px;
    height: 42px;
    font-size: 1.15rem;
  }

  .coverage-map {
    min-height: 420px;
    padding: 1rem;
  }

  .coverage-map__shape {
    min-height: 285px;
  }

  .coverage-point {
    font-size: 0.64rem;
    padding: 0.34rem 0.48rem;
  }

  .coverage-highlight strong {
    font-size: 1.25rem;
  }

  .sector-card {
    min-height: 460px;
  }

  .clients-stats {
    grid-template-columns: 1fr;
  }

  .portfolio-page-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-auto-rows: 260px;
  }

  .portfolio-page-grid {
    grid-auto-rows: auto;
  }

  .portfolio-hero {
    min-height: 360px;
    height: clamp(340px, 44vh, 400px);
  }

  .portfolio-hero__content {
    padding-top: 104px;
    padding-bottom: 2rem;
  }

  .portfolio-hero__title {
    font-size: 2.35rem;
  }

  .portfolio-hero__description {
    font-size: 0.98rem;
  }

  .portfolio-filters button {
    flex: 1 1 auto;
  }

  .section {
    padding: 4.2rem 0;
  }

  .map-wrapper {
    min-height: 280px;
  }

  .contact-form-card {
    padding: 1.1rem;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 58px;
    height: 58px;
    min-height: 58px;
    padding: 0;
    justify-content: center;
  }

  .whatsapp-float__text {
    display: none;
  }

  .cta-content .btn + .btn,
  .cta-content .btn + .btn-whatsapp {
    margin-top: 0.75rem;
    margin-left: 0;
  }

  .form-submit {
    width: 100%;
  }

  .contact-hero {
    min-height: 360px;
    height: clamp(340px, 44vh, 400px);
  }

  .contact-hero__content {
    padding-top: 104px;
    padding-bottom: 2rem;
  }

  .contact-hero__title {
    font-size: 2.25rem;
  }

  .contact-hero__description {
    font-size: 0.98rem;
  }

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

  .map-card .map-wrapper {
    min-height: 260px;
  }

  .project-hero {
    min-height: 420px;
    height: 420px;
  }

  .project-hero__content,
  .project-hero-content {
    padding-top: 104px;
    padding-bottom: 2rem;
  }

  .project-hero__title,
  .project-hero h1 {
    font-size: 2.25rem;
  }

  .project-hero__description {
    font-size: 0.98rem;
  }

  .lightbox-modal {
    padding: 72px 16px 36px;
  }

  .lightbox-nav {
    top: auto;
    bottom: 18px;
    transform: none;
  }
}
