:root {
  --ink: #f7f8fb;
  --muted: #bac4cf;
  --soft: #8392a4;
  --bg: #03070d;
  --panel: #08111c;
  --panel-2: #0c1723;
  --line: rgba(205, 219, 236, 0.22);
  --line-strong: rgba(219, 229, 242, 0.38);
  --blue: #3ea7ff;
  --cyan: #7ed7ff;
  --silver: #dce4ec;
  --amber: #d8b46a;
  --green: #58d58b;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.52);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 8%, rgba(62, 167, 255, 0.2), transparent 28rem),
    radial-gradient(circle at 88% 58%, rgba(216, 180, 106, 0.11), transparent 24rem),
    linear-gradient(180deg, #03070d 0%, #06101b 54%, #02060b 100%);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

body:not(.is-loaded) {
  overflow: hidden;
}

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

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

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

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 46%, rgba(62, 167, 255, 0.18), transparent 18rem),
    linear-gradient(180deg, #02050a, #06111c 56%, #02050a);
  transition:
    opacity 520ms ease,
    visibility 520ms ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-core {
  position: relative;
  display: grid;
  place-items: center;
  width: 230px;
  height: 230px;
}

.loader-core img {
  width: 122px;
  filter: brightness(0) invert(1) drop-shadow(0 0 28px rgba(126, 215, 255, 0.44));
  animation: logoPulse 1.65s ease-in-out infinite;
}

.loader-core p {
  position: absolute;
  bottom: -1.25rem;
  margin: 0;
  color: var(--silver);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.loader-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(126, 215, 255, 0.18);
  border-top-color: rgba(126, 215, 255, 0.92);
  border-right-color: rgba(216, 228, 236, 0.46);
  border-radius: 50%;
  animation: loaderSpin 1.25s linear infinite;
}

.loader-ring.secondary {
  inset: 28px;
  border-top-color: rgba(216, 180, 106, 0.84);
  border-right-color: rgba(126, 215, 255, 0.34);
  animation-duration: 1.9s;
  animation-direction: reverse;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  width: calc(100% - 2rem);
  max-width: 1220px;
  margin: 1rem auto 0;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(217, 229, 242, 0.16);
  border-radius: 8px;
  background: rgba(3, 8, 14, 0.64);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
  animation: headerEnter 700ms ease both;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(2, 7, 12, 0.9);
  border-color: rgba(217, 229, 242, 0.25);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.brand img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 0 14px rgba(126, 215, 255, 0.24));
  opacity: 0.9;
}

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

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.1rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-nav a {
  position: relative;
  padding: 0.55rem 0;
  transition: color 160ms ease;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1rem;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0;
  transform: scaleX(0.55);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

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

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.quote-button,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 48px;
  border-radius: 7px;
  font-weight: 800;
  line-height: 1;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.quote-button,
.primary-button {
  color: #09101a;
  background: linear-gradient(180deg, #ffffff, #cfd8e2);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 14px 30px rgba(0, 0, 0, 0.35);
}

.quote-button {
  padding: 0 1.2rem;
  white-space: nowrap;
}

.primary-button,
.secondary-button {
  padding: 0 1.55rem;
}

.secondary-button {
  color: var(--ink);
  background: rgba(8, 16, 26, 0.56);
  border: 1px solid var(--line-strong);
}

.quote-button:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.primary-button:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 42px rgba(62, 167, 255, 0.2);
}

.secondary-button:hover {
  border-color: rgba(126, 215, 255, 0.62);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
}

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(220, 228, 236, 0.12);
}

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

.hero-media {
  z-index: -3;
  background-image: url("assets/hero-security-ops.webp");
  background-position: center right;
  background-size: cover;
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 7, 13, 0.96) 0%, rgba(3, 7, 13, 0.78) 33%, rgba(3, 7, 13, 0.2) 69%, rgba(3, 7, 13, 0.3) 100%),
    linear-gradient(180deg, rgba(3, 7, 13, 0.24), rgba(3, 7, 13, 0.86) 92%);
}

.hero-inner {
  width: calc(100% - 2.5rem);
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 188px;
  animation: heroCopyEnter 880ms 320ms ease both;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  color: #fff;
  font-size: 4.55rem;
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.62);
}

.hero-copy {
  max-width: 520px;
  margin: 1.65rem 0 0;
  color: #e1e8ef;
  font-size: 1.15rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: calc(100% - 2.5rem);
  max-width: var(--max);
  margin: -68px auto 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 12, 20, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  animation: liftIn 820ms 640ms ease both;
}

.trust-strip article {
  display: flex;
  gap: 1rem;
  min-height: 122px;
  padding: 1.45rem;
  border-right: 1px solid var(--line);
}

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

.trust-strip svg {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  color: var(--silver);
  filter: drop-shadow(0 0 12px rgba(62, 167, 255, 0.35));
}

.trust-strip h2,
.trust-strip p {
  margin: 0;
}

.trust-strip h2 {
  font-size: 0.98rem;
}

.trust-strip p {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.section {
  width: calc(100% - 2.5rem);
  max-width: var(--max);
  margin: 0 auto;
  padding: 5.5rem 0 0;
}

.section.compact {
  padding-top: 4.4rem;
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-heading h2,
.why-copy h2,
.cta-band h2 {
  margin: 0;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.service-card,
.solution-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(16, 31, 47, 0.86), rgba(5, 12, 20, 0.86)),
    radial-gradient(circle at top left, rgba(62, 167, 255, 0.2), transparent 12rem);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.24);
}

.service-card {
  min-height: 276px;
  padding: 1.35rem;
  isolation: isolate;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 620ms ease,
    transform 620ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.service-card::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  background: linear-gradient(135deg, rgba(126, 215, 255, 0.14), transparent 38%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.service-card::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(5, 12, 20, 0.2), rgba(5, 12, 20, 0.9) 66%, rgba(5, 12, 20, 0.98)),
    linear-gradient(90deg, rgba(5, 12, 20, 0.56), transparent 58%),
    var(--card-bg) center / cover;
  opacity: 0.64;
  transform: scale(1.02);
  transition:
    opacity 260ms ease,
    transform 520ms ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  border-color: rgba(126, 215, 255, 0.58);
  box-shadow:
    0 20px 52px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: translateY(-4px);
}

.service-card:hover::after {
  opacity: 0.82;
  transform: scale(1.08);
}

.service-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card.is-visible:hover {
  transform: translateY(-4px);
}

.service-videovigilancia {
  --card-bg: url("assets/service-videovigilancia.webp");
}

.service-alarmas {
  --card-bg: url("assets/service-alarmas.webp");
}

.service-monitoreo {
  --card-bg: url("assets/service-monitoreo.webp");
}

.service-acceso {
  --card-bg: url("assets/service-acceso.webp");
}

.service-mantenimiento {
  --card-bg: url("assets/service-mantenimiento.webp");
}

.service-card.featured {
  border-color: rgba(126, 215, 255, 0.48);
  background: linear-gradient(180deg, rgba(15, 42, 66, 0.9), rgba(5, 12, 20, 0.9));
}

.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(126, 215, 255, 0.42);
  border-radius: 8px;
  color: var(--cyan);
  background: rgba(10, 51, 87, 0.52);
}

.service-card h3,
.solution-grid h3 {
  position: relative;
  margin: 1.05rem 0 0.75rem;
  font-size: 1.08rem;
}

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

.service-card p,
.solution-grid p,
.why-copy p,
.cta-band p,
.footer-brand p {
  color: var(--muted);
  line-height: 1.55;
}

.service-card p {
  position: relative;
  min-height: 86px;
  margin: 0;
  font-size: 0.94rem;
}

.service-card a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  color: var(--silver);
  font-size: 0.9rem;
  font-weight: 800;
}

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

.solution-grid article {
  padding: 1.7rem;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.solution-grid article:hover {
  border-color: rgba(216, 180, 106, 0.54);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.solution-grid svg {
  width: 34px;
  height: 34px;
  color: var(--amber);
}

.solution-grid p {
  margin: 0;
}

.local-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(8, 17, 28, 0.94), rgba(5, 12, 20, 0.88)),
    radial-gradient(circle at 90% 0%, rgba(216, 180, 106, 0.16), transparent 18rem);
}

.local-grid h2 {
  max-width: 680px;
  margin: 0;
  color: #fff;
  font-size: 2.05rem;
  line-height: 1.08;
}

.local-grid p {
  max-width: 670px;
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.coverage-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.coverage-list article {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 88px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 12, 20, 0.74);
}

.coverage-list svg {
  flex: 0 0 auto;
  color: var(--cyan);
}

.coverage-list span {
  color: #eef4fa;
  font-weight: 800;
  line-height: 1.35;
}

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

.faq-grid article {
  padding: 1.45rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(16, 31, 47, 0.86), rgba(5, 12, 20, 0.86));
}

.faq-grid h3 {
  margin: 0 0 0.8rem;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.25;
}

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

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.85fr);
  gap: 2rem;
  align-items: center;
}

.why-copy p {
  max-width: 620px;
  margin: 1rem 0 0;
}

.benefit-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.benefit-list article {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 76px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 17, 28, 0.82);
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.benefit-list article:hover {
  border-color: rgba(126, 215, 255, 0.52);
  background: rgba(12, 30, 48, 0.9);
  transform: translateY(-2px);
}

.benefit-list svg {
  flex: 0 0 auto;
  color: var(--cyan);
}

.benefit-list span {
  font-weight: 800;
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 2.4rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(9, 19, 31, 0.92), rgba(10, 27, 43, 0.82));
  overflow: hidden;
}

.stats-bar article {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.8rem;
  min-height: 98px;
  padding: 1.4rem;
  border-right: 1px solid var(--line);
}

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

.stats-bar strong {
  color: #fff;
  font-size: 2rem;
  line-height: 1;
}

.stats-bar span {
  color: var(--muted);
  line-height: 1.15;
}

.cta-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: center;
  gap: 2rem;
  width: calc(100% - 2.5rem);
  max-width: var(--max);
  margin: 5.5rem auto 0;
  padding: 2.5rem 3rem;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(4, 9, 15, 0.96), rgba(8, 31, 51, 0.76)),
    url("assets/hero-security-ops.webp") center / cover;
  box-shadow: var(--shadow);
}

.cta-band::before {
  position: absolute;
  inset: auto -12% -45% auto;
  width: 430px;
  height: 430px;
  content: "";
  border: 1px solid rgba(126, 215, 255, 0.24);
  border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(62, 167, 255, 0.16) 0 1px, transparent 1px 22px);
  opacity: 0.75;
}

.cta-band > div {
  position: relative;
  z-index: 1;
}

.cta-band p:not(.eyebrow) {
  max-width: 560px;
  margin: 1rem 0 1.4rem;
}

.cta-band img {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: 230px;
  opacity: 0.74;
  filter: brightness(0) invert(1) drop-shadow(0 0 24px rgba(126, 215, 255, 0.24));
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.75fr 0.75fr;
  gap: 2rem;
  width: calc(100% - 2.5rem);
  max-width: var(--max);
  margin: 2.2rem auto 0;
  padding: 2rem 0 1.25rem;
  border-top: 1px solid var(--line);
}

.footer-brand img {
  width: 170px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1) drop-shadow(0 0 18px rgba(126, 215, 255, 0.18));
  opacity: 0.76;
}

.footer-brand p {
  max-width: 280px;
  margin: 0;
  font-size: 0.92rem;
}

.site-footer strong {
  display: block;
  margin-bottom: 0.9rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.83rem;
}

address,
.footer-links {
  display: grid;
  align-content: start;
  gap: 0.6rem;
  color: var(--muted);
  font-style: normal;
}

address a,
address span,
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.92rem;
}

address svg {
  width: 17px;
  height: 17px;
  color: var(--cyan);
}

.footer-social > div {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(220, 228, 236, 0.1);
  color: var(--soft);
  font-size: 0.84rem;
  text-align: center;
}

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 45;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  color: #041007;
  background: linear-gradient(180deg, #77f2a1, var(--green));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.42);
  animation: floatPulse 2.8s ease-in-out infinite;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

@keyframes loaderSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes logoPulse {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.78;
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

@keyframes headerEnter {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroCopyEnter {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes liftIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.035) translateX(-0.8%);
  }
}

@keyframes floatPulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.42);
  }
  50% {
    transform: translateY(-4px);
    box-shadow: 0 20px 46px rgba(88, 213, 139, 0.28);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .service-card,
  .solution-grid article {
    opacity: 1;
    transform: none;
  }
}

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

  .nav-toggle {
    display: grid;
    place-items: center;
    justify-self: end;
    order: 3;
  }

  .site-nav {
    position: fixed;
    top: 88px;
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 0.3rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(4, 10, 17, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 160ms ease,
      transform 160ms ease;
  }

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

  .site-nav a {
    padding: 0.85rem;
    border-radius: 7px;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: rgba(255, 255, 255, 0.06);
  }

  .quote-button {
    justify-self: end;
  }

  .trust-strip,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .service-card p {
    min-height: auto;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .local-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    width: calc(100% - 1rem);
    margin-top: 0.5rem;
    grid-template-columns: 1fr auto;
    gap: 0.8rem;
  }

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

  .brand span {
    max-width: 140px;
    white-space: normal;
    font-size: 0.78rem;
  }

  .quote-button {
    display: none;
  }

  .nav-toggle {
    order: initial;
  }

  .hero {
    min-height: 680px;
  }

  .hero-media {
    background-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(3, 7, 13, 0.94), rgba(3, 7, 13, 0.7)),
      linear-gradient(180deg, rgba(3, 7, 13, 0.42), rgba(3, 7, 13, 0.9) 88%);
  }

  .hero-inner {
    width: calc(100% - 1.5rem);
    max-width: var(--max);
    padding-top: 138px;
  }

  .hero h1 {
    max-width: 440px;
    font-size: 3rem;
  }

  .hero-copy {
    max-width: 420px;
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    max-width: 320px;
  }

  .trust-strip,
  .section,
  .cta-band,
  .site-footer {
    width: calc(100% - 1.5rem);
    max-width: var(--max);
  }

  .trust-strip {
    grid-template-columns: 1fr;
    margin-top: -44px;
  }

  .trust-strip article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .section {
    padding-top: 4rem;
  }

  .section-heading {
    text-align: left;
  }

  .section-heading h2,
  .why-copy h2,
  .cta-band h2 {
    font-size: 1.75rem;
  }

  .service-grid,
  .solution-grid,
  .why-grid,
  .local-grid,
  .coverage-list,
  .faq-grid,
  .stats-bar,
  .cta-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .local-grid {
    padding: 1.25rem;
  }

  .local-grid h2 {
    font-size: 1.65rem;
  }

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

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

  .stats-bar article:last-child {
    border-bottom: 0;
  }

  .cta-band {
    margin-top: 4rem;
    padding: 2rem 1.25rem;
  }

  .cta-band img {
    justify-self: start;
    width: 155px;
  }

  .footer-brand img {
    width: 145px;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 2.45rem;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
    padding: 0 1rem;
  }

  .eyebrow {
    letter-spacing: 0.16em;
  }
}
