:root {
  color-scheme: light;
  --navy: #101936;
  --blue: #2534a6;
  --blue-deep: #130c75;
  --cyan: #20c7df;
  --cyan-soft: #e7fbff;
  --yellow: #f4bd2b;
  --orange: #e76d1f;
  --ink: #141827;
  --muted: #627083;
  --line: #dce5ef;
  --surface: #ffffff;
  --soft: #f4f8fb;
  --shadow: 0 18px 50px rgba(16, 25, 54, 0.14);
  --max: 1180px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #edf5ff;
  --muted: #a9b8ce;
  --line: rgba(151, 179, 214, 0.24);
  --surface: #101936;
  --soft: #071225;
  --shadow: 0 20px 56px rgba(0, 0, 0, 0.38);
  --cyan-soft: rgba(32, 199, 223, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: clip;
  transition:
    color 280ms ease,
    background 280ms ease;
}

body.lightbox-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  z-index: 90;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 3vw, 36px);
  width: min(calc(100% - 56px), 1280px);
  margin: 36px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 251, 0.9));
  box-shadow:
    0 22px 58px rgba(8, 16, 35, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(22px) saturate(1.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  padding: 4px 6px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
}

.brand-logo {
  width: clamp(210px, 20vw, 286px);
  height: auto;
}

.brand-logo-dark {
  display: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px;
  border: 1px solid rgba(16, 25, 54, 0.06);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.42);
}

.main-nav a {
  position: relative;
  border-radius: 7px;
  padding: 10px 13px;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--blue);
  background: rgba(231, 251, 255, 0.9);
  box-shadow: 0 8px 20px rgba(32, 199, 223, 0.14);
  transform: translateY(-1px);
  outline: none;
}

.main-nav a[aria-current="page"] {
  color: var(--blue);
  background: var(--cyan-soft);
}

.main-nav a:last-child {
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: 0 10px 22px rgba(37, 52, 166, 0.18);
}

.main-nav a:last-child:hover,
.main-nav a:last-child:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  transform: translate3d(0, -2px, 0);
  box-shadow: 0 16px 30px rgba(37, 52, 166, 0.25);
}

.menu-toggle {
  display: none;
  position: relative;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--yellow);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(16, 25, 54, 0.12);
  transition:
    transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 240ms ease,
    box-shadow 260ms ease,
    background 240ms ease;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  border-radius: 999px;
  transition:
    transform 240ms ease,
    background 240ms ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  transform: translate3d(0, -3px, 0) scale(1.03);
  border-color: rgba(32, 199, 223, 0.45);
  background: linear-gradient(135deg, var(--yellow), #ffd764);
  box-shadow: 0 18px 34px rgba(16, 25, 54, 0.18);
  outline: none;
}

.menu-toggle:hover span:first-child,
.menu-toggle:focus-visible span:first-child {
  transform: translateX(-2px);
}

.menu-toggle:hover span:last-child,
.menu-toggle:focus-visible span:last-child {
  transform: translateX(2px);
}

.theme-toggle {
  position: fixed;
  right: clamp(16px, 2.4vw, 28px);
  bottom: clamp(16px, 2.4vw, 28px);
  z-index: 70;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  color: #fff;
  background:
    radial-gradient(circle at 30% 22%, rgba(32, 199, 223, 0.42), transparent 42%),
    linear-gradient(145deg, var(--navy), var(--blue));
  box-shadow:
    0 20px 44px rgba(8, 15, 34, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  cursor: pointer;
  isolation: isolate;
  transition:
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 240ms ease,
    background 280ms ease,
    box-shadow 320ms ease;
}

.theme-toggle::before,
.theme-toggle::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.theme-toggle::before {
  inset: -6px;
  z-index: -1;
  border-radius: inherit;
  background: rgba(32, 199, 223, 0.16);
  opacity: 0;
  transform: scale(0.84);
  transition:
    opacity 300ms ease,
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.theme-toggle::after {
  right: calc(100% + 10px);
  top: 50%;
  width: max-content;
  max-width: 150px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 7px 10px;
  color: #fff;
  background: rgba(8, 15, 34, 0.88);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
  content: attr(data-tooltip);
  font-size: 0.78rem;
  font-weight: 850;
  opacity: 0;
  transform: translate3d(8px, -50%, 0);
  transition:
    opacity 220ms ease,
    transform 260ms ease;
}

.theme-toggle svg {
  width: 27px;
  height: 27px;
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.theme-toggle path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  transform: translate3d(0, -5px, 0) scale(1.04);
  border-color: rgba(32, 199, 223, 0.72);
  box-shadow:
    0 28px 54px rgba(8, 15, 34, 0.34),
    0 0 0 1px rgba(32, 199, 223, 0.12) inset;
  outline: none;
}

.theme-toggle:hover::before,
.theme-toggle:focus-visible::before {
  opacity: 1;
  transform: scale(1);
}

.theme-toggle:hover::after,
.theme-toggle:focus-visible::after {
  opacity: 1;
  transform: translate3d(0, -50%, 0);
}

.theme-toggle:hover svg,
.theme-toggle:focus-visible svg {
  transform: rotate(34deg);
}

.theme-toggle[aria-pressed="true"] {
  color: var(--navy);
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.64), transparent 42%),
    linear-gradient(145deg, var(--yellow), #ffe08a);
  box-shadow:
    0 22px 48px rgba(244, 189, 43, 0.22),
    0 18px 42px rgba(0, 0, 0, 0.24);
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: center;
  padding: 190px 20px 130px;
  color: #fff;
  background: url("assets/photos/hero-seguridad-trabajo.webp") 58% center / cover no-repeat;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
  width: min(42vw, 640px);
  height: min(34vw, 480px);
  background:
    repeating-linear-gradient(0deg, rgba(32, 199, 223, 0.18) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(90deg, rgba(32, 199, 223, 0.12) 0 1px, transparent 1px 22px),
    linear-gradient(132deg, transparent 0 18%, rgba(32, 199, 223, 0.48) 18.2% 18.7%, transparent 18.9% 48%, rgba(37, 92, 255, 0.46) 48.2% 48.7%, transparent 48.9%),
    linear-gradient(148deg, rgba(32, 199, 223, 0.18), transparent 58%);
  clip-path: polygon(0 18%, 72% 0, 100% 36%, 78% 100%, 0 82%);
  opacity: 0.36;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 15, 34, 0.96), rgba(15, 32, 70, 0.84) 40%, rgba(15, 32, 70, 0.3) 67%, rgba(8, 15, 34, 0.08)),
    linear-gradient(0deg, rgba(8, 15, 34, 0.56), rgba(8, 15, 34, 0.1));
}

.hero-content {
  width: min(100%, 1280px);
  margin: 8px auto 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.hero-eyebrow {
  position: relative;
  width: fit-content;
  margin-bottom: 34px;
}

.hero-eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -14px;
  width: 58px;
  height: 3px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 22px rgba(32, 199, 223, 0.42);
}

.hero h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(2.45rem, 4.2vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 36px;
}

.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  overflow: hidden;
  border: 0;
  gap: 12px;
  border-radius: 8px;
  padding: 16px 28px;
  font-size: 1.02rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(16, 25, 54, 0.12);
  transition:
    transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 300ms cubic-bezier(0.2, 0.8, 0.2, 1),
    color 240ms ease,
    border-color 240ms ease,
    background 240ms ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.42) 45%, transparent 70%);
  opacity: 0;
  transform: translateX(-120%);
  transition:
    opacity 280ms ease,
    transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn:hover,
.btn:focus-visible {
  transform: translate3d(0, -4px, 0);
  box-shadow: 0 22px 42px rgba(16, 25, 54, 0.2);
  outline: none;
}

.btn:hover::before,
.btn:focus-visible::before {
  opacity: 1;
  transform: translateX(120%);
}

.btn-primary {
  color: var(--navy);
  background: var(--yellow);
}

.btn-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-icon svg {
  width: 24px;
  height: 24px;
}

.btn-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn:hover .btn-icon,
.btn:focus-visible .btn-icon {
  transform: translate3d(0, -1px, 0) scale(1.08);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  color: var(--navy);
  background: linear-gradient(135deg, #ffd456, var(--yellow));
}

.btn-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(32, 199, 223, 0.68);
  background: rgba(32, 199, 223, 0.16);
}

.reveal-ready .reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  filter: blur(8px);
  transition:
    opacity 760ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 760ms cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 760ms cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.reveal-ready .reveal.reveal-left {
  transform: translate3d(-28px, 18px, 0);
}

.reveal-ready .reveal.reveal-right {
  transform: translate3d(28px, 18px, 0);
}

.reveal-ready .reveal.reveal-scale {
  transform: translate3d(0, 20px, 0) scale(0.975);
}

.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-ready .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(calc(100% - 56px), 1280px);
  margin: -72px auto 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(16, 25, 54, 0.08);
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(16, 25, 54, 0.18);
  background: var(--line);
}

.metric {
  position: relative;
  min-height: 112px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  overflow: hidden;
  padding: 28px 34px;
  background: var(--surface);
  cursor: pointer;
  transition:
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    background 280ms ease,
    box-shadow 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.metric::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 24% 20%, rgba(32, 199, 223, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(31, 53, 181, 0.12), rgba(255, 193, 35, 0.08));
  opacity: 0;
  transform: translate3d(-16px, 12px, 0) scale(0.98);
  transition:
    opacity 280ms ease,
    transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.metric:hover {
  z-index: 2;
  transform: translate3d(0, -10px, 0);
  background: #fff;
  box-shadow: 0 24px 46px rgba(16, 25, 54, 0.16);
}

.metric:hover::before {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.metric-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(37, 52, 166, 0.08);
  border-radius: 50%;
  color: var(--blue);
  background:
    radial-gradient(circle at 28% 22%, rgba(32, 199, 223, 0.15), transparent 42%),
    #eef4fb;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition:
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    color 260ms ease,
    background 260ms ease,
    box-shadow 320ms ease;
}

.metric-icon svg {
  width: 31px;
  height: 31px;
}

.metric-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.metric-copy {
  position: relative;
  z-index: 1;
  display: block;
  min-width: 0;
}

.metric-copy strong {
  position: relative;
  z-index: 1;
  display: block;
  color: var(--blue);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1;
  transition:
    color 260ms ease,
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    text-shadow 320ms ease;
}

.metric-copy span {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
  transition:
    color 260ms ease,
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.metric:hover .metric-icon {
  color: #fff;
  background:
    radial-gradient(circle at 28% 22%, rgba(32, 199, 223, 0.48), transparent 42%),
    linear-gradient(145deg, var(--blue), var(--navy));
  transform: translate3d(0, -4px, 0) scale(1.04);
  box-shadow: 0 18px 34px rgba(37, 52, 166, 0.22);
}

.metric:hover .metric-copy strong {
  color: #1f35b5;
  transform: translate3d(0, -3px, 0);
  text-shadow: 0 12px 24px rgba(31, 53, 181, 0.18);
}

.metric:hover .metric-copy span {
  color: var(--navy);
  transform: translate3d(0, 2px, 0);
}

.section {
  position: relative;
  isolation: isolate;
  scroll-margin-top: 132px;
  padding: clamp(72px, 8vw, 112px) 20px;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 0;
  width: min(calc(100% - 40px), var(--max));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent 0%, rgba(32, 199, 223, 0.5) 22%, rgba(31, 53, 181, 0.26) 50%, rgba(255, 193, 35, 0.32) 78%, transparent 100%);
  pointer-events: none;
}

.section::after {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  z-index: 0;
  width: 96px;
  height: 14px;
  border: 1px solid rgba(32, 199, 223, 0.16);
  border-radius: 0;
  transform: translateX(-50%);
  background:
    linear-gradient(90deg, rgba(32, 199, 223, 0.14), rgba(255, 255, 255, 0.76), rgba(37, 52, 166, 0.1));
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  box-shadow: 0 10px 30px rgba(16, 25, 54, 0.1);
  pointer-events: none;
}

.section-dark::before,
.presence-section::before,
.safety-band::before {
  background: linear-gradient(90deg, transparent 0%, rgba(32, 199, 223, 0.58) 24%, rgba(255, 255, 255, 0.22) 50%, rgba(255, 193, 35, 0.34) 76%, transparent 100%);
}

.section-dark::after,
.presence-section::after,
.safety-band::after {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(8, 15, 34, 0.72);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
}

.metrics {
  scroll-margin-top: 132px;
}

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

.section-heading {
  width: min(100%, var(--max));
  margin: 0 auto 36px;
}

.section-heading h2,
.about-copy h2,
.contact-copy h2,
.safety-band h2 {
  max-width: 760px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.about-copy p,
.contact-copy p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
}

.services-grid {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-showcase {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.service-block {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 42px rgba(16, 25, 54, 0.08);
}

.service-intro {
  position: sticky;
  top: 140px;
  padding: 22px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.service-intro span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: var(--navy);
  background: var(--yellow);
  font-weight: 950;
}

.service-intro h3 {
  margin: 18px 0 10px;
  color: var(--navy);
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.08;
}

.service-intro p {
  margin: 0;
  color: var(--muted);
}

.service-points {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.service-points li {
  position: relative;
  padding-left: 22px;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.35;
}

.service-points li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px var(--cyan-soft);
}

.service-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.service-media-grid figure {
  position: relative;
  min-height: 190px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #dce5ef;
  cursor: zoom-in;
  outline: none;
}

.service-media-grid figure::after {
  content: "Ampliar";
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 6px 10px;
  color: #fff;
  background: rgba(8, 15, 34, 0.72);
  box-shadow: 0 14px 30px rgba(8, 15, 34, 0.24);
  font-size: 0.72rem;
  font-weight: 900;
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  transition:
    opacity 220ms ease,
    transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

.service-media-grid .service-large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 390px;
}

.service-media-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  transition: transform 260ms ease, filter 260ms ease;
}

.service-media-grid figure:hover img {
  transform: scale(1.035);
  filter: saturate(1.06);
}

.service-media-grid figure:hover::after,
.service-media-grid figure:focus-visible::after {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.service-media-grid figure:focus-visible {
  box-shadow: 0 0 0 3px rgba(32, 199, 223, 0.28);
}

.service-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 34px);
  background:
    linear-gradient(132deg, rgba(32, 199, 223, 0.16) 0 24%, transparent 24.4%),
    repeating-linear-gradient(150deg, transparent 0 96px, rgba(32, 199, 223, 0.08) 97px 98px, transparent 99px 142px),
    rgba(8, 15, 34, 0.88);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 260ms ease,
    visibility 260ms ease;
}

.service-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.service-lightbox-frame {
  width: min(1120px, 100%);
  max-height: min(860px, calc(100vh - 34px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(16, 25, 54, 0.94), rgba(8, 15, 34, 0.96));
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.48);
  transform: translate3d(0, 18px, 0) scale(0.985);
  transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.service-lightbox.is-open .service-lightbox-frame {
  transform: translate3d(0, 0, 0) scale(1);
}

.service-lightbox-top,
.service-lightbox-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
}

.service-lightbox-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-lightbox-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.service-lightbox-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-lightbox-title {
  display: block;
  color: #fff;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.15;
}

.service-lightbox-close,
.service-lightbox-nav {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  transition:
    transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 240ms ease,
    background 240ms ease,
    box-shadow 280ms ease;
}

.service-lightbox-close {
  padding: 10px 14px;
}

.service-lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 94px;
  padding: 12px 10px;
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
}

.service-lightbox-prev {
  left: 18px;
}

.service-lightbox-next {
  right: 18px;
}

.service-lightbox-close:hover,
.service-lightbox-close:focus-visible,
.service-lightbox-nav:hover,
.service-lightbox-nav:focus-visible {
  border-color: rgba(32, 199, 223, 0.72);
  background: rgba(32, 199, 223, 0.18);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.26);
  outline: none;
}

.service-lightbox-close:hover,
.service-lightbox-close:focus-visible {
  transform: translate3d(0, -2px, 0);
}

.service-lightbox-nav:hover,
.service-lightbox-nav:focus-visible {
  transform: translateY(-50%) scale(1.04);
}

.service-lightbox-nav:disabled {
  opacity: 0.34;
  cursor: not-allowed;
}

.service-lightbox-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: clamp(14px, 2vw, 24px);
  background:
    linear-gradient(132deg, transparent 0 56%, rgba(32, 199, 223, 0.08) 56.2% 56.8%, transparent 57%),
    repeating-linear-gradient(90deg, rgba(32, 199, 223, 0.035) 0 1px, transparent 1px 34px),
    rgba(0, 0, 0, 0.16);
}

.service-lightbox-image {
  width: auto;
  max-width: 100%;
  max-height: min(68vh, 650px);
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.42);
}

.service-lightbox-caption {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 750;
}

.service-lightbox-count {
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 8px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 900;
}

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(16, 25, 54, 0.08);
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  background: #dce5ef;
}

.service-card div {
  padding: 22px;
}

.service-card span {
  display: inline-block;
  color: var(--orange);
  font-weight: 900;
}

.service-card h3,
.safety-grid h3 {
  margin: 8px 0 8px;
  color: var(--navy);
  font-size: 1.12rem;
  line-height: 1.25;
}

.service-card p,
.safety-grid p {
  margin: 0;
  color: var(--muted);
}

.template-card {
  border-style: dashed;
}

.presence-section {
  display: grid;
  grid-template-columns: minmax(430px, 0.42fr) minmax(0, 0.76fr);
  align-items: center;
  gap: clamp(34px, 4vw, 58px);
  padding-left: max(20px, calc((100vw - 1500px) / 2));
  padding-right: max(20px, calc((100vw - 1500px) / 2));
  color: #fff;
  background:
    linear-gradient(124deg, transparent 0 58%, rgba(37, 92, 255, 0.18) 58.2% 58.8%, transparent 59%),
    linear-gradient(152deg, rgba(32, 199, 223, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(4, 15, 43, 0.98), rgba(3, 13, 34, 1)),
    url("assets/patterns/patron-fuego-cian.webp") center / cover;
}

.presence-section::before {
  top: auto;
  bottom: 0;
  left: 0;
  width: min(42vw, 640px);
  height: 58%;
  transform: none;
  background:
    repeating-linear-gradient(0deg, rgba(32, 199, 223, 0.14) 0 1px, transparent 1px 20px),
    repeating-linear-gradient(90deg, rgba(32, 199, 223, 0.1) 0 1px, transparent 1px 20px),
    linear-gradient(28deg, transparent 0 46%, rgba(32, 199, 223, 0.44) 46.2% 46.8%, transparent 47% 68%, rgba(37, 92, 255, 0.46) 68.2% 68.7%, transparent 69%);
  clip-path: polygon(0 16%, 74% 0, 100% 38%, 86% 100%, 0 86%);
  opacity: 0.34;
}

.presence-section::after {
  top: 8%;
  left: auto;
  right: -6%;
  width: min(46vw, 700px);
  height: min(42vw, 620px);
  border: 0;
  border-radius: 0;
  transform: none;
  background:
    linear-gradient(138deg, transparent 0 25%, rgba(32, 199, 223, 0.08) 25.2% 25.8%, transparent 26% 49%, rgba(32, 199, 223, 0.1) 49.2% 49.8%, transparent 50%),
    repeating-linear-gradient(152deg, transparent 0 72px, rgba(32, 199, 223, 0.12) 73px 74px, transparent 75px 118px);
  clip-path: polygon(18% 0, 100% 8%, 82% 88%, 8% 100%, 0 34%);
  box-shadow: none;
  opacity: 0.78;
}

.presence-section > * {
  position: relative;
  z-index: 1;
}

.presence-section .section-heading {
  width: auto;
  max-width: 470px;
  margin: 0;
}

.presence-section .section-heading h2,
.presence-section .section-heading p:not(.eyebrow) {
  color: #fff;
}

.presence-section .section-heading h2 {
  max-width: 470px;
  font-size: clamp(2.2rem, 3vw, 3.35rem);
  overflow-wrap: normal;
}

.presence-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.presence-section .eyebrow {
  position: relative;
  width: fit-content;
  margin-bottom: 34px;
}

.presence-section .eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -14px;
  width: 58px;
  height: 3px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 20px rgba(32, 199, 223, 0.38);
}

.map-shell {
  width: 100%;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.map-widget {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  border-radius: 12px;
  color: #fff;
  background:
    linear-gradient(128deg, transparent 0 54%, rgba(32, 199, 223, 0.12) 54.2% 54.8%, transparent 55%),
    linear-gradient(145deg, rgba(32, 199, 223, 0.1), transparent 40%),
    linear-gradient(145deg, #061329 0%, #0b1d46 58%, #102c6a 100%);
}

.map-widget::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(rgba(32, 199, 223, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 199, 223, 0.045) 1px, transparent 1px),
    repeating-linear-gradient(145deg, transparent 0 112px, rgba(32, 199, 223, 0.075) 113px 114px, transparent 115px 168px);
  background-size: 34px 34px, 34px 34px, 100% 100%;
  opacity: 0.72;
  pointer-events: none;
}

.map-widget::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(110deg, rgba(4, 15, 43, 0.2), transparent 42%),
    linear-gradient(28deg, rgba(32, 199, 223, 0.1), transparent 36%);
  pointer-events: none;
}

#map-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  cursor: grab;
}

#map-canvas:active {
  cursor: grabbing;
}

.map-panel {
  position: absolute;
  top: 44px;
  right: 32px;
  z-index: 3;
  width: min(300px, calc(100% - 64px));
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(8, 18, 43, 0.62);
  box-shadow:
    0 20px 52px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px) saturate(1.12);
  pointer-events: none;
}

.map-panel-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.map-panel-heading::after {
  content: "";
  grid-column: 2;
  width: 52px;
  height: 3px;
  margin-top: -10px;
  border-radius: 999px;
  background: var(--cyan);
}

.map-panel-icon {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(32, 199, 223, 0.28);
  border-radius: 50%;
  color: var(--cyan);
  background:
    radial-gradient(circle at 32% 28%, rgba(32, 199, 223, 0.34), transparent 46%),
    rgba(37, 52, 166, 0.28);
  box-shadow:
    0 16px 32px rgba(32, 199, 223, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.map-panel-icon svg {
  width: 25px;
  height: 25px;
}

.map-panel-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.map-panel h3 {
  margin: 0;
  font-size: clamp(1.08rem, 1.45vw, 1.34rem);
  line-height: 1.08;
}

.map-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.6;
}

.map-tooltip {
  position: absolute;
  z-index: 4;
  display: none;
  min-width: 150px;
  padding: 10px 12px;
  border: 1px solid rgba(32, 199, 223, 0.42);
  border-radius: 7px;
  background: rgba(8, 15, 34, 0.94);
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
  pointer-events: none;
}

.map-tooltip strong {
  display: block;
  margin-bottom: 3px;
  color: var(--cyan);
}

.map-controls {
  position: absolute;
  right: 34px;
  bottom: 34px;
  z-index: 3;
  display: flex;
  gap: 12px;
  pointer-events: auto;
}

.map-controls button {
  position: relative;
  isolation: isolate;
  min-height: 48px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 0 18px;
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  transition:
    transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 240ms ease,
    background 240ms ease,
    box-shadow 280ms ease;
}

.map-controls button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  opacity: 0;
  transform: translateX(-120%);
  transition:
    opacity 240ms ease,
    transform 460ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.map-controls button:hover,
.map-controls button:focus-visible {
  transform: translate3d(0, -3px, 0);
  border-color: rgba(32, 199, 223, 0.66);
  background: rgba(32, 199, 223, 0.22);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
  outline: none;
}

.map-controls button:hover::before,
.map-controls button:focus-visible::before {
  opacity: 1;
  transform: translateX(120%);
}

@media (max-width: 1080px) {
  .presence-section {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .presence-section .section-heading {
    max-width: 760px;
  }

  .map-widget {
    min-height: 700px;
  }
}

@media (max-width: 860px) {
  .presence-section {
    gap: 28px;
  }

  .map-widget {
    min-height: 760px;
  }

  .map-panel {
    top: 18px;
    left: 18px;
    right: 18px;
    width: auto;
    padding: 18px;
  }

  .map-controls {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .map-controls button {
    flex: 1;
  }
}

.map-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(8, 15, 34, 0.24);
  font-weight: 850;
}

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(500px, 0.92fr);
  align-items: start;
  gap: clamp(36px, 5vw, 72px);
  width: min(calc(100% - 56px), 1360px);
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

.about-copy {
  max-width: 760px;
}

.about-copy h2 {
  max-width: 760px;
  font-size: clamp(2.25rem, 3.6vw, 3.35rem);
}

.about-copy p {
  margin: 0;
}

.about-copy h2 + p {
  margin-top: 26px;
}

.about-copy p + p {
  margin-top: 16px;
}

.about-copy > .eyebrow {
  position: relative;
  width: fit-content;
  margin-bottom: 34px;
}

.about-copy > .eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -14px;
  width: 58px;
  height: 3px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 22px rgba(32, 199, 223, 0.36);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 36px;
  color: var(--navy);
  font-size: 0.98rem;
  font-weight: 850;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  top: 0.2em;
  left: 0;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--cyan);
  box-shadow: 0 0 0 5px var(--cyan-soft);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

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

.about-pillars article {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  padding: 30px 24px 26px;
  border: 1px solid rgba(220, 229, 239, 0.92);
  border-radius: 8px;
  background:
    linear-gradient(132deg, rgba(32, 199, 223, 0.08) 0 18%, transparent 18.4%),
    #fff;
  box-shadow: 0 18px 42px rgba(16, 25, 54, 0.08);
  transition:
    transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 300ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 240ms ease;
}

.about-pillars article:hover {
  transform: translate3d(0, -8px, 0);
  border-color: rgba(32, 199, 223, 0.34);
  box-shadow: 0 28px 58px rgba(16, 25, 54, 0.14);
}

.pillar-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--blue);
  background:
    radial-gradient(circle at 28% 22%, rgba(32, 199, 223, 0.18), transparent 44%),
    #eef4fb;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition:
    transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1),
    color 240ms ease,
    background 240ms ease;
}

.pillar-icon svg {
  width: 29px;
  height: 29px;
}

.pillar-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-pillars article:hover .pillar-icon {
  color: #fff;
  background: linear-gradient(145deg, var(--blue), var(--blue-deep));
  transform: translate3d(0, -4px, 0) scale(1.04);
}

.about-pillars .pillar-label {
  display: inline-block;
  position: relative;
  margin-bottom: 16px;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-pillars .pillar-label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: var(--cyan);
}

.about-pillars h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.18;
}

.about-pillars p {
  margin: 0;
  color: #41506a;
  font-size: 0.92rem;
  line-height: 1.55;
}

.about-visual {
  position: relative;
  margin-top: 80px;
  min-height: 610px;
  overflow: visible;
  color: #fff;
  border-radius: 12px;
  background:
    linear-gradient(134deg, transparent 0 58%, rgba(32, 199, 223, 0.18) 58.2% 58.8%, transparent 59%),
    linear-gradient(28deg, rgba(32, 199, 223, 0.12), transparent 34%),
    linear-gradient(160deg, #101936 0%, #172769 54%, #2534a6 100%);
  box-shadow: 0 32px 78px rgba(16, 25, 54, 0.22);
}

.about-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(8, 15, 34, 0.18), rgba(8, 15, 34, 0)),
    url("assets/patterns/patron-fuego-cian.webp") center / cover;
  opacity: 0.18;
}

.about-people {
  position: absolute;
  inset: -28px 0 0;
  z-index: 1;
}

.about-person {
  position: absolute;
  bottom: 0;
  max-width: none;
  height: auto;
  cursor: pointer;
  transform-origin: 50% 100%;
  filter: drop-shadow(-18px 24px 28px rgba(8, 15, 34, 0.3));
  transition:
    transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 360ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 240ms ease;
  will-change: transform, filter;
}

.about-person-luis {
  z-index: 2;
  left: clamp(-86px, -9vw, -42px);
  width: min(94%, 530px);
}

.about-person-camilo {
  z-index: 1;
  right: clamp(-96px, -10vw, -48px);
  width: min(96%, 540px);
}

.about-visual:hover .about-person {
  opacity: 0.92;
}

.about-person:hover {
  z-index: 4;
  opacity: 1;
  filter: drop-shadow(-24px 34px 34px rgba(8, 15, 34, 0.42));
}

.about-person-luis:hover {
  transform: translate3d(-10px, -22px, 0) scale(1.055);
}

.about-person-camilo:hover {
  transform: translate3d(10px, -22px, 0) scale(1.055);
}

.about-visual::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  border-radius: 0 0 12px 12px;
  background:
    linear-gradient(0deg, rgba(8, 15, 34, 0.92), rgba(8, 15, 34, 0.52) 58%, rgba(8, 15, 34, 0));
  pointer-events: none;
}

.about-visual-caption {
  position: absolute;
  z-index: 5;
  left: 24px;
  bottom: 24px;
  width: min(58%, 292px);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(8, 15, 34, 0.58);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transform-origin: 0 100%;
  transition:
    transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 300ms ease,
    background 300ms ease,
    box-shadow 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.about-visual-caption:hover {
  transform: translate3d(-4px, -14px, 0) scale(1.025);
  border-color: rgba(32, 199, 223, 0.46);
  background: rgba(8, 15, 34, 0.78);
  box-shadow:
    0 28px 54px rgba(2, 8, 24, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.about-visual strong {
  max-width: 360px;
  display: block;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.08;
  transition:
    color 260ms ease,
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    text-shadow 320ms ease;
}

.about-visual-caption:hover strong {
  color: #fff;
  transform: translate3d(0, -3px, 0);
  text-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.about-values span {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  font-weight: 850;
  transition:
    transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 260ms ease,
    background 260ms ease,
    color 260ms ease;
}

.about-visual-caption:hover .about-values span {
  transform: translate3d(0, -3px, 0);
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.about-visual-caption:hover .about-values span:nth-child(2) {
  transition-delay: 35ms;
}

.about-visual-caption:hover .about-values span:nth-child(3) {
  transition-delay: 70ms;
}

.about-visual-caption:hover .about-values span:nth-child(4) {
  transition-delay: 105ms;
}

.section-dark {
  color: #fff;
  background: var(--navy);
}

.section-dark .section-heading h2,
.section-dark .section-heading p:not(.eyebrow) {
  color: #fff;
}

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

.projects-section {
  position: relative;
  overflow: hidden;
  padding-top: clamp(96px, 9vw, 138px);
  padding-bottom: clamp(86px, 8vw, 124px);
  background:
    linear-gradient(128deg, transparent 0 60%, rgba(32, 199, 223, 0.14) 60.2% 60.8%, transparent 61%),
    linear-gradient(35deg, rgba(31, 53, 181, 0.24), transparent 34%),
    linear-gradient(145deg, #06112c 0%, #101936 48%, #071331 100%);
}

.projects-section::before {
  opacity: 0.55;
}

.projects-section::after {
  opacity: 0.75;
}

.projects-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
  width: min(calc(100% - 56px), 1280px);
  margin: 0 auto;
}

.projects-layout::before,
.projects-layout::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(32, 199, 223, 0.22);
  border-radius: 0;
  pointer-events: none;
}

.projects-layout::before {
  left: -260px;
  bottom: -170px;
  width: 520px;
  height: 360px;
  border-color: rgba(32, 199, 223, 0.24);
  background:
    repeating-linear-gradient(112deg, transparent 0 82px, rgba(32, 199, 223, 0.16) 83px 84px, transparent 85px 128px);
  clip-path: polygon(0 24%, 82% 0, 100% 44%, 58% 100%, 0 84%);
}

.projects-layout::after {
  right: -230px;
  top: -120px;
  width: 460px;
  height: 330px;
  border-color: rgba(31, 53, 181, 0.28);
  background:
    linear-gradient(145deg, rgba(37, 92, 255, 0.1), transparent 62%);
  clip-path: polygon(18% 0, 100% 14%, 82% 100%, 0 72%);
}

.projects-copy {
  min-width: 0;
}

.projects-copy .eyebrow {
  position: relative;
  width: fit-content;
  margin-bottom: 34px;
}

.projects-copy .eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -14px;
  width: 54px;
  height: 3px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 22px rgba(32, 199, 223, 0.42);
}

.projects-copy h2 {
  max-width: 430px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.15rem, 4vw, 3.35rem);
  line-height: 1.04;
}

.projects-copy p:not(.eyebrow) {
  max-width: 390px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.65;
}

.project-commitment {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  max-width: 390px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.86);
}

.project-commitment span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--yellow);
  background: rgba(255, 193, 35, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 193, 35, 0.25);
}

.project-commitment svg {
  width: 23px;
  height: 23px;
}

.project-commitment path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.project-commitment strong {
  font-size: 0.96rem;
  line-height: 1.35;
}

.project-map-btn {
  width: fit-content;
  margin-top: 28px;
  border-color: rgba(32, 199, 223, 0.46);
  background: rgba(255, 255, 255, 0.08);
}

.project-map-btn:hover,
.project-map-btn:focus-visible {
  border-color: rgba(32, 199, 223, 0.82);
  background: rgba(32, 199, 223, 0.18);
}

.project-gallery {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 18px;
}

.project-gallery figure {
  position: relative;
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: #1e2747;
  cursor: pointer;
  box-shadow: 0 30px 74px rgba(0, 0, 0, 0.26);
}

.project-gallery .project-feature {
  grid-row: span 2;
  min-height: 540px;
}

.project-gallery-single {
  grid-template-columns: 1fr;
}

.project-gallery-single .project-feature {
  grid-row: auto;
  min-height: clamp(430px, 42vw, 580px);
}

.project-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-gallery figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  overflow: hidden;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  color: #fff;
  background: rgba(8, 16, 35, 0.72);
  backdrop-filter: blur(12px);
  font-weight: 800;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  transform-origin: 0 100%;
  transition:
    transform 340ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 260ms ease,
    background 260ms ease,
    box-shadow 340ms ease;
}

.project-gallery figcaption::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 14% 22%, rgba(32, 199, 223, 0.22), transparent 36%),
    linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transform: translateX(-18px);
  transition:
    opacity 280ms ease,
    transform 380ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-gallery figure:hover figcaption,
.project-gallery figure:focus-within figcaption {
  transform: translate3d(0, -10px, 0) scale(1.015);
  border-color: rgba(32, 199, 223, 0.42);
  background: rgba(8, 16, 35, 0.86);
  box-shadow: 0 28px 54px rgba(0, 0, 0, 0.34);
}

.project-gallery figure:hover figcaption::before,
.project-gallery figure:focus-within figcaption::before {
  opacity: 1;
  transform: translateX(0);
}

.project-gallery figcaption span {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 4px;
  color: var(--yellow);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    color 260ms ease,
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    text-shadow 320ms ease;
}

.project-gallery figcaption strong {
  position: relative;
  z-index: 1;
  display: block;
  color: #fff;
  font-size: 1rem;
  line-height: 1.35;
  transition:
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    text-shadow 320ms ease;
}

.project-gallery figure:hover figcaption span,
.project-gallery figure:focus-within figcaption span {
  color: var(--cyan);
  transform: translate3d(0, -2px, 0);
  text-shadow: 0 10px 24px rgba(32, 199, 223, 0.28);
}

.project-gallery figure:hover figcaption strong,
.project-gallery figure:focus-within figcaption strong {
  transform: translate3d(0, -1px, 0);
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

.clients {
  padding-top: 76px;
  padding-bottom: 76px;
  background: #fff;
}

.client-row {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(8px, 2vw, 18px);
}

.client-row img {
  width: 100%;
  height: clamp(92px, 13vw, 130px);
  object-fit: contain;
  object-position: center;
  padding: clamp(12px, 2.5vw, 24px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  filter: contrast(1.1) brightness(0.9);
  opacity: 0.78;
}

.safety-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  background: var(--cyan-soft);
}

.safety-band > div {
  width: min(100%, calc(var(--max) / 2));
}

.safety-band p {
  max-width: 560px;
  margin: 16px 0 0;
  color: rgba(16, 25, 54, 0.76);
  font-weight: 650;
}

.safety-link {
  margin-top: 24px;
}

.safety-band > div:first-child {
  margin-left: auto;
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-right: auto;
  padding-right: 20px;
}

.safety-grid article {
  position: relative;
  min-height: 228px;
  overflow: hidden;
  padding: 22px;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.72));
  border: 1px solid rgba(32, 199, 223, 0.22);
  box-shadow: 0 18px 42px rgba(16, 25, 54, 0.08);
  transition:
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 260ms ease,
    background 260ms ease,
    box-shadow 320ms ease;
}

.safety-grid article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--yellow), var(--cyan), var(--blue));
  opacity: 0.9;
}

.safety-grid article::after {
  content: "";
  position: absolute;
  right: -42px;
  top: -36px;
  width: 132px;
  height: 112px;
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(32, 199, 223, 0.16), rgba(37, 52, 166, 0.08));
  clip-path: polygon(18% 0, 100% 0, 74% 100%, 0 82%);
  transform: scale(0.78);
  transition:
    transform 340ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 260ms ease;
}

.safety-grid article:hover {
  transform: translate3d(0, -10px, 0);
  border-color: rgba(37, 52, 166, 0.22);
  background: #fff;
  box-shadow: 0 28px 56px rgba(16, 25, 54, 0.15);
}

.safety-grid article:hover::after {
  opacity: 1;
  transform: scale(1);
}

.safety-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  color: #fff;
  background:
    radial-gradient(circle at 28% 18%, rgba(32, 199, 223, 0.48), transparent 38%),
    linear-gradient(145deg, var(--blue), var(--navy));
  box-shadow: 0 18px 34px rgba(37, 52, 166, 0.18);
  transition:
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 320ms ease;
}

.safety-icon svg {
  width: 25px;
  height: 25px;
}

.safety-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.safety-grid article:hover .safety-icon {
  transform: translate3d(0, -4px, 0) scale(1.05);
  box-shadow: 0 24px 42px rgba(37, 52, 166, 0.26);
}

.safety-grid h3,
.safety-grid p {
  position: relative;
  z-index: 1;
  transition:
    color 260ms ease,
    transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.safety-grid article:hover h3 {
  color: var(--blue);
  transform: translate3d(0, -2px, 0);
}

.safety-grid article:hover p {
  color: rgba(16, 25, 54, 0.78);
  transform: translate3d(0, 2px, 0);
}

.safety-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.78fr);
  align-items: end;
  gap: clamp(28px, 5vw, 70px);
  min-height: 760px;
  padding: 150px max(20px, calc((100vw - var(--max)) / 2)) 78px;
  color: #fff;
  background:
    linear-gradient(110deg, rgba(8, 15, 34, 0.96), rgba(16, 25, 54, 0.82) 54%, rgba(37, 52, 166, 0.56)),
    url("assets/photos/hero-seguridad-trabajo.webp") 60% center / cover no-repeat;
}

.safety-hero-copy h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.safety-hero-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
}

.safety-hero-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

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

.safety-hero-media figcaption {
  padding: 16px 18px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
}

.safety-stat-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(calc(100% - 32px), var(--max));
  margin: -42px auto 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.safety-stat-strip article {
  min-height: 118px;
  padding: 24px;
  background: #fff;
}

.safety-stat-strip strong {
  display: block;
  color: var(--orange);
  font-size: 1.8rem;
  line-height: 1;
}

.safety-stat-strip span {
  display: block;
  margin-top: 12px;
  color: var(--navy);
  font-weight: 850;
}

.safety-detail {
  padding-top: clamp(88px, 9vw, 128px);
}

.safety-process,
.safety-check-grid {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

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

.safety-process article,
.safety-check-grid article {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(16, 25, 54, 0.08);
  transition:
    transform 340ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 260ms ease,
    background 260ms ease,
    box-shadow 340ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.safety-check-grid article::before,
.safety-check-grid article::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.safety-check-grid article::before {
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, transparent 0 34%, rgba(255, 255, 255, 0.14) 45%, transparent 58%),
    linear-gradient(145deg, rgba(32, 199, 223, 0.14), transparent 42%);
  opacity: 0;
  transform: translateX(-40%);
  transition:
    opacity 280ms ease,
    transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.safety-check-grid article::after {
  top: 0;
  left: 24px;
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 20px rgba(32, 199, 223, 0.34);
  transform: scaleX(0.7);
  transform-origin: left center;
  transition:
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    background 260ms ease,
    box-shadow 320ms ease;
}

.safety-check-grid article:hover,
.safety-check-grid article:focus-visible {
  transform: translate3d(0, -8px, 0);
  border-color: rgba(32, 199, 223, 0.46);
  box-shadow:
    0 24px 52px rgba(2, 8, 24, 0.28),
    0 0 0 1px rgba(32, 199, 223, 0.1) inset;
  outline: none;
}

.safety-check-grid article:hover::before,
.safety-check-grid article:focus-visible::before {
  opacity: 1;
  transform: translateX(0);
}

.safety-check-grid article:hover::after,
.safety-check-grid article:focus-visible::after {
  transform: scaleX(1.85);
  background: linear-gradient(90deg, var(--cyan), var(--yellow));
  box-shadow: 0 0 26px rgba(32, 199, 223, 0.5);
}

.safety-process span {
  display: inline-flex;
  margin-bottom: 14px;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--blue);
  background: var(--cyan-soft);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.safety-process h3,
.safety-feature-card h3,
.safety-check-grid h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.24rem;
  line-height: 1.12;
  transition:
    color 260ms ease,
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.safety-process p,
.safety-feature-card p,
.safety-check-grid p {
  margin: 0;
  color: var(--muted);
  transition:
    color 260ms ease,
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.safety-check-grid article:hover h3,
.safety-check-grid article:focus-visible h3 {
  color: #fff;
  transform: translate3d(0, -2px, 0);
}

.safety-check-grid article:hover p,
.safety-check-grid article:focus-visible p {
  color: rgba(255, 255, 255, 0.82);
  transform: translate3d(0, 2px, 0);
}

.safety-visual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

.safety-feature-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.safety-feature-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.safety-feature-card div {
  padding: 22px;
}

.safety-feature-card span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.safety-checks .safety-check-grid article {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.safety-checks .safety-check-grid article:hover,
.safety-checks .safety-check-grid article:focus-visible {
  border-color: rgba(32, 199, 223, 0.48);
  background: rgba(32, 199, 223, 0.14);
  box-shadow:
    0 24px 52px rgba(2, 8, 24, 0.3),
    0 0 0 1px rgba(32, 199, 223, 0.12) inset;
}

.safety-checks .safety-check-grid h3,
.safety-checks .safety-check-grid p {
  color: #fff;
}

.safety-checks .safety-check-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.safety-checks .safety-check-grid article:hover p,
.safety-checks .safety-check-grid article:focus-visible p {
  color: rgba(255, 255, 255, 0.86);
}

.reveal-ready .safety-check-grid article.reveal,
.reveal-ready .safety-check-grid article.reveal.is-visible {
  transition:
    opacity 760ms cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 760ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 340ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 260ms ease,
    background 260ms ease,
    box-shadow 340ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-ready .safety-check-grid article.reveal:hover,
.reveal-ready .safety-check-grid article.reveal:focus-visible,
.reveal-ready .safety-check-grid article.reveal.is-visible:hover,
.reveal-ready .safety-check-grid article.reveal.is-visible:focus-visible {
  transform: translate3d(0, -8px, 0);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.85fr);
  align-items: start;
  gap: clamp(28px, 5vw, 68px);
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

.contact-copy {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(31, 53, 181, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(134deg, rgba(32, 199, 223, 0.12) 0 22%, transparent 22.4%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.54));
  box-shadow: 0 24px 58px rgba(16, 25, 54, 0.09);
}

.contact-copy::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--cyan), var(--blue), var(--yellow));
}

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

.contact-points span {
  border: 1px solid rgba(31, 53, 181, 0.14);
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 850;
  box-shadow: 0 12px 26px rgba(16, 25, 54, 0.06);
}

.contact-panel {
  display: grid;
  gap: 14px;
}

.contact-panel a {
  position: relative;
  display: grid;
  gap: 6px;
  min-height: 104px;
  overflow: hidden;
  padding: 18px 52px 18px 76px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 25, 54, 0.07);
  overflow-wrap: anywhere;
  transition:
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 260ms ease,
    box-shadow 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    background 260ms ease;
}

.contact-panel a::before {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #fff;
  background:
    radial-gradient(circle at 28% 24%, rgba(32, 199, 223, 0.42), transparent 42%),
    linear-gradient(145deg, var(--blue), #101936);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 28px rgba(31, 53, 181, 0.22);
  transition:
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 320ms ease;
}

.contact-panel a:nth-child(1)::before {
  content: "01";
}

.contact-panel a:nth-child(2)::before {
  content: "02";
}

.contact-panel a:nth-child(3)::before {
  content: "03";
}

.contact-panel a:nth-child(4)::before {
  content: "04";
}

.contact-panel a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 9px;
  height: 9px;
  border-top: 2px solid rgba(31, 53, 181, 0.46);
  border-right: 2px solid rgba(31, 53, 181, 0.46);
  transform: translateY(-50%) rotate(45deg);
  transition:
    transform 260ms ease,
    border-color 260ms ease;
}

.contact-panel a:hover,
.contact-panel a:focus-visible {
  border-color: var(--cyan);
  transform: translate3d(0, -6px, 0);
  background:
    linear-gradient(132deg, rgba(32, 199, 223, 0.1) 0 20%, transparent 20.4%),
    #fff;
  box-shadow: 0 24px 46px rgba(16, 25, 54, 0.14);
  outline: none;
}

.contact-panel a:hover::before,
.contact-panel a:focus-visible::before {
  transform: translate3d(0, -2px, 0) scale(1.04);
  box-shadow: 0 18px 34px rgba(31, 53, 181, 0.3);
}

.contact-panel a:hover::after,
.contact-panel a:focus-visible::after {
  border-color: var(--cyan);
  transform: translate(4px, -50%) rotate(45deg);
}

.contact-panel span {
  display: block;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-panel strong {
  display: block;
  color: var(--navy);
  font-size: 1.02rem;
  line-height: 1.35;
}

.contact-panel small {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
}

.contact-location {
  position: relative;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(250px, 0.34fr) minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 244, 249, 0.96));
  box-shadow: 0 34px 80px rgba(16, 25, 54, 0.16);
}

.contact-location::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.58) inset;
  pointer-events: none;
}

.location-copy {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: center;
  padding: clamp(24px, 3.2vw, 38px);
  color: #fff;
  background:
    linear-gradient(136deg, rgba(32, 199, 223, 0.22) 0 28%, transparent 28.4%),
    linear-gradient(26deg, rgba(255, 193, 35, 0.1), transparent 38%),
    linear-gradient(155deg, #101936 0%, #172769 58%, #2534a6 100%);
}

.location-copy::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/patterns/patron-fuego-cian.webp") center / cover;
  opacity: 0.08;
  pointer-events: none;
}

.location-copy > * {
  position: relative;
  z-index: 1;
}

.location-copy h3 {
  max-width: 360px;
  margin: 0;
  font-size: clamp(1.7rem, 2.45vw, 2.55rem);
  line-height: 1.04;
}

.location-copy p:not(.eyebrow) {
  max-width: 360px;
  margin: 18px 0 26px;
  color: rgba(255, 255, 255, 0.78);
}

.location-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 26px;
}

.location-meta span {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.11);
  font-size: 0.78rem;
  font-weight: 850;
}

.location-copy .btn {
  width: fit-content;
}

.streetview-frame {
  position: relative;
  min-height: 520px;
  padding: 10px;
  background:
    linear-gradient(135deg, rgba(32, 199, 223, 0.12), rgba(31, 53, 181, 0.08)),
    var(--line);
}

.streetview-frame::before {
  content: "Construprovegas";
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 1;
  border: 1px solid rgba(31, 53, 181, 0.14);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 34px rgba(16, 25, 54, 0.14);
  font-size: 0.82rem;
  font-weight: 900;
  pointer-events: none;
}

.streetview-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
  border-radius: 6px;
}

.location-page-section {
  padding-top: clamp(54px, 6vw, 86px);
}

.location-page-map {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.location-page-map .location-copy h2 {
  max-width: 360px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.8rem, 2.7vw, 2.75rem);
  line-height: 1.04;
}

.location-page-map .streetview-frame {
  min-height: clamp(520px, 56vw, 680px);
}

.faq-section {
  position: relative;
  overflow: hidden;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(32px, 5vw, 84px);
  align-items: start;
}

.faq-copy {
  max-width: 500px;
}

.faq-copy h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
}

.faq-copy p:not(.eyebrow) {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid rgba(31, 53, 181, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(32, 199, 223, 0.08), transparent 42%),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(16, 25, 54, 0.08);
  transition:
    border-color 240ms ease,
    box-shadow 280ms ease,
    transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faq-item:hover,
.faq-item:focus-within,
.faq-item[open] {
  border-color: rgba(32, 199, 223, 0.42);
  box-shadow: 0 24px 54px rgba(16, 25, 54, 0.13);
  transform: translate3d(0, -3px, 0);
}

.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 20px 24px;
  color: var(--navy);
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(31, 53, 181, 0.18);
  border-radius: 50%;
  color: var(--blue);
  background: rgba(31, 53, 181, 0.06);
  font-size: 1.25rem;
  line-height: 1;
  transition:
    transform 240ms ease,
    background 240ms ease,
    color 240ms ease;
}

.faq-item[open] summary::after {
  color: #fff;
  background: var(--blue);
  transform: rotate(45deg);
}

.faq-panel {
  padding: 0 24px 22px;
}

.faq-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.privacy-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(260px, 0.55fr);
  gap: clamp(28px, 5vw, 82px);
  align-items: end;
  padding-top: clamp(170px, 18vw, 230px);
  background:
    radial-gradient(circle at 82% 18%, rgba(32, 199, 223, 0.15), transparent 26%),
    linear-gradient(135deg, #081126 0%, #101936 52%, #172769 100%);
  color: #fff;
}

.privacy-hero-copy {
  max-width: 780px;
}

.privacy-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.6rem, 6vw, 6.2rem);
  line-height: 0.96;
}

.privacy-hero p:not(.eyebrow),
.privacy-summary-card p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.72;
}

.privacy-hero-copy p:not(.eyebrow) {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: 1.08rem;
}

.privacy-summary-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: clamp(24px, 3vw, 34px);
  background:
    linear-gradient(145deg, rgba(32, 199, 223, 0.14), rgba(255, 255, 255, 0.05)),
    rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}

.privacy-summary-card span,
.privacy-card span {
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.privacy-summary-card strong {
  display: block;
  margin: 8px 0 14px;
  color: #fff;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  line-height: 1.05;
}

.privacy-content {
  display: grid;
  gap: clamp(36px, 5vw, 64px);
}

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

.privacy-card {
  min-height: 260px;
  border: 1px solid rgba(31, 53, 181, 0.14);
  border-radius: 8px;
  padding: clamp(24px, 3vw, 32px);
  background:
    linear-gradient(145deg, rgba(32, 199, 223, 0.08), transparent 46%),
    rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(16, 25, 54, 0.08);
}

.privacy-card h2 {
  margin: 14px 0 14px;
  color: var(--navy);
  font-size: clamp(1.18rem, 1.5vw, 1.45rem);
  line-height: 1.12;
}

.privacy-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.privacy-contact {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  border: 1px solid rgba(31, 53, 181, 0.14);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 42px);
  background:
    linear-gradient(135deg, #101936 0%, #172769 100%);
  color: #fff;
  box-shadow: 0 28px 70px rgba(16, 25, 54, 0.18);
}

.privacy-contact h2 {
  max-width: 560px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  line-height: 1.02;
}

.privacy-contact p:not(.eyebrow) {
  max-width: 560px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.privacy-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.92fr) repeat(3, minmax(180px, 0.68fr));
  align-items: start;
  gap: clamp(28px, 4vw, 58px);
  overflow: hidden;
  padding: clamp(54px, 6vw, 82px) max(20px, calc((100vw - var(--max)) / 2));
  color: rgba(255, 255, 255, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(128deg, rgba(32, 199, 223, 0.12) 0 28%, transparent 28.4%),
    linear-gradient(34deg, transparent 0 68%, rgba(255, 193, 35, 0.08) 68.2% 68.8%, transparent 69%),
    linear-gradient(135deg, #080f22 0%, #101936 58%, #172769 100%);
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/patterns/patron-fuego-cian.webp") center / cover;
  opacity: 0.08;
  pointer-events: none;
}

.footer-brand,
.footer-column {
  position: relative;
  z-index: 1;
}

.footer-brand {
  display: grid;
  align-content: start;
  gap: 18px;
  min-width: 0;
  max-width: 360px;
}

.footer-brand img {
  width: min(330px, 100%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.28));
}

.footer-brand p {
  max-width: 300px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.55;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 220px;
  padding-left: clamp(20px, 3vw, 36px);
  border-left: 1px solid rgba(255, 193, 35, 0.44);
}

.footer-column h2 {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.25rem, 1.8vw, 1.62rem);
  line-height: 1.1;
}

.footer-column a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 720;
  line-height: 1.45;
  transition:
    color 220ms ease,
    transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--cyan);
  outline: none;
  transform: translate3d(4px, 0, 0);
}

.footer-legal p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.88rem;
  font-weight: 750;
}

.footer-meta {
  display: grid;
  justify-items: end;
  gap: 6px;
}

.footer-meta span {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-meta p {
  margin: 0;
  text-align: right;
}

:root[data-theme="dark"] .site-header {
  border-color: rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(8, 15, 34, 0.92), rgba(16, 25, 54, 0.86));
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] .brand {
  background: transparent;
}

:root[data-theme="dark"] .brand-logo-light {
  display: none;
}

:root[data-theme="dark"] .brand-logo-dark {
  display: block;
}

:root[data-theme="dark"] .main-nav {
  color: rgba(255, 255, 255, 0.86);
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
}

:root[data-theme="dark"] .main-nav a:hover,
:root[data-theme="dark"] .main-nav a:focus-visible,
:root[data-theme="dark"] .main-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(32, 199, 223, 0.18);
}

:root[data-theme="dark"] .section-light,
:root[data-theme="dark"] .clients {
  background:
    linear-gradient(145deg, rgba(32, 199, 223, 0.045), transparent 36%),
    #071225;
}

:root[data-theme="dark"] .section::after {
  border-color: rgba(32, 199, 223, 0.18);
  background:
    linear-gradient(90deg, rgba(32, 199, 223, 0.12), rgba(16, 25, 54, 0.88), rgba(37, 52, 166, 0.2));
}

:root[data-theme="dark"] .section-heading h2,
:root[data-theme="dark"] .about-copy h2,
:root[data-theme="dark"] .contact-copy h2,
:root[data-theme="dark"] .faq-copy h2,
:root[data-theme="dark"] .safety-band h2,
:root[data-theme="dark"] .service-intro h3,
:root[data-theme="dark"] .safety-grid h3,
:root[data-theme="dark"] .about-pillars h3,
:root[data-theme="dark"] .safety-process h3,
:root[data-theme="dark"] .safety-feature-card h3,
:root[data-theme="dark"] .safety-check-grid h3,
:root[data-theme="dark"] .contact-panel strong {
  color: #f4f8ff;
}

:root[data-theme="dark"] .section-heading p:not(.eyebrow),
:root[data-theme="dark"] .about-copy p,
:root[data-theme="dark"] .contact-copy p,
:root[data-theme="dark"] .faq-copy p:not(.eyebrow),
:root[data-theme="dark"] .faq-panel p,
:root[data-theme="dark"] .safety-band p,
:root[data-theme="dark"] .service-intro p,
:root[data-theme="dark"] .safety-grid p,
:root[data-theme="dark"] .about-pillars p,
:root[data-theme="dark"] .safety-process p,
:root[data-theme="dark"] .safety-feature-card p,
:root[data-theme="dark"] .safety-check-grid p,
:root[data-theme="dark"] .contact-panel small {
  color: rgba(223, 234, 248, 0.74);
}

:root[data-theme="dark"] .metric,
:root[data-theme="dark"] .service-block,
:root[data-theme="dark"] .safety-grid article,
:root[data-theme="dark"] .about-pillars article,
:root[data-theme="dark"] .safety-process article,
:root[data-theme="dark"] .safety-check-grid article,
:root[data-theme="dark"] .safety-stat-strip article,
:root[data-theme="dark"] .safety-feature-card,
:root[data-theme="dark"] .contact-copy,
:root[data-theme="dark"] .contact-panel a,
:root[data-theme="dark"] .contact-location,
:root[data-theme="dark"] .faq-item,
:root[data-theme="dark"] .privacy-card {
  border-color: rgba(151, 179, 214, 0.2);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    #101936;
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.28);
}

:root[data-theme="dark"] .faq-item summary,
:root[data-theme="dark"] .privacy-card h2 {
  color: #f4f8ff;
}

:root[data-theme="dark"] .faq-item summary::after {
  border-color: rgba(32, 199, 223, 0.28);
  color: #55e6f4;
  background: rgba(32, 199, 223, 0.12);
}

:root[data-theme="dark"] .faq-item[open] summary::after {
  color: #071225;
  background: #55e6f4;
}

:root[data-theme="dark"] .privacy-card p {
  color: rgba(223, 234, 248, 0.74);
}

:root[data-theme="dark"] .safety-band {
  background:
    linear-gradient(145deg, rgba(32, 199, 223, 0.08), rgba(37, 52, 166, 0.08)),
    #071225;
}

:root[data-theme="dark"] .safety-grid article:hover,
:root[data-theme="dark"] .safety-check-grid article:hover,
:root[data-theme="dark"] .safety-check-grid article:focus-visible {
  border-color: rgba(32, 199, 223, 0.46);
  background:
    linear-gradient(145deg, rgba(32, 199, 223, 0.16), rgba(37, 52, 166, 0.1)),
    #101936;
}

:root[data-theme="dark"] .metric-copy strong,
:root[data-theme="dark"] .metric-copy span,
:root[data-theme="dark"] .safety-stat-strip span {
  color: #eef6ff;
}

:root[data-theme="dark"] .service-points li,
:root[data-theme="dark"] .check-list li {
  color: rgba(238, 246, 255, 0.92);
}

:root[data-theme="dark"] .service-points li::before,
:root[data-theme="dark"] .check-list li::before {
  box-shadow: 0 0 0 5px rgba(32, 199, 223, 0.14);
}

:root[data-theme="dark"] .safety-process span,
:root[data-theme="dark"] .contact-panel span {
  color: #55e6f4;
}

:root[data-theme="dark"] .contact-panel a {
  color: #eef6ff;
}

:root[data-theme="dark"] .safety-process span {
  background: rgba(32, 199, 223, 0.12);
}

:root[data-theme="dark"] .service-card,
:root[data-theme="dark"] .service-media-grid figure,
:root[data-theme="dark"] .client-row img {
  border-color: rgba(151, 179, 214, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

:root[data-theme="dark"] .client-row img {
  filter: grayscale(1) contrast(1.1) brightness(1.16);
  opacity: 0.84;
}

:root[data-theme="dark"] .contact-points span,
:root[data-theme="dark"] .location-meta span {
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] .streetview-frame {
  background:
    linear-gradient(135deg, rgba(32, 199, 223, 0.1), rgba(31, 53, 181, 0.08)),
    #101936;
}

:root[data-theme="dark"] .site-footer {
  border-top-color: rgba(32, 199, 223, 0.18);
}

@media (max-width: 980px) {
  .site-header {
    width: min(calc(100% - 32px), var(--max));
    margin-top: 18px;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: auto;
    align-items: start;
    padding: 154px 20px 84px;
    background-position: 63% center;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero h1 {
    max-width: 760px;
  }

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

  .main-nav {
    position: absolute;
    z-index: 3;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid rgba(16, 25, 54, 0.1);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    isolation: isolate;
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    padding: 14px 16px;
    color: var(--navy);
    border-radius: 7px;
  }

  :root[data-theme="dark"] .main-nav {
    color: #f4f8ff;
    border-color: rgba(32, 199, 223, 0.3);
    background:
      linear-gradient(145deg, rgba(8, 15, 34, 0.98), rgba(16, 25, 54, 0.98)),
      #080f22;
    box-shadow:
      0 26px 58px rgba(0, 0, 0, 0.48),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px) saturate(1.2);
  }

  :root[data-theme="dark"] .main-nav a {
    color: #f4f8ff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: transparent;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.34);
  }

  :root[data-theme="dark"] .main-nav a:hover,
  :root[data-theme="dark"] .main-nav a:focus-visible,
  :root[data-theme="dark"] .main-nav a[aria-current="page"] {
    color: #ffffff;
    background: rgba(32, 199, 223, 0.2);
    box-shadow: inset 3px 0 0 var(--cyan);
  }

  :root[data-theme="dark"] .main-nav a:last-child {
    margin-top: 8px;
    border-bottom: 0;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue), var(--blue-deep));
    box-shadow: 0 14px 28px rgba(37, 52, 166, 0.36);
  }

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

  .metrics {
    width: min(calc(100% - 32px), var(--max));
    margin-top: -44px;
  }

  .metric {
    padding: 24px;
  }

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

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

  .service-intro {
    position: static;
  }

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

  .section-split,
  .safety-band,
  .projects-layout,
  .contact-section,
  .faq-layout,
  .privacy-hero {
    grid-template-columns: 1fr;
  }

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

  .privacy-contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .privacy-actions {
    justify-content: flex-start;
  }

  .projects-layout {
    width: min(calc(100% - 40px), var(--max));
  }

  .projects-copy h2,
  .projects-copy p:not(.eyebrow),
  .project-commitment {
    max-width: 680px;
  }

  .project-gallery-single .project-feature {
    min-height: 420px;
  }

  .safety-band > div {
    width: min(calc(100% - 40px), var(--max));
    margin: 0 auto;
  }

  .safety-band > div:first-child {
    margin: 0 auto;
  }

  .safety-grid {
    padding-right: 0;
  }

  .about-visual {
    margin-top: 44px;
  }

  .safety-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 132px 20px 78px;
  }

  .safety-hero-media img {
    height: 320px;
  }

  .safety-stat-strip,
  .safety-process,
  .safety-visual-grid,
  .safety-check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .safety-visual-grid {
    width: min(calc(100% - 40px), var(--max));
  }
}

@media (max-width: 720px) {
  .site-header {
    width: min(calc(100% - 20px), var(--max));
    margin-top: 10px;
    padding-left: 12px;
    padding-right: 64px;
  }

  .brand img {
    width: min(205px, 58vw);
  }

  .menu-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
  }

  .hero {
    min-height: 86vh;
    align-items: start;
    padding: 138px 18px 76px;
    background-image: url("assets/photos/hero-seguridad-trabajo-mobile.webp");
    background-position: 68% center;
  }

  .hero h1 {
    font-size: clamp(2.05rem, 9vw, 2.75rem);
    line-height: 1.04;
  }

  .hero-copy {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .hero-eyebrow {
    font-size: 0.7rem;
    margin-bottom: 30px;
  }

  .hero-actions {
    width: 100%;
    gap: 12px;
  }

  .btn {
    width: 100%;
    min-height: 56px;
  }

  .metrics,
  .services-grid,
  .project-gallery,
  .projects-layout,
  .safety-grid,
  .faq-layout,
  .privacy-grid,
  .safety-stat-strip,
  .safety-process,
  .safety-visual-grid,
  .safety-check-grid {
    grid-template-columns: 1fr;
  }

  .projects-section {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .projects-layout {
    width: 100%;
    max-width: calc(100vw - 36px);
    gap: 28px;
  }

  .projects-copy h2 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .project-map-btn {
    width: 100%;
  }

  .project-gallery-single .project-feature {
    min-height: 360px;
  }

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

  .safety-hero {
    padding: 126px 18px 52px;
    background-image:
      linear-gradient(110deg, rgba(8, 15, 34, 0.96), rgba(16, 25, 54, 0.82) 54%, rgba(37, 52, 166, 0.56)),
      url("assets/photos/hero-seguridad-trabajo-mobile.webp");
  }

  .safety-hero-copy h1 {
    font-size: clamp(2rem, 10vw, 2.75rem);
    line-height: 1.03;
  }

  .safety-hero-media img {
    height: 280px;
  }

  .safety-stat-strip {
    width: 100%;
    margin-top: 0;
    border-radius: 0;
  }

  .safety-visual-grid {
    width: 100%;
    max-width: calc(100vw - 36px);
  }

  .service-showcase {
    gap: 20px;
  }

  .service-block {
    padding: 12px;
  }

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

  .service-media-grid .service-large,
  .service-media-grid figure {
    grid-column: auto;
    grid-row: auto;
    min-height: 270px;
  }

  .service-lightbox {
    padding: 10px;
  }

  .service-lightbox-frame {
    max-height: calc(100vh - 20px);
  }

  .service-lightbox-top,
  .service-lightbox-bottom {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px;
  }

  .service-lightbox-stage {
    padding: 58px 10px 66px;
  }

  .service-lightbox-image {
    max-height: 58vh;
  }

  .service-lightbox-nav {
    top: auto;
    bottom: 12px;
    width: calc(50% - 22px);
    transform: none;
  }

  .service-lightbox-prev {
    left: 12px;
  }

  .service-lightbox-next {
    right: 12px;
  }

  .service-lightbox-nav:hover,
  .service-lightbox-nav:focus-visible {
    transform: translate3d(0, -2px, 0);
  }

  .map-shell {
    border-radius: 10px;
  }

  .map-widget {
    min-height: 760px;
    border-radius: 10px;
  }

  .map-panel {
    top: 18px;
    left: 18px;
    right: 18px;
    width: auto;
    padding: 18px;
  }

  .map-controls {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .map-controls button {
    flex: 1;
  }

  .metrics {
    margin-top: 0;
    width: 100%;
    border-radius: 0;
  }

  .metric {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    min-height: auto;
    padding: 22px 20px;
  }

  .metric-icon {
    width: 52px;
    height: 52px;
  }

  .metric-icon svg {
    width: 27px;
    height: 27px;
  }

  .project-gallery .project-feature,
  .project-gallery figure {
    min-height: 340px;
  }

  .section {
    padding: 64px 18px;
  }

  .section-split,
  .contact-section,
  .privacy-content {
    width: 100%;
    max-width: calc(100vw - 36px);
    padding-left: 0;
    padding-right: 0;
  }

  .faq-copy h2,
  .privacy-contact h2 {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  .faq-item summary {
    min-height: 66px;
    padding: 18px;
  }

  .faq-panel {
    padding: 0 18px 20px;
  }

  .privacy-hero {
    padding: 132px 18px 64px;
  }

  .privacy-summary-card,
  .privacy-contact,
  .privacy-card {
    padding: 22px;
  }

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

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

  .streetview-frame {
    min-height: 360px;
  }

  .contact-copy,
  .contact-panel {
    min-width: 0;
  }

  .about-visual {
    min-height: 560px;
    overflow: visible;
  }

  .about-person-luis {
    left: -22%;
    width: min(112%, 440px);
  }

  .about-person-camilo {
    right: -23%;
    width: min(114%, 450px);
  }

  .about-visual-caption {
    left: 18px;
    right: 18px;
    width: auto;
    padding: 24px;
  }

  .about-pillars {
    grid-template-columns: 1fr;
  }

  .about-pillars article {
    min-height: auto;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .footer-brand {
    max-width: none;
  }

  .footer-brand img {
    width: min(360px, 100%);
  }

  .footer-column {
    min-height: auto;
    padding: 0 0 0 18px;
  }

  .footer-column h2 {
    font-size: 1.25rem;
  }
}
