@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #132025;
  --muted: #5d6b72;
  --line: #d9e2e4;
  --paper: #edf3f2;
  --surface: #f6f9f8;
  --surface-strong: #eef4f3;
  --white: #ffffff;
  --teal: #0c5c61;
  --teal-dark: #2D9E9B;
  --blue: #0969a4;
  --night: #082633;
  --charcoal: #3d3e45;
  --gold: #c89a4a;
  --gold-ink: #8a6420;
  --clay: #c8634d;
  --clay-ink: #a94e3c;
  --sage: #dfe9e5;
  --shadow: 0 18px 45px rgba(12, 37, 42, 0.12);
  --shadow-sm: 0 6px 18px rgba(12, 37, 42, 0.08);
  --shadow-md: 0 14px 34px rgba(12, 37, 42, 0.13);
  --radius: 14px;
  --radius-lg: 18px;
  --section-texture:
    linear-gradient(135deg, rgba(12, 92, 97, 0.045) 0 1px, transparent 1px 38px),
    radial-gradient(circle at 12% 18%, rgba(45, 158, 155, 0.1), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(200, 154, 74, 0.1), transparent 28%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  background-image: var(--section-texture);
  line-height: 1.6;
}

body::selection {
  color: var(--white);
  background: var(--teal);
}

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

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

.site-header {
  color: var(--white);
  background: var(--teal-dark);
}

.home-header {
  min-height: 84vh;
}

.navbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 112px;
  align-items: center;
  gap: 0;
  width: 100%;
  min-height: 124px;
  padding: 8px max(20px, calc((100% - 1180px) / 2));
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  background: rgba(45, 158, 155, 0.97);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 36px rgba(8, 54, 58, 0.18);
}

.navbar::after {
  content: "";
  width: 112px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  justify-self: start;
}

.brand-logo {
  width: 270px;
  height: 108px;
  object-fit: contain;
  object-position: center;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  color: var(--teal-dark);
  background: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 24px;
  min-width: 0;
  font-size: 1.08rem;
  font-weight: 700;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
  line-height: 1.2;
  white-space: nowrap;
  word-spacing: 0.08em;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:focus-visible,
.button:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid rgba(200, 154, 74, 0.72);
  outline-offset: 3px;
}

.nav-item {
  position: static;
}

.submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0 0 8px 8px;
  background: rgb(45, 158, 155);
  box-shadow: 0 14px 28px rgba(8, 54, 58, 0.16);
}

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

.has-submenu.is-open .submenu {
  display: grid;
}

.submenu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.88);
  white-space: normal;
}

.submenu a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.language-link {
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
}

.menu-toggle {
  display: none;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

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

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 84vh;
  padding: 126px 20px 54px;
  overflow: hidden;
}

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

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

.hero-overlay {
  background: rgba(4, 22, 25, 0.2);
}

.hero-content,
.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 0;
}

.hero .eyebrow {
  transform: translateY(-16px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero h1 {
  line-height: 0.9;
}

.hero h1 span {
  display: block;
  margin-top: clamp(12px, 1.5vw, 24px);
  color: #fff4c8;
}

.hero p,
.page-hero p {
  max-width: 720px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.04rem, 2vw, 1.24rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}

.button-primary {
  color: #1f5f55;
  background: #bfd8b8;
}

.button-primary:hover {
  color: #1f5f55;
  background: #a9cfa1;
}

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

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.16);
}

.page-hero {
  padding: 155px 20px 86px;
  background: radial-gradient(circle at 85% 25%, rgba(200, 154, 74, 0.22), transparent 34%), linear-gradient(135deg, #07353a, #10272d);
}

.page-hero-image {
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  background-position: center;
  background-size: cover;
}

.page-hero-image .section-inner {
  position: relative;
  z-index: 1;
}

.experience-page-hero {
  background-image: linear-gradient(90deg, rgba(3, 26, 34, 0.9), rgba(3, 26, 34, 0.18)), url("../images/reach-global.png");
}

.software-page-hero,
.bexel-page-hero,
.geo5-page-hero {
  background-image: linear-gradient(90deg, rgba(3, 22, 35, 0.94), rgba(3, 36, 48, 0.34)), url("../images/transition.png");
}

.network-page-hero {
  background-image: linear-gradient(90deg, rgba(3, 26, 34, 0.92), rgba(3, 26, 34, 0.28)), url("../images/commitment-bg.png");
}

.contact-page-hero {
  background-image: linear-gradient(90deg, rgba(12, 92, 97, 0.92), rgba(3, 26, 34, 0.3)), url("../images/hero-consulting.png");
}
.services-page-hero h1 {
  max-width: 900px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  text-wrap: balance;
}
.services-page-hero .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: #f4c96f;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(8, 35, 41, 0.75), 0 0 2px rgba(8, 35, 41, 0.5);
}
.services-page-hero .hero-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

.content-band-dark {
  color: var(--white);
  background: var(--night);
}

.content-band-dark h2,
.content-band-dark h3 {
  color: var(--white);
}

.content-band-dark p {
  color: rgba(255, 255, 255, 0.74);
}

.page-software-grid {
  display: grid;
  gap: 30px;
}

.page-software-grid .software-card {
  background: #071f2b;
}

.technology-visual {
  overflow: hidden;
  border-radius: 8px;
  background: var(--night);
  box-shadow: var(--shadow);
}

.technology-visual img {
  width: 100%;
  height: auto;
}

.detail-copy {
  display: grid;
  gap: 18px;
}

.detail-copy p {
  margin: 0;
}

.section {
  padding: 90px 20px;
}

.split,
.contact-layout,
.detail-layout,
.media-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(34px, 7vw, 84px);
  align-items: start;
}

.media-split {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
}

h2 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.55rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.25;
}

.section p {
  margin-top: 0;
  color: var(--muted);
  font-size: 1rem;
}

.intro-copy {
  display: grid;
  gap: 14px;
}

.intro-media {
  overflow: hidden;
  border-radius: 8px;
  background: #061f23;
  box-shadow: var(--shadow);
}

.intro-media video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.intro-section .split {
  grid-template-columns: minmax(0, 0.88fr) minmax(560px, 1.12fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

.intro-section h2 {
  max-width: 560px;
  font-size: clamp(2.25rem, 3vw, 3rem);
}

.intro-copy p {
  margin: 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-heading h2 {
  flex: 0 1 820px;
}

.intro-section,
.contact-section,
.experience-section {
  background-color: var(--surface);
  background-image: var(--section-texture);
}

.services-section {
  padding-top: 56px;
  background-color: var(--paper);
  background-image: var(--section-texture);
}

.intro-section,
.services-section {
  background-image:
    linear-gradient(180deg, rgba(45, 158, 155, 0.24) 0%, rgba(45, 158, 155, 0.12) 38%, rgba(246, 249, 248, 0.72) 78%),
    radial-gradient(circle at 12% 18%, rgba(45, 158, 155, 0.18), transparent 34%),
    var(--section-texture);
}

.intro-section {
  padding-bottom: 32px;
  border-bottom: 3px solid rgba(191, 216, 184, 0.5);
  background-color: #e5f4f2;
  background-image: none;
}

.services-section {
  background-color: #f1f3f2;
  background-image: linear-gradient(135deg, #d5eeeb 0%, #edf4f2 48%, #c5e2df 100%);
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: inset 0 12px 18px rgba(61, 62, 69, 0.04);
}

.services-section h2 {
  color: #148b8e;
}

.services-section .section-heading-single {
  max-width: none;
  margin: 16px auto 38px;
  text-align: center;
}

.services-section .section-heading-single h2 {
  max-width: none;
  font-size: clamp(1.55rem, 2.6vw, 2.45rem);
}

.industries-section {
  padding-top: 36px;
  padding-bottom: 44px;
  border-bottom: 3px solid rgba(191, 216, 184, 0.56);
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 18%, rgba(200, 154, 74, 0.2), transparent 42%),
    linear-gradient(135deg, #0c5c61, #143f49);
}

.industries-section .section-heading {
  max-width: none;
  width: 100%;
  align-items: end;
  justify-content: center;
  text-align: center;
}

.industries-section h2 {
  color: var(--white);
}

.industries-section h3,
.industry-card h3 {
  color: var(--white);
}

.industries-section .eyebrow {
  color: #6fd8d4;
}

.section-heading-single {
  display: block;
}

.section-heading-single h2 {
  max-width: none;
}

.industries-section .section-heading-single h2 {
  white-space: nowrap;
}

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

.industry-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border-radius: 8px;
  background: #061f23;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
}

.industry-card img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  opacity: 0.92;
  filter: saturate(0.92) contrast(1.05);
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.industry-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 21, 26, 0.4), rgba(3, 21, 26, 0.08)),
    linear-gradient(180deg, rgba(3, 21, 26, 0.01), rgba(3, 21, 26, 0.5));
}

.industry-card div {
  position: absolute;
  z-index: 1;
  left: 24px;
  right: 24px;
  bottom: 24px;
}

.industry-card h3 {
  max-width: 340px;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
}

.industry-card p {
  max-width: 390px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

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

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

.card {
  min-height: 270px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(246, 249, 248, 0.94);
  box-shadow: 0 1px 0 rgba(20, 42, 45, 0.04);
}

.service-card {
  position: relative;
  overflow: hidden;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.12);
  background-position: center;
  background-size: cover;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card p {
  color: rgba(255, 255, 255, 0.82);
}

.service-design-engineering,
.service-design,
.service-engineering { background-image: linear-gradient(180deg, rgba(3, 18, 23, 0.72), rgba(3, 18, 23, 0.95)), url("../images/service-design-engineering.jpg"); }
.service-bim { background-image: linear-gradient(180deg, rgba(3, 18, 23, 0.72), rgba(3, 18, 23, 0.95)), url("../images/service-bim-new.jpg"); }
.service-management { background-image: linear-gradient(180deg, rgba(3, 18, 23, 0.72), rgba(3, 18, 23, 0.95)), url("../images/service-construction-management.jpg"); }
.service-energy { background-image: linear-gradient(180deg, rgba(3, 18, 23, 0.72), rgba(3, 18, 23, 0.95)), url("../images/service-energy-advisory.jpg"); background-position: 76% center; }
.service-quality { background-image: linear-gradient(180deg, rgba(3, 18, 23, 0.72), rgba(3, 18, 23, 0.95)), url("../images/service-quality-assurance.jpg"); }
.service-bi { background-image: linear-gradient(180deg, rgba(3, 18, 23, 0.72), rgba(3, 18, 23, 0.95)), url("../images/service-bi-digital.jpg"); }
.service-human { background-image: linear-gradient(180deg, rgba(3, 18, 23, 0.72), rgba(3, 18, 23, 0.95)), url("../images/service-human-capital.jpg"); }

.service-card::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 42px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0.45);
  transform-origin: right;
  transition: transform 0.18s ease;
}

.card-link {
  display: block;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.card span {
  display: inline-flex;
  margin-bottom: 44px;
  color: #ffd382;
  font-weight: 800;
}

.card p,
.network-grid p {
  margin: 12px 0 0;
  font-size: 0.95rem;
}

.locations {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 26px;
}

.locations span {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 0;
  color: var(--teal-dark);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
}

.locations svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #6fd8d4;
  stroke-width: 1.8;
}

.image-panel {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.software-section {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(3, 19, 31, 0.94), rgba(5, 52, 67, 0.72)),
    url("../images/transition.png") center / cover;
}

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

.software-section .eyebrow {
  color: #6fd8d4;
}

.software-section .section-heading {
  display: block;
  max-width: 880px;
}

.software-section .section-heading h2 {
  max-width: 880px;
}

.section-lead {
  max-width: 760px;
  margin: -12px 0 34px;
  color: rgba(255, 255, 255, 0.78) !important;
}

.software-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.software-card {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: var(--white);
  background: rgba(3, 21, 31, 0.72);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.22);
}

.software-image-link {
  position: relative;
  display: block;
  color: inherit;
}

.software-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 240ms ease, filter 240ms ease;
}

.software-image-link::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, rgba(3, 21, 31, 0), rgba(3, 21, 31, 0.48));
  pointer-events: none;
}

.software-image-link span {
  position: absolute;
  right: clamp(18px, 2vw, 26px);
  bottom: clamp(18px, 2vw, 26px);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  color: #1f5f55;
  background: #bfd8b8;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(2, 20, 27, 0.18);
  transition: background 180ms ease, transform 180ms ease;
}

.software-image-link:hover img,
.software-image-link:focus-visible img {
  transform: scale(1.012);
  filter: brightness(1.04);
}

.software-image-link:hover span,
.software-image-link:focus-visible span {
  background: #a9cfa1;
  transform: translateY(-2px);
}

.software-image-link:focus-visible {
  outline: 3px solid rgba(104, 216, 212, 0.85);
  outline-offset: 4px;
}

.software-section .software-image-link span,
.software-section .software-card .button {
  display: none;
}

.geo5-visual {
  display: grid;
  place-items: center;
  min-height: 380px;
  padding: 70px !important;
  background: linear-gradient(135deg, #061f23, #3f571b);
}

.geo5-visual img {
  max-width: 620px;
}

.experience-section {
  border-top: 6px solid rgba(191, 216, 184, 0.62);
  border-bottom: 3px solid rgba(191, 216, 184, 0.5);
  padding: 28px 20px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(246, 250, 249, 0.04) 0%, rgba(8, 56, 61, 0.16) 42%, rgba(3, 28, 40, 0.8) 74%),
    linear-gradient(180deg, rgba(246, 250, 249, 0.18) 0%, rgba(3, 28, 40, 0.05) 48%, rgba(3, 28, 40, 0.26) 100%),
    url("../images/global-network-light.png") center / cover no-repeat;
}

.experience-content {
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.experience-copy {
  width: min(500px, 46%);
}

.experience-section h2 {
  color: var(--white);
}

.experience-section .locations span {
  color: var(--white);
}

.experience-section p {
  color: rgba(255, 255, 255, 0.78);
}

.network-section {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(3, 21, 26, 0.55), rgba(3, 21, 26, 0.3)),
    linear-gradient(180deg, rgba(8, 38, 51, 0.12) 0%, rgba(8, 38, 51, 0.2) 58%, rgba(7, 39, 46, 0.62) 100%),
    url("../images/commitment-home.png") center / cover;
}

.network-section p {
  color: rgba(255, 255, 255, 0.72);
}

.network-section .section-heading {
  display: block;
}

.network-section .section-heading .eyebrow {
  margin-bottom: 14px;
}

.network-section .section-heading h2 {
  max-width: none;
  font-size: clamp(1.8rem, 3.7vw, 3.5rem);
}

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

.network-grid > div {
  min-height: 210px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(246, 249, 248, 0.28);
  backdrop-filter: blur(6px);
}

.network-grid h3 {
  margin-top: 18px;
  color: var(--white);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.network-grid p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
  line-height: 1.65;
}

.commitment-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(12, 92, 97, 0.2);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

.commitment-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 16px 18px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: rgba(246, 249, 248, 0.94);
  box-shadow: 0 1px 0 rgba(20, 42, 45, 0.04);
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(246, 249, 248, 0.94);
  box-shadow: var(--shadow);
}

.contact-note {
  display: grid;
  gap: 6px;
  margin-top: 28px;
  padding: 18px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: rgba(246, 249, 248, 0.94);
}

.contact-note strong {
  color: var(--teal);
  font-size: 0.96rem;
}

.contact-note span {
  color: var(--muted);
}

.contact-section-tinted {
  background:
    linear-gradient(90deg, rgba(216, 222, 223, 0.82), rgba(216, 222, 223, 0.7)),
    url("../images/hero-consulting.png") center / cover no-repeat #d8dedf;
}

.contact-section-tinted .contact-layout {
  align-items: stretch;
}

.contact-section-tinted .contact-layout > div {
  display: flex;
  flex-direction: column;
}

.contact-section-tinted .contact-form {
  background: rgba(246, 249, 248, 0.62);
  backdrop-filter: blur(10px);
  height: 100%;
}

.contact-section-tinted .contact-form input,
.contact-section-tinted .contact-form textarea {
  background: rgba(255, 255, 255, 0.76);
}

.contact-logo-card {
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(12px, 2vw, 18px);
  border: 0;
  border-radius: 22px;
  background: rgba(246, 249, 248, 0.42);
  backdrop-filter: blur(8px);
}

.contact-logo-card img {
  display: block;
  width: min(100%, 340px);
  height: auto;
  border-radius: 18px;
}

.contact-global-card {
  position: relative;
  overflow: hidden;
  gap: 14px;
  flex: 1;
  align-content: center;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-left: 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(3, 28, 40, 0.62), rgba(3, 28, 40, 0.38)),
    linear-gradient(180deg, rgba(8, 38, 51, 0.12), rgba(3, 28, 40, 0.55)),
    url("../images/global-network-light.png") center / cover no-repeat;
  box-shadow: 0 18px 48px rgba(2, 20, 27, 0.16);
}

.contact-global-card .eyebrow {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.contact-global-card h3 {
  margin: 0;
  max-width: 460px;
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.04;
}

.contact-global-card p:not(.eyebrow) {
  margin: 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.15vw, 1.14rem);
  line-height: 1.55;
}

.contact-global-card .locations {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.contact-global-card .locations span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.contact-global-card .locations svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.4;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.7));
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cbd8da;
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--surface);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(12, 92, 97, 0.16);
  border-color: var(--teal);
}

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

.form-status {
  min-height: 24px;
  margin: 0;
  font-size: 0.94rem;
  font-weight: 700;
}

.cta-strip {
  padding: 74px 20px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(3, 21, 26, 0.82), rgba(3, 21, 26, 0.4)),
    url("../images/hero-consulting.png") center / cover;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-inner h2 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 4.8rem);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 28px max(20px, calc((100vw - 1180px) / 2));
  color: rgba(255, 255, 255, 0.72);
  background: #061f23;
}

.site-footer p {
  grid-column: 2;
  justify-self: center;
  margin: 0;
  text-align: center;
}

.site-footer a {
  grid-column: 3;
  justify-self: end;
  color: var(--gold);
  font-weight: 800;
}

.service-detail-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 650px;
  padding: 170px 20px 86px;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.service-detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 25, 31, 0.94) 0%, rgba(3, 25, 31, 0.68) 48%, rgba(3, 25, 31, 0.2) 100%),
    linear-gradient(180deg, rgba(3, 25, 31, 0.08), rgba(3, 25, 31, 0.76));
}

.service-detail-hero .section-inner {
  position: relative;
  z-index: 1;
}

.service-detail-hero h1 {
  max-width: 900px;
  font-size: clamp(3.2rem, 7vw, 6.2rem);
}

.service-detail-hero p:not(.eyebrow) {
  max-width: 760px;
}

.quality-service-hero {
  background-image: url("../images/service-quality-assurance.jpg");
}

.intelligence-service-hero {
  background-image: url("../images/service-bi-digital.jpg");
}

.energy-service-hero {
  background-image: url("../images/service-energy-advisory.jpg");
  background-position: 76% center;
}

.service-intro {
  background-color: var(--surface);
  background-image: var(--section-texture);
}

.service-intro .detail-layout {
  align-items: center;
}

.service-intro-copy {
  display: grid;
  gap: 16px;
}

.service-intro-copy p {
  margin: 0;
  font-size: 1.06rem;
}

.service-highlight {
  color: var(--white);
  background: var(--charcoal);
}

.service-highlight-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 7vw, 88px);
  align-items: center;
}

.service-highlight h2 {
  color: var(--white);
}

.service-highlight p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.service-offerings {
  background-color: var(--paper);
  background-image: var(--section-texture);
}

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

.service-offer {
  min-height: 255px;
  padding: 26px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: 8px;
  background: rgba(246, 249, 248, 0.94);
}

.service-offer span {
  display: block;
  margin-bottom: 36px;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 800;
}

.service-offer p {
  margin: 12px 0 0;
  font-size: 0.95rem;
}

.service-list-section {
  background-color: var(--surface);
  background-image: var(--section-texture);
}

.service-list-grid,
.standards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 36px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.service-list-grid li,
.standards-grid li {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

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

.service-note {
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  background: rgba(238, 244, 243, 0.92);
  color: var(--muted);
}

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

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

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.process-step {
  min-height: 250px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.process-step span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  border: 1px solid rgba(111, 216, 212, 0.62);
  border-radius: 50%;
  color: #6fd8d4;
  font-weight: 800;
}

.process-step p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

@media (max-width: 1080px) {
  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: 20px;
    min-height: 100px;
  }

  .navbar::after {
    display: none;
  }

  .brand-logo {
    width: 210px;
    height: 84px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0 0 8px 8px;
    background: rgb(45, 158, 155);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 13px 10px;
  }

  .nav-item {
    display: grid;
    position: static;
  }

  .submenu {
    position: static;
    display: none;
    grid-template-columns: 1fr;
    width: 100%;
    min-width: 0;
    padding: 0 0 0 12px;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .industries-section .section-heading-single h2 {
    white-space: normal;
  }

  .has-submenu.is-open .submenu {
    display: grid;
  }

  .submenu a {
    padding: 9px 10px;
    color: rgba(255, 255, 255, 0.72);
  }

  .split,
  .contact-layout,
  .detail-layout,
  .media-split,
  .section-heading {
    display: grid;
    grid-template-columns: 1fr;
  }

  .intro-section .split {
    grid-template-columns: 1fr;
  }

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

  .experience-section {
    padding: 32px 20px;
    background:
      linear-gradient(90deg, rgba(246, 250, 249, 0.04), rgba(3, 28, 40, 0.76)),
      linear-gradient(180deg, rgba(246, 250, 249, 0.14), rgba(3, 28, 40, 0.34)),
      url("../images/global-network-light.png") center / cover no-repeat;
  }

  .experience-copy {
    width: min(520px, 58%);
  }

  .image-panel img {
    min-height: 330px;
  }

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

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

@media (max-width: 640px) {
  .navbar {
    width: 100%;
    min-height: 80px;
  }

  .brand-logo {
    width: 165px;
    height: 64px;
  }

  .site-header,
  .hero {
    min-height: 84vh;
  }

  .hero {
    padding-top: 112px;
  }

  .hero .eyebrow {
    transform: none;
  }

  .hero-overlay {
    background: rgba(4, 22, 25, 0.2);
  }

  .section {
    padding: 68px 18px;
  }

  .cards-grid,
  .network-grid,
  .industry-grid {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: auto;
  }

  .card span {
    margin-bottom: 28px;
  }

  .geo5-visual {
    min-height: 230px;
    padding: 40px 24px !important;
  }

  .industry-card,
  .industry-card img {
    min-height: 280px;
  }

  .experience-section {
    padding: 44px 18px;
    background:
      linear-gradient(180deg, rgba(3, 28, 40, 0.16), rgba(3, 28, 40, 0.78)),
      url("../images/global-network-light.png") center / cover no-repeat;
  }

  .experience-content {
    min-height: 430px;
    align-items: flex-end;
  }

  .experience-copy {
    width: 100%;
  }

  .cta-inner {
    display: grid;
  }

  .contact-form {
    padding: 20px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .site-footer p,
  .site-footer a {
    grid-column: auto;
    justify-self: center;
  }

  .service-detail-hero {
    min-height: 590px;
    padding: 140px 18px 68px;
  }

  .service-detail-hero h1 {
    font-size: clamp(2.8rem, 15vw, 4.4rem);
  }

  .service-offer-grid,
  .process-grid,
  .service-list-grid,
  .standards-grid {
    grid-template-columns: 1fr;
  }

  .service-offer,
  .process-step {
    min-height: auto;
  }
}

/* Detailed corporate pages */
.spec-hero {
  min-height: 74vh;
  display: grid;
  align-items: end;
  padding: 168px 28px 86px;
  color: #fff;
  background-position: center;
  background-size: cover;
}

.spec-hero .section-inner { width: min(1180px, 100%); }
.spec-hero h1 { max-width: 900px; margin: 10px 0 22px; font-size: clamp(3rem, 6vw, 6.2rem); line-height: .94; }
.spec-hero p:not(.eyebrow) { max-width: 760px; font-size: clamp(1.05rem, 1.8vw, 1.35rem); }
.experience-spec-hero { background-image: linear-gradient(90deg, rgba(3,25,31,.9), rgba(3,25,31,.32)), url("../images/project-tourism.png"); }
.network-spec-hero { background-image: linear-gradient(90deg, rgba(3,25,31,.92), rgba(3,25,31,.38)), url("../images/hero-consulting.png"); }
.contact-spec-hero { background-image: linear-gradient(90deg, rgba(3,25,31,.9), rgba(9,72,68,.48)), url("../images/commitment-bg.png"); }
.bexel-spec-hero { background-image: linear-gradient(90deg, rgba(3,18,25,.94), rgba(3,18,25,.38)), url("../images/service-bim.png"); }
.geo5-spec-hero { background-image: linear-gradient(90deg, rgba(3,25,31,.94), rgba(3,25,31,.32)), url("../images/software-geo5.png"); }

.page-lead { font-size: 1.2rem; line-height: 1.75; }
.section-heading-single { max-width: 820px; margin-bottom: 38px; }

/* Network page */
.connected-capacity-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #e7f0ed;
}

.connected-capacity-section::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url("../images/global-network-light.png") center / cover no-repeat;
  opacity: .42;
  filter: saturate(.62) hue-rotate(112deg);
}

.connected-capacity-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(229, 241, 237, .9) 0%, rgba(226, 239, 235, .8) 52%, rgba(238, 244, 239, .88) 100%);
}

.connected-capacity-section .detail-layout {
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
}

.connected-capacity-section .page-lead {
  max-width: 690px;
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.55;
  color: #345d61;
}

/* Experience page */
.experience-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(56px, 6vw, 76px);
  padding-bottom: clamp(42px, 4.5vw, 54px);
  background: #edf3f1;
}

.experience-intro::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url("../images/project-infrastructure.png") 18% 52% / cover no-repeat;
  opacity: .14;
  filter: saturate(.7);
}

.experience-intro::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(238, 246, 244, .9) 0%, rgba(242, 247, 245, .84) 48%, rgba(250, 248, 241, .92) 100%);
}

.experience-intro .detail-layout {
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
}

.experience-intro .page-lead,
.experience-intro .page-lead p {
  font-size: clamp(1.25rem, 1.45vw, 1.5rem);
  line-height: 1.68;
}

.experience-metrics {
  padding-top: clamp(14px, 1.5vw, 22px);
  padding-bottom: clamp(44px, 4.5vw, 62px);
  background: #e6eeec;
}

.experience-metrics .metric-grid {
  gap: clamp(16px, 2vw, 24px);
}

.experience-metrics .metric {
  position: relative;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 30px;
  border: 1px solid rgba(7, 72, 76, .16);
  border-top: 4px solid var(--teal);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 10px 26px rgba(3, 31, 40, .07);
}

.experience-metrics .metric strong {
  margin-bottom: 8px;
  font-size: clamp(2.5rem, 3.5vw, 3.35rem);
  line-height: 1;
}

.experience-metrics .metric span {
  color: #435f64;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .035em;
}

.experience-global-section {
  padding-top: clamp(42px, 5vw, 64px);
  padding-bottom: clamp(42px, 5vw, 64px);
  background:
    linear-gradient(90deg, rgba(3, 28, 40, .3), rgba(3, 28, 40, .52)),
    url("../images/global-network-light.png") center / cover no-repeat;
}

.experience-global-section .experience-content {
  min-height: clamp(430px, 38vw, 540px);
}

.experience-global-section .experience-copy {
  box-sizing: border-box;
  width: 100%;
  min-height: clamp(390px, 31vw, 460px);
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(36px, 5vw, 68px);
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(3, 28, 40, .8);
  box-shadow: 0 18px 50px rgba(2, 20, 27, .12);
  backdrop-filter: blur(2px);
}

.experience-global-heading h2 {
  max-width: 540px;
}

.experience-global-details {
  max-width: 690px;
  justify-self: end;
}

.experience-global-details > p:not(.experience-countries) {
  margin-bottom: 0;
  font-size: clamp(1.25rem, 1.55vw, 1.55rem);
  line-height: 1.62;
  color: rgba(255, 255, 255, .88);
}

.experience-regions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 24px 0 18px;
}

.experience-regions span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  font-size: clamp(.82rem, .9vw, .92rem);
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.experience-global-section .experience-countries {
  margin-bottom: 0;
  font-size: clamp(1rem, 1.15vw, 1.12rem) !important;
  line-height: 1.65;
  color: rgba(255, 255, 255, .68);
}

.participation-heading {
  max-width: 900px;
  margin-bottom: clamp(40px, 4.5vw, 58px);
}

.participation-section {
  padding-top: clamp(40px, 4vw, 54px);
  padding-bottom: clamp(72px, 7vw, 96px);
}

.participation-section .role-grid {
  gap: clamp(18px, 2vw, 28px);
}

.participation-section .role-item {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 210px;
  aspect-ratio: 1.2 / 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: clamp(24px, 2.4vw, 34px);
  color: #fff;
  font-size: 1.03rem;
  line-height: 1.35;
  text-align: center;
  background: #07333a;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.participation-section .role-item::before,
.participation-section .role-item::after {
  content: "";
  position: absolute;
  inset: 0;
}

.participation-section .role-item::before {
  z-index: -2;
  background-position: center;
  background-size: cover;
  transition: transform .45s ease;
}

.participation-section .role-item::after {
  z-index: -1;
  background: linear-gradient(180deg, rgba(3, 35, 41, .6), rgba(3, 28, 40, .86));
}

.participation-section .role-item:nth-child(1)::before { background-image: url("../images/service-management.png"); }
.participation-section .role-item:nth-child(2)::before { background-image: url("../images/service-design-engineering.jpg"); }
.participation-section .role-item:nth-child(3)::before { background-image: url("../images/service-engineering.png"); }
.participation-section .role-item:nth-child(4)::before { background-image: url("../images/service-bim-new.jpg"); }
.participation-section .role-item:nth-child(5)::before { background-image: url("../images/service-construction-management.jpg"); }
.participation-section .role-item:nth-child(6)::before { background-image: url("../images/service-quality-assurance.jpg"); }
.participation-section .role-item:nth-child(7)::before { background-image: url("../images/service-bi-digital.jpg"); }
.participation-section .role-item:nth-child(8)::before { background-image: url("../images/hero-consulting.png"); }

.participation-section .role-item > span {
  position: relative;
  z-index: 1;
}

.participation-section .role-item > span:last-child {
  color: #fff;
  font-size: clamp(1rem, 1.15vw, 1.14rem);
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .42);
}

.participation-section .role-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, .36);
  box-shadow: 0 18px 38px rgba(3, 31, 40, .18);
}

.participation-section .role-item:hover::before {
  transform: scale(1.035);
}

.role-icon {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  align-self: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 50%;
  background: rgba(3, 28, 40, .34);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
  backdrop-filter: blur(3px);
}

.role-icon svg {
  display: block;
  flex: none;
  width: 35px !important;
  height: 35px !important;
  fill: none !important;
  stroke: currentColor !important;
}

.metric-grid, .role-grid, .evidence-grid, .profile-grid, .partner-grid, .product-grid, .contact-card-grid, .resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.metric, .role-item, .profile-card, .partner-card, .product-card, .contact-card, .resource-item {
  padding: 26px;
  border: 1px solid rgba(11, 84, 82, .16);
  background: rgba(246, 249, 248, 0.94);
}
.metric strong { display: block; color: var(--teal); font-size: 2.4rem; }
.metric span, .card-kicker { color: #4a575e; font-size: .86rem; text-transform: uppercase; }
.content-band-soft { background: #eef3f2; }
.content-band-teal { background: #0b5553; color: #fff; }
.content-band-teal .eyebrow, .content-band-teal a { color: #ffe29b; }
.map-panel { min-height: 480px; display: grid; align-items: end; padding: 34px; background: linear-gradient(90deg, rgba(2,26,33,.18), rgba(2,26,33,.84)), url("../images/reach-global.png") center/cover no-repeat; color: #fff; }
.evidence-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.evidence-card { position: relative; min-height: 390px; overflow: hidden; color: #fff; }
.evidence-card img { width: 100%; height: 100%; position: absolute; object-fit: cover; }
.evidence-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(2,20,27,.92)); }
.evidence-card div { position: absolute; z-index: 1; inset: auto 24px 24px; }
.evidence-card h3 { margin: 8px 0; }

/* Selective project gallery */
.project-gallery-section {
  overflow: hidden;
  padding-bottom: clamp(30px, 3.5vw, 44px);
}

.project-gallery-section .section-heading-single {
  max-width: 920px;
}

.project-gallery-heading {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.project-gallery-section .section-heading-single > p:last-child {
  max-width: 760px;
  margin: 16px 0 0;
  color: #52626b;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
}

.project-filter-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin: clamp(26px, 3.5vw, 40px) 0 16px;
}

.project-filter-tabs {
  width: min(100%, 380px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(10, 69, 77, .12);
  border-radius: 999px;
  background: rgba(10, 69, 77, .05);
}

.project-filter-tab {
  min-height: 38px;
  padding: 7px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #52626b;
  cursor: pointer;
  font: inherit;
  font-size: .88rem;
  font-weight: 800;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.project-filter-tab:hover {
  color: #0c727d;
  background: rgba(255, 255, 255, .55);
}

.project-filter-tab.is-active {
  color: #fff;
  background: #0c727d;
  box-shadow: 0 3px 10px rgba(4, 73, 79, .14);
}

.project-filter-tab.is-active:hover,
.project-filter-tab.is-active:focus-visible {
  color: #fff;
  background: #0a5f69;
  box-shadow: 0 0 0 1px rgba(4, 73, 79, .28), 0 4px 12px rgba(4, 73, 79, .2);
}

.project-filter-tab:focus-visible {
  outline: 3px solid rgba(22, 159, 169, .42);
  outline-offset: 3px;
}

.project-filter-group {
  width: 100%;
}

.project-filter-group[hidden] {
  display: none;
}

.project-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
}

.project-filter {
  appearance: none;
  border: 1px solid rgba(10, 69, 77, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  color: #174d55;
  cursor: pointer;
  font: inherit;
  font-size: .78rem;
  font-weight: 800;
  padding: 8px 16px;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.project-filter:hover {
  border-color: rgba(12, 114, 125, .45);
  background: rgba(12, 114, 125, .08);
  color: #0a5f69;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(10, 69, 77, .14);
}

.project-filter.is-active {
  border-color: #0c727d;
  background: #0c727d;
  color: #fff;
  box-shadow: 0 3px 10px rgba(10, 69, 77, .22);
}

.project-filter.is-active:hover,
.project-filter.is-active:focus-visible {
  border-color: #0a5f69;
  background: #0a5f69;
  color: #fff;
  box-shadow: 0 0 0 1px rgba(4, 73, 79, .28), 0 4px 12px rgba(4, 73, 79, .2);
}

.project-filter:focus-visible,
.project-card-toggle:focus-visible {
  outline: 3px solid rgba(22, 159, 169, .42);
  outline-offset: 3px;
}

.project-gallery-toolbar {
  display: flex;
  justify-content: flex-end;
  min-height: 28px;
  margin-bottom: 14px;
}

.project-gallery-toolbar p {
  margin: 0;
  color: #52626b;
  font-size: .84rem;
  font-weight: 700;
}

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

.project-card {
  min-width: 0;
  min-height: 0;
  aspect-ratio: 1 / 1;
}

.project-card.is-hidden {
  display: none;
}

.project-card-toggle {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: box-shadow .22s ease, transform .22s ease;
}

.project-card-inner {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.project-card:hover .project-card-toggle {
  box-shadow: 0 18px 30px rgba(2, 20, 27, .16);
  transform: translateY(-2px);
}

.project-card-face {
  display: flex;
  position: absolute;
  inset: 0;
  overflow: hidden;
  transition: opacity .2s ease;
}

.project-card-front {
  align-items: flex-end;
  background: #072c33;
  z-index: 2;
  opacity: 1;
  visibility: visible;
}

.project-card-front::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 20, 27, .02) 38%, rgba(2, 20, 27, .92) 100%);
}

.project-card-front img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}

.project-card-no-photo {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 10%, #299b9a, transparent 65%), linear-gradient(135deg, #184b59, #072c33);
}

.project-card:not(.is-flipped):hover .project-card-front img {
  transform: scale(1.025);
}

.project-card-overlay {
  display: grid;
  position: relative;
  z-index: 1;
  width: 100%;
  gap: 7px;
  padding: 70px 24px 24px;
  color: #fff;
}

.project-card-overlay strong,
.project-card-back > strong {
  font-family: var(--font-heading, inherit);
  font-size: clamp(1.28rem, 1.8vw, 1.8rem);
  line-height: 1.15;
}

.project-card-front .card-kicker {
  color: #fff;
  opacity: .92;
}

.project-card-overlay small,
.project-card-back small {
  margin-top: 6px;
  color: rgba(255, 255, 255, .72);
  font-size: .75rem;
}

.project-card-back {
  box-sizing: border-box;
  flex-direction: column;
  justify-content: flex-start;
  gap: 9px;
  overflow-y: auto;
  padding: 24px;
  background: linear-gradient(145deg, #07353d, #0a5962);
  color: #fff;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
}

.project-card.is-flipped .project-card-front {
  z-index: 1;
  opacity: 0;
  visibility: hidden;
}

.project-card.is-flipped .project-card-back {
  z-index: 2;
  opacity: 1;
  visibility: visible;
}

.project-card-back > span:not(.card-kicker):not(.project-card-tags) {
  color: rgba(255, 255, 255, .84);
  font-size: .82rem;
  line-height: 1.42;
}

.project-card-location {
  display: block;
  color: rgba(255, 255, 255, .78);
  font-size: .84rem;
  line-height: 1.4;
}

.project-card-front .project-card-location::before {
  content: "— ";
}

.project-card-detail {
  display: block;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, .15);
}

.project-card-detail b {
  display: block;
  margin-bottom: 2px;
  color: #fff;
  font-size: .7rem;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.project-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.project-card-tags i {
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .09);
  color: #fff;
  font-size: .7rem;
  font-style: normal;
  font-weight: 700;
  padding: 6px 9px;
}

.project-gallery-empty {
  margin: 32px 0 0;
  padding: 24px;
  background: rgba(12, 114, 125, .07);
  color: #174d55;
  text-align: center;
}

@media (max-width: 1100px) {
  .project-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .project-gallery { grid-template-columns: 1fr; }
  .project-card,
  .project-card-toggle,
  .project-card-inner { min-height: 470px; }
}
.profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#equipo,
#team {
  padding-top: clamp(54px, 5vw, 68px);
  border-top: 1px solid rgba(11, 84, 82, .24);
}
#equipo > .section-inner > .eyebrow,
#team > .section-inner > .eyebrow {
  font-size: clamp(.86rem, 1vw, .95rem);
  letter-spacing: .04em;
}
#equipo .profile-grid,
#team .profile-grid { margin-top: clamp(26px, 3vw, 38px); }
.profile-card {
  min-height: 295px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  grid-template-rows: auto auto 1fr;
  column-gap: 26px;
  align-items: start;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(3, 31, 40, .06);
}
.profile-photo {
  width: 210px;
  height: 210px;
  display: block;
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  margin: 0;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 28%;
  box-shadow: 0 8px 22px rgba(3, 31, 40, .14);
}
.profile-card h3,
.profile-card p,
.profile-card small { grid-column: 1; }
.profile-details {
  grid-column: 1 / -1;
  grid-row: 4;
  margin: 22px 0 0;
  border-top: 1px solid rgba(11, 84, 82, .14);
}
.profile-details summary {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin: 14px 0 0 auto;
  border: 1px solid rgba(11, 84, 82, .28);
  border-radius: 50%;
  color: var(--teal);
  background: rgba(255, 255, 255, .72);
  cursor: pointer;
  list-style: none;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.profile-details summary::-webkit-details-marker { display: none; }
.profile-details summary span::before {
  content: "+";
  color: var(--teal);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
  transition: color .2s ease, transform .2s ease;
}
.profile-details[open] summary span::before { content: "−"; }
.profile-details summary:hover,
.profile-details summary:focus-visible {
  color: #fff;
  border-color: var(--teal);
  background: var(--teal);
}
.profile-details summary:hover span::before,
.profile-details summary:focus-visible span::before {
  color: #fff;
}
.profile-details summary:focus-visible {
  outline: 3px solid rgba(22, 159, 169, .3);
  outline-offset: 3px;
}
.profile-card .profile-bio {
  margin: 14px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(11, 84, 82, .1);
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.65;
}
.profile-initials { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 24px; background: var(--teal); color: #fff; font-weight: 800; font-size: 1.25rem; }
.profile-card h3, .partner-card h3, .product-card h3, .contact-card h3 { margin: 0 0 8px; }
.profile-card a, .contact-card a { color: var(--teal); overflow-wrap: anywhere; }
.partner-grid, .product-grid, .contact-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.partner-grid { margin-top: clamp(42px, 5vw, 64px); }
.contact-card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.contact-channel-section h2 {
  margin-bottom: clamp(46px, 5vw, 72px);
}
.contact-flip-card {
  min-width: 0;
  min-height: 320px;
  perspective: 1200px;
}
.contact-card-inner {
  position: relative;
  width: 100%;
  min-height: 320px;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .65s cubic-bezier(.2, .75, .25, 1);
}
.contact-flip-card.is-flipped .contact-card-inner {
  transform: rotateY(180deg);
}
.contact-card-face {
  position: absolute;
  inset: 0;
  width: 100%;
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(11, 84, 82, .16);
  border-radius: 18px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 12px 32px rgba(3, 31, 40, .08);
}
.contact-card-front {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  background:
    radial-gradient(circle at 85% 12%, rgba(39, 151, 143, .11), transparent 34%),
    rgba(246, 249, 248, .98);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.contact-card-front:hover {
  border-color: rgba(11, 84, 82, .38);
  box-shadow: 0 18px 42px rgba(3, 31, 40, .13);
  transform: translateY(-3px);
}
.contact-card-front:focus-visible,
.contact-card-action:focus-visible,
.contact-card-return:focus-visible {
  outline: 3px solid #f1b82d;
  outline-offset: 4px;
}
.contact-card-image {
  width: 100%;
  height: 188px;
  display: block;
  margin-bottom: 24px;
  border-radius: 14px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 8px 20px rgba(3, 31, 40, .1);
}
.contact-card-icon {
  width: 126px;
  height: 126px;
  display: grid;
  place-items: center;
  margin: 0;
  border: 1px solid rgba(11, 84, 82, .18);
  border-radius: 50%;
  color: var(--teal);
  background: rgba(11, 84, 82, .06);
  font-size: 3.55rem;
  font-weight: 700;
  line-height: 1;
}
.contact-card-icon-brand img {
  width: 68px;
  height: 68px;
  display: block;
  object-fit: contain;
}
.contact-card-icon-whatsapp {
  background: rgba(37, 211, 102, .09);
  border-color: rgba(37, 211, 102, .28);
}
.contact-card-icon-linkedin {
  background: rgba(29, 140, 181, .09);
  border-color: rgba(29, 140, 181, .26);
}
.contact-card-icon-chat {
  position: relative;
  border-radius: 50% 50% 50% 18%;
  font-size: 1.25rem;
  letter-spacing: 2px;
}
.contact-card-title {
  margin-bottom: 9px;
  font-size: 1.2rem;
  font-weight: 800;
}
.contact-card-detail {
  color: var(--teal);
  overflow-wrap: anywhere;
}
.contact-card-hint {
  display: flex;
  gap: 7px;
  align-items: center;
  margin-top: auto;
  padding-top: 26px;
  color: #52626b;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.contact-card-back {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  transform: rotateY(180deg);
  color: #fff;
  cursor: pointer;
  background:
    radial-gradient(circle at 92% 7%, rgba(255, 226, 155, .18), transparent 36%),
    var(--teal);
}
.contact-card-kicker {
  margin-bottom: 12px;
  color: #ffe29b;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.contact-card-back h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.25rem;
}
.contact-card-back-detail {
  display: block;
  margin-bottom: 14px;
  color: #ffe29b;
  font-size: .94rem;
  font-weight: 750;
  overflow-wrap: anywhere;
}
.contact-card-back p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, .8);
  line-height: 1.55;
}
.contact-card-action {
  min-height: 44px;
  margin-top: auto;
  padding: 11px 16px;
  border-color: #ffe29b;
  color: #082f35;
  background: #ffe29b;
  font-size: .88rem;
}
.contact-card-action:hover {
  border-color: #fff;
  background: #fff;
}
.contact-social-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}
.contact-social-actions .contact-card-action {
  margin-top: 0;
}
.contact-card-return {
  margin-top: 12px;
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, .72);
  background: transparent;
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
}
.contact-card-return:hover {
  color: #fff;
}
.contact-message-copy {
  display: flex;
  flex-direction: column;
}
.contact-inline-address {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100%, 440px);
  margin-top: clamp(38px, 5vw, 72px);
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid transparent;
  border-radius: 18px;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  background:
    linear-gradient(90deg, rgba(3, 25, 31, .9), rgba(3, 25, 31, .62)),
    url("../images/contact-queretaro-arcos.png") center / cover no-repeat;
  box-shadow: 0 16px 36px rgba(3, 31, 40, .18);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.contact-inline-address::after {
  content: "↗";
  position: absolute;
  top: 22px;
  right: 24px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  color: #fff;
  background: rgba(3, 25, 31, .26);
  font-size: 1rem;
}
.contact-inline-address:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 226, 155, .78);
  box-shadow: 0 20px 44px rgba(3, 31, 40, .24);
}
.contact-inline-address:focus-visible {
  outline: 3px solid #ffe29b;
  outline-offset: 4px;
}
.contact-inline-address .card-kicker {
  margin: 0 0 14px;
  color: #ffe29b;
  font-size: clamp(.9rem, 1.15vw, 1.02rem);
  font-weight: 800;
  letter-spacing: .1em;
}
.contact-inline-address h3 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(2rem, 3vw, 2.55rem);
}
.contact-inline-address address {
  color: rgba(255, 255, 255, .9);
  font-size: clamp(1.08rem, 1.35vw, 1.24rem);
  font-style: normal;
  line-height: 1.82;
  text-shadow: 0 1px 16px rgba(0, 0, 0, .38);
}
@media (min-width: 1081px) {
  #mensaje .contact-layout,
  #message .contact-layout {
    align-items: stretch;
  }

  #mensaje .contact-message-copy,
  #message .contact-message-copy {
    min-height: 100%;
  }

  #mensaje .contact-inline-address,
  #message .contact-inline-address {
    width: 100%;
    min-height: clamp(430px, 31vw, 475px);
    margin-top: auto;
  }
}
.partner-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(3, 31, 40, .06);
}
.partner-logo-link {
  position: relative;
  width: 100%;
  height: clamp(240px, 22vw, 310px);
  display: grid;
  place-items: center;
  margin: 0 0 24px;
  overflow: hidden;
  border: 1px solid rgba(11, 84, 82, .14);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(3, 31, 40, .06);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.partner-logo-link:hover {
  transform: translateY(-3px);
  border-color: rgba(11, 84, 82, .4);
  box-shadow: 0 13px 26px rgba(3, 31, 40, .12);
}
.partner-logo-link:focus-visible {
  outline: 3px solid rgba(22, 159, 169, .42);
  outline-offset: 3px;
}
.partner-logo {
  width: 100%;
  height: clamp(240px, 22vw, 310px);
  display: block;
  box-sizing: border-box;
  margin: 0 auto 24px;
  padding: 22px;
  object-fit: contain;
  border: 1px solid rgba(11, 84, 82, .14);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(3, 31, 40, .06);
}
.partner-logo-link .partner-logo {
  width: calc(100% - 44px);
  height: calc(100% - 32px);
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
  box-shadow: none;
}
.partner-wordmark {
  width: 100%;
  height: 112px;
  display: grid;
  place-items: center;
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -.02em;
  border-radius: 12px;
  border: 1px solid rgba(11, 84, 82, .12);
  background: #fff;
}
.partner-card h3 {
  margin-bottom: 0;
  padding-right: 42px;
  font-size: 1.05rem;
}
.partner-details {
  position: relative;
  width: 100%;
  margin-top: 0;
  border-top: 0;
}
.partner-details summary {
  display: grid;
  position: absolute;
  right: 0;
  top: 0;
  transform: translateY(-100%);
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--teal);
  cursor: pointer;
  font-size: 0;
  font-weight: 800;
  list-style: none;
}
.partner-details summary::-webkit-details-marker {
  display: none;
}
.partner-details summary span {
  width: auto;
  height: auto;
  display: inline-block;
  border-radius: 0;
  background: transparent;
  color: var(--teal);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  transition: color .2s ease, transform .2s ease;
}
.partner-details[open] summary span {
  transform: rotate(45deg);
  background: transparent;
}
.partner-details summary:hover span,
.partner-details summary:focus-visible span {
  color: var(--gold);
}
[data-theme="dark"] .partner-details summary:hover span,
[data-theme="dark"] .partner-details summary:focus-visible span {
  color: #fff;
}
.partner-details summary:focus-visible {
  outline: 3px solid rgba(22, 159, 169, .38);
  outline-offset: 4px;
}
.partner-details p {
  margin: 18px 0 2px;
  padding-top: 18px;
  border-top: 1px solid rgba(11, 84, 82, .14);
  color: #52666d;
  font-size: .92rem;
  line-height: 1.55;
}
.partner-link {
  display: inline-flex;
  margin-top: auto;
  padding-top: 16px;
  color: var(--teal);
  font-weight: 700;
  text-decoration: none;
}
.partner-link:hover { text-decoration: underline; }

.network-section-transition {
  position: relative;
  height: clamp(58px, 6vw, 88px);
  overflow: hidden;
  background:
    linear-gradient(176deg, #f8faf9 0%, #f8faf9 42%, #b7cdc8 42.5%, #d5e2de 50%, #edf0f0 58%);
}

.network-section-transition::after {
  content: "";
  position: absolute;
  width: min(460px, 56vw);
  height: 3px;
  right: 8vw;
  top: 46%;
  background: linear-gradient(90deg, transparent, rgba(11, 84, 82, .7), rgba(244, 197, 103, .92), transparent);
  transform: rotate(-4deg);
  transform-origin: right center;
}

.affiliation-section {
  padding-top: clamp(44px, 5vw, 72px);
  background: #edf0f0;
}

.affiliation-heading {
  max-width: 760px;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.affiliation-card {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(34px, 6vw, 82px);
  padding: clamp(30px, 5vw, 64px);
  border: 1px solid rgba(3, 31, 40, .12);
  border-radius: 24px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 16px 38px rgba(3, 31, 40, .07);
}

.affiliation-logo-link {
  min-height: 190px;
  display: grid;
  place-items: center;
  padding: 30px;
  border: 1px solid rgba(3, 31, 40, .1);
  border-radius: 20px;
  background: #fff;
  transition: transform .22s ease, box-shadow .22s ease;
}

.affiliation-logo-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(3, 31, 40, .1);
}

.affiliation-logo-link:focus-visible {
  outline: 3px solid rgba(202, 32, 38, .28);
  outline-offset: 4px;
}

.affiliation-logo-link img {
  width: min(100%, 300px);
  height: auto;
  display: block;
}

.affiliation-copy .card-kicker {
  margin: 0 0 14px;
  color: #4a575e;
  letter-spacing: .08em;
}

.affiliation-copy > p:last-child {
  max-width: 720px;
  margin: 0;
  color: #4e6269;
  font-size: clamp(1.3rem, 1.9vw, 1.68rem);
  line-height: 1.55;
}

.product-card { min-height: 255px; }
.product-card ul { padding-left: 18px; }
.software-visual { display: grid; place-items: center; min-height: 420px; padding: 35px; background: #e8efee; }
.software-visual img { max-width: 100%; max-height: 470px; object-fit: contain; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .field-wide { grid-column: 1 / -1; }
.contact-form select { width: 100%; padding: 13px; border: 1px solid rgba(3,31,40,.22); background: var(--surface); font: inherit; }
.location-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 34px; align-items: stretch; }
.location-map { min-height: 360px; background: linear-gradient(rgba(8,83,78,.78), rgba(8,83,78,.78)), url("../images/reach-global.png") center/cover; }
.network-diagram { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align: center; }
.network-diagram span { padding: 28px 14px; background: #0b5553; color: #fff; font-weight: 700; }
.compact-list { columns: 2; padding-left: 20px; }

/* Service pages v2 */
.service-page { background: #f4f7f6; }
.service-page .site-header { min-height: auto; }
.service-page .service-detail-hero {
  min-height: clamp(620px, 70vh, 680px);
  padding-top: 156px;
  padding-bottom: 68px;
  background-position: center;
}
.design-engineering-service-hero,
.design-service-hero,
.engineering-service-hero { background-image: url("../images/service-design-engineering.jpg"); }
.bim-service-hero { background-image: url("../images/service-bim-new.jpg"); }
.management-service-hero { background-image: url("../images/service-construction-management.jpg"); }
.human-service-hero { background-image: url("../images/service-human-capital.jpg"); }
.service-page .service-detail-hero .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: #f4c96f;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.service-page .service-detail-hero .hero-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}
.service-page .service-detail-hero h1 { margin: 0; color: #fff; }
.service-page .service-detail-hero p { color: rgba(255,255,255,.82); }
.service-subnav {
  position: sticky;
  z-index: 10;
  top: 112px;
  border-bottom: 1px solid rgba(10,80,78,.14);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
}
.service-subnav-inner {
  display: flex;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: auto;
  overflow-x: auto;
  scrollbar-width: none;
}
.service-subnav a {
  flex: 0 0 auto;
  padding: 17px 0 14px;
  border-bottom: 3px solid transparent;
  color: #516267;
  font-size: .82rem;
  font-weight: 800;
}
.service-subnav a:hover { border-color: var(--gold); color: var(--teal); }
.service-lead {
  font-size: clamp(1.05rem, 1.2vw, 1.15rem) !important;
  line-height: 1.65;
}
.service-copy {
  display: grid;
  gap: 14px;
}
.service-copy p,
.service-intro-copy p {
  margin: 0;
  font-size: clamp(1.05rem, 1.2vw, 1.15rem);
  line-height: 1.65;
}
.service-page main .detail-layout > .service-copy,
.service-page main .detail-layout > .service-intro-copy {
  padding-top: clamp(34px, 3vw, 44px);
}
.service-page main .detail-layout > .dashboard-list,
.service-page main .detail-layout > .service-list-grid {
  margin-top: clamp(34px, 3vw, 44px);
}
.service-copy strong { color: var(--ink); }
.section-soft { background: #e8efed; }
.section-white { background: #fff; }
.section-dark { color: #fff; background: #082b31; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.72); }
.service-section-head { max-width: 800px; margin-bottom: 40px; }
.service-section-head h2 { margin-bottom: 16px; }
.service-section-head p { max-width: 700px; }
.specialty-grid,
.benefit-grid,
.application-grid,
.tool-grid,
.bim-dimension-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.specialty-card,
.application-card {
  min-height: 250px;
  padding: 26px;
  border: 1px solid rgba(8,80,78,.15);
  background: rgba(255,255,255,.86);
}
.specialty-card .card-number,
.application-card .card-number {
  display: block;
  margin-bottom: 42px;
  color: var(--clay);
  font-size: .78rem;
  font-weight: 800;
}
.specialty-card p, .application-card p { margin: 12px 0 0; font-size: .94rem; }
.benefit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.benefit-item {
  padding: 22px 0;
  border-top: 2px solid var(--gold);
}
.benefit-item strong { display: block; margin-bottom: 7px; color: inherit; }
.benefit-item p { margin: 0; }
.tool-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.tool-grid-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tool-chip {
  display: grid;
  place-items: center;
  min-height: 100px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-weight: 800;
  text-align: center;
}
.process-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}
.process-line::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: rgba(255,255,255,.24);
}
.process-line .process-step { position: relative; min-height: 235px; }
.process-line .process-step span { background: #082b31; }
.image-placeholder {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 36px;
  border: 1px dashed rgba(9,87,85,.42);
  background:
    linear-gradient(135deg, rgba(10,90,88,.06), rgba(200,154,74,.08)),
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(9,87,85,.035) 18px 19px);
  color: var(--teal);
  text-align: center;
}
.image-placeholder strong { display: block; font-size: 1.15rem; }
.image-placeholder span { display: block; margin-top: 8px; color: var(--muted); font-size: .9rem; }
.management-cycle-layout { align-items: center; }
.management-cycle-image {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(5, 42, 48, .13);
}
.management-cycle-image img {
  display: block;
  width: 100%;
  height: auto;
}
.visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.visual-grid .image-placeholder { min-height: 300px; }
.bim-dimension-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bim-dimension {
  min-height: 180px;
  padding: 24px;
  border-left: 4px solid var(--gold);
  background: #fff;
}
.bim-dimension strong { display: block; color: var(--teal); font-size: 1.55rem; }
.bim-dimension span { color: var(--muted); }
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.comparison-card { padding: 30px; background: #fff; }
.comparison-card.is-no { border-top: 4px solid var(--clay); }
.comparison-card.is-yes { border-top: 4px solid var(--teal); }
.comparison-card h3 {
  display: flex;
  align-items: center;
  gap: 14px;
}
.comparison-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
}
.comparison-card.is-no .comparison-icon { color: #c83238; }
.comparison-card.is-yes .comparison-icon { color: #17865f; }
.comparison-card ul { margin: 22px 0 0; padding-left: 20px; color: var(--muted); }
.sector-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.sector-list li {
  padding: 11px 15px;
  border: 1px solid rgba(9,87,85,.18);
  background: rgba(255,255,255,.66);
  color: var(--teal);
  font-size: .9rem;
  font-weight: 800;
}
.phase-tabs { display: flex; gap: 10px; margin: 34px 0 22px; }
.phase-tabs-five { align-items: stretch; }
.phase-tabs-five .phase-tab {
  padding: 15px 12px;
  font-size: .84rem;
  line-height: 1.35;
}
.phase-tab {
  flex: 1;
  padding: 18px;
  border: 1px solid rgba(9,87,85,.18);
  background: transparent;
  color: var(--teal);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.phase-tab.is-active { color: #fff; background: var(--teal); }
.phase-panel { display: none; padding: 34px; background: #fff; }
.phase-panel.is-active { display: grid; grid-template-columns: .7fr 1.3fr; gap: 34px; }
.phase-panel ul { margin: 0; padding-left: 20px; color: var(--muted); }
.phase-panel li + li { margin-top: 10px; }
.dashboard-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.dashboard-list li { padding: 15px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.service-page .cta-strip { background-image: linear-gradient(90deg, rgba(3,21,26,.9), rgba(3,21,26,.5)), url("../images/hero-consulting.png"); }

.service-page main section[id] {
  scroll-margin-top: 175px;
}

.methodology-timeline {
  position: relative;
  display: grid;
  gap: 22px;
  margin-top: 48px;
}

.methodology-timeline::before {
  content: "";
  position: absolute;
  top: 26px;
  bottom: 26px;
  left: 27px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--teal));
}

.methodology-stage {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.methodology-marker {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 5px solid #e8efed;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.methodology-stage-card {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 4vw, 54px);
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(8, 80, 78, .14);
  border-left: 4px solid var(--gold);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 16px 38px rgba(3, 31, 40, .06);
}

.methodology-stage:nth-child(even) .methodology-stage-card {
  border-left-color: var(--teal);
}

.methodology-stage-card h3 {
  margin: 8px 0 14px;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1.15;
}

.methodology-stage-card h4 {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.methodology-stage-card p {
  margin: 0;
}

.stage-kicker {
  color: var(--clay);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.methodology-stage-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.methodology-stage-card li {
  position: relative;
  padding-left: 18px;
}

.methodology-stage-card li::before {
  content: "";
  position: absolute;
  top: .68em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

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

.sector-application-card {
  overflow: hidden;
  border: 1px solid rgba(8, 80, 78, .14);
  background: #fff;
  box-shadow: 0 12px 30px rgba(3, 31, 40, .06);
  transition: transform .22s ease, box-shadow .22s ease;
}

.sector-application-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(3, 31, 40, .12);
}

.sector-application-media {
  position: relative;
  height: 178px;
  overflow: hidden;
  background: #dbe6e3;
}

.sector-application-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 31, 40, .02), rgba(3, 31, 40, .56));
}

.sector-application-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}

.sector-application-card:hover img {
  transform: scale(1.04);
}

.sector-card-icon {
  position: absolute;
  z-index: 1;
  right: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 50%;
  background: rgba(8, 80, 78, .9);
  color: #fff;
  backdrop-filter: blur(8px);
}

.sector-card-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sector-application-card h3 {
  margin: 0;
  padding: 20px 22px 22px;
  font-size: 1.1rem;
}

.deliverable-list {
  padding: 6px 28px;
  border: 1px solid rgba(8, 80, 78, .14);
  background: rgba(255, 255, 255, .84);
}

.deliverable-list li {
  position: relative;
  padding-left: 26px;
}

.deliverable-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 800;
}

.bim-dimension-grid-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.bim-dimension-grid-five .bim-dimension {
  min-height: 210px;
}

.bim-dimension-grid-five .bim-dimension strong {
  margin-bottom: 28px;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.bim-workflow-graphic {
  margin: 42px 0 0;
}

.bim-workflow-image-frame {
  overflow-x: auto;
  border: 1px solid rgba(8, 80, 78, .14);
  background: #fff;
  box-shadow: 0 24px 60px rgba(3, 31, 40, .12);
  scrollbar-color: var(--teal) #e8efed;
  scrollbar-width: thin;
}

.bim-workflow-image-frame:focus-visible {
  outline: 3px solid rgba(8, 80, 78, .3);
  outline-offset: 4px;
}

.bim-workflow-image-frame img {
  display: block;
  width: 100%;
  height: auto;
}

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

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

.tool-platform-card {
  position: relative;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  min-height: 210px;
  padding: 28px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 0 22px rgba(70, 201, 195, .1), 0 10px 28px rgba(0, 0, 0, .18);
}

/* Borde de luz rotatorio (arco teal -> dorado) */
@property --tool-gspin {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.tool-platform-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 1.5px;
  background: conic-gradient(
    from var(--tool-gspin),
    transparent 0deg,
    rgba(70, 201, 195, .95) 55deg,
    #f4c96f 95deg,
    transparent 150deg,
    transparent 205deg,
    rgba(70, 201, 195, .55) 265deg,
    #f4c96f 315deg,
    transparent 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: tool-border-glow 7s linear infinite;
}

@keyframes tool-border-glow {
  to { --tool-gspin: 360deg; }
}

@media (prefers-reduced-motion: reduce) {
  .tool-platform-card::before {
    animation: none;
  }
}

.tool-platform-mark {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 14px;
  background: rgba(255, 255, 255, .1);
  color: #f4c96f;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.tool-platform-card h3 {
  margin: 2px 0 10px;
  font-size: 1.05rem;
}

.tool-platform-card p {
  margin: 0;
  font-size: .9rem;
}

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

@media (max-width: 1080px) {
  .service-subnav { top: 104px; }
  .specialty-grid, .application-grid, .bim-dimension-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sector-application-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-platform-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process-line { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-line::before { display: none; }
}

@media (max-width: 640px) {
  .service-page .service-detail-hero {
    min-height: 590px;
    padding-top: 128px;
    padding-bottom: 58px;
  }
  .service-subnav { top: 92px; }
  .service-page main .detail-layout > .service-copy,
  .service-page main .detail-layout > .service-intro-copy {
    padding-top: 0;
  }
  .service-page main .detail-layout > .dashboard-list,
  .service-page main .detail-layout > .service-list-grid {
    margin-top: 0;
  }
  .specialty-grid, .benefit-grid, .application-grid, .bim-dimension-grid, .visual-grid, .comparison-grid, .tool-grid, .process-line { grid-template-columns: 1fr; }
  .sector-application-grid { grid-template-columns: 1fr; }
  .methodology-stage { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
  .methodology-timeline::before { left: 21px; }
  .methodology-marker { width: 44px; height: 44px; border-width: 4px; font-size: .68rem; }
  .methodology-stage-card { grid-template-columns: 1fr; padding: 24px 20px; }
  .sector-application-media { height: 210px; }
  .deliverable-list { padding-inline: 20px; }
  .bim-workflow-image-frame img { width: 920px; max-width: none; }
  .tool-platform-grid { grid-template-columns: 1fr; }
  .tool-platform-card { min-height: auto; padding: 24px 20px; }
  .specialty-card, .application-card { min-height: auto; }
  .image-placeholder { min-height: 260px; }
  .phase-tabs { display: grid; }
  .phase-panel.is-active { grid-template-columns: 1fr; padding: 24px; }
}

@media (max-width: 1080px) {
  .metric-grid, .role-grid, .profile-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-grid, .contact-card-grid, .evidence-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .profile-grid { grid-template-columns: 1fr; }
  .connected-capacity-section .detail-layout { grid-template-columns: 1fr; }
  .affiliation-card { grid-template-columns: 1fr; }
  .experience-global-section .experience-copy {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .experience-global-details {
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 640px) {
  .spec-hero { min-height: 620px; padding: 138px 18px 62px; }
  .spec-hero h1 { font-size: clamp(2.8rem, 14vw, 4.2rem); }
  .metric-grid, .role-grid, .evidence-grid, .profile-grid, .partner-grid, .product-grid, .contact-card-grid, .resource-grid, .form-grid, .location-layout, .network-diagram { grid-template-columns: 1fr; }
  .form-grid .field-wide { grid-column: auto; }
  .evidence-card { min-height: 330px; }
  .compact-list { columns: 1; }
  .profile-card { display: block; min-height: 390px; }
  .profile-photo { width: 210px; height: 210px; margin: -10px auto 22px; }
  .profile-details { margin-top: 20px; }
  #equipo,
  #team {
    padding-top: 46px;
  }
  .project-gallery { grid-template-columns: 1fr; gap: 20px; }
  .project-card,
  .project-card-toggle,
  .project-card-inner { min-height: 430px; }
  .project-card-back { padding: 27px; gap: 12px; }
  .project-filters {
    flex-wrap: wrap;
    margin-right: 0;
    padding: 2px 0 8px;
    overflow: visible;
  }
  .project-filter { flex: 0 1 auto; }
  .connected-capacity-section .page-lead { font-size: 1.28rem; }
  .affiliation-card { padding: 24px; }
  .affiliation-logo-link { min-height: 150px; padding: 22px; }
  .experience-intro .detail-layout { grid-template-columns: 1fr; }
  .experience-intro .page-lead,
  .experience-intro .page-lead p { font-size: 1.15rem; }
  .experience-intro { padding-top: 48px; padding-bottom: 38px; }
  .experience-metrics { padding-top: 16px; padding-bottom: 40px; }
  .experience-metrics .metric { min-height: 128px; }
  .experience-global-section { padding: 34px 18px; }
  .experience-global-section .experience-content { min-height: 0; }
  .experience-global-section .experience-copy {
    min-height: 0;
    width: 100%;
    padding: 28px 24px;
    gap: 26px;
    background: rgba(3, 28, 40, .42);
  }
  .experience-global-details > p:not(.experience-countries) {
    font-size: 1.12rem;
  }
  .experience-global-section .experience-countries {
    font-size: .96rem !important;
  }
  .participation-section { padding-top: 38px; padding-bottom: 64px; }
  .participation-heading { margin-bottom: 36px; }
  .participation-section .role-item {
    min-height: 180px;
    aspect-ratio: auto;
  }
  .contact-channel-section h2 {
    margin-bottom: 38px;
  }
  .contact-flip-card,
  .contact-card-inner {
    min-height: 330px;
  }
  .contact-card-face {
    padding: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-card-inner,
  .project-card-front img,
  .project-filter,
  .contact-card-inner,
  .contact-card-front,
  .contact-inline-address { transition: none; }
}

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

.geo5-page {
  background: #f5f6f2;
  background-image: none;
}

.geo5-page [id] {
  scroll-margin-top: 190px;
}

.geo5-hero {
  min-height: 760px;
  padding: 168px 20px 76px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(3, 27, 37, .42) 0%, rgba(3, 27, 37, .28) 34%, rgba(3, 27, 37, .08) 64%, rgba(3, 27, 37, 0) 100%),
    url("../images/GEO5-imagenes-landing/geo5_landing_images/geo5-hero-background.webp") center / cover no-repeat;
}

.geo5-hero-grid {
  display: block;
}

.geo5-hero-copy { max-width: 760px; }

.geo5-hero .eyebrow {
  color: #bfd8b8;
  text-shadow: 0 2px 12px rgba(0,0,0,.48);
}

.geo5-hero-copy h1 {
  max-width: 720px;
  margin: 0;
  color: var(--white);
  font-size: clamp(3rem, 5vw, 5.4rem);
  line-height: 1.08;
  letter-spacing: -.025em;
  text-wrap: balance;
  text-shadow: 0 3px 18px rgba(0,0,0,.42);
}

.geo5-hero-copy > p:not(.eyebrow, .geo5-disclaimer) {
  max-width: 720px;
  margin: 26px 0 0;
  color: rgba(255,255,255,.92);
  font-size: clamp(1.04rem, 1.6vw, 1.25rem);
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}

.geo5-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 4px;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.45);
  font-weight: 800;
}

.geo5-text-link:focus-visible,
.geo5-subnav a:focus-visible,
.geo5-solution-grid a:focus-visible,
.geo5-program-consult:focus-visible,
.geo5-program-more:focus-visible,
.geo5-faq button:focus-visible,
.geo5-modal-close:focus-visible {
  outline: 3px solid rgba(200,154,74,.72);
  outline-offset: 3px;
}

.geo5-disclaimer {
  max-width: 650px;
  margin: 32px 0 0;
  color: rgba(255,255,255,.75);
  font-size: .84rem;
  text-shadow: 0 1px 3px rgba(6, 24, 29, 0.6);
}

.geo5-subnav {
  position: sticky;
  z-index: 15;
  top: 124px;
  border-bottom: 1px solid #d8e0dc;
  background: rgba(248,249,244,.96);
  backdrop-filter: blur(12px);
}

.geo5-subnav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
}

.geo5-subnav a {
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  color: #4c5b5e;
  font-size: .72rem;
  font-weight: 800;
  white-space: nowrap;
  transition: color .22s ease, background-color .22s ease, box-shadow .22s ease;
}

.geo5-subnav a:hover,
.geo5-subnav a:focus-visible {
  color: #7a9418;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 4px 14px rgba(122, 148, 24, .16);
}

.geo5-subnav a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .8) 50%, transparent 62%);
  transform: translateX(-130%);
  transition: transform .7s ease;
  pointer-events: none;
}

.geo5-subnav a:hover::after,
.geo5-subnav a:focus-visible::after {
  transform: translateX(130%);
}

.geo5-subnav .geo5-subnav-cta {
  margin-left: 8px;
  border-radius: 999px;
  color: #fff;
  background: var(--teal);
  transition: transform .2s ease, box-shadow .2s ease;
}

.geo5-subnav .geo5-subnav-cta:hover,
.geo5-subnav .geo5-subnav-cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(2, 87, 94, .28);
}

.geo5-trust {
  padding: 26px 20px;
  color: #fff;
  background: #082f35;
}

.geo5-trust ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.geo5-trust li {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 54px;
  padding: 4px 20px;
  border-right: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.78);
  font-size: .84rem;
  font-weight: 700;
  line-height: 1.35;
}

.geo5-trust li:last-child { border-right: 0; }
.geo5-trust li span {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(200,154,74,.58);
  border-radius: 50%;
  color: #e9c882;
  font-size: .67rem;
}

.geo5-section-heading {
  max-width: 850px;
  margin-bottom: 46px;
}

.geo5-section-heading h2 { margin-bottom: 22px; }
.geo5-section-heading > p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 1.06rem;
}

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

.geo5-benefit-grid article,
.geo5-support-grid article {
  min-height: 235px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d8e2df;
  border-radius: 10px;
  background: rgba(255,255,255,.78);
}

.geo5-benefit-grid article > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.geo5-benefit-grid article > div {
  padding: 26px 30px 30px;
}

.geo5-benefit-grid article > div > span,
.geo5-license-grid article > div > span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--teal);
  font-size: .75rem;
  font-weight: 900;
}

.geo5-benefit-grid h3,
.geo5-support-grid h3,
.geo5-license-grid h3 { margin-bottom: 12px; font-size: 1.14rem; }
.geo5-benefit-grid p,
.geo5-support-grid p { margin-bottom: 0; font-size: .92rem; }

.geo5-solutions { background: #e5ece9; }
.geo5-solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.geo5-solution-grid article {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 0 30px 30px;
  border: 1px solid rgba(8,80,78,.14);
  border-radius: 10px;
  background: #f8faf8;
  box-shadow: 0 12px 30px rgba(8,48,50,.05);
}

.geo5-solution-image {
  width: calc(100% + 60px);
  max-width: none;
  aspect-ratio: 16 / 9;
  margin: 0 -30px 26px;
  border-radius: 10px 10px 0 0;
  object-fit: cover;
}

.geo5-line-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 28px;
  border: 1px solid rgba(12,92,97,.26);
  border-radius: 12px;
  color: var(--teal);
  font-size: 1.25rem;
  font-weight: 800;
}

.geo5-solution-grid h3 { margin-bottom: 12px; font-size: 1.18rem; }
.geo5-solution-grid p { font-size: .92rem; }
.geo5-solution-grid ul {
  display: grid;
  gap: 4px;
  margin: 2px 0 26px;
  padding-left: 19px;
  color: #52666a;
  font-size: .84rem;
}

.geo5-solution-grid a {
  margin-top: auto;
  color: var(--teal);
  font-size: .86rem;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(12,92,97,.32);
  text-underline-offset: 5px;
}

.geo5-workflow-section {
  color: #fff;
  background:
    linear-gradient(rgba(5,39,45,.50), rgba(5,39,45,.50)),
    url("../images/GEO5-imagenes-landing/geo5_landing_images/01-flujo-geo5.webp") center / cover no-repeat;
}

.geo5-workflow-section .eyebrow {
  color: rgba(255,255,255,.92);
  text-shadow: 0 2px 12px rgba(0,0,0,.55);
}
.geo5-workflow-section h2 { color: #fff; text-shadow: 0 3px 18px rgba(0,0,0,.48); }
.geo5-workflow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.geo5-workflow::before {
  content: "";
  position: absolute;
  top: 25px;
  right: 7%;
  left: 7%;
  height: 1px;
  background: linear-gradient(90deg, rgba(200,154,74,.2), #c89a4a, rgba(200,154,74,.2));
}

.geo5-workflow li { position: relative; }
.geo5-workflow li > span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 28px;
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 50%;
  color: #07545a;
  background: rgba(248,250,246,.94);
  box-shadow: 0 5px 18px rgba(0,0,0,.24);
  font-size: .74rem;
  font-weight: 900;
}

.geo5-workflow h3 { min-height: 2.6em; margin-bottom: 12px; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.52); }
.geo5-workflow p { color: rgba(255,255,255,.82); font-size: .84rem; text-shadow: 0 2px 10px rgba(0,0,0,.58); }

.geo5-program-tags span {
  padding: 6px 9px;
  border: 1px solid rgba(12,92,97,.16);
  border-radius: 999px;
  color: var(--teal);
  background: #eaf1ef;
  font-size: .68rem;
  font-weight: 900;
}

.geo5-outline-button {
  color: var(--teal);
  border-color: rgba(12,92,97,.32);
  background: transparent;
}
.geo5-outline-button:hover { color: #fff; background: var(--teal); }

.geo5-programs { background: #eef2ef; }
.geo5-program-heading { margin-bottom: 30px; }
.geo5-program-heading h2 { margin-bottom: 0; }
.geo5-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 34px;
}

.geo5-filter {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(12,92,97,.2);
  border-radius: 999px;
  color: #486065;
  background: transparent;
  font: inherit;
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
}
.geo5-filter:hover,
.geo5-filter.is-active { color: #fff; border-color: var(--teal); background: var(--teal); }
.geo5-filter:focus-visible { outline: 3px solid rgba(12,92,97,.24); outline-offset: 2px; }

.geo5-program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
}

.geo5-program-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(8,80,78,.13);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(8,48,50,.05);
}

.geo5-program-media {
  position: relative;
  overflow: hidden;
  background: #0b3d44;
}
.geo5-program-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.geo5-program-media::after {
  content: "";
  position: absolute;
  inset: 36% 0 0;
  background: linear-gradient(180deg, transparent, rgba(3,31,40,.9));
}
.geo5-program-media-label {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 22px;
  left: 24px;
  color: #fff;
}
.geo5-program-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  gap: 12px;
  margin-bottom: 14px;
}
.geo5-program-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.geo5-program-media-label span {
  display: block;
  margin-bottom: 5px;
  color: #f1c96f;
  font-size: .72rem;
  font-weight: 900;
}
.geo5-program-media-label h3 { margin: 0; color: #fff; font-size: 1.28rem; }
.geo5-program-card-body { display: flex; flex: 1; flex-direction: column; min-height: 158px; padding: 18px; }
.geo5-program-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.geo5-program-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #e1e7e5;
}
.geo5-program-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid rgba(12,92,97,.22);
  border-radius: 7px;
  color: var(--teal);
  background: #f6f9f8;
  font: inherit;
  font-size: .85rem;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}
.geo5-program-more-icon {
  display: grid;
  place-items: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(12,92,97,.25);
  border-radius: 50%;
  color: var(--teal);
  font-size: 1rem;
  line-height: 1;
  transition: transform .2s ease, color .2s ease, background-color .2s ease;
}
.geo5-program-more[aria-expanded="true"] .geo5-program-more-icon {
  color: #fff;
  background: var(--teal);
  transform: rotate(45deg);
}
.geo5-program-more[aria-expanded="true"] { border-color: rgba(12,92,97,.48); background: #edf5f3; }
.geo5-program-description {
  padding: 2px 2px 16px;
  color: #38515a;
}
.geo5-program-description p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.62;
}
.geo5-program-description h4 {
  margin: 14px 0 7px;
  color: var(--ink);
  font-size: .82rem;
  letter-spacing: .01em;
}
.geo5-program-description ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
}
.geo5-program-description li {
  padding-left: 2px;
  font-size: .84rem;
  line-height: 1.45;
}
.geo5-program-consult {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid rgba(12,92,97,.32);
  border-radius: 7px;
  color: var(--teal);
  background: #f6f9f8;
  font: inherit;
  font-size: .82rem;
  font-weight: 900;
  cursor: pointer;
}
.geo5-program-more:hover,
.geo5-program-consult:hover { border-color: var(--teal); background: #edf5f3; }

.geo5-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  margin-top: 28px;
  padding: 34px;
  border-radius: 10px;
  color: #fff;
  background: #0b454a;
}
.geo5-help h3 { margin-bottom: 8px; color: #fff; font-size: 1.35rem; }
.geo5-help p { max-width: 700px; margin: 0; color: rgba(255,255,255,.7); }
.geo5-help .button { flex: 0 0 auto; }

.geo5-licensing { background: #fff; }
.geo5-license-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.geo5-license-grid article {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d6e0de;
  border-radius: 10px;
}
.geo5-license-grid article > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.geo5-license-grid article > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px 34px 34px;
}
.geo5-license-grid article:nth-child(2) { border-top: 4px solid var(--gold); }
.geo5-license-grid p { margin-bottom: 28px; }
.geo5-license-grid .button { align-self: flex-start; margin-top: auto; }
.geo5-artieda {
  color: #fff;
  background:
    radial-gradient(circle at 90% 15%, rgba(200,154,74,.17), transparent 32%),
    #072f35;
}
.geo5-artieda h2,
.geo5-artieda h3 { color: #fff; }
.geo5-artieda .geo5-section-heading p:last-child,
.geo5-artieda .geo5-support-grid p { color: rgba(255,255,255,.65); }
.geo5-support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 34px;
}
.geo5-support-grid article {
  min-height: 230px;
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
}
.geo5-support-grid article > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.geo5-support-grid article > div {
  padding: 24px 26px 28px;
}

.geo5-faq-section { background: #f8faf8; }
.geo5-faq-layout {
  display: grid;
  grid-template-columns: minmax(240px, .65fr) minmax(0, 1.35fr);
  gap: clamp(42px, 8vw, 100px);
  align-items: start;
}
.geo5-faq article { border-top: 1px solid #cedbd8; }
.geo5-faq article:last-child { border-bottom: 1px solid #cedbd8; }
.geo5-faq h3 { margin: 0; }
.geo5-faq button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 24px 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}
.geo5-faq button span { color: var(--teal); font-size: 1.5rem; transition: transform .2s ease; }
.geo5-faq button[aria-expanded="true"] span { transform: rotate(45deg); }
.geo5-faq [role="region"] { padding: 0 45px 20px 0; }
.geo5-faq [role="region"] p { margin: 0; }

.geo5-contact {
  color: #fff;
  background:
    radial-gradient(circle at 12% 20%, rgba(45,158,155,.2), transparent 30%),
    #061f27;
}
.geo5-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(520px, 1.25fr);
  gap: clamp(42px, 7vw, 90px);
  align-items: start;
}
.geo5-contact h2 { color: #fff; margin-bottom: 24px; }
.geo5-contact-layout > div > p:not(.eyebrow) { color: rgba(255,255,255,.68); }
.geo5-contact-detail {
  display: grid;
  gap: 5px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.geo5-contact-detail strong { color: #eccb84; }
.geo5-contact-detail a { color: rgba(255,255,255,.78); }
.geo5-contact-form { background: #f4f7f5; }
.geo5-contact-form select {
  border-radius: 6px;
  background: var(--surface);
}
.geo5-checkbox {
  display: flex !important;
  grid-template-columns: none;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px !important;
}
.geo5-checkbox input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 3px; }
.geo5-privacy { margin: 0; color: #657579 !important; font-size: .77rem !important; }

.geo5-modal[hidden] { display: none; }
.geo5-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}
.geo5-modal-backdrop { position: absolute; inset: 0; background: rgba(3,25,31,.78); backdrop-filter: blur(5px); }
.geo5-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  padding: 42px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 40px 100px rgba(0,0,0,.32);
}
.geo5-modal-dialog h2 { margin-bottom: 18px; font-size: clamp(2rem, 5vw, 3rem); }
.geo5-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: #edf2f0;
  font-size: 1.5rem;
  cursor: pointer;
}
.geo5-modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.geo5-modal-open { overflow: hidden; }

@media (max-width: 1080px) {
  .geo5-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr); gap: 36px; }
  .geo5-subnav { top: 124px; }
  .geo5-subnav-inner { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .geo5-subnav-inner::-webkit-scrollbar { display: none; }
  .geo5-trust ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .geo5-trust li:nth-child(2) { border-right: 0; }
  .geo5-trust li:nth-child(-n+2) { padding-bottom: 14px; }
  .geo5-benefit-grid,
  .geo5-solution-grid,
  .geo5-program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .geo5-workflow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .geo5-workflow::before { display: none; }
  .geo5-support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .geo5-contact-layout { grid-template-columns: .8fr 1.2fr; }
}

@media (max-width: 820px) {
  .geo5-page [id] { scroll-margin-top: 160px; }
  .geo5-hero { min-height: 0; padding-top: 152px; }
  .geo5-hero-grid,
  .geo5-faq-layout,
  .geo5-contact-layout { grid-template-columns: 1fr; }
  .geo5-workflow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .geo5-license-grid { grid-template-columns: 1fr; }
  .geo5-license-grid article { min-height: 0; }
  .geo5-faq-layout { gap: 34px; }
}

@media (max-width: 640px) {
  .geo5-page [id] { scroll-margin-top: 145px; }
  .geo5-hero {
    padding: 135px 18px 56px;
    background-position: center, 60% center;
  }
  .geo5-hero-copy h1 { font-size: clamp(2.55rem, 12vw, 4rem); }
  .geo5-hero-copy > p:not(.eyebrow, .geo5-disclaimer) { font-size: 1rem; }
  .geo5-hero .hero-actions { align-items: stretch; flex-direction: column; }
  .geo5-hero .button,
  .geo5-text-link { width: 100%; }
  .geo5-subnav { top: 108px; }
  .geo5-subnav-inner { min-height: 52px; padding: 0 18px; }
  .geo5-subnav a { flex: 0 0 auto; }
  .geo5-trust ul { grid-template-columns: 1fr; }
  .geo5-trust li {
    padding: 11px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .geo5-trust li:last-child { border-bottom: 0; }
  .geo5-section-heading { margin-bottom: 34px; }
  .geo5-benefit-grid,
  .geo5-solution-grid,
  .geo5-program-grid,
  .geo5-workflow,
  .geo5-support-grid { grid-template-columns: 1fr; }
  .geo5-benefit-grid article,
  .geo5-support-grid article { min-height: 0; }
  .geo5-benefit-grid article > div > span { margin-bottom: 28px; }
  .geo5-solution-grid article { min-height: 0; padding: 0 25px 25px; }
  .geo5-solution-image { width: calc(100% + 50px); margin: 0 -25px 24px; }
  .geo5-workflow li { display: grid; grid-template-columns: 52px minmax(0,1fr); column-gap: 16px; }
  .geo5-workflow li > span { grid-row: 1 / 3; }
  .geo5-workflow h3 { min-height: 0; }
  .geo5-workflow p { grid-column: 2; }
  .geo5-filters {
    flex-wrap: nowrap;
    margin-right: -18px;
    padding-right: 18px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .geo5-filters::-webkit-scrollbar { display: none; }
  .geo5-filter { flex: 0 0 auto; }
  .geo5-help { align-items: stretch; flex-direction: column; padding: 26px; }
  .geo5-help .button { width: 100%; }
  .geo5-license-grid article > div { padding: 24px 27px 27px; }
  .geo5-faq [role="region"] { padding-right: 0; }
  .geo5-modal-dialog { padding: 34px 24px 26px; }
  .geo5-modal-actions { align-items: stretch; flex-direction: column; }
  .geo5-contact-form { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .geo5-page { scroll-behavior: auto; }
  .geo5-faq button span,
  .geo5-program-more-icon { transition: none; }
}

/* Align the language switch with the shared desktop content gutter. */
@media (min-width: 1081px) {
  .nav-links .language-link {
    position: absolute;
    right: max(32px, calc((100% - 1180px) / 2));
    top: 50%;
    transform: translateY(-50%);
  }
}

/* Home refinements: balanced spacing and explicit headline lines. */
.home-page .hero {
  min-height: 0;
  padding: 184px 20px 60px;
}
.home-page .hero-overlay {
  background: linear-gradient(135deg, rgba(45,158,155,.7) 0%, rgba(24,111,107,.4) 38%, rgba(24,111,107,0) 100%);
}
.home-page .hero .eyebrow { margin: 0 0 28px; transform: none; max-width: none; }
.home-page .hero h1 { max-width: none; font-size: clamp(2rem, 5.6vw, 5rem); line-height: 1.04; }
.home-page .hero h1 .hero-line { display: block; margin: 0; color: white; white-space: nowrap; }
.home-page .hero h1 .hero-line-accent { color: #fff4c8; }
.home-page .hero-content > p:not(.eyebrow) { max-width: 1120px; font-size: 1.2rem; text-wrap: balance; }
.home-page .hero-actions { padding-left: 48px; }
.home-page .hero-actions .button { font-size: 1.15rem; padding: 16px 26px; }
.home-page .intro-section { padding: 40px 20px; }
.home-page .intro-section .split { grid-template-columns: 1fr 1fr; align-items: start; gap: 40px; }
.home-page .intro-section h2 { max-width: none; font-size: clamp(1.75rem, 2.6vw, 2.5rem); line-height: 1.16; text-wrap: balance; }
.home-page .services-section .section-heading { max-width: none; }
.home-page .services-section .section-heading h2 { max-width: none; flex-basis: auto; font-size: clamp(2rem, 4vw, 3.7rem); text-wrap: balance; }
.home-page .service-card { display: flex; flex-direction: column; justify-content: flex-end; }
.home-page .service-card p { margin: 12px 0 0; }
.home-page .software-section .section-heading,
.home-page .software-section .section-heading h2 { max-width: 1180px; }
.home-page .software-section .section-heading h2 { font-size: clamp(2rem, 3.4vw, 3rem); text-wrap: balance; }
.home-page .software-section .eyebrow { font-size: 1.4rem; }
.home-page .network-section { padding: 40px 20px; }
.home-page .network-section .section-heading { margin-bottom: 24px; }
.home-page .network-grid > div { min-height: 0; padding: 22px; }
.home-page .network-grid p { margin-bottom: 0; }
@media (min-width: 1081px) {
  .navbar { grid-template-columns: 112px minmax(0,1fr) 112px; column-gap: 32px; padding-inline: max(32px, calc((100% - 1180px) / 2)); }
  .navbar::after { display: none; }
  .nav-links { justify-self: center; justify-content: center; gap: clamp(24px, 2.4vw, 34px); }
  .nav-links > a, .nav-links > .nav-item > a { font-size: 1.08rem; }
}
@media (max-width: 1080px) {
  .home-page .hero { padding-top: 148px; padding-bottom: 48px; }
  .home-page .intro-section .split { grid-template-columns: 1fr; gap: 24px; }
  .home-page .intro-section h2 { max-width: 650px; }
}
@media (max-width: 600px) {
  .home-page .hero { padding-inline: 20px; padding-top: 136px; padding-bottom: 36px; }
  .home-page .hero h1 { font-size: clamp(1.4rem, 6.6vw, 2.5rem); }
  .home-page .hero .eyebrow { font-size: .85rem; margin-bottom: 24px; }
  .home-page .hero-content > p:not(.eyebrow) { font-size: 1rem; }
  .home-page .hero-actions { padding-left: 0; gap: 10px; }
  .home-page .hero-actions .button { font-size: 1.05rem; padding: 14px 18px; }
}

.home-page .home-header { min-height: 0; }

@media (min-width: 1081px) {
  .home-page .services-section .section-heading h2 {
    font-size: clamp(2rem, 3vw, 2.9rem);
    white-space: nowrap;
    text-wrap: nowrap;
  }
}

/* Compact vertical rhythm; preserve the existing horizontal content gutters. */
body main > .section { padding-block: 44px; }
body .section-heading, body .section-heading-single,
body .service-section-head, body .geo5-section-heading,
body .affiliation-heading { margin-bottom: 24px; }
body .partner-grid { margin-top: 28px; }
body .partner-card { min-height: 0; padding: 16px; }
body .partner-logo-link, body .partner-card > .partner-logo { height: 170px; margin-bottom: 16px; }
body .partner-card > .partner-logo { padding: 16px; }
body .partner-logo-link .partner-logo { height: 136px; width: calc(100% - 32px); object-fit: contain; }
body .partner-details p { margin-top: 12px; padding-top: 12px; }
body .affiliation-card { padding: 28px; gap: 32px; }
body .affiliation-logo-link { min-height: 140px; padding: 20px; }

/* One shared closing layout for services, network and other contact strips. */
body .cta-strip { height: auto; min-height: 0; padding: 32px clamp(24px, 4vw, 56px); }
body .cta-inner { width: 100%; max-width: 1180px; display: flex; align-items: center; justify-content: center; gap: 28px; }
body .cta-inner > div { min-width: 0; }
body .cta-inner h2 { max-width: none; margin: 0; font-size: clamp(1.2rem, 1.8vw, 1.65rem); line-height: 1.25; text-wrap: initial; }
body .cta-inner .eyebrow { margin: 0 0 8px; }
body .cta-inner .cta-support { margin: 8px 0 0; color: rgba(255,255,255,.85); font-size: 1rem; line-height: 1.5; }
body .cta-inner > .button { flex: 0 0 auto; min-width: 180px; min-height: 56px; padding: 16px 26px; font-size: 1.05rem; text-align: center; }
body .site-footer { padding-block: 12px; gap: 12px; }
@media (max-width: 1100px) {
  body .site-footer { grid-template-columns: 1fr auto; }
  body .site-footer p, body .site-footer a { grid-column: auto; }
}
@media (max-width: 900px) {
  body .cta-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  body .cta-inner h2 { font-size: 1.5rem; }
}
@media (max-width: 640px) {
  body main > .section { padding-block: 30px; }
  body .cta-strip { padding-block: 28px; }
  body .site-footer { grid-template-columns: 1fr; gap: 6px; }
  body .site-footer p, body .site-footer a { justify-self: center; }
  body .affiliation-card { padding: 20px; gap: 20px; }
}

@media (max-width: 640px) {
  body .page-hero h1, body .geo5-hero-copy h1 { font-size: clamp(2rem, 8vw, 3rem); line-height: 1.08; }
}

/* Reserve room for the rotated expand icon within the FAQ heading. */
.geo5-faq button { padding-inline: 6px; }

/* Compact contact channels; expanded cards grow to keep every detail readable. */
body .contact-channel-section h2 { margin-bottom: 24px; }
body .contact-card-grid { gap: 18px; align-items: start; }
body .contact-flip-card, body .contact-card-inner { min-height: 210px; }
body .contact-card-inner { height: auto; }
body .contact-card-face { padding: 18px; }
body .contact-card-icon { width: 96px; height: 96px; font-size: 2.7rem; }
body .contact-card-icon-brand img { width: 52px; height: 52px; }
body .contact-flip-card.is-flipped .contact-card-back { position: relative; min-height: 210px; }
body .contact-card-kicker { margin-bottom: 8px; }
body .contact-card-back-detail { margin-bottom: 10px; }
body .contact-card-back p { margin-bottom: 12px; }

/* ============================================================
   Conmutador de tema (claro / oscuro)
   ============================================================ */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: 4px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.theme-toggle:hover { background: rgba(255, 255, 255, 0.22); border-color: rgba(255, 255, 255, 0.6); }
.theme-toggle:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .theme-toggle-moon-filled { display: none; }
[data-theme="dark"] .theme-toggle .theme-toggle-moon { display: none; }
[data-theme="dark"] .theme-toggle .theme-toggle-moon-filled { display: block; }

/* ============================================================
   Modo oscuro
   ============================================================ */
[data-theme="dark"] {
  color-scheme: dark;
  --ink: #eef5f3;
  --muted: #b9cbc8;
  --line: #2a4147;
  --paper: #0b1619;
  --surface: #112227;
  --surface-strong: #182e34;
  --night: #071921;
  --charcoal: #3d3e45;
  --sage: #1b2b2e;
  --teal-bright: #46c9c3;
  --teal-deep: #0c5c61;
  --on-card: #17323a;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
  --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.32);
  --shadow-md: 0 16px 40px rgba(0, 0, 0, 0.45);
  --section-texture:
    linear-gradient(135deg, rgba(45, 158, 155, 0.06) 0 1px, transparent 1px 38px),
    radial-gradient(circle at 12% 18%, rgba(45, 158, 155, 0.14), transparent 32%),
    radial-gradient(circle at 88% 12%, rgba(200, 154, 74, 0.12), transparent 30%);
}

[data-theme="dark"] body {
  background-color: var(--paper);
  color: var(--ink);
}

[data-theme="dark"] .section-white,
[data-theme="dark"] .section-soft,
[data-theme="dark"] .content-band-soft,
[data-theme="dark"] .image-panel,
[data-theme="dark"] .service-intro,
[data-theme="dark"] .service-offerings,
[data-theme="dark"] .service-list-section,
[data-theme="dark"] .connected-capacity-section,
[data-theme="dark"] .experience-intro,
[data-theme="dark"] .experience-metrics,
[data-theme="dark"] .affiliation-section,
[data-theme="dark"] .service-page,
[data-theme="dark"] .geo5-page,
[data-theme="dark"] .geo5-solutions,
[data-theme="dark"] .geo5-programs,
[data-theme="dark"] .geo5-licensing,
[data-theme="dark"] .geo5-faq-section,
[data-theme="dark"] .geo5-contact-form {
  background: var(--surface);
  background-image: none;
}

[data-theme="dark"] .services-section,
[data-theme="dark"] .intro-section {
  background: var(--paper);
  background-image: linear-gradient(180deg, rgba(45, 158, 155, 0.18) 0%, rgba(16, 29, 33, 0.92) 72%), var(--section-texture);
}

[data-theme="dark"] .services-section h2 { color: #6fd8d4; }

[data-theme="dark"] .industries-section { background: #0e1a1e; }

[data-theme="dark"] .contact-section-tinted {
  background: linear-gradient(90deg, rgba(8, 20, 24, 0.94), rgba(8, 20, 24, 0.82)), url("../images/hero-consulting.png") center / cover no-repeat #0b1416;
}
[data-theme="dark"] .contact-section-tinted .contact-form { background: #fff; border-color: #d8e0dc; }
[data-theme="dark"] .contact-section-tinted .contact-form input,
[data-theme="dark"] .contact-section-tinted .contact-form textarea,
[data-theme="dark"] .contact-section-tinted .contact-form select { background: #fff; border-color: #cbd8da; color: #132025; }

[data-theme="dark"] .metric,
[data-theme="dark"] .role-item,
[data-theme="dark"] .profile-card,
[data-theme="dark"] .partner-card,
[data-theme="dark"] .product-card,
[data-theme="dark"] .contact-card,
[data-theme="dark"] .resource-item,
[data-theme="dark"] .project-filter,
[data-theme="dark"] .partner-logo-link,
[data-theme="dark"] .partner-logo,
[data-theme="dark"] .partner-wordmark,
[data-theme="dark"] .affiliation-logo-link,
[data-theme="dark"] .management-cycle-image,
[data-theme="dark"] .bim-dimension,
[data-theme="dark"] .comparison-card,
[data-theme="dark"] .phase-panel,
[data-theme="dark"] .sector-application-card,
[data-theme="dark"] .sector-application-media,
[data-theme="dark"] .bim-workflow-image-frame,
[data-theme="dark"] .geo5-solution-grid article,
[data-theme="dark"] .geo5-program-card,
[data-theme="dark"] .geo5-program-consult,
[data-theme="dark"] .geo5-program-more,
[data-theme="dark"] .geo5-modal-dialog,
[data-theme="dark"] .software-visual,
[data-theme="dark"] .project-gallery-empty {
  background: var(--surface-strong);
  border-color: var(--line);
  color: var(--ink);
}

/* Fichas de experiencia: la linea superior teal se mantiene en oscuro */
[data-theme="dark"] .experience-metrics .metric {
  border-top-color: var(--teal-bright);
}
[data-theme="dark"] .contact-form,
[data-theme="dark"] .contact-form input,
[data-theme="dark"] .contact-form textarea,
[data-theme="dark"] .contact-form select {
  background: var(--surface-strong);
  border-color: var(--line);
  color: var(--ink);
}

/* El form se mantiene como tarjeta blanca; solo el boton se adapta al tema */
[data-theme="dark"] .contact-form {
  background: #fff;
  border-color: #d8e0dc;
}
[data-theme="dark"] .contact-form label {
  color: #132025;
}
[data-theme="dark"] .contact-form input,
[data-theme="dark"] .contact-form textarea,
[data-theme="dark"] .contact-form select {
  background: #fff;
  border-color: #cbd8da;
  color: #132025;
}

[data-theme="dark"] .metric span,
[data-theme="dark"] .card-kicker,
[data-theme="dark"] .project-gallery-section .section-heading-single > p:last-child,
[data-theme="dark"] .project-filter-tab,
[data-theme="dark"] .project-gallery-toolbar p,
[data-theme="dark"] .partner-details p,
[data-theme="dark"] .partner-details summary span,
[data-theme="dark"] .affiliation-copy .card-kicker,
[data-theme="dark"] .affiliation-copy > p:last-child,
[data-theme="dark"] .contact-card-hint,
[data-theme="dark"] .connected-capacity-section .page-lead,
[data-theme="dark"] .experience-metrics .metric span,
[data-theme="dark"] .geo5-subnav a,
[data-theme="dark"] .geo5-solution-grid ul,
[data-theme="dark"] .geo5-filter,
[data-theme="dark"] .geo5-program-description,
[data-theme="dark"] .geo5-privacy {
  color: #eef5f3;
}

[data-theme="dark"] .project-filter,
[data-theme="dark"] .project-gallery-empty { color: #cfe0df; }

/* ============================================================
   Efectos de menú
   ============================================================ */
.nav-links a {
  transition: color 0.2s ease;
}

/* Subrayado animado en los enlaces de primer nivel */
.nav-links > a:not(.language-link),
.nav-links > .nav-item > a {
  position: relative;
}
.nav-links > a:not(.language-link)::after,
.nav-links > .nav-item > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), rgba(255, 255, 255, 0.92));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links > a:not(.language-link):hover::after,
.nav-links > .nav-item > a:hover::after,
.nav-links > a:not(.language-link):focus-visible::after,
.nav-links > .nav-item > a:focus-visible::after {
  transform: scaleX(1);
}

/* Dropdown con más profundidad y entrada animada */
.submenu {
  background: rgba(41, 148, 145, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 48px rgba(8, 54, 58, 0.3), 0 4px 14px rgba(8, 54, 58, 0.14);
  animation: submenu-in 0.26s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

/* Ítems del desplegable como tarjetas con efecto hover */
.submenu a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.04);
  background-image: linear-gradient(90deg, rgba(200, 154, 74, 0.95), rgba(255, 255, 255, 0.7));
  background-repeat: no-repeat;
  background-size: 0% 2px;
  background-position: left bottom;
  transition: background-color 0.2s ease, background-size 0.25s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  animation: submenu-in 0.3s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
.submenu a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  bottom: 9px;
  width: 3px;
  border-radius: 999px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}
.submenu a::after {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: translateX(-3px) rotate(-45deg);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.submenu a:hover,
.submenu a:focus-visible {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.12);
  background-size: 100% 2px;
  border-color: rgba(200, 154, 74, 0.55);
  box-shadow: 0 8px 18px rgba(8, 54, 58, 0.3);
  transform: translateY(-2px);
}
.submenu a:hover::before,
.submenu a:focus-visible::before {
  transform: scaleY(1);
}
.submenu a:hover::after,
.submenu a:focus-visible::after {
  opacity: 1;
  transform: translateX(2px) rotate(-45deg);
}

.has-submenu .submenu a:nth-child(1) { animation-delay: 0.02s; }
.has-submenu .submenu a:nth-child(2) { animation-delay: 0.05s; }
.has-submenu .submenu a:nth-child(3) { animation-delay: 0.08s; }
.has-submenu .submenu a:nth-child(4) { animation-delay: 0.11s; }
.has-submenu .submenu a:nth-child(5) { animation-delay: 0.14s; }
.has-submenu .submenu a:nth-child(6) { animation-delay: 0.17s; }
.has-submenu .submenu a:nth-child(7) { animation-delay: 0.2s; }

@keyframes submenu-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Botón de idioma: misma transición que el resto */
.language-link {
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.language-link:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.42);
}

@media (max-width: 1080px) {
  /* Panel móvil: se desliza desde arriba */
  .nav-links {
    transform-origin: top center;
  }
  .nav-links.is-open {
    animation: nav-slide-in 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  @keyframes nav-slide-in {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* Hamburguesa -> X */
  .menu-toggle {
    transition: background-color 0.25s ease, border-color 0.25s ease;
  }
  .menu-toggle span {
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
  }
  .menu-toggle[aria-expanded="true"] {
    border-color: rgba(255, 255, 255, 0.42);
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: translateX(-4px);
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}

/* ============================================================
   Sección activa en el menú
   ============================================================ */
.nav-links > a.active,
.nav-links > .nav-item.is-active-parent > a {
  color: var(--white);
}
.nav-links > a.active::after,
.nav-links > .nav-item.is-active-parent > a::after {
  transform: scaleX(1);
}
.submenu a.active {
  color: var(--white);
  background-color: rgba(200, 154, 74, 0.18);
  background-size: 100% 2px;
  border-color: rgba(200, 154, 74, 0.55);
}
.submenu a.active::before {
  transform: scaleY(1);
}
.submenu a.active::after {
  opacity: 1;
  transform: translateX(2px) rotate(-45deg);
}

/* ============================================================
   Legibilidad: contorno oscuro sutil en los textos del menú
   ============================================================ */
.nav-links a,
.submenu a {
  text-shadow: 0 1px 3px rgba(8, 35, 41, 0.7), 0 0 2px rgba(8, 35, 41, 0.45);
}

/* ============================================================
   Legibilidad: contorno oscuro en textos sobre imágenes o fondos oscuros
   ============================================================ */
.hero h1,
.hero .eyebrow,
.hero-content > p,
.page-hero h1,
.page-hero .eyebrow,
.page-hero p,
.page-hero-image h1,
.page-hero-image .eyebrow,
.page-hero-image p,
.geo5-hero-copy h1,
.geo5-hero .eyebrow,
.geo5-hero-copy > p:not(.eyebrow, .geo5-disclaimer),
.geo5-hero .geo5-video-toggle,
.cta-strip h2,
.cta-strip .eyebrow,
.cta-strip p,
.map-panel h2,
.map-panel p,
.location-map .section-inner h2,
.location-map .section-inner p,
.contact-section-tinted h2,
.contact-section-tinted .eyebrow,
.contact-section-tinted p,
.service-card h3,
.service-card p,
.service-card .card-kicker,
.hero-actions .button-secondary {
  text-shadow: 0 1px 3px rgba(8, 35, 41, 0.75), 0 0 2px rgba(8, 35, 41, 0.5);
}

/* Refuerzo específico: texto blanco sobre fotos grandes de red y contacto */
.network-section .section-heading h2,
.network-section .section-heading .eyebrow,
.network-section .network-grid h3,
.network-section .network-grid p,
.contact-global-card h3,
.contact-global-card .eyebrow,
.contact-global-card p,
.contact-global-card .locations span {
  text-shadow: 0 1px 3px rgba(6, 24, 29, 0.9), 0 0 4px rgba(6, 24, 29, 0.65);
}

/* Modo claro: el encabezado de la sección de contacto del home va sobre fondo
   claro, por lo que el contorno oscuro se ve borroso. Se conserva en modo oscuro. */
.contact-section-tinted .contact-layout > div > h2,
.contact-section-tinted .contact-layout > div > .eyebrow {
  text-shadow: none;
}
[data-theme="dark"] .contact-section-tinted .contact-layout > div > h2,
[data-theme="dark"] .contact-section-tinted .contact-layout > div > .eyebrow {
  text-shadow: 0 1px 3px rgba(8, 35, 41, 0.75), 0 0 2px rgba(8, 35, 41, 0.5);
}

/* Texto del panel "presencia global" (página de experiencia) */
.experience-global-heading h2,
.experience-global-details > p,
.experience-global-details .experience-countries {
  text-shadow: 0 1px 3px rgba(6, 24, 29, 0.8), 0 0 3px rgba(6, 24, 29, 0.6);
}

/* ============================================================
   Modo oscuro: secciones de red y experiencia con overlay propio
   ============================================================ */
[data-theme="dark"] .connected-capacity-section::after {
  background: rgba(11, 20, 23, 0.86);
}
[data-theme="dark"] .connected-capacity-section::before {
  opacity: 0.26;
}
[data-theme="dark"] .connected-capacity-section .page-lead {
  color: var(--ink);
}
[data-theme="dark"] .experience-intro::after {
  background: rgba(11, 20, 23, 0.86);
}
[data-theme="dark"] .experience-intro::before {
  opacity: 0.12;
}

/* ============================================================
   Acentos dorados tipo menú en encabezados de sección
   ============================================================ */
.section-heading .eyebrow::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), rgba(200, 154, 74, 0.3));
}

.section-heading-single h2::before {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), rgba(200, 154, 74, 0.3));
}

/* ============================================================
   Modo oscuro v3: las cajas y logos conservan su superficie clara,
   el texto de superficies oscuras usa blanco, botones verdes con
   texto blanco sobre verde profundo.
   ============================================================ */
[data-theme="dark"] .profile-card,
[data-theme="dark"] .partner-card,
[data-theme="dark"] .partner-logo-link,
[data-theme="dark"] .partner-logo,
[data-theme="dark"] .partner-wordmark,
[data-theme="dark"] .affiliation-logo-link,
[data-theme="dark"] .product-card,
[data-theme="dark"] .contact-card,
[data-theme="dark"] .resource-item,
[data-theme="dark"] .metric,
[data-theme="dark"] .role-item,
[data-theme="dark"] .specialty-card,
[data-theme="dark"] .application-card,
[data-theme="dark"] .methodology-stage-card,
[data-theme="dark"] .affiliation-card,
[data-theme="dark"] .management-cycle-image,
[data-theme="dark"] .bim-dimension,
[data-theme="dark"] .comparison-card,
[data-theme="dark"] .phase-panel,
[data-theme="dark"] .sector-application-card,
[data-theme="dark"] .sector-application-media,
[data-theme="dark"] .bim-workflow-image-frame,
[data-theme="dark"] .software-visual,
[data-theme="dark"] .project-filter,
[data-theme="dark"] .project-gallery-empty,
[data-theme="dark"] .geo5-solution-grid article,
[data-theme="dark"] .geo5-program-card,
[data-theme="dark"] .geo5-program-consult,
[data-theme="dark"] .geo5-program-more,
[data-theme="dark"] .geo5-modal-dialog {
  background-color: #fff;
  border-color: #d3ddd9;
  color: #142e35;
}

/* Texto interior de las cajas con tinta oscura (anula tokens invertidos) */
[data-theme="dark"] .profile-card h3,
[data-theme="dark"] .profile-card p,
[data-theme="dark"] .profile-card small,
[data-theme="dark"] .profile-card .profile-bio,
[data-theme="dark"] .partner-card h3,
[data-theme="dark"] .partner-details summary,
[data-theme="dark"] .partner-details p,
[data-theme="dark"] .partner-details summary span,
[data-theme="dark"] .product-card h3,
[data-theme="dark"] .product-card p,
[data-theme="dark"] .contact-card h3,
[data-theme="dark"] .contact-card p,
[data-theme="dark"] .resource-item h3,
[data-theme="dark"] .resource-item p,
[data-theme="dark"] .metric span,
[data-theme="dark"] .experience-metrics .metric span,
[data-theme="dark"] .role-item,
[data-theme="dark"] .role-item li,
[data-theme="dark"] .role-item p,
[data-theme="dark"] .specialty-card .card-number,
[data-theme="dark"] .specialty-card .service-card-copy h3,
[data-theme="dark"] .specialty-card .service-card-copy p,
[data-theme="dark"] .application-card .card-number,
[data-theme="dark"] .application-card h3,
[data-theme="dark"] .application-card p,
[data-theme="dark"] .methodology-stage-card h3,
[data-theme="dark"] .methodology-stage-card p,
[data-theme="dark"] .methodology-stage-card ul,
[data-theme="dark"] .methodology-stage-card li,
[data-theme="dark"] .affiliation-copy .card-kicker,
[data-theme="dark"] .affiliation-copy > p:last-child,
[data-theme="dark"] .comparison-card h3,
[data-theme="dark"] .comparison-card li,
[data-theme="dark"] .phase-panel h3,
[data-theme="dark"] .phase-panel li,
[data-theme="dark"] .sector-application-card h3,
[data-theme="dark"] .project-filter-tab,
[data-theme="dark"] .project-gallery-toolbar p,
[data-theme="dark"] .geo5-solution-grid article,
[data-theme="dark"] .geo5-solution-grid ul,
[data-theme="dark"] .geo5-program-card h3,
[data-theme="dark"] .geo5-program-consult p,
[data-theme="dark"] .geo5-program-consult li,
[data-theme="dark"] .geo5-program-more li,
[data-theme="dark"] .geo5-program-description,
[data-theme="dark"] .geo5-modal-dialog {
  color: #142e35;
}

[data-theme="dark"] .affiliation-copy .card-kicker {
  color: var(--teal);
}

/* Botones verdes: texto blanco sobre verde profundo */
[data-theme="dark"] .button-primary {
  color: #fff;
  background: #0f5c52;
}
[data-theme="dark"] .button-primary:hover,
[data-theme="dark"] .button-primary:focus-visible {
  color: #fff;
  background: #0c5047;
}

/* Banda destacada: conserva su charcoal oscuro con texto blanco */
[data-theme="dark"] .service-highlight {
  background: #3d3e45;
  color: #fff;
}
[data-theme="dark"] .service-highlight p {
  color: rgba(255, 255, 255, 0.9);
}

/* ===== Paleta oscura coherente — cajas y navegación ===== */

/* Subnav de servicios: barra oscura con texto claro */
[data-theme="dark"] .service-subnav {
  border-color: var(--line);
  background: rgba(14, 26, 31, 0.92);
}
[data-theme="dark"] .service-subnav a {
  color: #c6d6d3;
}
[data-theme="dark"] .service-subnav a:hover,
[data-theme="dark"] .service-subnav a:focus-visible {
  color: var(--teal-bright);
  border-color: var(--gold);
}

/* Subnav GEO5: barra oscura con texto claro (mismo estilo que BEXEL) */
[data-theme="dark"] .geo5-subnav {
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: rgba(6, 31, 43, .92);
}
[data-theme="dark"] .geo5-subnav a {
  color: #eef5f3;
}
[data-theme="dark"] .geo5-subnav a:hover,
[data-theme="dark"] .geo5-subnav a:focus-visible {
  color: #a9c92f;
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 4px 14px rgba(169, 201, 47, .18);
}
[data-theme="dark"] .geo5-subnav a::after {
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .14) 50%, transparent 62%);
}
[data-theme="dark"] .geo5-subnav .geo5-subnav-cta:hover,
[data-theme="dark"] .geo5-subnav .geo5-subnav-cta:focus-visible {
  box-shadow: 0 8px 18px rgba(70, 201, 195, .32);
}

@media (prefers-reduced-motion: reduce) {
  .geo5-subnav a::after { display: none; }
}

/* Chips de sectores y pestañas de fases sobre secciones oscuras */
[data-theme="dark"] .sector-list li {
  border-color: var(--line);
  background: var(--surface-strong);
  color: var(--teal-bright);
}
[data-theme="dark"] .phase-tab {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--teal-bright);
}
[data-theme="dark"] .phase-tab.is-active {
  color: #fff;
  background: var(--teal-deep);
}
[data-theme="dark"] .phase-panel ul {
  color: #48696d;
}
[data-theme="dark"] .phase-panel li strong,
[data-theme="dark"] .phase-panel h3 {
  color: #142e35;
}

/* GEO5: tarjetas translúcidas/transparentes → blancas con texto oscuro */
[data-theme="dark"] .geo5-benefit-grid article,
[data-theme="dark"] .geo5-license-grid article {
  background-color: #fff;
  border-color: #d3ddd9;
  color: #17323a;
}
[data-theme="dark"] .geo5-benefit-grid h3,
[data-theme="dark"] .geo5-license-grid h3 {
  color: #142e35;
}
[data-theme="dark"] .geo5-benefit-grid p,
[data-theme="dark"] .geo5-license-grid p {
  color: #48696d;
}
[data-theme="dark"] .geo5-benefit-grid article > div > span,
[data-theme="dark"] .geo5-license-grid article > div > span {
  color: var(--teal-deep);
}
[data-theme="dark"] .geo5-license-grid .geo5-outline-button {
  color: var(--teal-deep);
  border-color: rgba(12, 92, 97, 0.35);
}
[data-theme="dark"] .geo5-license-grid .geo5-outline-button:hover {
  color: #fff;
  background: var(--teal-deep);
}

/* GEO5: signo + del acordeón y botones outline en secciones oscuras */
[data-theme="dark"] .geo5-faq button span {
  color: #a9c92f;
}
[data-theme="dark"] .geo5-outline-button {
  color: var(--teal-bright);
  border-color: rgba(70, 201, 195, 0.4);
}
[data-theme="dark"] .geo5-outline-button:hover {
  color: #fff;
  background: var(--teal-deep);
}

/* ===== Paleta oscura — textos sobre superficies claras ===== */

/* role-item es tarjeta-foto: se revierte el fondo blanco, texto claro */
[data-theme="dark"] .participation-section .role-item {
  background-color: transparent;
}
[data-theme="dark"] .participation-section .role-item,
[data-theme="dark"] .participation-section .role-item span {
  color: #fff;
}

/* deliverable-list: caja blanca con texto oscuro */
[data-theme="dark"] .deliverable-list {
  background-color: #fff;
  border-color: #d3ddd9;
  color: #17323a;
}
[data-theme="dark"] .deliverable-list li {
  color: #17323a;
}
[data-theme="dark"] .deliverable-list li::before {
  color: var(--teal-deep);
}

/* BIM: comparación y dimensiones (tarjetas blancas) */
[data-theme="dark"] .comparison-card ul {
  color: #48696d;
}
[data-theme="dark"] .bim-dimension p,
[data-theme="dark"] .bim-dimension span {
  color: #48696d;
}

/* Fases: texto de los paneles blancos */
[data-theme="dark"] .phase-panel p {
  color: #48696d;
}
[data-theme="dark"] .phase-panel .eyebrow {
  color: var(--teal-deep);
}

/* GEO5: texto interno de tarjetas blancas */
[data-theme="dark"] .geo5-solution-grid article p {
  color: #48696d;
}
[data-theme="dark"] .geo5-program-card p,
[data-theme="dark"] .geo5-program-card li {
  color: #48696d;
}
[data-theme="dark"] .geo5-program-card h4 {
  color: #142e35;
}

/* GEO5: banda de imagen del programa — fondo oscuro, título blanco */
[data-theme="dark"] .geo5-program-media {
  background-color: #0b3d44;
  color: #fff;
}
[data-theme="dark"] .geo5-program-media-label,
[data-theme="dark"] .geo5-program-media-label h3 {
  color: #fff;
}

/* Barra de filtros de proyectos sobre fondos oscuros */
[data-theme="dark"] .project-filter-tabs {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
}
[data-theme="dark"] .project-filter-tab {
  color: #c6d6d3;
}
[data-theme="dark"] .project-filter-tab:hover {
  color: var(--teal-bright);
  background: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .project-filter-tab.is-active {
  color: #fff;
  background: var(--teal-deep);
  box-shadow: 0 3px 10px rgba(0, 0, 0, .28);
}
[data-theme="dark"] .project-filter-tab.is-active:hover,
[data-theme="dark"] .project-filter-tab.is-active:focus-visible {
  color: #fff;
  background: #1aa8ac;
  box-shadow: 0 0 0 1px rgba(70, 201, 195, .55), 0 6px 18px rgba(70, 201, 195, .3);
}

[data-theme="dark"] .project-filter {
  border-color: rgba(207, 224, 223, .22);
  background: rgba(255, 255, 255, .07);
  color: #c6d6d3;
}
[data-theme="dark"] .project-filter:hover,
[data-theme="dark"] .project-filter:focus-visible {
  border-color: rgba(70, 201, 195, .5);
  background: rgba(255, 255, 255, .11);
  color: var(--teal-bright);
  box-shadow: 0 4px 12px rgba(70, 201, 195, .18);
}
[data-theme="dark"] .project-filter.is-active {
  border-color: var(--teal-deep);
  background: var(--teal-deep);
  color: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .28);
}
[data-theme="dark"] .project-filter.is-active:hover,
[data-theme="dark"] .project-filter.is-active:focus-visible {
  border-color: #1aa8ac;
  background: #1aa8ac;
  color: #fff;
  box-shadow: 0 0 0 1px rgba(70, 201, 195, .55), 0 6px 18px rgba(70, 201, 195, .32);
}

[data-theme="dark"] .profile-details summary span::before,
[data-theme="dark"] .partner-details summary span {
  color: var(--gold);
}
[data-theme="dark"] .project-gallery-toolbar p {
  color: #b9cbc8;
}

/* ===== Mejora de componentes: elevación y microinteracciones ===== */
/* Tarjetas de especialidad y aplicación */
[data-theme] .specialty-card,
[data-theme] .application-card {
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background .28s ease;
}
[data-theme] .specialty-card:hover,
[data-theme] .application-card:hover {
  transform: translateY(-6px);
  border-color: rgba(8, 80, 78, 0.38);
  box-shadow: var(--shadow-md);
}

/* Beneficios con franja dorada */
[data-theme] .benefit-item {
  padding: 24px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .28s ease, box-shadow .28s ease;
}
[data-theme] .service-page .benefit-item { padding: 16px 18px; }
[data-theme] .benefit-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Chips de herramientas */
[data-theme] .tool-chip {
  border-radius: var(--radius);
  transition: transform .28s ease, border-color .28s ease, background .28s ease;
}
[data-theme] .tool-chip:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.13);
}

/* Pasos de proceso */
[data-theme] .process-step {
  border-radius: var(--radius);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
[data-theme] .process-step:hover {
  transform: translateY(-5px);
  border-color: rgba(111, 216, 212, 0.45);
  box-shadow: var(--shadow-md);
}

/* Tarjetas de servicio (foto con gradiente) */
[data-theme] .service-card {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background-size: cover;
  transition: transform .32s ease, box-shadow .32s ease, background-size .65s ease;
}
[data-theme] .service-card:hover {
  transform: translateY(-7px);
  background-size: 116% auto;
  box-shadow: 0 26px 54px rgba(4, 22, 28, 0.5);
}

/* Dimensiones BIM y tarjetas de comparación */
[data-theme] .bim-dimension,
[data-theme] .comparison-card {
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .28s ease, box-shadow .28s ease;
}
[data-theme] .bim-dimension:hover,
[data-theme] .comparison-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* Lista de entregables */
[data-theme] .deliverable-list {
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .28s ease, box-shadow .28s ease;
}
[data-theme] .deliverable-list:hover {
  box-shadow: var(--shadow-md);
}

/* GEO5: tarjetas de beneficios, licencias y programas */
[data-theme] .geo5-benefit-grid article,
[data-theme] .geo5-license-grid article,
[data-theme] .geo5-program-card,
[data-theme] .geo5-solution-grid article {
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
[data-theme] .geo5-benefit-grid article:hover,
[data-theme] .geo5-license-grid article:hover,
[data-theme] .geo5-program-card:hover,
[data-theme] .geo5-solution-grid article:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

@media (prefers-reduced-motion: reduce) {
  .specialty-card, .application-card, .benefit-item, .tool-chip, .process-step,
  .service-card, .bim-dimension, .comparison-card, .deliverable-list,
  .geo5-benefit-grid article, .geo5-license-grid article, .geo5-program-card,
  .geo5-solution-grid article {
    transition: none !important;
    transform: none !important;
  }
}

/* Contraste AA en modo claro: numeraciones y contenedores */
[data-theme] .specialty-card .card-number,
[data-theme] .application-card .card-number {
  color: var(--clay-ink);
}
[data-theme] .industry-card {
  color: #fff;
}

/* ===== Borde de luz rotatorio en las fichas de servicios ===== */
@property --ficha-gspin {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

[data-theme] .specialty-card,
[data-theme] .application-card,
[data-theme] .process-step,
[data-theme] .phase-panel,
[data-theme] .bim-dimension,
[data-theme] .comparison-card,
[data-theme] .geo5-support-grid article,
[data-theme] .industry-card,
[data-theme] .service-card {
  position: relative;
}

[data-theme] .specialty-card::before,
[data-theme] .application-card::before,
[data-theme] .process-step::before,
[data-theme] .phase-panel::before,
[data-theme] .bim-dimension::before,
[data-theme] .comparison-card::before,
[data-theme] .geo5-support-grid article::before,
[data-theme] .industry-card::before,
[data-theme] .service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(
    from var(--ficha-gspin),
    transparent 0deg,
    rgba(70, 201, 195, .9) 55deg,
    #f4c96f 95deg,
    transparent 150deg,
    transparent 205deg,
    rgba(70, 201, 195, .5) 265deg,
    #f4c96f 315deg,
    transparent 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: ficha-border-glow 7s linear infinite;
  pointer-events: none;
}

[data-theme] .industry-card::before {
  z-index: 1;
}

@keyframes ficha-border-glow {
  to { --ficha-gspin: 360deg; }
}

@media (prefers-reduced-motion: reduce) {
  .specialty-card::before, .application-card::before, .process-step::before,
  .phase-panel::before, .bim-dimension::before, .comparison-card::before,
  .geo5-support-grid article::before, .industry-card::before, .service-card::before {
    animation: none;
  }
}

/* ===== Galería de proyectos: popup con la información ===== */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
}
.project-modal[hidden] { display: none; }
.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 24, 30, .62);
  backdrop-filter: blur(6px);
}
.project-modal-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 380px);
  width: min(860px, 100%);
  max-height: min(560px, 92vh);
  overflow: auto;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 40px 90px rgba(4, 22, 28, .38);
}
.project-modal-media {
  min-height: 320px;
  background: #0e2a31;
}
.project-modal-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}
.project-modal-content {
  padding: 34px;
  align-content: start;
}
.project-modal-content h3 {
  margin: 6px 0 14px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.project-modal-content .card-kicker {
  color: var(--teal);
  margin: 0;
}
.project-modal-content .project-card-location {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
}
.project-modal-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  background: linear-gradient(135deg, rgba(8, 80, 78, .12), rgba(8, 80, 78, .04));
}
.project-modal-content .project-card-detail {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: .95rem;
}
.project-modal-content .project-card-detail b {
  display: block;
  color: var(--ink);
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.project-modal-content .project-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.project-modal-content .project-card-tags i {
  padding: 5px 12px;
  border: 1px solid rgba(8, 80, 78, .18);
  border-radius: 999px;
  color: var(--teal);
  font-size: .74rem;
  font-style: normal;
  font-weight: 800;
}
.project-modal-content .project-card-description {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.project-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(4, 40, 50, .85);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}
.project-modal-close:hover {
  background: rgba(4, 40, 50, 1);
  transform: scale(1.06);
}
.project-modal-close:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
[data-theme="dark"] .project-modal-backdrop {
  background: rgba(0, 0, 0, .72);
}
[data-theme="dark"] .project-modal-card {
  background: var(--surface-strong);
}
[data-theme="dark"] .project-modal-card .card-kicker {
  color: var(--teal-bright);
}
[data-theme="dark"] .project-modal-content .project-card-detail b {
  color: var(--ink);
}
[data-theme="dark"] .project-modal-content .project-card-tags i {
  border-color: var(--line);
  color: var(--teal-bright);
}
@media (max-width: 760px) {
  .project-modal-card {
    grid-template-columns: 1fr;
    max-height: 92vh;
  }
  .project-modal-media,
  .project-modal-media img {
    min-height: 0;
    max-height: 240px;
  }
  .project-modal-content {
    padding: 26px 22px 30px;
  }
}

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 1.25rem;
  box-shadow: 0 6px 20px rgba(0,0,0,.28);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease, background-color .2s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--teal-deep);
}
.back-to-top:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
