:root {
  --cw-navy: #061f3d;
  --cw-navy-deep: #02162d;
  --cw-navy-soft: #0a2d55;
  --cw-gold: #d49335;
  --cw-gold-dark: #be7b20;
  --cw-text: #0b2240;
  --cw-body: #4c5664;
  --cw-muted: #7b8491;
  --cw-line: #dfe5ec;
  --cw-surface: #ffffff;
  --cw-page: #f5f7fa;
  --cw-shadow: 0 18px 46px rgba(6, 31, 61, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--cw-page);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--cw-text);
  background: var(--cw-surface);
  font-family: Arial, Helvetica, sans-serif;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 330px 1fr auto;
  align-items: center;
  min-height: 104px;
  padding: 0 56px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--cw-line);
  box-shadow: 0 8px 26px rgba(6, 31, 61, 0.06);
}

.brand img {
  width: 300px;
  height: auto;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: 34px;
  padding-right: 36px;
  font-size: 15px;
  font-weight: 700;
  color: var(--cw-navy);
}

.site-nav a {
  position: relative;
  padding: 40px 0 36px;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: 28px;
  width: 0;
  height: 2px;
  content: "";
  background: var(--cw-gold);
  transition: width 160ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  width: 100%;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.header-cta {
  min-width: 136px;
  color: #fff;
  background: var(--cw-navy-deep);
  box-shadow: 0 6px 18px rgba(2, 22, 45, 0.2);
}

.button {
  gap: 12px;
  padding: 0 26px;
}

.button-dark {
  color: #fff;
  background: var(--cw-navy-deep);
}

.button-gold {
  color: #fff;
  background: linear-gradient(135deg, var(--cw-gold), #e5a346);
}

.section-block,
.hero {
  max-width: 1440px;
  margin: 0 auto;
  background: #fff;
}

.section-split {
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(520px, 1.25fr);
  align-items: center;
  min-height: 570px;
  overflow: hidden;
}

.section-split-tight {
  min-height: 430px;
}

.section-copy {
  position: relative;
  z-index: 1;
  padding: 72px 36px 72px 80px;
}

.hero-copy {
  padding-top: 88px;
  padding-bottom: 88px;
}

.hero-copy::after,
.hero-like .section-copy::after,
.contact-layout .section-copy::after {
  position: absolute;
  top: 0;
  right: -180px;
  bottom: 0;
  width: 240px;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.88) 40%, rgba(255, 255, 255, 0));
}

.section-label {
  margin: 0 0 16px;
  color: var(--cw-gold-dark);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-label.centered {
  margin-bottom: 8px;
  text-align: center;
}

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

h1,
h2 {
  margin-bottom: 24px;
  color: var(--cw-navy);
  font-size: 42px;
  line-height: 1.15;
}

h1 span,
h2 span {
  color: var(--cw-gold);
}

h3 {
  margin-bottom: 34px;
  color: var(--cw-navy);
  font-size: 26px;
  line-height: 1.2;
  text-align: center;
}

h4 {
  margin-bottom: 12px;
  color: var(--cw-navy);
  font-size: 17px;
  line-height: 1.25;
}

.section-copy p {
  max-width: 560px;
  color: var(--cw-body);
  font-size: 17px;
  line-height: 1.65;
}

.rule {
  width: 42px;
  height: 2px;
  margin: 0 0 26px;
  background: var(--cw-gold);
}

.hero-media,
.wide-photo,
.contact-photo {
  height: 100%;
  margin: 0;
}

.hero-media {
  height: 570px;
}

.hero-media img,
.wide-photo img,
.contact-photo img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.hero-media {
  align-self: stretch;
}

.about-intro {
  border-top: 1px solid var(--cw-line);
}

.values-wrap,
.section-heading {
  padding: 34px 80px 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 0 80px 46px;
}

.value-item {
  min-height: 190px;
  padding: 0 24px;
  text-align: center;
  border-right: 1px solid var(--cw-line);
}

.value-item:last-child {
  border-right: 0;
}

.value-item p,
.service-card p,
.case-card p,
.testimonial-card p {
  color: var(--cw-body);
  font-size: 15px;
  line-height: 1.55;
}

.line-icon,
.mini-icon {
  position: relative;
  display: inline-block;
  border: 2px solid rgba(212, 147, 53, 0.45);
  border-radius: 50%;
}

.line-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
}

.line-icon::before,
.line-icon::after,
.mini-icon::before,
.mini-icon::after,
.cta-icon::before,
.cta-icon::after,
.footer-mark::before,
.footer-mark::after {
  position: absolute;
  content: "";
}

.target-icon::before {
  inset: 14px;
  border: 3px solid var(--cw-gold);
  border-radius: 50%;
}

.target-icon::after {
  top: 26px;
  left: 26px;
  width: 26px;
  height: 3px;
  background: var(--cw-gold);
  transform: rotate(-35deg);
  transform-origin: left center;
}

.team-icon::before {
  top: 17px;
  left: 19px;
  width: 16px;
  height: 16px;
  border: 3px solid var(--cw-gold);
  border-radius: 50%;
}

.team-icon::after {
  left: 13px;
  bottom: 14px;
  width: 30px;
  height: 15px;
  border: 3px solid var(--cw-gold);
  border-radius: 20px 20px 0 0;
  border-bottom: 0;
}

.growth-icon::before {
  left: 14px;
  bottom: 14px;
  width: 8px;
  height: 18px;
  background: var(--cw-gold);
  box-shadow: 13px -8px 0 var(--cw-gold), 26px -18px 0 var(--cw-gold);
}

.growth-icon::after {
  top: 14px;
  right: 12px;
  width: 22px;
  height: 22px;
  border-top: 3px solid var(--cw-gold);
  border-right: 3px solid var(--cw-gold);
  transform: rotate(-2deg);
}

.handshake-icon::before {
  top: 27px;
  left: 11px;
  width: 36px;
  height: 3px;
  background: var(--cw-gold);
  transform: rotate(20deg);
}

.handshake-icon::after {
  top: 27px;
  left: 11px;
  width: 36px;
  height: 3px;
  background: var(--cw-gold);
  transform: rotate(-20deg);
}

.bulb-icon::before {
  top: 13px;
  left: 19px;
  width: 18px;
  height: 24px;
  border: 3px solid var(--cw-gold);
  border-radius: 18px 18px 14px 14px;
}

.bulb-icon::after {
  left: 22px;
  bottom: 13px;
  width: 13px;
  height: 3px;
  background: var(--cw-gold);
  box-shadow: 0 6px 0 var(--cw-gold);
}

.pie-icon::before {
  inset: 13px;
  border: 3px solid var(--cw-gold);
  border-radius: 50%;
}

.pie-icon::after {
  top: 13px;
  right: 13px;
  width: 19px;
  height: 19px;
  border-left: 3px solid var(--cw-gold);
  border-bottom: 3px solid var(--cw-gold);
}

.metric-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 36px 80px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0, 27, 55, 0.96), rgba(3, 43, 82, 0.95)),
    var(--cw-navy-deep);
}

.metric-band article {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-height: 108px;
  padding: 0 28px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

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

.metric-band strong {
  font-size: 34px;
  line-height: 1;
}

.metric-band span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
}

.mini-icon {
  width: 34px;
  height: 34px;
  border-color: var(--cw-gold);
}

.calendar-icon::before,
.briefcase-icon::before,
.team-small-icon::before,
.chart-icon::before {
  inset: 9px;
  border: 2px solid var(--cw-gold);
  border-radius: 2px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  padding: 0 80px 34px;
}

.service-card,
.testimonial-card {
  min-height: 270px;
  padding: 28px 22px;
  background: #fff;
  border: 1px solid var(--cw-line);
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(6, 31, 61, 0.05);
}

.service-card {
  display: flex;
  flex-direction: column;
}

.service-card a {
  margin-top: auto;
  color: var(--cw-navy);
  font-size: 15px;
  font-weight: 800;
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  padding: 0 80px 30px;
}

.case-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  align-items: center;
  min-height: 220px;
}

.client-mark {
  display: grid;
  place-items: center;
  width: 136px;
  height: 136px;
  border: 1px solid var(--cw-line);
  border-radius: 4px;
  font-size: 24px;
  font-weight: 900;
  background: #fff;
}

.prosegur-mark,
.prosegur-chip {
  color: #080808;
  background: #f6c400;
}

.gtd-mark,
.gtd-chip {
  color: #17427d;
  font-size: 44px;
}

.case-sector {
  margin-bottom: 16px;
  color: var(--cw-gold-dark);
  font-weight: 700;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  padding: 0 80px 42px;
  color: var(--cw-navy);
  font-size: 15px;
  font-weight: 800;
}

.proof-row span {
  position: relative;
  padding-left: 42px;
}

.proof-row span::before {
  position: absolute;
  top: -5px;
  left: 0;
  width: 30px;
  height: 30px;
  content: "";
  border: 1px solid rgba(212, 147, 53, 0.6);
  border-radius: 50%;
  background: radial-gradient(circle, var(--cw-gold) 0 4px, transparent 5px);
}

.metric-band-compact {
  padding-top: 30px;
  padding-bottom: 30px;
}

.client-logo-row {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  align-items: center;
  gap: 0;
  padding: 0 62px 36px;
}

.logo-chip {
  display: grid;
  place-items: center;
  min-height: 86px;
  padding: 12px;
  border-right: 1px solid var(--cw-line);
  font-size: 29px;
  font-weight: 900;
  text-align: center;
}

.logo-chip:last-child {
  border-right: 0;
}

.copec-chip {
  color: #d72428;
}

.falabella-chip {
  color: #93bf18;
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.sodexo-chip {
  color: #214a9a;
  font-style: italic;
}

.expro-chip {
  color: #244b9b;
}

.aramark-chip {
  color: #1b1b1b;
}

.bci-chip {
  color: #1a2c5b;
}

.testimonials-heading {
  padding-top: 18px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 0 116px 38px;
}

.testimonial-card {
  min-height: 180px;
}

.quote-mark {
  display: block;
  height: 38px;
  color: var(--cw-gold);
  font-size: 62px;
  font-weight: 900;
  line-height: 0.9;
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
  color: var(--cw-navy);
  font-size: 15px;
}

.testimonial-card span {
  margin-top: 4px;
  color: var(--cw-body);
}

.cta-band {
  display: grid;
  grid-template-columns: 82px 1fr 260px 190px;
  gap: 28px;
  align-items: center;
  max-width: 1440px;
  min-height: 126px;
  margin: 0 auto;
  padding: 26px 150px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0, 27, 55, 0.98), rgba(3, 43, 82, 0.98)),
    var(--cw-navy-deep);
}

.cta-band h2 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 27px;
}

.cta-band p,
.cta-contact span {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
}

.cta-contact {
  display: grid;
  gap: 10px;
  padding-left: 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.cta-icon {
  position: relative;
  width: 64px;
  height: 64px;
  border: 2px solid var(--cw-gold);
  border-radius: 50%;
}

.cta-icon::before,
.cta-icon::after {
  top: 31px;
  left: 15px;
  width: 34px;
  height: 3px;
  background: var(--cw-gold);
}

.cta-icon::before {
  transform: rotate(22deg);
}

.cta-icon::after {
  transform: rotate(-22deg);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 0.9fr 1.35fr;
  min-height: 548px;
  overflow: hidden;
}

.contact-panel {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 28px 28px 28px 0;
}

.contact-layout .section-copy::after {
  display: none;
}

.field-line {
  margin-bottom: 18px;
}

.field-line span {
  display: block;
  margin-bottom: 8px;
  color: var(--cw-navy);
  font-size: 14px;
  font-weight: 800;
}

.field-line em {
  display: block;
  min-height: 44px;
  padding: 14px 16px;
  color: #a2aab5;
  font-size: 15px;
  font-style: normal;
  background: #fff;
  border: 1px solid #cfd7e2;
  border-radius: 4px;
}

.field-line-large em {
  min-height: 108px;
}

.contact-photo {
  position: relative;
}

.contact-photo::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 160px;
  height: 100%;
  content: "";
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0));
}

.site-footer {
  max-width: 1440px;
  margin: 0 auto;
  color: #fff;
  background:
    linear-gradient(135deg, #061f3d, #02162d),
    var(--cw-navy-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr 1.1fr 0.9fr;
  gap: 32px;
  padding: 42px 92px 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-grid > div {
  min-height: 150px;
  padding-right: 34px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-grid > div:last-child {
  border-right: 0;
}

.footer-grid h2 {
  margin-bottom: 18px;
  color: var(--cw-gold);
  font-size: 16px;
  text-transform: uppercase;
}

.footer-grid h2::after {
  display: block;
  width: 36px;
  height: 2px;
  margin-top: 14px;
  content: "";
  background: var(--cw-gold);
}

.footer-grid p {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.45;
}

.social-row {
  display: flex;
  gap: 24px;
  align-items: center;
  padding-top: 20px;
}

.social-row span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 24px;
  align-items: center;
  padding: 24px 92px 30px;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  text-align: center;
}

.footer-bottom p:last-child {
  text-transform: uppercase;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-size: 22px;
  font-weight: 400;
}

.footer-brand strong {
  color: var(--cw-gold);
}

.footer-mark {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 36px;
}

.footer-mark::before {
  left: 0;
  bottom: 0;
  width: 12px;
  height: 26px;
  background: #fff;
  box-shadow: 16px -10px 0 #fff;
}

.footer-mark::after {
  right: 0;
  bottom: 0;
  width: 15px;
  height: 24px;
  background: var(--cw-gold);
  transform: skewY(-28deg);
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 260px 1fr;
    gap: 18px;
    padding: 14px 28px;
  }

  .brand img {
    width: 250px;
  }

  .site-nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: center;
    gap: 24px;
    padding-right: 0;
  }

  .site-nav a {
    padding: 12px 0 14px;
  }

  .site-nav a::after {
    bottom: 6px;
  }

  .section-copy {
    padding-left: 46px;
  }

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

  .value-item {
    border-right: 0;
  }

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

  .cta-band {
    grid-template-columns: 70px 1fr;
    padding: 28px 46px;
  }

  .cta-contact,
  .cta-band .button {
    grid-column: 2;
  }

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

  .contact-photo {
    grid-column: 1 / -1;
    height: 420px;
  }
}

@media (max-width: 820px) {
  .site-header {
    position: static;
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 18px;
  }

  .brand img {
    width: 250px;
    margin: 0 auto;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    font-size: 14px;
    text-align: center;
  }

  .header-cta {
    justify-self: center;
    min-width: 160px;
  }

  .section-split,
  .contact-layout,
  .case-grid,
  .testimonial-grid,
  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .section-copy,
  .hero-copy {
    padding: 42px 24px;
  }

  .hero-media {
    height: auto;
  }

  .hero-copy::after,
  .hero-like .section-copy::after,
  .contact-layout .section-copy::after,
  .contact-photo::before {
    display: none;
  }

  h1,
  h2 {
    font-size: 34px;
  }

  h3 {
    font-size: 24px;
  }

  .values-wrap,
  .section-heading,
  .values-grid,
  .service-grid,
  .case-grid,
  .proof-row,
  .client-logo-row,
  .testimonial-grid {
    padding-left: 24px;
    padding-right: 24px;
  }

  .values-grid,
  .service-grid,
  .proof-row,
  .metric-band,
  .client-logo-row {
    grid-template-columns: 1fr;
  }

  .metric-band {
    padding: 28px 24px;
  }

  .metric-band article {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    padding: 22px 0;
  }

  .metric-band article:last-child {
    border-bottom: 0;
  }

  .service-card,
  .testimonial-card {
    min-height: 0;
  }

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

  .client-mark {
    width: 124px;
    height: 124px;
  }

  .logo-chip {
    border-right: 0;
    border-bottom: 1px solid var(--cw-line);
  }

  .cta-band {
    grid-template-columns: 1fr;
    padding: 30px 24px;
    text-align: center;
  }

  .cta-icon {
    margin: 0 auto;
  }

  .cta-contact,
  .cta-band .button {
    grid-column: auto;
  }

  .cta-contact {
    padding-left: 0;
    border-left: 0;
  }

  .contact-panel {
    padding: 0 24px 40px;
  }

  .footer-grid,
  .footer-bottom {
    padding: 32px 24px;
  }

  .footer-grid > div {
    min-height: 0;
    padding-right: 0;
    border-right: 0;
  }

  .footer-bottom p {
    text-align: left;
  }
}

/* Multipage corrections: each exported reference image maps to one HTML page. */
.site-main {
  max-width: 1440px;
  margin: 0 auto;
  background: #fff;
}

.site-nav a[aria-current="page"]::after {
  width: 100%;
}

.page-screen {
  min-height: calc(100svh - 104px);
}

.contact-screen {
  min-height: 0;
}

.page-hero {
  border-bottom: 1px solid var(--cw-line);
}

.page-hero .wide-photo {
  min-height: 360px;
}

.section-heading h2 {
  margin-bottom: 30px;
  color: var(--cw-navy);
  font-size: 28px;
  line-height: 1.2;
  text-align: center;
}

.value-item h3,
.service-card h3 {
  margin-bottom: 12px;
  color: var(--cw-navy);
  font-size: 17px;
  line-height: 1.25;
  text-align: center;
}

.service-card h3 {
  text-align: left;
}

.home-page {
  max-width: 960px;
  border-left: 1px solid var(--cw-line);
  border-right: 1px solid var(--cw-line);
}

.home-page .site-main {
  max-width: 960px;
}

.home-hero {
  grid-template-columns: 0.95fr 1.05fr;
  min-height: 330px;
  border-bottom: 1px solid var(--cw-line);
}

.home-hero .section-copy {
  padding: 46px 28px 42px 50px;
}

.home-hero h1 {
  font-size: 31px;
  line-height: 1.14;
}

.home-hero p {
  font-size: 14px;
  line-height: 1.5;
}

.home-hero-media {
  height: 330px;
  margin: 0;
}

.home-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-overview {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 36px 50px 22px;
}

.home-overview h2 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.18;
}

.home-overview p {
  color: var(--cw-body);
  font-size: 14px;
  line-height: 1.55;
}

.home-overview figure {
  margin: 0;
}

.home-overview img {
  border-radius: 2px;
}

.home-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 8px 50px 28px;
}

.home-stats article {
  display: grid;
  gap: 4px;
  justify-items: center;
  padding: 12px;
  color: var(--cw-body);
  font-size: 12px;
  text-align: center;
  border-right: 1px solid var(--cw-line);
}

.home-stats article:last-child {
  border-right: 0;
}

.home-stats strong {
  color: var(--cw-gold);
  font-size: 22px;
}

.home-services {
  padding: 22px 50px 40px;
}

.home-services h2 {
  max-width: 320px;
  font-size: 22px;
  line-height: 1.2;
}

.home-service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.compact-card {
  min-height: 190px;
  padding: 20px 16px;
}

.compact-card .line-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
}

.compact-card p {
  font-size: 12px;
}

.trusted-band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.7fr;
  gap: 24px;
  align-items: center;
  padding: 24px 50px;
  color: #fff;
  background: var(--cw-navy-deep);
}

.trusted-band p {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.trusted-copy .section-label {
  color: var(--cw-gold);
}

.trusted-copy h2 {
  color: #fff;
}

.client-wordmark {
  display: inline-flex;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.gtd-wordmark {
  font-size: 30px;
}

.home-contact-strip {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 20px 50px;
  border-bottom: 1px solid var(--cw-line);
}

.home-contact-strip h2 {
  margin-bottom: 4px;
  font-size: 17px;
}

.home-contact-strip p,
.quick-contact span {
  margin: 0;
  color: var(--cw-body);
  font-size: 12px;
}

.quick-contact {
  display: grid;
  gap: 3px;
}

.simple-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 26px;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px 56px;
  color: #fff;
  background: var(--cw-navy-deep);
}

.simple-footer img {
  width: 190px;
  filter: brightness(1.4);
}

.simple-footer nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  font-size: 12px;
}

.simple-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

@media (max-width: 820px) {
  .home-page {
    max-width: 100%;
    border: 0;
  }

  .home-hero,
  .home-overview,
  .home-service-grid,
  .trusted-band,
  .home-contact-strip,
  .simple-footer {
    grid-template-columns: 1fr;
  }

  .home-hero .section-copy,
  .home-overview,
  .home-services,
  .home-stats,
  .trusted-band,
  .home-contact-strip {
    padding-left: 24px;
    padding-right: 24px;
  }

  .home-hero-media {
    height: auto;
  }

  .home-service-grid {
    gap: 14px;
  }

  .simple-footer {
    text-align: center;
  }

  .simple-footer img {
    margin: 0 auto;
  }

  .simple-footer nav {
    flex-wrap: wrap;
  }
}

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

@media (min-width: 821px) {
  .site-header {
    grid-template-columns: 430px 1fr auto;
  }

  .brand img {
    width: 382px;
  }

  .page-hero.section-split {
    grid-template-columns: 0.78fr 1.22fr;
    height: 360px;
    min-height: 360px;
  }

  .page-hero .section-copy {
    align-self: stretch;
    padding: 40px 34px 34px 80px;
  }

  .page-hero h1 {
    margin-bottom: 18px;
    font-size: 38px;
  }

  .page-hero .section-copy p {
    font-size: 16px;
    line-height: 1.55;
  }

  .page-hero .wide-photo {
    position: relative;
    min-height: 0;
  }

  .page-hero .wide-photo::before {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 1;
    width: 190px;
    content: "";
    pointer-events: none;
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.86) 42%, rgba(255, 255, 255, 0));
  }

  .wide-photo img,
  .contact-photo img {
    min-height: 0;
  }

  body[data-page="nosotros"] .page-hero {
    height: 426px;
    min-height: 426px;
  }

  body[data-page="nosotros"] .values-wrap {
    height: 260px;
    padding: 24px 80px 0;
    overflow: hidden;
  }

  body[data-page="nosotros"] .values-wrap h2 {
    margin-bottom: 18px;
    font-size: 25px;
    text-align: center;
  }

  body[data-page="nosotros"] .values-grid {
    padding: 0 0 22px;
  }

  body[data-page="nosotros"] .value-item {
    min-height: 150px;
    padding: 0 28px;
  }

  body[data-page="nosotros"] .value-item p {
    font-size: 13px;
    line-height: 1.45;
  }

  body[data-page="nosotros"] .line-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 12px;
  }

  body[data-page="nosotros"] .metric-band {
    height: 170px;
    padding: 22px 80px;
  }

  .metric-band article::before {
    display: block;
    width: 34px;
    height: 34px;
    margin-bottom: 2px;
    content: "";
    border: 2px solid var(--cw-gold);
    border-radius: 50%;
    background: radial-gradient(circle, transparent 0 8px, rgba(212, 147, 53, 0.3) 9px, transparent 10px);
  }

  body[data-page="servicios"] .page-hero {
    height: 344px;
    min-height: 344px;
  }

  body[data-page="servicios"] .page-hero .section-copy {
    padding-top: 32px;
    padding-bottom: 24px;
  }

  body[data-page="servicios"] .page-hero h1 {
    font-size: 36px;
  }

  body[data-page="servicios"] .page-hero .section-copy p {
    font-size: 15px;
    line-height: 1.42;
  }

  body[data-page="servicios"] .section-heading {
    height: 386px;
    padding: 24px 80px 0;
    overflow: hidden;
  }

  body[data-page="servicios"] .section-heading h2 {
    margin-bottom: 18px;
    font-size: 26px;
  }

  body[data-page="servicios"] .service-grid {
    gap: 24px;
    padding: 0 0 18px;
  }

  body[data-page="servicios"] .service-card {
    height: 270px;
    min-height: 270px;
    padding: 16px 20px;
  }

  body[data-page="servicios"] .service-card .line-icon {
    width: 62px;
    height: 62px;
    margin-bottom: 12px;
  }

  body[data-page="servicios"] .service-card h3 {
    margin-bottom: 12px;
    font-size: 16px;
  }

  body[data-page="servicios"] .service-card p {
    font-size: 13px;
    line-height: 1.48;
  }

  body[data-page="servicios"] .service-card a {
    font-size: 13px;
  }

  body[data-page="servicios"] .cta-band {
    min-height: 126px;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  body[data-page="experiencia"] .page-hero {
    height: 360px;
    min-height: 360px;
  }

  body[data-page="experiencia"] .experience-cases {
    height: 328px;
    padding: 22px 80px 0;
    overflow: hidden;
  }

  body[data-page="experiencia"] .experience-cases h2 {
    margin-bottom: 18px;
    font-size: 25px;
  }

  body[data-page="experiencia"] .case-grid {
    gap: 34px;
    padding: 0 0 10px;
  }

  body[data-page="experiencia"] .case-card {
    grid-template-columns: 138px 1fr;
    gap: 22px;
    min-height: 136px;
  }

  .client-mark-img {
    width: 136px;
    height: 136px;
    object-fit: cover;
    border: 1px solid var(--cw-line);
    border-radius: 4px;
  }

  .case-card h3 {
    margin-bottom: 4px;
    font-size: 24px;
    line-height: 1.1;
    text-align: left;
  }

  .case-card .case-sector {
    margin-bottom: 8px;
    font-size: 14px;
  }

  .case-card p {
    font-size: 13px;
    line-height: 1.42;
  }

  body[data-page="experiencia"] .proof-row {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
    padding: 0 0 20px;
    font-size: 12px;
    line-height: 1.25;
  }

  body[data-page="experiencia"] .proof-row span {
    padding-left: 36px;
  }

  body[data-page="experiencia"] .metric-band-compact {
    height: 168px;
    padding-top: 22px;
    padding-bottom: 20px;
  }

  body[data-page="clientes"] .page-hero {
    height: 280px;
    min-height: 280px;
  }

  body[data-page="clientes"] .page-hero .section-copy {
    padding-top: 30px;
    padding-bottom: 26px;
  }

  body[data-page="clientes"] .page-hero h1 {
    font-size: 36px;
  }

  body[data-page="clientes"] .page-hero .section-copy p {
    font-size: 15px;
  }

  body[data-page="clientes"] .section-heading {
    height: 180px;
    padding: 22px 60px 0;
    overflow: hidden;
  }

  body[data-page="clientes"] .section-heading h2 {
    margin-bottom: 14px;
    font-size: 25px;
  }

  body[data-page="clientes"] .client-logo-row {
    display: block;
    padding: 0;
  }

  .client-logos-img {
    width: 100%;
    max-width: 1340px;
    height: 104px;
    margin: 0 auto;
    object-fit: contain;
  }

  body[data-page="clientes"] .testimonials-heading {
    height: 267px;
    padding-top: 18px;
  }

  body[data-page="clientes"] .testimonial-grid {
    gap: 28px;
    padding: 0 56px 24px;
  }

  body[data-page="clientes"] .testimonial-card {
    height: 176px;
    min-height: 176px;
    padding: 20px 28px;
  }

  body[data-page="clientes"] .testimonial-card p {
    font-size: 14px;
    line-height: 1.42;
  }

  body[data-page="clientes"] .quote-mark {
    height: 28px;
    font-size: 52px;
  }

  body[data-page="clientes"] .cta-band {
    min-height: 106px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  body[data-page="clientes"] .cta-band h2 {
    font-size: 24px;
  }

  body[data-page="nosotros"] .simple-footer,
  body[data-page="servicios"] .simple-footer,
  body[data-page="experiencia"] .simple-footer,
  body[data-page="clientes"] .simple-footer {
    display: none;
  }

  body[data-page="home"] .simple-footer {
    max-width: 960px;
    margin-right: auto;
    margin-left: auto;
  }

  body[data-page="home"] .site-header {
    grid-template-columns: 270px 1fr 116px;
    min-height: 74px;
    padding: 0 18px;
  }

  body[data-page="home"] .brand img {
    width: 252px;
  }

  body[data-page="home"] .site-nav {
    gap: 20px;
    padding-right: 14px;
    font-size: 11px;
  }

  body[data-page="home"] .site-nav a {
    padding: 28px 0 24px;
  }

  body[data-page="home"] .site-nav a::after {
    bottom: 18px;
  }

  body[data-page="home"] .header-cta {
    min-width: 104px;
    min-height: 38px;
    font-size: 12px;
  }

  body[data-page="home"] .simple-footer {
    grid-template-columns: 240px 1fr 240px;
  }

  .contact-layout {
    grid-template-columns: 430px 340px 670px;
    height: 556px;
    min-height: 556px;
  }

  .contact-layout .section-copy {
    padding: 58px 20px 34px 46px;
  }

  .contact-layout h1 {
    font-size: 34px;
    line-height: 1.12;
  }

  .contact-layout .section-copy p {
    font-size: 16px;
    line-height: 1.55;
  }

  .contact-panel {
    align-self: start;
    padding: 30px 18px 20px 6px;
  }

  .field-line {
    margin-bottom: 12px;
  }

  .field-line span {
    margin-bottom: 6px;
    font-size: 13px;
  }

  .field-line em {
    min-height: 36px;
    padding: 10px 14px;
    font-size: 14px;
  }

  .field-line-large em {
    min-height: 96px;
  }

  .contact-panel .button {
    min-height: 40px;
  }

  .footer-grid {
    grid-template-columns: 1.1fr 1.5fr 1.1fr 0.9fr;
    min-height: 218px;
    padding: 34px 92px 28px;
  }

  .footer-grid > div {
    min-height: 132px;
  }

  .footer-bottom {
    min-height: 82px;
    padding: 18px 92px 20px;
  }

  .footer-brand-image img {
    width: 226px;
    height: auto;
  }
}

/* P2.1 fidelity pass: approved references use raster icons/logos, not CSS approximations. */
.asset-icon,
.service-icon,
.value-icon,
.metric-icon,
.proof-icon,
.cta-asset-icon,
.contact-mini-icon,
.footer-line-icon,
.footer-block-icon,
.trusted-logo,
.social-row img {
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

.page-hero .section-label,
.values-wrap .section-label,
.section-heading .section-label,
.contact-layout .section-label {
  color: var(--cw-gold-dark);
}

.service-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 14px;
  border-radius: 50%;
  mix-blend-mode: multiply;
}

.value-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 10px;
  border-radius: 50%;
  mix-blend-mode: multiply;
}

.metric-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 4px;
}

.stat-icon {
  border-radius: 50%;
  mix-blend-mode: multiply;
}

.metric-band article::before,
.proof-row span::before {
  display: none;
  content: none;
}

.proof-row span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 0;
}

.proof-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  mix-blend-mode: multiply;
}

.cta-asset-icon {
  width: 72px;
  height: 72px;
}

.cta-contact span,
.quick-contact span,
.footer-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-mini-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.footer-line-icon {
  width: 34px;
  height: 34px;
}

.footer-info-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: center;
  padding-top: 16px;
}

.footer-block-icon {
  width: 62px;
  height: 62px;
}

.social-row img {
  width: 44px;
  height: 44px;
}

.testimonial-card strong::before {
  display: block;
  width: 42px;
  height: 2px;
  margin: 14px 0 12px;
  content: "";
  background: var(--cw-gold);
}

.testimonial-card .quote-mark {
  color: var(--cw-gold);
}

.simple-footer img {
  width: 260px;
  filter: none;
}

@media (min-width: 821px) {
  body[data-page="nosotros"] .simple-footer,
  body[data-page="servicios"] .simple-footer,
  body[data-page="experiencia"] .simple-footer,
  body[data-page="clientes"] .simple-footer {
    display: grid;
  }

  body[data-page="home"] .simple-footer,
  .home-page,
  .home-page .site-main {
    max-width: 1440px;
  }

  .home-page {
    border-right: 0;
    border-left: 0;
  }

  body[data-page="home"] .site-header {
    grid-template-columns: 430px 1fr auto;
    min-height: 104px;
    padding: 0 56px;
  }

  body[data-page="home"] .brand img {
    width: 382px;
  }

  body[data-page="home"] .site-nav {
    gap: 34px;
    padding-right: 36px;
    font-size: 15px;
  }

  body[data-page="home"] .site-nav a {
    padding: 40px 0 36px;
  }

  body[data-page="home"] .site-nav a::after {
    bottom: 28px;
  }

  body[data-page="home"] .header-cta {
    min-width: 136px;
    min-height: 46px;
    font-size: 15px;
  }

  .home-hero {
    grid-template-columns: 0.78fr 1.22fr;
    min-height: 400px;
  }

  .home-hero .section-copy {
    padding: 64px 40px 58px 80px;
  }

  .home-hero h1 {
    font-size: 42px;
  }

  .home-hero p {
    font-size: 17px;
    line-height: 1.62;
  }

  .home-hero-media {
    height: 400px;
  }

  .home-overview {
    grid-template-columns: 0.85fr 1fr 1.18fr;
    gap: 46px;
    padding: 54px 80px 28px;
  }

  .home-overview h2 {
    font-size: 30px;
  }

  .home-overview p {
    font-size: 17px;
    line-height: 1.6;
  }

  .home-overview figure {
    min-height: 318px;
  }

  .home-overview img {
    width: 100%;
    height: 318px;
    object-fit: cover;
  }

  .home-stats {
    padding: 8px 80px 42px;
  }

  .home-stats article {
    grid-template-columns: 52px 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    justify-items: start;
    min-height: 76px;
    padding: 10px 34px;
    text-align: left;
  }

  .home-stats .stat-icon {
    grid-row: 1 / 3;
    width: 46px;
    height: 46px;
  }

  .home-stats strong {
    font-size: 30px;
    line-height: 1;
  }

  .home-stats span {
    font-size: 13px;
  }

  .home-services {
    padding: 34px 80px 54px;
  }

  .home-services h2 {
    max-width: 430px;
    font-size: 30px;
  }

  .home-service-grid {
    gap: 24px;
  }

  .compact-card {
    min-height: 246px;
    padding: 26px 20px;
  }

  .compact-card .service-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
  }

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

  .trusted-band {
    grid-template-columns: 1.3fr 0.75fr 0.75fr;
    min-height: 126px;
    padding: 30px 80px;
  }

  .trusted-copy .section-label {
    margin-bottom: 8px;
    color: var(--cw-gold);
    font-size: 13px;
  }

  .trusted-copy h2 {
    max-width: 480px;
    margin-bottom: 0;
    color: #fff;
    font-size: 25px;
    line-height: 1.15;
  }

  .trusted-logo {
    justify-self: center;
    width: auto;
    max-height: 58px;
  }

  .trusted-logo-gtd {
    max-height: 70px;
  }

  .home-contact-strip {
    grid-template-columns: 1fr 0.82fr auto;
    min-height: 106px;
    padding: 22px 80px;
  }

  .home-contact-strip h2 {
    font-size: 24px;
  }

  .home-contact-strip p,
  .quick-contact span {
    font-size: 15px;
  }

  body[data-page="home"] .simple-footer {
    grid-template-columns: 300px 1fr auto;
    min-height: 150px;
    padding: 30px 80px;
  }

  .simple-footer nav {
    gap: 34px;
    font-size: 15px;
    font-weight: 700;
  }

  .simple-footer p {
    max-width: 300px;
    font-size: 15px;
    line-height: 1.35;
  }

  body[data-page="nosotros"] .page-hero {
    height: 458px;
    min-height: 458px;
  }

  body[data-page="nosotros"] .page-hero .section-copy {
    padding-top: 34px;
    padding-bottom: 26px;
  }

  body[data-page="nosotros"] .page-hero h1 {
    margin-bottom: 14px;
    font-size: 37px;
  }

  body[data-page="nosotros"] .page-hero .rule {
    margin-bottom: 18px;
  }

  body[data-page="nosotros"] .page-hero .section-copy p {
    margin-bottom: 12px;
    line-height: 1.42;
  }

  body[data-page="nosotros"] .page-hero .button {
    min-height: 42px;
    margin-top: 2px;
  }

  body[data-page="nosotros"] .values-wrap {
    height: 260px;
  }

  body[data-page="nosotros"] .metric-band {
    height: 176px;
  }

  body[data-page="servicios"] .service-card .service-icon {
    width: 68px;
    height: 68px;
  }

  body[data-page="experiencia"] .metric-band-compact .metric-icon {
    width: 42px;
    height: 42px;
  }

  body[data-page="experiencia"] .experience-cases {
    height: 360px;
  }

  body[data-page="experiencia"] .proof-row {
    gap: 10px;
    font-size: 11px;
    line-height: 1.18;
  }
}

@media (max-width: 820px) {
  .service-icon,
  .value-icon {
    margin-right: auto;
    margin-left: auto;
  }

  .proof-row span,
  .cta-contact span,
  .quick-contact span,
  .footer-line {
    justify-content: center;
  }

  .footer-info-row {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .simple-footer img {
    width: 230px;
  }
}

/* P2.2 polish: crisp derived assets, centered icons and consistent web footer. */
.service-icon,
.value-icon,
.stat-icon,
.proof-icon,
.metric-icon,
.cta-asset-icon,
.contact-mini-icon,
.footer-line-icon,
.footer-block-icon,
.social-row img {
  mix-blend-mode: normal;
}

.asset-icon,
.service-icon,
.value-icon,
.stat-icon,
.proof-icon,
.metric-icon,
.cta-asset-icon,
.contact-mini-icon,
.footer-line-icon,
.footer-block-icon,
.trusted-logo,
.social-row img {
  object-position: center;
}

.footer-line,
.quick-contact span,
.cta-contact span {
  align-items: center;
}

.contact-mini-icon,
.footer-line-icon {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.cta-contact .contact-mini-icon,
.quick-contact .contact-mini-icon {
  width: 24px;
  height: 24px;
}

.footer-block-icon {
  width: 72px;
  height: 72px;
}

.social-row img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.simple-footer {
  background: var(--cw-navy-deep);
}

.page-screen {
  min-height: 0;
}

.simple-footer img {
  width: 250px;
  filter: none;
}

@media (min-width: 821px) {
  .brand img,
  body[data-page="home"] .brand img {
    width: 370px;
  }

  .home-hero {
    grid-template-columns: 0.78fr 1.22fr;
    min-height: 414px;
  }

  .home-hero-media {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    height: 414px;
    overflow: hidden;
    background: #fff;
  }

  .home-hero-media img {
    width: 100%;
    height: 100%;
    image-rendering: auto;
    object-fit: contain;
    object-position: center right;
  }

  .home-overview {
    grid-template-columns: minmax(0, 1.24fr) minmax(380px, 0.76fr);
    gap: 54px;
    align-items: start;
    padding: 56px 80px 46px;
  }

  .home-overview-content {
    display: grid;
    grid-template-columns: minmax(290px, 0.88fr) minmax(330px, 1fr);
    gap: 26px 48px;
    align-items: start;
  }

  .home-overview-content > p {
    margin-top: 36px;
  }

  .home-overview .section-label {
    color: var(--cw-gold-dark);
  }

  .home-overview figure {
    width: 100%;
    min-height: 300px;
    margin: 0;
  }

  .home-overview figure > img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 3px;
  }

  .home-overview .home-stats {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 12px 0 0;
  }

  .home-overview .home-stats article {
    display: grid;
    grid-template-columns: 58px 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    justify-items: start;
    min-height: 82px;
    padding: 10px 26px;
    text-align: left;
    border-right: 1px solid var(--cw-line);
  }

  .home-overview .home-stats article:first-child {
    padding-left: 0;
  }

  .home-overview .home-stats article:last-child {
    border-right: 0;
  }

  .home-overview .home-stats .stat-icon {
    grid-row: 1 / 3;
    width: 48px;
    height: 48px;
    border-radius: 50%;
  }

  .home-overview .home-stats strong {
    color: var(--cw-gold);
    font-size: 31px;
    line-height: 1;
  }

  .home-overview .home-stats span {
    color: var(--cw-body);
    font-size: 13px;
    line-height: 1.35;
  }

  .home-services {
    padding-top: 38px;
  }

  .trusted-logo {
    max-width: 260px;
    max-height: 58px;
  }

  .trusted-logo-gtd {
    max-width: 210px;
    max-height: 68px;
  }

  .client-mark-img {
    padding: 8px;
    object-fit: contain;
    object-position: center;
    background: #fff;
  }

  .quick-contact {
    gap: 5px;
  }

  body[data-page="home"] .simple-footer,
  .simple-footer {
    grid-template-columns: 260px 1fr minmax(250px, auto);
    min-height: 118px;
    padding: 22px 80px;
  }

  body[data-page="home"] .simple-footer img,
  .simple-footer img {
    width: 270px;
  }

  body[data-page="home"] .simple-footer nav,
  .simple-footer nav {
    gap: 30px;
    font-size: 14px;
  }

  body[data-page="home"] .simple-footer p,
  .simple-footer p {
    max-width: 310px;
    font-size: 14px;
    line-height: 1.35;
  }

  .value-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 12px;
  }

  body[data-page="nosotros"] .metric-band,
  body[data-page="experiencia"] .metric-band-compact {
    align-items: center;
  }

  body[data-page="nosotros"] .metric-band article,
  body[data-page="experiencia"] .metric-band-compact article {
    align-content: center;
    justify-items: center;
  }

  body[data-page="nosotros"] .metric-band .metric-icon,
  body[data-page="experiencia"] .metric-band-compact .metric-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 6px;
  }

  body[data-page="servicios"] .service-card .service-icon,
  .service-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 14px;
  }

  .cta-asset-icon {
    width: 76px;
    height: 76px;
    justify-self: center;
  }

  .proof-row span {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 10px;
    align-items: center;
  }

  .proof-icon {
    width: 34px;
    height: 34px;
    justify-self: center;
  }

  body[data-page="clientes"] .testimonials-heading {
    height: auto;
    min-height: 318px;
    padding-bottom: 44px;
    overflow: visible;
  }

  body[data-page="clientes"] .testimonial-grid {
    padding-bottom: 48px;
  }

  body[data-page="clientes"] .testimonial-card {
    height: auto;
    min-height: 198px;
    padding-bottom: 26px;
  }

  body[data-page="clientes"] .cta-band {
    margin-top: 0;
  }

  .contact-info-footer {
    border-bottom: 0;
  }

  .contact-info-footer .footer-grid {
    min-height: 214px;
    padding-top: 34px;
    padding-bottom: 28px;
  }

  .contact-info-footer + .simple-footer {
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .footer-line {
    gap: 12px;
  }

  .footer-info-row {
    grid-template-columns: 76px 1fr;
    gap: 20px;
  }

  .social-row {
    gap: 18px;
  }
}

@media (min-width: 821px) and (max-width: 1180px) {
  .site-header,
  body[data-page="home"] .site-header {
    grid-template-columns: 1fr auto;
    gap: 14px 24px;
    min-height: 0;
    padding: 18px 32px;
  }

  .brand img,
  body[data-page="home"] .brand img {
    width: min(340px, 42vw);
  }

  .site-nav,
  body[data-page="home"] .site-nav {
    order: 3;
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 24px;
    width: 100%;
    padding-right: 0;
  }

  .site-nav a,
  body[data-page="home"] .site-nav a {
    padding: 10px 0 14px;
  }

  .site-nav a::after,
  body[data-page="home"] .site-nav a::after {
    bottom: 5px;
  }

  .section-split,
  .page-hero.section-split,
  .home-hero,
  .contact-layout {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .section-copy,
  .hero-copy,
  .page-hero .section-copy,
  .home-hero .section-copy,
  .contact-layout .section-copy {
    align-self: auto;
    padding: 48px 56px;
  }

  .hero-copy::after,
  .hero-like .section-copy::after,
  .page-hero .wide-photo::before,
  .contact-photo::before {
    display: none;
  }

  .home-hero-media,
  .hero-media,
  .wide-photo,
  .contact-photo,
  body[data-page="nosotros"] .page-hero,
  body[data-page="servicios"] .page-hero,
  body[data-page="experiencia"] .page-hero,
  body[data-page="clientes"] .page-hero {
    height: auto;
    min-height: 0;
  }

  .home-hero-media img,
  .hero-media img,
  .wide-photo img,
  .contact-photo img,
  .page-hero .wide-photo img {
    width: 100%;
    height: auto;
    max-height: 430px;
    object-fit: cover;
    object-position: center;
  }

  .home-overview {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 48px 56px;
  }

  .home-overview-content {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 24px 34px;
  }

  .home-overview figure > img {
    height: auto;
    max-height: 360px;
    object-fit: cover;
  }

  body[data-page="servicios"] .section-heading,
  body[data-page="experiencia"] .experience-cases,
  body[data-page="clientes"] .section-heading,
  body[data-page="clientes"] .testimonials-heading,
  body[data-page="nosotros"] .values-wrap {
    height: auto;
    min-height: 0;
    overflow: visible;
    padding-right: 56px;
    padding-left: 56px;
    padding-bottom: 34px;
  }

  .service-grid,
  body[data-page="servicios"] .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-right: 0;
    padding-left: 0;
  }

  body[data-page="servicios"] .service-card,
  .service-card {
    height: auto;
    min-height: 260px;
  }

  .values-grid,
  body[data-page="nosotros"] .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-right: 0;
    padding-left: 0;
  }

  .case-grid,
  body[data-page="experiencia"] .case-grid {
    grid-template-columns: 1fr;
    padding-right: 0;
    padding-left: 0;
  }

  .proof-row,
  body[data-page="experiencia"] .proof-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-right: 0;
    padding-left: 0;
  }

  .metric-band,
  body[data-page="nosotros"] .metric-band,
  body[data-page="experiencia"] .metric-band-compact {
    height: auto;
    min-height: 0;
    padding-right: 56px;
    padding-left: 56px;
  }

  .contact-panel {
    padding: 0 56px 44px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-right: 56px;
    padding-left: 56px;
  }

  .simple-footer,
  body[data-page="home"] .simple-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 820px) {
  .home-overview-content,
  .home-overview .home-stats {
    display: grid;
    grid-template-columns: 1fr;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    justify-self: center;
    width: 330px;
    max-width: calc(100vw - 48px);
    gap: 8px;
    padding-right: 0;
    overflow: hidden;
  }

  .site-nav a {
    min-width: 0;
    padding: 10px 4px 12px;
    white-space: nowrap;
  }

  .site-nav a::after {
    bottom: 4px;
  }

  body[data-page="home"] .home-hero h1 {
    font-size: 30px;
    line-height: 1.16;
  }

  body[data-page="home"] .home-hero h1 span {
    display: block;
  }

  .site-header,
  .site-main,
  .home-page {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-right: 0;
    margin-left: 0;
    overflow: hidden;
  }

  .section-split,
  .section-copy,
  .hero-copy {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .home-overview .home-stats {
    padding: 18px 0 0;
  }

  .home-overview .home-stats article {
    grid-template-columns: 52px 1fr;
    grid-template-rows: auto auto;
    justify-items: start;
    text-align: left;
  }

  .home-overview .home-stats .stat-icon {
    grid-row: 1 / 3;
    width: 44px;
    height: 44px;
  }

  .home-hero-media img,
  .home-overview figure > img {
    object-fit: contain;
  }

  .simple-footer,
  body[data-page="home"] .simple-footer {
    min-height: 0;
    padding: 28px 24px;
  }
}

@media (max-width: 480px) {
  .site-header,
  .site-main,
  .home-page {
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .site-nav {
    width: 330px;
    max-width: calc(100vw - 48px);
  }

  .section-copy,
  .hero-copy,
  .home-overview,
  .home-services,
  .trusted-band,
  .home-contact-strip {
    max-width: 390px;
  }

  h1,
  h2 {
    max-width: 100%;
    overflow-wrap: normal;
  }
}
