:root {
  color-scheme: light;
  --ink: #1d252c;
  --muted: #5f6d76;
  --paper: #ffffff;
  --soft: #f4f6f6;
  --wash: #edf1f2;
  --line: #d9e0e3;
  --line-strong: #bdc8ce;
  --deep: #122432;
  --steel: #314350;
  --blue: #1e5668;
  --orange: #ed7433;
  --green: #1f7a4d;
  --shadow: 0 18px 45px rgba(22, 36, 46, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.58;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 50;
  transform: translateY(-140%);
  background: var(--deep);
  color: var(--paper);
  padding: 10px 14px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.topbar {
  background: var(--deep);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
}

.topbar-inner {
  width: min(var(--max), calc(100% - 32px));
  min-height: 36px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar a {
  color: var(--paper);
  font-weight: 800;
}

.topbar-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-width: 0;
}

.topbar-actions a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.topbar-whatsapp {
  color: var(--paper);
}

.topbar-whatsapp svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.nav-shell {
  width: min(var(--max), calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-cluster {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

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

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

.brand span {
  display: grid;
  line-height: 1.05;
}

.brand strong {
  color: var(--deep);
  font-size: 1rem;
  font-weight: 900;
}

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.brand-divider {
  width: 1px;
  height: 42px;
  background: var(--line-strong);
}

.brand-partner {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

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

.brand-partner span {
  display: grid;
  line-height: 1.05;
}

.brand-partner strong {
  color: var(--deep);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.brand-partner small {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1px;
  color: var(--steel);
  font-size: 0.92rem;
}

.nav-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--orange);
}

.nav-cta,
.button {
  border-radius: 3px;
  font-weight: 900;
}

.nav-links .nav-cta {
  gap: 8px;
  margin-left: 8px;
  padding: 0 14px;
  background: var(--green);
  color: var(--paper);
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus-visible {
  background: #17613c;
  color: var(--paper);
}

.nav-cta svg,
.button svg,
.floating-whatsapp svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--deep);
  border-radius: 3px;
  place-items: center;
  padding: 0;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  grid-column: 1;
  grid-row: 1;
  background: currentColor;
  transition: transform 180ms ease;
}

.nav-toggle span + span {
  transform: translateY(7px);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span + span {
  transform: rotate(-45deg);
}

.hero {
  background:
    linear-gradient(90deg, rgba(244, 246, 246, 0.98), rgba(244, 246, 246, 0.92) 58%, rgba(244, 246, 246, 0.82)),
    url("assets/foundation-bim.jpg") center right / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  width: min(var(--max), calc(100% - 32px));
  min-height: calc(100vh - 114px);
  margin: 0 auto;
  padding: 80px 0 70px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: 58px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 790px;
  margin: 0;
  color: var(--deep);
  font-size: 4rem;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--steel);
  font-size: 1.15rem;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid transparent;
}

.button-primary {
  background: var(--blue);
  color: var(--paper);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #173f4d;
}

.button-secondary {
  background: var(--paper);
  color: var(--deep);
  border-color: var(--line-strong);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--orange);
  color: var(--orange);
}

.button-whatsapp {
  background: var(--green);
  color: var(--paper);
}

.button-whatsapp:hover,
.button-whatsapp:focus-visible {
  background: #17613c;
}

.button.full {
  width: 100%;
}

.hero-visual {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  background: var(--soft);
}

.hero-visual figcaption {
  display: grid;
  gap: 6px;
  padding: 22px;
  border-top: 4px solid var(--orange);
}

.hero-visual strong {
  color: var(--deep);
  font-size: 1.08rem;
}

.hero-visual span {
  color: var(--muted);
}

.authority-strip {
  width: min(var(--max), calc(100% - 32px));
  margin: -28px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.authority-strip article {
  min-height: 158px;
  padding: 26px 24px;
  border-right: 1px solid var(--line);
}

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

.authority-strip span,
.number,
.process-list span,
.project-card span {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.authority-strip h2 {
  margin: 10px 0 8px;
  color: var(--deep);
  font-size: 1.03rem;
  line-height: 1.22;
}

.authority-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 72px;
  align-items: start;
}

.section h2,
.process-section h2,
.contact-section h2,
.technical-band h2,
.case-section h2 {
  margin: 0;
  color: var(--deep);
  font-size: 2.45rem;
  line-height: 1.12;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading.wide {
  max-width: 920px;
}

.section-heading p,
.rich-text p,
.contact-copy p {
  color: var(--steel);
  font-size: 1.04rem;
}

.section-heading p {
  margin: 18px 0 0;
}

.rich-text p {
  margin: 0;
}

.rich-text p + p {
  margin-top: 16px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 54px;
  background: var(--line);
  border: 1px solid var(--line);
}

.pillars article {
  background: var(--paper);
  padding: 30px;
}

.pillars span {
  color: var(--deep);
  font-weight: 900;
  font-size: 1.06rem;
}

.pillars p {
  margin: 10px 0 0;
  color: var(--muted);
}

.services-section,
.projects-section {
  border-top: 1px solid var(--line);
}

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

.services-grid article {
  min-height: 250px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  padding: 26px;
}

.services-grid article:nth-child(even) {
  border-top-color: var(--orange);
}

.services-grid h3,
.specialty-body h3,
.project-card h3,
.process-list h3 {
  margin: 0;
  color: var(--deep);
  line-height: 1.28;
}

.services-grid h3 {
  font-size: 1.12rem;
}

.services-grid p {
  margin: 14px 0 0;
  color: var(--muted);
}

.specialties-section {
  padding-top: 40px;
}

.specialty-block {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  margin-top: 26px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.specialty-block.reverse {
  grid-template-columns: minmax(0, 0.58fr) minmax(280px, 0.42fr);
}

.specialty-block.reverse .specialty-media {
  order: 2;
}

.specialty-block.reverse .specialty-body {
  order: 1;
}

.specialty-media {
  min-height: 100%;
  background: var(--wash);
}

.specialty-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.specialty-body {
  padding: 42px;
}

.specialty-body h3 {
  margin-top: 10px;
  font-size: 1.65rem;
}

.specialty-body > p {
  margin: 18px 0 0;
  color: var(--steel);
  font-size: 1.02rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.detail-grid h4 {
  margin: 0 0 10px;
  color: var(--deep);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.detail-grid ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.detail-grid li + li {
  margin-top: 7px;
}

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

.project-card {
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
}

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

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  background: var(--soft);
}

.project-card.large img {
  aspect-ratio: 16 / 9;
}

.project-card div {
  padding: 20px;
}

.project-card h3 {
  margin-top: 7px;
  font-size: 1.12rem;
}

.project-card p {
  margin: 9px 0 0;
  color: var(--muted);
}

.process-section {
  background: var(--deep);
  color: var(--paper);
}

.process-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 90px 0;
}

.process-section h2 {
  color: var(--paper);
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.process-list li {
  min-height: 245px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.06);
}

.process-list h3 {
  margin-top: 12px;
  color: var(--paper);
  font-size: 1.04rem;
}

.process-list p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.contact-section {
  background: var(--soft);
  border-top: 1px solid var(--line);
  padding: 90px 0;
}

.contact-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 72px;
  align-items: center;
}

.contact-copy p {
  max-width: 620px;
  margin: 20px 0 0;
}

.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 30px;
}

.contact-logo-lockup {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 1px minmax(72px, 0.42fr);
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.contact-logo-lockup span {
  width: 1px;
  height: 72px;
  background: var(--line);
}

.contact-logo-lockup img {
  width: 100%;
  max-width: 100%;
  object-fit: contain;
}

.contact-logo-lockup .contact-logo-ff {
  max-height: 104px;
}

.contact-logo-lockup .contact-logo-ventus {
  max-height: 96px;
}

.contact-data,
.contact-card address {
  display: grid;
  gap: 4px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-style: normal;
}

.contact-data span,
.contact-card address span {
  color: var(--deep);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-data a {
  color: var(--blue);
  font-weight: 900;
}

.contact-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

.map-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--blue);
  font-weight: 900;
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 45;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--paper);
  box-shadow: 0 12px 30px rgba(31, 122, 77, 0.3);
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  background: #17613c;
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
}

.site-footer {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px max(16px, calc((100vw - var(--max)) / 2));
  background: #0e171d;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.site-footer span:first-child {
  color: var(--paper);
  font-weight: 900;
}

.specialty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.specialty-highlight {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.specialty-highlight h4 {
  margin: 0;
  color: var(--deep);
  font-size: 0.98rem;
}

.specialty-highlight p {
  margin: 10px 0 0;
  color: var(--muted);
}

.compact-hero {
  background:
    linear-gradient(90deg, rgba(244, 246, 246, 0.99), rgba(244, 246, 246, 0.94) 58%, rgba(244, 246, 246, 0.78)),
    url("assets/home/metro-tunel-obra.jpg") center right / cover no-repeat;
}

.compact-hero-inner {
  min-height: 660px;
}

.compact-hero-visual img {
  aspect-ratio: 16 / 13;
}

.intro-panel {
  padding-bottom: 70px;
}

.home-specialties-section {
  padding-top: 76px;
  border-top: 1px solid var(--line);
}

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

.home-specialty-card {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
}

.home-specialty-card.featured {
  grid-column: span 2;
}

.home-specialty-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
  background: var(--soft);
}

.home-specialty-card.featured img {
  object-fit: contain;
  padding: 12px;
  background: var(--paper);
}

.home-specialty-card.document-card img {
  object-fit: contain;
  padding: 12px;
  background: var(--paper);
}

.home-specialty-card div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
}

.home-specialty-card span {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-specialty-card h3 {
  margin: 12px 0 0;
  color: var(--deep);
  font-size: 1.28rem;
  line-height: 1.25;
}

.home-specialty-card p {
  margin: 14px 0 24px;
  color: var(--muted);
}

.home-specialty-card .button {
  margin-top: auto;
}

.compact-contact {
  padding-top: 78px;
}

.civil-hero {
  background:
    linear-gradient(90deg, rgba(244, 246, 246, 0.99), rgba(244, 246, 246, 0.94) 58%, rgba(244, 246, 246, 0.78)),
    url("assets/technical-drawing.jpg") center right / cover no-repeat;
}

.subpage-hero {
  background:
    linear-gradient(90deg, rgba(244, 246, 246, 0.99), rgba(244, 246, 246, 0.94) 56%, rgba(244, 246, 246, 0.84)),
    url("assets/galerias/minas/mineria-modelo-operativo-01.jpg") center right / cover no-repeat;
}

.subpage-hero-inner {
  min-height: calc(92vh - 114px);
}

.subpage-hero-visual {
  background: #0d1215;
}

.subpage-hero-visual img {
  aspect-ratio: 16 / 11;
  object-fit: contain;
  padding: 16px;
  background: #0d1215;
}

.subpage-strip {
  margin-top: -34px;
}

.page-intro {
  padding-bottom: 82px;
}

.technical-band {
  background: var(--wash);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.technical-band-inner,
.case-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 90px 0;
}

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

.proof-grid figure,
.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
}

.proof-grid img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: contain;
  background: var(--paper);
}

.wide-proof {
  grid-column: 1 / -1;
}

.wide-proof img {
  aspect-ratio: 16 / 7;
  object-position: top center;
  padding: 12px;
}

.proof-grid figcaption,
.gallery-grid figcaption {
  display: grid;
  gap: 5px;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}

.proof-grid strong {
  color: var(--deep);
  font-size: 1rem;
}

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

.pathway-card {
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
}

.pathway-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
  background: var(--soft);
}

.pathway-card div {
  padding: 30px;
}

.pathway-card h3,
.deliverable-grid h3,
.case-list h3 {
  margin: 0;
  color: var(--deep);
  line-height: 1.25;
}

.pathway-card h3 {
  font-size: 1.45rem;
}

.pathway-card p {
  margin: 16px 0 0;
  color: var(--steel);
}

.pathway-card ul {
  margin: 20px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.pathway-card li + li {
  margin-top: 8px;
}

.mining-scope-section {
  background: var(--paper);
}

.mining-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.mining-visual-grid figure {
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
}

.mining-visual-wide {
  grid-column: 1 / -1;
}

.mining-visual-grid img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.mining-visual-grid figure:not(.mining-visual-wide) img {
  aspect-ratio: 16 / 8;
}

.mining-visual-grid figcaption {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.mining-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.mining-service-grid article {
  padding: 28px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
}

.mining-service-grid span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mining-service-grid h3 {
  margin: 12px 0 0;
  color: var(--deep);
  font-size: 1.12rem;
  line-height: 1.25;
}

.mining-service-grid ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.mining-service-grid li + li {
  margin-top: 10px;
}

.mining-deliverables {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: 28px;
  margin-top: 28px;
  padding: 34px;
  background: #111b22;
  color: var(--paper);
}

.mining-deliverables h3 {
  margin: 0;
  color: var(--paper);
  font-size: 1.34rem;
  line-height: 1.25;
}

.mining-deliverables p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.mining-deliverables ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mining-deliverables li {
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
}

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

.field-gallery-grid figure {
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
}

.field-gallery-grid .field-feature {
  grid-column: span 2;
  grid-row: span 2;
}

.field-gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  background: var(--soft);
}

.field-gallery-grid .field-feature img {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  padding: 10px;
  background: var(--paper);
}

.field-gallery-grid figcaption {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.mining-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 28px 32px;
  background: var(--wash);
  border: 1px solid var(--line);
}

.mining-cta p {
  max-width: 780px;
  margin: 0;
  color: var(--steel);
}

.metro-work-section {
  margin-top: 40px;
}

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

.metro-gallery-grid figure {
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
}

.metro-gallery-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  background: var(--soft);
}

.metro-gallery-grid .metro-feature {
  grid-column: span 2;
  grid-row: span 2;
}

.metro-gallery-grid .metro-feature img {
  min-height: 510px;
  object-fit: contain;
  padding: 12px;
  background: var(--paper);
}

.metro-gallery-grid .metro-feature-secondary {
  grid-column: span 2;
}

.metro-gallery-grid .metro-feature-secondary img {
  object-fit: contain;
  padding: 12px;
  background: var(--paper);
}

.metro-gallery-grid figcaption {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.video-section {
  border-top: 1px solid var(--line);
}

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

.video-card {
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0d1215;
}

.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #0d1215;
  object-fit: contain;
}

.video-card h3 {
  min-height: 72px;
  margin: 0;
  padding: 16px 18px;
  color: var(--deep);
  font-size: 1rem;
  line-height: 1.28;
}

.liner-section {
  background: var(--paper);
}

.liner-figure {
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
}

.liner-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  padding: 12px;
  background: var(--paper);
}

.liner-figure figcaption {
  display: grid;
  gap: 5px;
  padding: 18px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.liner-figure strong {
  color: var(--deep);
}

.liner-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.liner-capability-grid article {
  padding: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.liner-capability-grid span {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.liner-capability-grid h3 {
  margin: 10px 0 0;
  color: var(--deep);
  font-size: 1.08rem;
  line-height: 1.25;
}

.liner-capability-grid p {
  margin: 12px 0 0;
  color: var(--muted);
}

.method-section .section-heading p {
  color: rgba(255, 255, 255, 0.74);
}

.method-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.method-list li {
  min-height: 260px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
}

.method-list span,
.case-list span {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.method-list h3 {
  margin: 12px 0 0;
  color: var(--paper);
  font-size: 1rem;
  line-height: 1.25;
}

.method-list p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
}

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

.deliverable-grid article {
  min-height: 190px;
  padding: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
}

.deliverable-grid h3 {
  font-size: 1.02rem;
}

.deliverable-grid p {
  margin: 12px 0 0;
  color: var(--muted);
}

.case-section {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.case-list article {
  min-height: 230px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
}

.case-list h3 {
  margin-top: 12px;
  font-size: 1.18rem;
}

.case-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.case-list strong {
  display: block;
  margin-top: 18px;
  color: var(--blue);
  font-size: 0.92rem;
}

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

.gallery-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  background: var(--soft);
}

.gallery-large img {
  min-height: 518px;
  object-fit: contain;
  background: var(--paper);
  padding: 12px;
}

.subpage-hero.acoustic-hero {
  background:
    linear-gradient(90deg, rgba(244, 246, 246, 0.99), rgba(244, 246, 246, 0.95) 57%, rgba(244, 246, 246, 0.82)),
    url("assets/acustica/obras-acusticas-modelo-3d.png") center right / cover no-repeat;
}

.acoustic-hero-inner {
  min-height: calc(88vh - 114px);
}

.acoustic-hero-visual img {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  padding: 12px;
  background: var(--paper);
}

.acoustic-strip article {
  min-height: 148px;
}

.acoustic-positioning {
  padding-bottom: 80px;
}

.acoustic-services-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.acoustic-service-column,
.acoustic-service-proof,
.acoustic-solutions-grid article,
.acoustic-deliverables,
.acoustic-model-grid figure,
.acoustic-report-grid figure,
.experience-proof-grid figure,
.sector-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
}

.acoustic-service-column {
  padding: 30px;
  border-top: 4px solid var(--blue);
}

.acoustic-service-column:nth-child(2) {
  border-top-color: var(--orange);
}

.acoustic-service-column h3,
.acoustic-solutions-grid h3,
.acoustic-deliverables h3,
.sector-grid h3 {
  margin: 0;
  color: var(--deep);
  line-height: 1.25;
}

.acoustic-service-column h3,
.acoustic-deliverables h3 {
  font-size: 1.28rem;
}

.acoustic-service-column ul,
.acoustic-deliverables ul {
  margin: 20px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.acoustic-service-column li + li,
.acoustic-deliverables li + li {
  margin-top: 9px;
}

.acoustic-service-proof {
  grid-column: 1 / -1;
  margin: 0;
  overflow: hidden;
}

.acoustic-service-proof img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  padding: 18px;
  background: var(--paper);
}

.acoustic-service-proof figcaption,
.acoustic-model-grid figcaption,
.acoustic-report-grid figcaption,
.experience-proof-grid figcaption {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

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

.acoustic-model-grid figure,
.acoustic-report-grid figure,
.experience-proof-grid figure {
  margin: 0;
  overflow: hidden;
}

.acoustic-model-grid .model-feature {
  grid-column: span 2;
}

.acoustic-model-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  padding: 10px;
  background: var(--paper);
}

.acoustic-model-grid .model-feature img {
  aspect-ratio: 16 / 8;
}

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

.acoustic-solutions-grid article {
  overflow: hidden;
}

.acoustic-solutions-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 12px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.acoustic-solutions-grid h3 {
  padding: 20px 22px 0;
  font-size: 1.08rem;
}

.acoustic-solutions-grid p {
  margin: 10px 0 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

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

.acoustic-report-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  object-position: top center;
  padding: 10px;
  background: var(--paper);
}

.acoustic-deliverables {
  display: grid;
  grid-template-columns: minmax(240px, 0.58fr) minmax(0, 1.42fr);
  gap: 34px;
  margin-top: 22px;
  padding: 32px;
  background: #111b22;
  color: var(--paper);
}

.acoustic-deliverables .section-kicker {
  margin-bottom: 10px;
}

.acoustic-deliverables h3 {
  color: var(--paper);
}

.acoustic-deliverables ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.acoustic-deliverables li {
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
}

.acoustic-experience-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 18px;
  align-items: start;
}

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

.experience-proof-grid {
  display: grid;
  gap: 16px;
}

.experience-proof-grid img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: contain;
  padding: 10px;
  background: var(--paper);
}

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

.sector-grid article {
  padding: 24px;
  border-top: 4px solid var(--blue);
}

.sector-grid article:nth-child(2n) {
  border-top-color: var(--orange);
}

.sector-grid h3 {
  font-size: 1.02rem;
}

.sector-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.subpage-hero.civil-hero {
  background:
    linear-gradient(90deg, rgba(244, 246, 246, 0.99), rgba(244, 246, 246, 0.94) 56%, rgba(244, 246, 246, 0.82)),
    url("assets/obras-civiles/obra-gran-atrio-cubierta.jpg") center right / cover no-repeat;
}

.civil-hero-inner {
  min-height: calc(88vh - 114px);
}

.civil-hero-visual img {
  aspect-ratio: 16 / 11;
  object-fit: contain;
  padding: 12px;
  background: #11161a;
}

.civil-strip article {
  min-height: 156px;
}

.civil-intro {
  padding-bottom: 82px;
}

.civil-services-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 18px;
  align-items: stretch;
}

.civil-service-panel,
.civil-service-figure,
.civil-analysis-grid article,
.civil-diagnostic-grid article,
.civil-gallery-grid figure,
.civil-case-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
}

.civil-service-panel {
  padding: 32px;
  border-top: 4px solid var(--blue);
}

.civil-service-panel h3,
.civil-analysis-grid h3,
.civil-diagnostic-grid h3,
.civil-case-grid h3 {
  margin: 0;
  color: var(--deep);
  line-height: 1.25;
}

.civil-service-panel h3 {
  font-size: 1.3rem;
}

.civil-service-panel ul {
  margin: 20px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.civil-service-panel li + li {
  margin-top: 9px;
}

.civil-service-figure {
  margin: 0;
  overflow: hidden;
}

.civil-service-figure img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: contain;
  padding: 14px;
  background: var(--paper);
}

.civil-service-figure figcaption,
.civil-gallery-grid figcaption {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

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

.civil-analysis-grid article {
  overflow: hidden;
}

.civil-analysis-grid figure {
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.civil-analysis-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  padding: 10px;
  background: var(--paper);
}

.civil-analysis-grid article > div {
  padding: 24px;
}

.civil-analysis-grid span,
.civil-case-grid span {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.civil-analysis-grid h3 {
  margin-top: 10px;
  font-size: 1.15rem;
}

.civil-analysis-grid p,
.civil-diagnostic-grid p,
.civil-case-grid p {
  margin: 12px 0 0;
  color: var(--muted);
}

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

.civil-diagnostic-grid article {
  padding: 28px;
  border-top: 4px solid var(--orange);
}

.civil-diagnostic-grid h3 {
  font-size: 1.12rem;
}

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

.civil-gallery-grid figure {
  margin: 0;
  overflow: hidden;
}

.civil-gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  background: var(--soft);
}

.civil-gallery-grid .civil-gallery-feature {
  grid-column: span 2;
  grid-row: span 2;
}

.civil-gallery-grid .civil-gallery-feature img {
  min-height: 536px;
  object-fit: contain;
  padding: 12px;
  background: var(--paper);
}

.civil-gallery-grid .civil-gallery-wide {
  grid-column: span 2;
}

.civil-gallery-grid .civil-gallery-wide img,
.civil-gallery-grid figure:nth-child(7) img,
.civil-gallery-grid figure:nth-child(8) img {
  object-fit: contain;
  padding: 12px;
  background: var(--paper);
}

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

.civil-case-grid article {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}

.civil-case-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  padding: 12px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.civil-case-grid article:nth-child(2) img {
  object-fit: cover;
  object-position: top center;
}

.civil-case-grid article > div {
  padding: 24px;
}

.civil-case-grid h3 {
  margin-top: 10px;
  font-size: 1.14rem;
}

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

.civil-deliverable-grid article:nth-child(3n) {
  border-top-color: var(--orange);
}

.subpage-hero.substation-hero {
  background:
    linear-gradient(90deg, rgba(244, 246, 246, 0.99), rgba(244, 246, 246, 0.94) 56%, rgba(244, 246, 246, 0.82)),
    url("assets/subestaciones/playa-maniobras-subestacion.jpg") center right / cover no-repeat;
}

.substation-hero-inner {
  min-height: calc(88vh - 114px);
}

.substation-hero-visual img {
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: center;
  padding: 0;
  background: var(--paper);
}

.substation-strip article {
  min-height: 156px;
}

.substation-intro {
  padding-bottom: 82px;
}

.substation-scope-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.88fr);
  gap: 18px;
  align-items: stretch;
}

.substation-scope-grid,
.substation-work-grid,
.substation-gallery-grid,
.substation-case-grid {
  display: grid;
  gap: 16px;
}

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

.substation-scope-grid article,
.substation-scope-figure,
.substation-bim-copy,
.substation-bim-figures figure,
.substation-work-grid article,
.substation-gallery-grid figure,
.substation-case-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
}

.substation-scope-grid article {
  min-height: 210px;
  padding: 26px;
  border-top: 4px solid var(--blue);
}

.substation-scope-grid article:nth-child(2n) {
  border-top-color: var(--orange);
}

.substation-scope-grid h3,
.substation-bim-copy h3,
.substation-work-grid h3,
.substation-deliverables h3,
.substation-case-grid h3 {
  margin: 0;
  color: var(--deep);
  line-height: 1.25;
}

.substation-scope-grid h3 {
  font-size: 1.08rem;
}

.substation-scope-grid p,
.substation-work-grid p,
.substation-case-grid p {
  margin: 12px 0 0;
  color: var(--muted);
}

.substation-scope-figure {
  margin: 0;
  overflow: hidden;
}

.substation-scope-figure img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
  background: var(--soft);
}

.substation-scope-figure figcaption,
.substation-bim-figures figcaption,
.substation-gallery-grid figcaption {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.substation-bim-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
  align-items: stretch;
}

.substation-bim-copy {
  padding: 32px;
  border-top: 4px solid var(--orange);
}

.substation-bim-copy h3 {
  font-size: 1.28rem;
}

.substation-bim-copy ul {
  margin: 20px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.substation-bim-copy li + li {
  margin-top: 10px;
}

.substation-bim-figures {
  display: grid;
  gap: 16px;
}

.substation-bim-figures figure {
  margin: 0;
  overflow: hidden;
}

.substation-bim-figures img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: contain;
  padding: 12px;
  background: var(--paper);
}

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

.substation-work-grid article,
.substation-case-grid article {
  overflow: hidden;
}

.substation-work-grid img,
.substation-case-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.substation-work-grid article:nth-child(3) img,
.substation-work-grid article:nth-child(6) img,
.substation-case-grid article:nth-child(2) img,
.substation-case-grid article:nth-child(4) img,
.substation-case-grid article:nth-child(6) img {
  object-fit: contain;
  padding: 12px;
  background: var(--paper);
}

.substation-work-grid article > div,
.substation-case-grid article > div {
  padding: 24px;
}

.substation-work-grid h3,
.substation-case-grid h3 {
  font-size: 1.1rem;
}

.substation-deliverables {
  display: grid;
  grid-template-columns: minmax(250px, 0.58fr) minmax(0, 1.42fr);
  gap: 34px;
  padding: 32px;
  background: #111b22;
  color: var(--paper);
}

.substation-deliverables h3 {
  color: var(--paper);
  font-size: 1.3rem;
}

.substation-deliverables ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.substation-deliverables li {
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
}

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

.substation-gallery-grid figure {
  margin: 0;
  overflow: hidden;
}

.substation-gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  background: var(--soft);
}

.substation-gallery-grid .substation-gallery-feature {
  grid-column: span 2;
  grid-row: span 2;
}

.substation-gallery-grid .substation-gallery-feature img {
  min-height: 536px;
}

.substation-gallery-grid .substation-gallery-wide {
  grid-column: span 2;
}

.substation-gallery-grid .substation-gallery-wide img {
  object-fit: contain;
  padding: 12px;
  background: var(--paper);
}

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

.substation-case-grid span {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.substation-case-grid h3 {
  margin-top: 10px;
  font-size: 1.14rem;
}

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

  .brand-cluster {
    gap: 12px;
  }

  .brand-partner span {
    display: none;
  }

  .brand-partner img {
    width: 44px;
    height: 44px;
  }

  .nav-links a {
    padding: 0 8px;
  }

  .hero-inner,
  .section-grid,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: 3.2rem;
  }

  .hero-visual {
    max-width: 720px;
  }

  .authority-strip,
  .services-grid,
  .project-grid,
  .home-specialties-grid,
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-specialty-card.featured {
    grid-column: 1 / -1;
  }

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

  .authority-strip article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .specialty-block,
  .specialty-block.reverse {
    grid-template-columns: 1fr;
  }

  .specialty-block.reverse .specialty-media,
  .specialty-block.reverse .specialty-body {
    order: initial;
  }

  .specialty-media img {
    min-height: 360px;
  }

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

@media (max-width: 840px) {
  .topbar-inner {
    justify-content: center;
    text-align: center;
  }

  .topbar-inner span {
    display: none;
  }

  .topbar-actions {
    justify-content: center;
    gap: 12px;
  }

  .nav-shell {
    min-height: 70px;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 112px;
    display: grid;
    gap: 0;
    padding: 10px;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

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

  .nav-links a {
    min-height: 48px;
    padding: 0 12px;
  }

  .nav-links .nav-cta {
    margin: 8px 0 0;
    justify-content: center;
  }

  .hero-inner {
    min-height: auto;
    padding: 58px 0 52px;
    gap: 34px;
  }

  .hero-copy h1 {
    font-size: 2.45rem;
  }

  .hero-copy p:not(.eyebrow),
  .section-heading p,
  .rich-text p,
  .contact-copy p {
    font-size: 1rem;
  }

  .authority-strip {
    width: 100%;
    margin-top: 0;
    border-left: 0;
    border-right: 0;
  }

  .section,
  .process-inner,
  .contact-section {
    padding: 66px 0;
  }

  .section h2,
  .process-section h2,
  .contact-section h2,
  .technical-band h2,
  .case-section h2 {
    font-size: 2rem;
  }

  .pillars,
  .services-grid,
  .project-grid,
  .process-list,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .project-card.large {
    grid-column: auto;
  }

  .authority-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .authority-strip article:last-child {
    border-bottom: 0;
  }

  .pillars article,
  .services-grid article,
  .specialty-body,
  .process-list li,
  .contact-card {
    padding: 24px;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 560px) {
  .brand-cluster {
    gap: 10px;
  }

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

  .brand small {
    font-size: 0.68rem;
  }

  .brand-divider {
    height: 34px;
  }

  .brand-partner {
    gap: 0;
  }

  .brand-partner img {
    width: 40px;
    height: 40px;
  }

  .brand-partner span {
    display: none;
  }

  .hero-copy h1 {
    font-size: 2.05rem;
  }

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

  .contact-logo-lockup {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
  }

  .contact-logo-lockup span {
    width: 100%;
    height: 1px;
  }

  .contact-logo-lockup .contact-logo-ff {
    max-width: 210px;
  }

  .contact-logo-lockup .contact-logo-ventus {
    max-width: 132px;
  }

  .hero-visual img,
  .specialty-media img,
  .project-card img,
  .project-card.large img {
    aspect-ratio: 4 / 3;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 1120px) {
  .proof-grid,
  .pathway-grid,
  .case-list,
  .metro-gallery-grid,
  .field-gallery-grid,
  .liner-capability-grid {
    grid-template-columns: 1fr;
  }

  .metro-gallery-grid .metro-feature,
  .metro-gallery-grid .metro-feature-secondary,
  .field-gallery-grid .field-feature {
    grid-column: auto;
    grid-row: auto;
  }

  .metro-gallery-grid .metro-feature img {
    min-height: 360px;
  }

  .mining-service-grid,
  .mining-deliverables {
    grid-template-columns: 1fr;
  }

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

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

  .wide-proof,
  .gallery-large {
    grid-column: auto;
  }

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

  .gallery-large img {
    min-height: 360px;
  }

  .acoustic-services-layout,
  .acoustic-model-grid,
  .acoustic-solutions-grid,
  .acoustic-report-grid,
  .sector-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .acoustic-experience-layout,
  .acoustic-deliverables {
    grid-template-columns: 1fr;
  }

  .acoustic-model-grid .model-feature {
    grid-column: auto;
  }

  .acoustic-service-proof {
    grid-column: 1 / -1;
  }

  .civil-services-layout,
  .civil-analysis-grid,
  .civil-diagnostic-grid,
  .civil-case-grid {
    grid-template-columns: 1fr;
  }

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

  .civil-gallery-grid .civil-gallery-feature,
  .civil-gallery-grid .civil-gallery-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .civil-gallery-grid .civil-gallery-feature img {
    min-height: 360px;
  }

  .substation-scope-layout,
  .substation-bim-layout,
  .substation-work-grid,
  .substation-case-grid {
    grid-template-columns: 1fr;
  }

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

  .substation-gallery-grid .substation-gallery-feature,
  .substation-gallery-grid .substation-gallery-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .substation-gallery-grid .substation-gallery-feature img {
    min-height: 360px;
  }
}

@media (max-width: 840px) {
  .technical-band-inner,
  .case-inner {
    padding: 66px 0;
  }

  .method-list,
  .deliverable-grid,
  .gallery-grid,
  .mining-visual-grid,
  .mining-deliverables ul,
  .field-gallery-grid,
  .liner-capability-grid,
  .home-specialties-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .mining-visual-wide {
    grid-column: auto;
  }

  .method-list li,
  .deliverable-grid article,
  .case-list article {
    min-height: auto;
  }

  .mining-service-grid article,
  .mining-deliverables,
  .mining-cta,
  .home-specialty-card div {
    padding: 24px;
  }

  .pathway-card div {
    padding: 24px;
  }

  .acoustic-services-layout,
  .acoustic-model-grid,
  .acoustic-solutions-grid,
  .acoustic-report-grid,
  .sector-grid,
  .acoustic-deliverables ul {
    grid-template-columns: 1fr;
  }

  .acoustic-service-column,
  .acoustic-deliverables,
  .sector-grid article {
    padding: 24px;
  }

  .acoustic-service-proof img {
    padding: 10px;
  }

  .civil-gallery-grid,
  .civil-sector-grid {
    grid-template-columns: 1fr;
  }

  .civil-service-panel,
  .civil-analysis-grid article > div,
  .civil-diagnostic-grid article,
  .civil-case-grid article > div {
    padding: 24px;
  }

  .civil-service-figure img {
    min-height: auto;
  }

  .contact-logo-lockup {
    grid-template-columns: minmax(110px, 1fr) 1px minmax(70px, 0.45fr);
    gap: 14px;
  }

  .substation-scope-grid,
  .substation-gallery-grid,
  .substation-deliverables,
  .substation-deliverables ul {
    grid-template-columns: 1fr;
  }

  .substation-scope-grid article,
  .substation-bim-copy,
  .substation-work-grid article > div,
  .substation-case-grid article > div,
  .substation-deliverables {
    padding: 24px;
  }

  .substation-scope-figure img {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .specialty-actions {
    width: 100%;
  }

  .subpage-hero-visual img {
    aspect-ratio: 4 / 3;
    padding: 10px;
  }

  .proof-grid img,
  .wide-proof img,
  .mining-visual-grid img,
  .mining-visual-grid figure:not(.mining-visual-wide) img {
    aspect-ratio: 4 / 3;
  }

  .gallery-large img,
  .gallery-grid img,
  .metro-gallery-grid .metro-feature img,
  .metro-gallery-grid img {
    min-height: auto;
    aspect-ratio: 4 / 3;
  }

  .video-card h3 {
    min-height: auto;
  }

  .acoustic-hero-visual img,
  .acoustic-model-grid img,
  .acoustic-model-grid .model-feature img,
  .acoustic-report-grid img,
  .experience-proof-grid img {
    aspect-ratio: 4 / 3;
  }

  .acoustic-solutions-grid h3 {
    padding: 18px 18px 0;
  }

  .acoustic-solutions-grid p {
    padding: 0 18px 20px;
  }

  .civil-hero-visual img,
  .civil-analysis-grid img,
  .civil-case-grid img,
  .civil-gallery-grid img,
  .civil-gallery-grid .civil-gallery-feature img {
    min-height: auto;
    aspect-ratio: 4 / 3;
  }

  .substation-hero-visual img,
  .substation-scope-figure img,
  .substation-bim-figures img,
  .substation-work-grid img,
  .substation-case-grid img,
  .substation-gallery-grid img,
  .substation-gallery-grid .substation-gallery-feature img {
    min-height: auto;
    aspect-ratio: 4 / 3;
  }
}
