@font-face {
  font-family: "Geometos";
  src: url("assets/fonts/geometos.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --electric-blue: #56c9f5;
  --energy-cyan: #a9e7f4;
  --deep-blue: #2d63cf;
  --technical-indigo: #3e3fa8;
  --ionize-violet: #7b4bc5;
  --orbital-lilac: #b58bd4;
  --space-gray: #2b313b;
  --technical-gray: #d9dee8;
  --technical-white: #f4f6fa;
  --white: #ffffff;
  --ink: #111827;
  --muted: #5c6675;
  --logo-navy: #030817;
  --dark: #07101e;
  --dark-2: #0d1728;
  --line: #dfe6f0;
  --shadow: 0 18px 45px rgba(17, 24, 39, 0.14);
  --container: 1180px;
  --radius: 8px;
  --home-section-y: 42px;
  --header-offset: 162px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

[id] {
  scroll-margin-top: var(--header-offset);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  max-width: 100%;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--dark);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 6px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--logo-navy);
  border-bottom: 1px solid rgba(86, 201, 245, 0.18);
  transition: box-shadow 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 35px rgba(17, 24, 39, 0.1);
}

.topbar {
  background: var(--white);
  color: var(--logo-navy);
  font-size: 14px;
}

.topbar__inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar a {
  color: var(--technical-indigo);
  font-weight: 700;
}

.navbar {
  background: var(--logo-navy);
}

.navbar__inner {
  min-height: 126px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand__panel {
  width: 350px;
  height: 132px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--logo-navy);
  box-shadow: none;
}

.brand__panel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-header .brand__panel img {
  width: 100%;
  height: 100%;
  transform: translateY(0);
}

.brand__panel--footer {
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}

.brand__panel--footer img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-logo__letters {
  transform-origin: center;
  animation: footer-logo-spin 20s linear infinite;
}

.footer-logo__center {
  transform: none;
}

@keyframes footer-logo-spin {
  to {
    transform: rotate(-360deg);
  }
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--technical-white);
  font-size: 14px;
  font-weight: 700;
}

.menu a,
.menu-link {
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
  transform-origin: center;
  transition: color 160ms ease, transform 160ms ease;
  will-change: transform;
}

.menu > a::after,
.menu-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--electric-blue);
  transition: transform 180ms ease;
}

.menu > a:hover::after,
.menu > a:focus-visible::after,
.menu-link:hover::after,
.menu-link:focus-visible::after {
  transform: scaleX(1);
}

.menu > a:hover,
.menu > a:focus-visible,
.menu-link:hover,
.menu-link:focus-visible {
  transform: scale(1.06);
}

.menu-item {
  position: relative;
}

.menu-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.menu-popover {
  position: absolute;
  left: 50%;
  top: calc(100% + 18px);
  z-index: 30;
  width: 286px;
  display: grid;
  gap: 2px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.menu-popover::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -20px;
  height: 20px;
}

.menu-item:hover .menu-popover,
.menu-item:focus-within .menu-popover {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.menu-popover a {
  display: block;
  padding: 12px 14px;
  border-radius: 6px;
  color: var(--space-gray);
  font-weight: 800;
  transform-origin: left center;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.menu-popover a:hover,
.menu-popover a:focus-visible {
  color: var(--technical-indigo);
  background: var(--technical-white);
  transform: scale(1.035);
}

.menu-popover a::after {
  display: none;
}

.nav-cta,
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 6px;
  font-weight: 800;
  transform-origin: center;
}

.nav-cta {
  padding: 0 18px;
  color: var(--white);
  background: var(--technical-indigo);
  box-shadow: 0 10px 24px rgba(62, 63, 168, 0.28);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 14px 30px rgba(62, 63, 168, 0.36);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle__line {
  width: 20px;
  height: 2px;
  background: var(--space-gray);
}

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

.hero {
  position: relative;
  min-height: auto;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--dark);
}

.hero__background {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(7, 16, 30, 0.98) 0%, rgba(7, 16, 30, 0.9) 46%, rgba(7, 16, 30, 0.62) 100%),
    linear-gradient(180deg, rgba(7, 16, 30, 0.1), rgba(7, 16, 30, 0.82)),
    url("assets/photos/current-subestacion-potencia.jpg") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(90deg, rgba(169, 231, 244, 0.16) 1px, transparent 1px),
    linear-gradient(rgba(169, 231, 244, 0.12) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: center;
  gap: 70px;
  padding: 42px 0;
}

.hero__content,
.projects__content,
.contact__content,
.about__copy,
.section-heading {
  min-width: 0;
}

.hero__content h1,
.section-heading h2,
.about h2,
.process h2,
.projects h2,
.reasons h2,
.contact h2 {
  margin: 0;
  font-family: "Geometos", "Segoe UI", Arial, sans-serif;
  line-height: 1.08;
  font-weight: 700;
}

.hero__content h1 {
  max-width: 780px;
  margin-top: 16px;
  font-size: 58px;
  overflow-wrap: break-word;
}

.hero__content p {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(244, 246, 250, 0.86);
  font-size: 19px;
}

.hero__slogan {
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--energy-cyan);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.3;
}

.hero__slogan + p {
  margin-top: 14px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--electric-blue);
  font-size: 14px;
  font-weight: 900;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

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

.button {
  padding: 0 22px;
  border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  will-change: transform;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px) scale(1.035);
}

.button--primary {
  color: var(--dark);
  background: var(--electric-blue);
  box-shadow: 0 16px 34px rgba(86, 201, 245, 0.24);
}

.button--ghost {
  color: var(--technical-white);
  border-color: rgba(244, 246, 250, 0.28);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  border-color: rgba(244, 246, 250, 0.46);
}

.trust-strip {
  max-width: 690px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 46px;
  border: 1px solid rgba(169, 231, 244, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.trust-strip span {
  min-height: 62px;
  display: grid;
  place-items: center;
  padding: 12px;
  color: var(--technical-white);
  font-weight: 800;
  text-align: center;
  border-right: 1px solid rgba(169, 231, 244, 0.18);
}

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

.hero__visual {
  position: relative;
  align-self: stretch;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(169, 231, 244, 0.28);
  background: var(--dark-2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1000ms ease, transform 1000ms ease;
}

.hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 28%, rgba(7, 16, 30, 0.86) 100%);
}

.hero__seal {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(7, 16, 30, 0.9);
  border: 1px solid rgba(86, 201, 245, 0.35);
}

.hero__seal strong {
  color: var(--energy-cyan);
  font-size: 48px;
  line-height: 1;
}

.hero__seal span {
  color: var(--technical-white);
  font-weight: 800;
}

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

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.stats-grid div {
  min-height: 138px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 28px;
  background: var(--technical-white);
}

.stats-grid strong {
  color: var(--deep-blue);
  font-size: 42px;
  line-height: 1;
}

.stats-grid span {
  color: var(--space-gray);
  font-weight: 700;
}

.section {
  padding: var(--home-section-y) 0;
}

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

.about {
  padding: var(--home-section-y) 0;
  background: var(--white);
}

.about__grid,
.process__grid,
.projects__grid,
.reasons__grid,
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 68px;
  align-items: start;
}

.about__grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 56px;
}

.about__intro {
  max-width: 590px;
}

.about h2,
.section-heading h2,
.process h2,
.projects h2,
.reasons h2,
.contact h2 {
  margin-top: 14px;
  font-size: 40px;
  color: var(--ink);
}

.about .section-kicker {
  margin-bottom: 18px;
  color: #38bdf8;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.about .section-kicker::before {
  width: 32px;
  background: #38bdf8;
}

.about h2 {
  max-width: 620px;
  margin-top: 0;
  color: #07152b;
  font-size: clamp(32px, 2.72vw, 38px);
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: uppercase;
}

.about h2 span {
  display: block;
}

@media (min-width: 821px) {
  .about h2 span {
    white-space: nowrap;
  }
}

.about__copy {
  max-width: 620px;
  padding-left: 42px;
  color: #475569;
  font-size: 17px;
  line-height: 1.65;
  border-left: 2px solid rgba(56, 189, 248, 0.55);
}

.about__copy p {
  margin: 0 0 18px;
}

.about__copy p:last-child {
  margin-bottom: 0;
}

.about__values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.about__values span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 10px;
  color: #07152b;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid rgba(56, 189, 248, 0.32);
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.06);
}

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

.section-heading p {
  max-width: 660px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.services-grid--wide {
  grid-template-columns: repeat(4, 1fr);
}

.service-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.06);
  color: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.service-card:hover,
.service-card:focus-visible {
  border-color: rgba(86, 201, 245, 0.72);
  box-shadow: 0 18px 38px rgba(17, 24, 39, 0.12);
  transform: translateY(-3px);
}

.service-card--secondary {
  background: linear-gradient(180deg, var(--white), #fbfcff);
}

.service-card__icon {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--dark);
  background: transparent;
}

.service-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.18;
}

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

.service-card strong {
  margin-top: auto;
  padding-top: 26px;
  color: var(--technical-indigo);
  font-weight: 900;
}

.process {
  color: var(--technical-white);
  background: var(--space-gray);
}

.process .section-kicker,
.process h2,
.process p {
  color: inherit;
}

.process .section-kicker {
  color: var(--electric-blue);
}

.process__intro p {
  margin: 18px 0 0;
  color: rgba(244, 246, 250, 0.78);
  font-size: 18px;
}

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

.timeline__item {
  min-height: 188px;
  padding: 26px;
  border: 1px solid rgba(217, 222, 232, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.timeline__item span {
  color: var(--electric-blue);
  font-weight: 900;
}

.timeline__item h3 {
  margin: 16px 0 8px;
  font-size: 22px;
}

.timeline__item p {
  margin: 0;
  color: rgba(244, 246, 250, 0.76);
}

.projects__grid {
  align-items: center;
}

.projects__media {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 5 / 4;
}

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

.projects__content p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.capability-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.capability-list span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--space-gray);
  background: var(--technical-white);
  font-weight: 800;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.project-gallery figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.07);
}

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

.project-gallery figcaption {
  padding: 14px 16px;
  color: var(--space-gray);
  font-size: 14px;
  font-weight: 900;
}

.reasons {
  background: var(--technical-white);
}

.reasons__list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reasons__list li {
  position: relative;
  padding: 18px 18px 18px 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--space-gray);
  background: var(--white);
  font-weight: 700;
}

.reasons__list li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--electric-blue);
  box-shadow: 0 0 0 5px rgba(86, 201, 245, 0.18);
}

.testimonials {
  overflow: hidden;
  background: var(--white);
}

.testimonials__header {
  max-width: 860px;
  margin-bottom: 46px;
  text-align: center;
}

.testimonials__header .section-kicker {
  justify-content: center;
}

.testimonials__header h2 {
  margin: 14px auto 0;
  color: var(--ink);
  font-family: "Geometos", "Segoe UI", Arial, sans-serif;
  font-size: 48px;
  line-height: 1.08;
}

.testimonials__header p {
  max-width: 760px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.testimonials__viewport {
  position: relative;
  overflow: hidden;
}

.testimonials__viewport::before,
.testimonials__viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 76px;
  pointer-events: none;
}

.testimonials__viewport::before {
  left: 0;
  background: linear-gradient(90deg, var(--white), rgba(255, 255, 255, 0));
}

.testimonials__viewport::after {
  right: 0;
  background: linear-gradient(270deg, var(--white), rgba(255, 255, 255, 0));
}

.testimonials__track {
  display: flex;
  width: max-content;
  animation: testimonials-scroll 38s linear infinite;
}

.testimonials__viewport:hover .testimonials__track,
.testimonials__viewport:focus-within .testimonials__track {
  animation-play-state: paused;
}

.testimonials__group {
  display: flex;
  gap: 22px;
  padding-right: 22px;
}

.testimonial-card {
  flex: 0 0 330px;
  min-height: 266px;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--deep-blue);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.08);
}

.testimonial-card > span {
  color: var(--deep-blue);
  font-size: 42px;
  font-weight: 900;
  line-height: 0.8;
}

.testimonial-card blockquote {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.testimonial-card figcaption {
  margin-top: auto;
  padding-top: 24px;
}

.testimonial-card strong,
.testimonial-card small {
  display: block;
}

.testimonial-card strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
}

.testimonial-card small {
  margin-top: 8px;
  color: #8a95a6;
  font-size: 14px;
  font-weight: 800;
}

@keyframes testimonials-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.contact {
  padding: var(--home-section-y) 0;
  color: var(--technical-white);
  background:
    linear-gradient(90deg, rgba(7, 16, 30, 0.96), rgba(43, 49, 59, 0.96)),
    var(--dark);
}

.contact .section-kicker {
  color: var(--electric-blue);
}

.contact h2 {
  color: var(--technical-white);
}

.contact__content p {
  max-width: 620px;
  margin: 18px 0 28px;
  color: rgba(244, 246, 250, 0.78);
  font-size: 18px;
}

.contact__details {
  display: grid;
  gap: 14px;
  margin: 0;
  font-style: normal;
}

.contact__details div {
  padding: 22px;
  border: 1px solid rgba(217, 222, 232, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.contact__details span {
  display: block;
  margin-bottom: 8px;
  color: var(--energy-cyan);
  font-size: 14px;
  font-weight: 900;
}

.contact__details strong {
  color: var(--technical-white);
}

.footer {
  padding: 28px 0;
  background: #050b15;
  color: rgba(244, 246, 250, 0.72);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
}

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

.service-page .site-header {
  position: static;
}

.service-hero {
  min-height: 340px;
  display: grid;
  align-items: center;
  padding: 38px 0 44px;
  color: var(--technical-white);
  background:
    linear-gradient(95deg, rgba(7, 16, 30, 0.98), rgba(13, 23, 40, 0.92)),
    var(--dark);
}

.service-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: center;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(244, 246, 250, 0.72);
  font-size: 14px;
  font-weight: 800;
}

.breadcrumbs a {
  color: var(--energy-cyan);
}

.service-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: "Geometos", "Segoe UI", Arial, sans-serif;
  font-size: 48px;
  line-height: 1.08;
}

.service-hero p {
  max-width: 680px;
  margin: 16px 0 0;
  color: rgba(244, 246, 250, 0.84);
  font-size: 19px;
}

.service-hero__panel {
  padding: 24px;
  border: 1px solid rgba(169, 231, 244, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.service-hero__panel span {
  display: block;
  margin-bottom: 10px;
  color: var(--electric-blue);
  font-weight: 900;
}

.service-hero__panel strong {
  display: block;
  color: var(--technical-white);
  font-size: 26px;
  line-height: 1.2;
}

.service-detail {
  padding: 86px 0;
}

.service-detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: start;
}

.service-detail h2,
.related-services h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Geometos", "Segoe UI", Arial, sans-serif;
  font-size: 38px;
  line-height: 1.1;
}

.service-detail p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.scope-list li {
  position: relative;
  padding: 18px 18px 18px 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--technical-white);
  color: var(--space-gray);
  font-weight: 750;
}

.scope-list li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 23px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--electric-blue);
  box-shadow: 0 0 0 5px rgba(86, 201, 245, 0.16);
}

.service-page .service-enter {
  opacity: 0;
  transform: translateX(-34px);
  will-change: opacity, transform;
}

.service-page .service-enter.is-visible {
  animation: service-enter-left 820ms cubic-bezier(0.2, 0.78, 0.2, 1) var(--enter-delay, 0ms) both;
}

@keyframes service-enter-left {
  0% {
    opacity: 0;
    filter: blur(3px);
    transform: translateX(-34px);
  }

  70% {
    opacity: 1;
    filter: blur(0);
    transform: translateX(4px);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
  }
}

.service-cta {
  padding: 64px 0;
  color: var(--technical-white);
  background: var(--space-gray);
}

.service-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.service-cta h2 {
  max-width: 760px;
  margin: 0;
  font-family: "Geometos", "Segoe UI", Arial, sans-serif;
  font-size: 34px;
  line-height: 1.1;
}

.service-cta p {
  max-width: 680px;
  margin: 14px 0 0;
  color: rgba(244, 246, 250, 0.78);
}

.related-services {
  padding: 76px 0;
  background: var(--technical-white);
}

.related-services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.related-services a {
  min-height: 74px;
  display: flex;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--technical-indigo);
  font-weight: 900;
  transform-origin: center;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  will-change: transform;
}

.related-services a:hover,
.related-services a:focus-visible {
  border-color: rgba(86, 201, 245, 0.72);
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.1);
  transform: translateY(-1px) scale(1.025);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--energy-cyan);
  font-weight: 900;
  transform-origin: left center;
  transition: transform 160ms ease, color 160ms ease;
  will-change: transform;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--white);
  transform: scale(1.045);
}

@media (max-width: 1180px) {
  .navbar__inner {
    gap: 16px;
  }

  .brand__panel {
    width: 300px;
    height: 114px;
  }

  .menu {
    gap: 12px;
    font-size: 13px;
  }

  .nav-cta {
    padding: 14px 16px;
  }
}

@media (max-width: 1080px) {
  .hero__grid,
  .about__grid,
  .process__grid,
  .projects__grid,
  .reasons__grid,
  .contact__grid,
  .service-hero__grid,
  .service-detail__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero__visual {
    max-width: 520px;
    aspect-ratio: 4 / 5;
  }

  .about {
    padding: var(--home-section-y) 0;
  }

  .about__grid {
    gap: 32px;
  }

  .about__copy {
    max-width: 760px;
    padding: 24px 0 0;
    border-top: 2px solid rgba(56, 189, 248, 0.55);
    border-left: 0;
  }

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

  .related-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .testimonials__header h2 {
    font-size: 40px;
  }
}

@media (max-width: 820px) {
  :root {
    --home-section-y: 34px;
    --header-offset: 138px;
  }

  .container {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .topbar__inner {
    justify-content: center;
    text-align: center;
  }

  .topbar__inner span {
    display: none;
  }

  .navbar__inner {
    min-height: 102px;
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 14px;
  }

  .brand__panel {
    width: 220px;
    height: 84px;
  }

  .site-header .brand__panel img {
    width: 100%;
    height: 100%;
    transform: translateY(0);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .menu {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    color: var(--space-gray);
  }

  .menu.is-open {
    display: flex;
  }

  .menu a {
    padding: 14px;
  }

  .menu a::after {
    display: none;
  }

  .menu-item {
    display: grid;
  }

  .menu-link {
    padding: 14px;
  }

  .menu-popover {
    position: static;
    width: auto;
    display: grid;
    padding: 0 8px 8px 22px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    background: transparent;
  }

  .menu-popover::before {
    display: none;
  }

  .menu-popover a {
    padding: 9px 10px;
    color: var(--muted);
    font-size: 14px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero__grid {
    padding: 34px 0;
    max-width: calc(100vw - 28px);
  }

  .hero__content h1 {
    font-size: 42px;
    max-width: 100%;
  }

  .hero__content p {
    font-size: 17px;
    max-width: 100%;
  }

  .trust-strip,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip span {
    border-right: 0;
    border-bottom: 1px solid rgba(169, 231, 244, 0.18);
  }

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

  .stats-grid div {
    min-height: 118px;
  }

  .section,
  .contact {
    padding: var(--home-section-y) 0;
  }

  .about {
    padding: var(--home-section-y) 0;
  }

  .about__grid {
    gap: 28px;
  }

  .about h2,
  .section-heading h2,
  .process h2,
  .projects h2,
  .reasons h2,
  .testimonials__header h2,
  .contact h2,
  .service-detail h2,
  .related-services h2 {
    font-size: 32px;
  }

  .about h2 {
    font-size: 32px;
    line-height: 1.1;
  }

  .about__copy {
    padding-top: 22px;
    font-size: 16px;
  }

  .about__values {
    margin-top: 22px;
  }

  .testimonials__header {
    margin-bottom: 34px;
    text-align: left;
  }

  .testimonials__header .section-kicker {
    justify-content: flex-start;
  }

  .testimonials__viewport::before,
  .testimonials__viewport::after {
    width: 28px;
  }

  .testimonial-card {
    flex-basis: min(312px, calc(100vw - 72px));
  }

  .services-grid,
  .timeline,
  .project-gallery,
  .related-services__grid {
    grid-template-columns: 1fr;
  }

  .service-hero {
    min-height: auto;
    padding: 48px 0 52px;
  }

  .service-hero h1 {
    font-size: 36px;
  }

  .service-hero p {
    font-size: 17px;
  }

  .service-cta__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer__inner {
    align-items: flex-end;
    flex-direction: row;
  }

  .footer p {
    text-align: right;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(362px, calc(100vw - 28px));
    max-width: calc(100vw - 28px);
    margin-left: 14px;
    margin-right: 14px;
  }

  .hero__actions,
  .trust-strip,
  .hero__visual {
    max-width: 340px;
  }

  .hero__content h1 {
    font-size: 30px;
    max-width: 340px;
  }

  .hero__content p {
    max-width: 340px;
  }

  .about {
    padding: var(--home-section-y) 0;
  }

  .about .section-kicker {
    margin-bottom: 14px;
  }

  .about h2 {
    max-width: 340px;
    font-size: 28px;
  }

  .about__copy {
    max-width: 340px;
  }

  .about__values {
    gap: 8px;
  }

  .about__values span {
    min-height: 36px;
    padding: 7px 11px;
    font-size: 13px;
  }

  .button {
    width: 100%;
  }

  .hero__seal {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

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

  .testimonials__track {
    animation-duration: 46s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonials__track {
    animation: none;
  }

  .service-page .service-enter,
  .service-page .service-enter.is-visible {
    opacity: 1;
    filter: none;
    transform: none;
    animation: none;
  }
}
