:root {
  --bg: #fff8ef;
  --surface: #ffffff;
  --ink: #161719;
  --muted: #666b73;
  --line: #eadfd2;
  --accent: #f58220;
  --accent-dark: #bd5514;
  --accent-soft: #fff0dd;
  --secondary: #1e92c7;
  --warning: #ffb000;
  --brand-orange: #f58220;
  --brand-gold: #ffb000;
  --brand-cyan: #1bb4e8;
  --brand-steel: #5c6370;
  --shadow: 0 18px 45px rgba(59, 34, 15, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(135deg, rgba(255, 176, 0, 0.12), transparent 32%),
    linear-gradient(315deg, rgba(27, 180, 232, 0.12), transparent 36%),
    var(--bg);
  color: var(--ink);
}

body[data-service="aires"],
body[data-service="clima"] {
  --accent: #1b93d1;
  --accent-dark: #106493;
  --accent-soft: #e3f5ff;
  --secondary: #f58220;
  --warning: #ffb000;
}

body[data-service="electricistas"] {
  --accent: #f58220;
  --accent-dark: #bd5514;
  --accent-soft: #fff0dd;
  --secondary: #1b93d1;
  --warning: #ffb000;
}

body[data-service="camaras"] {
  --accent: #e5484d;
  --accent-dark: #a5282e;
  --accent-soft: #ffe7e9;
  --secondary: #f58220;
  --warning: #ffb000;
}

body[data-service="computo"] {
  --accent: #6d5bd0;
  --accent-dark: #49389d;
  --accent-soft: #eeeafd;
  --secondary: #1b93d1;
  --warning: #f58220;
}

body[data-service="solar"] {
  --accent: #20a66a;
  --accent-dark: #117445;
  --accent-soft: #e2f8ed;
  --secondary: #ffb000;
  --warning: #f58220;
}

a {
  color: inherit;
}

.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;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 52px);
  background: rgba(255, 249, 241, 0.9);
  border-bottom: 1px solid rgba(245, 130, 32, 0.22);
  box-shadow: 0 10px 34px rgba(74, 37, 10, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.brand-logo,
.brand-logo img {
  display: block;
}

.brand-logo img {
  width: clamp(138px, 13vw, 184px);
  height: auto;
  max-height: 52px;
  object-fit: contain;
}

.service-nav {
  justify-self: center;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(940px, 100%);
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(245, 130, 32, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 32px rgba(59, 34, 15, 0.08);
}

.service-tab,
.service-card {
  border: 0;
  cursor: pointer;
  color: var(--muted);
  background: transparent;
}

.service-tab {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 0.9rem;
}

.service-tab svg,
.btn svg,
.service-card svg,
.switch-tile svg,
.panel-icon svg,
.contact-points svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.service-tab.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--warning));
  box-shadow: 0 10px 22px color-mix(in srgb, var(--accent) 32%, transparent);
}

.header-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-gold));
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(245, 130, 32, 0.28);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.header-return {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(11, 87, 183, 0.2);
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.82);
  color: #12345c;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(16, 24, 40, 0.08);
}

.header-return svg {
  width: 17px;
  height: 17px;
}

.needs-selection .service-nav,
.needs-selection .header-cta,
.needs-selection .header-return {
  display: none;
}

.needs-selection .hero,
.needs-selection .urgent-band,
.needs-selection .service-strip,
.needs-selection .section,
.needs-selection .band,
.needs-selection .site-footer {
  display: none;
}

.service-selected .entry-experience {
  display: none;
}

.entry-experience {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  grid-template-rows: minmax(0, 1fr) auto;
  padding: 104px clamp(20px, 6vw, 76px) 0;
  overflow: hidden;
  isolation: isolate;
  background: #111316;
  color: #fff;
}

.entry-experience::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("../img/trabajos/electrico-tablero-industrial.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(1.16) contrast(1.06);
  transform: scale(1.03);
}

.entry-experience::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(112deg, rgba(12, 13, 16, 0.96), rgba(17, 20, 24, 0.78) 42%, rgba(245, 130, 32, 0.28) 70%, rgba(27, 180, 232, 0.26)),
    linear-gradient(0deg, rgba(8, 10, 13, 0.78), rgba(8, 10, 13, 0.08));
}

.entry-background {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.entry-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.entry-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(125deg, transparent 0 24px, rgba(245, 130, 32, 0.13) 24px 26px, transparent 26px 48px);
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.entry-background span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 176, 0, 0.78), rgba(27, 180, 232, 0.58), transparent);
  animation: line-drift 9s linear infinite;
}

.entry-background span:nth-child(1) {
  top: 27%;
}

.entry-background span:nth-child(2) {
  top: 52%;
  animation-delay: -3s;
}

.entry-background span:nth-child(3) {
  top: 76%;
  animation-delay: -6s;
}

.entry-content {
  width: min(1320px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(480px, 0.78fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.entry-copy {
  max-width: 720px;
}

.entry-logo {
  display: block;
  width: clamp(136px, 16vw, 198px);
  margin: 0 0 22px;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.3));
}

.entry-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.entry-copy h1 {
  max-width: 14ch;
  text-shadow: 0 18px 34px rgba(0, 0, 0, 0.32);
}

.entry-copy p:not(.eyebrow) {
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
  line-height: 1.72;
}

.entry-stage {
  position: relative;
  min-height: auto;
  width: 100%;
  justify-self: stretch;
}

.entry-carousel {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.93);
  color: var(--ink);
  box-shadow: 0 30px 72px rgba(0, 0, 0, 0.28);
  transform: rotate(1.5deg);
}

.entry-carousel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(245, 130, 32, 0.12), transparent 44%, rgba(27, 180, 232, 0.12));
}

.entry-carousel:hover {
  transform: rotate(0.8deg) translateY(-4px);
}

.entry-carousel.is-animating {
  box-shadow: 0 34px 84px rgba(0, 0, 0, 0.34);
}

.carousel-media {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9.7;
  overflow: hidden;
  border-radius: 8px;
  background: #f2f4f7;
  isolation: isolate;
}

.carousel-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 0 38%, rgba(255, 255, 255, 0.36) 48%, transparent 58%),
    linear-gradient(180deg, transparent 62%, rgba(9, 18, 32, 0.18));
  opacity: 0;
  transform: translateX(-40%);
}

.entry-carousel:hover .carousel-media::after {
  animation: carousel-shine 1.35s ease both;
}

.carousel-media img,
.carousel-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-image {
  position: absolute;
  inset: 0;
  opacity: 0;
  filter: saturate(0.96) contrast(0.98);
  transform: scale(1.06) translateX(0);
  transition:
    opacity 880ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 960ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 880ms ease;
  will-change: opacity, transform;
}

.carousel-image.from-next {
  transform: scale(1.06) translateX(86px);
}

.carousel-image.from-prev {
  transform: scale(1.06) translateX(-86px);
}

.carousel-image.is-active {
  opacity: 1;
  filter: saturate(1.08) contrast(1.02);
  transform: scale(1.012) translateX(0);
}

.carousel-image.is-settled {
  animation: carousel-kenburns 5.8s ease-in-out both;
}

.carousel-image.to-prev {
  opacity: 0;
  filter: saturate(0.9) contrast(0.96);
  transform: scale(1.02) translateX(-96px);
}

.carousel-image.to-next {
  opacity: 0;
  filter: saturate(0.9) contrast(0.96);
  transform: scale(1.02) translateX(96px);
}

.image-fallback {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(245, 130, 32, 0.14), rgba(27, 180, 232, 0.12)),
    #fff;
}

.fallback-mark {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-gold));
  color: #fff;
  font-weight: 800;
}

.carousel-copy,
.carousel-dots {
  position: relative;
  z-index: 1;
}

.carousel-copy {
  display: grid;
  gap: 6px;
  transition: opacity 280ms ease, transform 280ms ease;
}

.carousel-copy.is-changing {
  opacity: 0;
  transform: translateY(8px);
}

.carousel-copy span {
  color: var(--brand-orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.carousel-copy strong {
  color: #17365d;
  font-size: clamp(1.36rem, 2.1vw, 2.1rem);
  line-height: 1.02;
}

.carousel-copy p {
  max-width: 52ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dots button {
  position: relative;
  width: 38px;
  height: 8px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: #cfd6df;
  cursor: pointer;
}

.carousel-dots button.is-active {
  background: #d7dde5;
}

.carousel-dots button.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-gold));
  transform-origin: left;
  animation: carousel-progress 5.6s linear both;
}

.carousel-controls {
  position: absolute;
  z-index: 4;
  top: 28px;
  right: 28px;
  display: flex;
  gap: 8px;
}

.carousel-controls button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 8px;
  background: rgba(9, 18, 32, 0.56);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: transform 160ms ease, background 160ms ease;
}

.carousel-controls button:hover {
  transform: translateY(-2px);
  background: rgba(245, 130, 32, 0.86);
}

.carousel-controls svg {
  width: 19px;
  height: 19px;
}

.entry-grid {
  position: relative;
  display: grid;
  height: 100%;
  min-height: 560px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.entry-services-band {
  position: relative;
  width: calc(100% + 2px);
  margin: 54px -1px 0;
  padding: 22px clamp(18px, 6vw, 76px) 24px;
  background: linear-gradient(90deg, #074395, #0758b9 52%, #0a67cf);
  color: #fff;
  box-shadow: 0 -18px 42px rgba(3, 18, 40, 0.22);
}

.entry-services-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(125deg, transparent 0 28px, rgba(255, 255, 255, 0.08) 28px 30px, transparent 30px 58px);
}

.entry-services-band > p {
  position: relative;
  z-index: 1;
  width: min(1320px, 100%);
  margin: 0 auto 12px;
  color: #ffd166;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.entry-services-band .entry-grid {
  position: relative;
  z-index: 1;
  width: min(1320px, 100%);
  height: auto;
  min-height: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: none;
  gap: 12px;
}

.entry-services-band .entry-service,
.entry-services-band .entry-service:nth-child(1),
.entry-services-band .entry-service:nth-child(2),
.entry-services-band .entry-service:nth-child(3),
.entry-services-band .entry-service:nth-child(4),
.entry-services-band .entry-service:nth-child(5) {
  min-height: 92px;
  grid-column: auto;
  grid-row: auto;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 4px 12px;
  padding: 14px;
  transform: none;
  background: rgba(255, 255, 255, 0.14);
}

.entry-services-band .entry-service::before {
  opacity: 0.18;
}

.entry-services-band .entry-service strong,
.entry-services-band .entry-service:nth-child(1) strong {
  grid-column: 2;
  grid-row: 1;
  max-width: none;
  font-size: 0.95rem;
}

.entry-services-band .entry-service small {
  grid-column: 2;
  grid-row: 2;
  overflow: hidden;
  font-size: 0.76rem;
  line-height: 1.24;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.entry-services-band .entry-service em {
  display: none;
}

.entry-services-band .entry-icon,
.entry-services-band .entry-service:nth-child(1) .entry-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
  width: 42px;
  height: 42px;
}

.entry-service {
  --tile: #0f8a65;
  --tile-rgb: 15, 138, 101;
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto auto auto;
  gap: 10px 14px;
  align-items: end;
  min-height: 0;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(16, 18, 22, 0.74);
  color: #fff;
  text-align: left;
  cursor: pointer;
  isolation: isolate;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.entry-service::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../img/trabajos/electrico-tablero-industrial.jpg");
  background-size: cover;
  background-position: var(--tile-position, center);
  opacity: 0.34;
  transform: scale(1.02);
  transition: opacity 220ms ease, transform 220ms ease;
}

.entry-service::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(var(--tile-rgb), 0.4), rgba(255, 176, 0, 0.18) 45%, rgba(27, 180, 232, 0.1)),
    linear-gradient(180deg, rgba(9, 10, 14, 0.12), rgba(9, 10, 14, 0.86));
}

.entry-service[data-service-tab="aires"] {
  --tile: #1b93d1;
  --tile-rgb: 27, 147, 209;
  --tile-position: 70% 18%;
}

.entry-service[data-service-tab="electricistas"] {
  --tile: #f58220;
  --tile-rgb: 245, 130, 32;
  --tile-position: 35% 50%;
}

.entry-service[data-service-tab="camaras"] {
  --tile: #e5484d;
  --tile-rgb: 229, 72, 77;
  --tile-position: 88% 52%;
}

.entry-service[data-service-tab="computo"] {
  --tile: #6d5bd0;
  --tile-rgb: 109, 91, 208;
  --tile-position: 96% 65%;
}

.entry-service[data-service-tab="solar"] {
  --tile: #20a66a;
  --tile-rgb: 32, 166, 106;
  --tile-position: 24% 70%;
}

.entry-service:nth-child(1) {
  grid-column: 1 / span 5;
  grid-row: 1 / span 6;
}

.entry-service:nth-child(2) {
  grid-column: 6 / span 4;
  grid-row: 1 / span 3;
}

.entry-service:nth-child(3) {
  grid-column: 10 / span 3;
  grid-row: 1 / span 3;
}

.entry-service:nth-child(4) {
  grid-column: 6 / span 3;
  grid-row: 4 / span 3;
}

.entry-service:nth-child(5) {
  grid-column: 9 / span 4;
  grid-row: 4 / span 3;
}

.entry-service:hover,
.entry-service:focus-visible {
  z-index: 3;
  border-color: color-mix(in srgb, var(--tile) 78%, #fff);
  background: rgba(22, 24, 30, 0.9);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36), 0 0 0 3px rgba(var(--tile-rgb), 0.18);
  transform: translateY(-8px) scale(1.018);
}

.entry-service:hover::before,
.entry-service:focus-visible::before {
  opacity: 0.42;
  transform: scale(1.08);
}

.entry-icon {
  grid-column: 1;
  grid-row: 2;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(var(--tile-rgb), 0.86), rgba(255, 176, 0, 0.68));
  color: #fff;
  box-shadow: 0 12px 26px rgba(var(--tile-rgb), 0.24);
}

.entry-icon svg {
  width: 22px;
  height: 22px;
}

.entry-service strong,
.entry-service small,
.entry-service em {
  position: relative;
  z-index: 1;
  display: block;
  min-width: 0;
}

.entry-service strong {
  grid-column: 2;
  grid-row: 2;
  font-size: clamp(1.02rem, 1.4vw, 1.34rem);
  line-height: 1.12;
}

.entry-service:nth-child(1) strong {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  max-width: 8ch;
}

.entry-service:nth-child(1) .entry-icon {
  grid-row: 1;
  align-self: start;
}

.entry-service small {
  grid-column: 1 / -1;
  grid-row: 3;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.42;
}

.entry-service em {
  grid-column: 1 / -1;
  grid-row: 4;
  width: max-content;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes line-drift {
  from {
    transform: translateX(-18%);
  }
  to {
    transform: translateX(18%);
  }
}

@keyframes carousel-kenburns {
  from {
    transform: scale(1.012) translateX(0);
  }
  to {
    transform: scale(1.055) translateX(-12px);
  }
}

@keyframes carousel-progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes carousel-shine {
  0% {
    opacity: 0;
    transform: translateX(-44%);
  }
  28% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(44%);
  }
}

@keyframes selector-float {
  0%,
  100% {
    margin-top: 0;
  }
  50% {
    margin-top: -10px;
  }
}

.hero {
  position: relative;
  min-height: 78svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 108px clamp(20px, 6vw, 76px) 54px;
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -3;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(112deg, rgba(9, 10, 13, 0.95) 0%, rgba(15, 18, 22, 0.78) 38%, rgba(245, 130, 32, 0.24) 68%, rgba(27, 180, 232, 0.18) 100%),
    repeating-linear-gradient(125deg, transparent 0 36px, rgba(255, 176, 0, 0.12) 36px 38px, transparent 38px 72px),
    linear-gradient(0deg, rgba(5, 7, 10, 0.52) 0%, rgba(5, 7, 10, 0.06) 42%);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(380px, 0.7fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  width: min(1320px, 100%);
  margin: 0 auto;
}

.hero-content {
  width: 100%;
  color: #fff;
}

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

.hero .eyebrow {
  color: #ffd166;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 5vw, 4.35rem);
  line-height: 0.96;
  letter-spacing: 0;
  max-width: 15ch;
}

.hero-copy {
  max-width: 64ch;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.12rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--warning));
  color: #fff;
  box-shadow: 0 16px 30px color-mix(in srgb, var(--accent) 32%, transparent);
}

.btn.primary:hover {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
}

.btn.secondary {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(10px);
}

.btn.full {
  width: 100%;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(680px, 100%);
  margin-top: 40px;
  border: 1px solid rgba(255, 176, 0, 0.32);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.trust-row div {
  min-height: 92px;
  padding: 16px;
  background: rgba(14, 15, 19, 0.5);
}

.trust-row strong,
.trust-row span {
  display: block;
}

.trust-row strong {
  font-size: 1.56rem;
  line-height: 1.1;
}

.trust-row span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  line-height: 1.35;
}

.hero-poster {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 238, 0.94)),
    #fff;
  color: var(--ink);
  box-shadow: 0 34px 78px rgba(0, 0, 0, 0.3);
  transform: rotate(1deg);
}

.hero-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(245, 130, 32, 0.14), transparent 45%, rgba(27, 180, 232, 0.12)),
    repeating-linear-gradient(125deg, transparent 0 28px, rgba(11, 87, 183, 0.05) 28px 30px, transparent 30px 58px);
}

.poster-brand,
.poster-media,
.poster-copy {
  position: relative;
  z-index: 1;
}

.poster-brand img {
  display: block;
  width: clamp(124px, 13vw, 178px);
  height: auto;
}

.poster-media {
  aspect-ratio: 16 / 9.8;
  overflow: hidden;
  border-radius: 8px;
  background: #edf1f6;
  box-shadow: inset 0 0 0 1px rgba(11, 87, 183, 0.1);
}

.poster-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-copy {
  display: grid;
  gap: 12px;
}

.poster-copy .eyebrow {
  margin-bottom: 0;
  color: var(--accent);
}

.poster-copy > strong {
  color: #17365d;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 0.98;
}

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

.poster-list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #203141;
  line-height: 1.38;
}

.poster-list span {
  color: var(--accent);
  font-size: 1.28rem;
  line-height: 0.9;
}

.poster-list strong {
  font-size: 1rem;
}

.hero-switch {
  position: relative;
  min-height: 540px;
  padding: 18px;
  border: 1px solid rgba(255, 176, 0, 0.32);
  border-radius: 8px;
  background: rgba(15, 17, 23, 0.56);
  color: #fff;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.hero-switch::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.35;
  pointer-events: none;
}

.hero-switch::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -45%;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(255, 176, 0, 0.22), transparent);
  animation: scan-panel 5s linear infinite;
  pointer-events: none;
}

.switch-head,
.switch-grid {
  position: relative;
  z-index: 1;
}

.switch-head {
  padding: 4px 4px 16px;
}

.switch-head strong {
  display: block;
  max-width: 14ch;
  font-size: 2.2rem;
  line-height: 1;
}

.switch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.switch-tile {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  min-height: 112px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.switch-tile:nth-child(1) {
  grid-column: 1 / -1;
  min-height: 124px;
}

.switch-tile:hover,
.switch-tile.is-active {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 72%, #fff);
  background: color-mix(in srgb, var(--accent) 24%, rgba(255, 255, 255, 0.1));
  color: #fff;
}

.switch-tile.is-active {
  animation: active-lift 2.8s ease-in-out infinite;
}

.switch-tile.is-active::after {
  content: "";
  position: absolute;
  inset: auto 14px 0;
  height: 3px;
  border-radius: 8px 8px 0 0;
  background: var(--accent);
  box-shadow: 0 0 22px color-mix(in srgb, var(--accent) 70%, transparent);
}

.switch-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--warning));
  color: #fff;
}

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

.switch-copy strong,
.switch-copy small {
  display: block;
}

.switch-copy strong {
  color: #fff;
  font-size: 1rem;
  line-height: 1.15;
}

.switch-copy small {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  line-height: 1.35;
}

.urgent-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #074395, #0758b9 52%, #0a67cf);
  color: #fff;
  box-shadow: 0 18px 42px rgba(3, 18, 40, 0.18);
}

.urgent-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(125deg, transparent 0 28px, rgba(255, 255, 255, 0.08) 28px 30px, transparent 30px 58px);
  pointer-events: none;
}

.urgent-band-inner {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(1180px, calc(100% - 40px));
  min-height: 104px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0 auto;
  text-align: center;
}

.urgent-band strong {
  font-size: clamp(1.46rem, 3vw, 2.18rem);
  line-height: 1.06;
}

.urgent-cta {
  display: inline-flex;
  min-height: 48px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  padding: 0 18px;
  background: linear-gradient(135deg, #d92d20, var(--brand-orange));
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(217, 45, 32, 0.24);
}

.urgent-cta svg {
  width: 18px;
  height: 18px;
}

@keyframes scan-panel {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(360%);
  }
}

@keyframes active-lift {
  0%,
  100% {
    transform: translateY(-3px);
  }
  50% {
    transform: translateY(-7px);
  }
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  width: min(1180px, calc(100% - 40px));
  margin: 26px auto 0;
  position: relative;
  z-index: 2;
}

.service-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto auto;
  min-height: 112px;
  gap: 4px 14px;
  align-items: center;
  text-align: left;
  padding: 18px;
  border: 1px solid rgba(245, 130, 32, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 238, 0.92)),
    #fff;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card span {
  grid-row: 1 / span 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--warning));
  color: #fff;
  box-shadow: 0 12px 22px color-mix(in srgb, var(--accent) 22%, transparent);
}

.service-card strong {
  color: var(--ink);
  font-size: 1rem;
}

.service-card small {
  color: var(--muted);
  line-height: 1.45;
}

.service-card.is-active {
  border-color: color-mix(in srgb, var(--accent) 60%, #fff);
  outline: 2px solid color-mix(in srgb, var(--accent) 22%, transparent);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--accent) 48%, #fff);
  box-shadow: 0 24px 46px rgba(74, 37, 10, 0.16);
}

.clients-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.52fr) minmax(0, 1fr);
  gap: 28px;
  width: min(1180px, calc(100% - 40px));
  margin: 42px auto 0;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 176, 0, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(19, 20, 24, 0.98), rgba(33, 35, 42, 0.94) 54%, rgba(245, 130, 32, 0.34)),
    #15171b;
  color: #fff;
  box-shadow: 0 24px 56px rgba(59, 34, 15, 0.18);
  isolation: isolate;
}

.clients-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(125deg, transparent 0 22px, rgba(255, 255, 255, 0.08) 22px 23px, transparent 23px 46px);
  opacity: 0.52;
}

.clients-copy {
  align-self: center;
}

.clients-copy .eyebrow {
  color: #ffd166;
}

.clients-copy h2 {
  font-size: 2.35rem;
}

.clients-copy p:not(.eyebrow) {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.68;
}

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

.client-card {
  position: relative;
  display: grid;
  min-height: 150px;
  align-content: center;
  gap: 10px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.client-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--brand-orange), var(--brand-gold), var(--brand-cyan));
}

.client-logo-frame {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-gold));
  color: #fff;
  font-weight: 800;
}

.client-logo-frame.has-logo {
  width: 100%;
  height: 58px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.client-logo-frame img {
  max-width: 100%;
  max-height: 42px;
  object-fit: contain;
}

.client-logo-frame.has-logo .client-initials {
  display: none;
}

.client-card strong {
  display: block;
  font-size: 1rem;
  line-height: 1.18;
}

.client-card small {
  color: var(--muted);
  line-height: 1.35;
}

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

.section {
  padding: 86px 0 0;
}

.section.compact {
  padding-top: 78px;
}

.section-head {
  max-width: 760px;
}

h2 {
  margin: 0;
  font-size: 3.24rem;
  line-height: 1;
  letter-spacing: 0;
}

.section-head p:not(.eyebrow),
.contact-copy p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.72;
}

.service-overview {
  padding-top: 66px;
}

.service-overview .section-head {
  margin: 0 auto;
  text-align: center;
}

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

.service-overview-card {
  position: relative;
  min-height: 236px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(245, 130, 32, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, #fff, color-mix(in srgb, var(--accent-soft) 38%, #fff)),
    var(--surface);
  box-shadow: 0 12px 30px rgba(59, 34, 15, 0.08);
}

.service-overview-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--warning), var(--secondary));
}

.service-overview-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 132px;
  height: 132px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  border-radius: 999px;
  opacity: 0.56;
}

.overview-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--warning));
  color: #fff;
  box-shadow: 0 12px 22px color-mix(in srgb, var(--accent) 24%, transparent);
}

.overview-icon svg {
  width: 21px;
  height: 21px;
}

.service-overview-card small {
  display: inline-flex;
  margin-top: 18px;
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-overview-card h3 {
  margin: 9px 0 0;
  color: #17365d;
  font-size: 1.18rem;
  line-height: 1.16;
}

.service-overview-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.portfolio-section {
  padding-top: 78px;
}

.portfolio-section .section-head {
  margin: 0 auto;
  text-align: center;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
  margin-top: 32px;
}

.portfolio-card {
  position: relative;
  display: grid;
  min-height: 360px;
  overflow: hidden;
  border-radius: 8px;
  background: #121821;
  color: #fff;
  box-shadow: 0 20px 46px rgba(31, 25, 20, 0.18);
  isolation: isolate;
}

.portfolio-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 68%;
  background:
    linear-gradient(180deg, transparent, rgba(10, 13, 18, 0.94)),
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 48%, transparent), transparent 56%);
  pointer-events: none;
}

.portfolio-media {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #1e2631;
}

.portfolio-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1), filter 520ms ease;
}

.portfolio-card:hover .portfolio-media img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.075);
}

.portfolio-copy {
  position: relative;
  z-index: 2;
  align-self: end;
  display: grid;
  gap: 8px;
  padding: 22px;
}

.portfolio-copy small {
  width: max-content;
  max-width: 100%;
  padding: 7px 9px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--warning));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.portfolio-copy h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.12;
}

.portfolio-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.5;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.scope-panel,
.plan,
.lead-form {
  border: 1px solid rgba(245, 130, 32, 0.16);
  border-radius: 8px;
  background: var(--surface);
}

.scope-panel {
  position: relative;
  padding: 28px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(59, 34, 15, 0.08);
}

.scope-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--warning), var(--secondary));
}

.scope-panel.emphasis {
  background:
    linear-gradient(135deg, var(--accent-soft), #fff 64%),
    var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 36%, #fff);
}

.panel-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--warning));
  color: #fff;
  box-shadow: 0 12px 22px color-mix(in srgb, var(--accent) 24%, transparent);
}

.scope-panel h3,
.plan h3 {
  margin: 18px 0 0;
  font-size: 1.15rem;
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #30413c;
  line-height: 1.55;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--accent), var(--warning));
}

.band {
  margin-top: 86px;
  padding: 72px 0;
  background:
    repeating-linear-gradient(125deg, transparent 0 30px, rgba(255, 255, 255, 0.05) 30px 31px, transparent 31px 60px),
    linear-gradient(135deg, #15171b, #252730 58%, color-mix(in srgb, var(--accent) 34%, #15171b));
  color: #fff;
}

.band .eyebrow {
  color: #ffd166;
}

.band-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 42px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 12px;
}

.step {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  min-height: 92px;
  padding: 18px;
  border: 1px solid rgba(255, 176, 0, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.step-number {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--warning));
  font-weight: 800;
}

.step strong {
  display: block;
  margin-bottom: 6px;
}

.step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.plans,
.offers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.plan,
.offer {
  position: relative;
  min-height: 254px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(16, 29, 25, 0.08);
  overflow: hidden;
}

.plan::before,
.offer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--warning));
}

.plan-tag {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 8px;
  padding: 0 10px;
  background: linear-gradient(135deg, var(--accent), var(--warning));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
}

.plan p {
  color: var(--muted);
  line-height: 1.58;
}

.plan-price {
  display: block;
  margin-top: 12px;
  color: var(--accent-dark);
  font-size: 1.05rem;
}

.plan ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 18px;
  color: #30413c;
}

.offer {
  min-height: 188px;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, #fff);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent-soft) 80%, #fff), #fff 72%),
    var(--accent-soft);
}

.offer h3 {
  margin: 16px 0 0;
}

.offer p {
  color: #30413c;
  line-height: 1.58;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.58fr);
  gap: 34px;
  align-items: start;
  padding-bottom: 84px;
}

.contact-copy {
  padding-top: 24px;
}

.contact-points {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-points span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #30413c;
  font-weight: 700;
}

.contact-points svg {
  color: var(--accent);
  flex: 0 0 auto;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.lead-form .hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: #30413c;
  font-size: 0.92rem;
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}

.lead-form textarea {
  resize: vertical;
  min-height: 118px;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--accent-dark);
  font-weight: 800;
  line-height: 1.45;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 6vw, 76px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 680ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-poster.reveal-on-scroll,
.lead-form.reveal-on-scroll {
  transform: translateY(34px) scale(0.98);
}

.hero-poster.reveal-on-scroll.is-visible,
.lead-form.reveal-on-scroll.is-visible {
  transform: translateY(0) scale(1);
}

.service-card.reveal-on-scroll:nth-child(2),
.service-overview-card.reveal-on-scroll:nth-child(2),
.portfolio-card.reveal-on-scroll:nth-child(2),
.client-card.reveal-on-scroll:nth-child(2),
.step.reveal-on-scroll:nth-child(2),
.plan.reveal-on-scroll:nth-child(2),
.offer.reveal-on-scroll:nth-child(2) {
  transition-delay: 70ms;
}

.service-card.reveal-on-scroll:nth-child(3),
.service-overview-card.reveal-on-scroll:nth-child(3),
.portfolio-card.reveal-on-scroll:nth-child(3),
.client-card.reveal-on-scroll:nth-child(3),
.step.reveal-on-scroll:nth-child(3),
.plan.reveal-on-scroll:nth-child(3),
.offer.reveal-on-scroll:nth-child(3) {
  transition-delay: 140ms;
}

.service-card.reveal-on-scroll:nth-child(4),
.service-overview-card.reveal-on-scroll:nth-child(4),
.portfolio-card.reveal-on-scroll:nth-child(4),
.client-card.reveal-on-scroll:nth-child(4) {
  transition-delay: 210ms;
}

.service-card.reveal-on-scroll:nth-child(5),
.service-overview-card.reveal-on-scroll:nth-child(5),
.portfolio-card.reveal-on-scroll:nth-child(5),
.client-card.reveal-on-scroll:nth-child(5) {
  transition-delay: 280ms;
}

.service-overview-card.reveal-on-scroll:nth-child(6),
.portfolio-card.reveal-on-scroll:nth-child(6),
.client-card.reveal-on-scroll:nth-child(6) {
  transition-delay: 350ms;
}

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

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1280px) {
  .entry-experience {
    padding: 92px clamp(18px, 4vw, 48px) 34px;
  }

  .entry-content {
    width: min(1160px, 100%);
    grid-template-columns: minmax(280px, 0.52fr) minmax(560px, 1fr);
    gap: clamp(22px, 4vw, 48px);
  }

  .entry-copy h1 {
    max-width: 11ch;
    font-size: 4.05rem;
  }

  .entry-copy p:not(.eyebrow) {
    max-width: 50ch;
    font-size: 1rem;
    line-height: 1.62;
  }

  .entry-stage {
    min-height: auto;
  }

  .entry-service {
    grid-template-columns: 46px minmax(0, 1fr);
    padding: 16px;
  }

  .entry-icon {
    width: 46px;
    height: 46px;
  }

  .entry-icon svg {
    width: 20px;
    height: 20px;
  }

  .entry-service strong {
    font-size: 1rem;
  }

  .entry-service small {
    font-size: 0.86rem;
  }

  .entry-service:nth-child(1) strong {
    font-size: clamp(1.82rem, 3vw, 2.54rem);
  }

}

@media (min-width: 981px) and (max-height: 820px) {
  .entry-experience {
    padding-top: 84px;
    padding-bottom: 24px;
  }

  .entry-content {
    gap: clamp(22px, 3.4vw, 44px);
  }

  .entry-copy h1 {
    font-size: 3.62rem;
  }

  .entry-copy p:not(.eyebrow) {
    font-size: 0.96rem;
    line-height: 1.56;
  }

  .entry-stage {
    min-height: auto;
  }

  .entry-service {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 4px 11px;
    padding: 12px;
  }

  .entry-icon {
    width: 38px;
    height: 38px;
  }

  .entry-service strong {
    font-size: 0.94rem;
  }

  .entry-service small {
    font-size: 0.79rem;
    line-height: 1.28;
  }

  .entry-service em {
    font-size: 0.66rem;
  }

  .entry-service:nth-child(1) strong {
    font-size: clamp(1.64rem, 2.7vw, 2.12rem);
  }
}

@media (min-width: 981px) and (max-height: 700px) {
  .entry-copy .eyebrow {
    margin-bottom: 8px;
  }

  .entry-copy h1 {
    font-size: 3.22rem;
  }

  .entry-copy p:not(.eyebrow) {
    max-width: 46ch;
    margin-top: 14px;
  }

  .entry-stage {
    min-height: auto;
  }

  .entry-service {
    padding: 10px;
  }

  .entry-service small {
    font-size: 0.74rem;
  }

  .entry-service em {
    padding: 6px 8px;
  }
}

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

  .service-nav {
    grid-column: 1 / -1;
    order: 3;
  }

  .hero {
    padding-top: 158px;
  }

  .entry-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .entry-carousel {
    max-width: 620px;
    margin: 0 auto;
  }

  .entry-copy h1 {
    max-width: 12ch;
    font-size: 3.72rem;
  }

  .entry-stage {
    min-height: auto;
    max-width: none;
    justify-self: stretch;
  }

  .entry-core {
    display: none;
  }

  .entry-grid {
    position: relative;
    display: grid;
    height: auto;
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(118px, auto);
    gap: 16px;
  }

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

  .entry-service,
  .entry-service:nth-child(1),
  .entry-service:nth-child(2),
  .entry-service:nth-child(3),
  .entry-service:nth-child(4),
  .entry-service:nth-child(5) {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 132px;
    grid-column: auto;
    grid-row: auto;
    transform: none;
  }

  .entry-service:nth-child(1) {
    grid-column: 1 / -1;
    grid-row: auto;
  }

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

  .hero-poster {
    width: min(620px, 100%);
    justify-self: center;
    transform: none;
  }

  .hero-switch {
    min-height: auto;
  }

  h1 {
    font-size: 3.72rem;
  }

  h2 {
    font-size: 2.75rem;
  }

  .service-strip,
  .clients-section,
  .service-overview-grid,
  .plans,
  .offers,
  .detail-grid,
  .band-inner,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

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

  .contact-copy {
    padding-top: 0;
  }

  .urgent-band-inner {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    min-height: 0;
    padding: 22px 0;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 12px;
  }

  .brand span:last-child,
  .header-cta,
  .header-return span {
    display: none;
  }

  .header-actions {
    gap: 6px;
  }

  .header-return {
    width: 42px;
    padding: 0;
  }

  .brand-logo img {
    width: 124px;
    max-height: 38px;
  }

  .service-nav {
    gap: 4px;
    padding: 4px;
  }

  .service-tab {
    min-height: 48px;
    padding: 0 6px;
    font-size: 0;
  }

  .service-tab svg {
    width: 22px;
    height: 22px;
  }

  .entry-experience {
    align-items: start;
    min-height: 100svh;
    padding: 76px 14px 24px;
  }

  .entry-content {
    gap: 16px;
  }

  .entry-carousel {
    transform: none;
  }

  .carousel-controls {
    top: 22px;
    right: 22px;
  }

  .carousel-controls button {
    width: 34px;
    height: 34px;
  }

  .carousel-copy strong {
    font-size: 1.28rem;
  }

  .entry-services-band {
    margin-top: 22px;
    padding: 16px 14px 18px;
  }

  .entry-services-band .entry-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .entry-copy h1 {
    max-width: 11.5ch;
    font-size: clamp(1.94rem, 8.8vw, 2.34rem);
    line-height: 0.98;
  }

  .entry-logo {
    width: 112px;
    margin-bottom: 12px;
  }

  .entry-copy .eyebrow {
    margin-bottom: 8px;
  }

  .entry-copy p:not(.eyebrow) {
    max-width: 35ch;
    margin-top: 12px;
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .entry-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .entry-service,
  .entry-service:nth-child(1),
  .entry-service:nth-child(2),
  .entry-service:nth-child(3),
  .entry-service:nth-child(4),
  .entry-service:nth-child(5) {
    min-height: 66px;
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: 36px minmax(0, 1fr) 30px;
    grid-template-rows: auto auto;
    gap: 2px 10px;
    padding: 10px 11px;
    background: rgba(255, 255, 255, 0.13);
  }

  .entry-services-band .entry-service,
  .entry-services-band .entry-service:nth-child(1),
  .entry-services-band .entry-service:nth-child(2),
  .entry-services-band .entry-service:nth-child(3),
  .entry-services-band .entry-service:nth-child(4),
  .entry-services-band .entry-service:nth-child(5) {
    min-height: 62px;
    grid-template-columns: 36px minmax(0, 1fr);
    grid-template-rows: auto auto;
  }

  .entry-service small {
    display: block;
    grid-column: 2 / 4;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.73rem;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .entry-service em {
    position: relative;
    display: block;
    grid-column: 3;
    grid-row: 1 / 3;
    justify-self: end;
    width: 28px;
    height: 28px;
    padding: 0;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 176, 0, 0.16);
    color: transparent;
    font-size: 0;
  }

  .entry-service em::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    border-top: 2px solid #ffd166;
    border-right: 2px solid #ffd166;
    transform: translate(-62%, -50%) rotate(45deg);
  }

  .entry-icon {
    grid-row: 1 / 3;
    width: 36px;
    height: 36px;
  }

  .entry-icon svg {
    width: 18px;
    height: 18px;
  }

  .entry-service strong {
    grid-column: 2;
    grid-row: 1;
    font-size: 0.94rem;
    line-height: 1.1;
  }

  .entry-service:nth-child(1) .entry-icon {
    grid-row: 1 / 3;
    align-self: center;
  }

  .entry-service:nth-child(1) strong {
    grid-column: 2;
    grid-row: 1;
    max-width: none;
    font-size: 0.94rem;
  }

  .hero {
    min-height: 0;
    padding: 136px 18px 36px;
  }

  .hero-shade {
    background:
      linear-gradient(100deg, rgba(9, 10, 13, 0.94) 0%, rgba(12, 13, 17, 0.82) 62%, rgba(245, 130, 32, 0.26) 100%),
      linear-gradient(0deg, rgba(5, 7, 10, 0.45), rgba(5, 7, 10, 0.05));
  }

  h1 {
    max-width: 12ch;
    font-size: 2.34rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-switch {
    order: -1;
    padding: 12px;
    min-height: 0;
    margin-bottom: 4px;
  }

  .hero-poster {
    gap: 10px;
    padding: 12px;
  }

  .poster-brand img {
    width: 118px;
  }

  .poster-copy > strong {
    font-size: 1.72rem;
  }

  .poster-list {
    gap: 7px;
  }

  .poster-list strong {
    font-size: 0.88rem;
  }

  .urgent-band-inner {
    width: calc(100% - 28px);
  }

  .urgent-band strong {
    font-size: 1.34rem;
  }

  .hero-switch::after {
    animation-duration: 7s;
  }

  .switch-head {
    display: none;
  }

  .switch-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .switch-tile,
  .switch-tile:nth-child(1) {
    grid-template-columns: 34px minmax(0, 1fr);
    min-height: 64px;
    padding: 10px;
  }

  .switch-icon {
    width: 34px;
    height: 34px;
  }

  .switch-copy small {
    display: none;
  }

  .switch-copy strong {
    font-size: 0.84rem;
  }

  .trust-row strong {
    font-size: 1.08rem;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .trust-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 28px;
  }

  .trust-row div {
    min-height: 86px;
    padding: 12px 10px;
  }

  .trust-row span {
    font-size: 0.76rem;
  }

  .service-strip,
  .clients-section,
  .section,
  .band-inner {
    width: calc(100% - 28px);
  }

  .clients-section {
    margin-top: 24px;
    padding: 22px;
  }

  .clients-copy h2 {
    font-size: 1.86rem;
  }

  .clients-grid {
    grid-template-columns: 1fr;
  }

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

  .portfolio-card {
    min-height: 310px;
  }

  .client-card {
    min-height: 112px;
    grid-template-columns: 56px minmax(0, 1fr);
    align-content: center;
    align-items: center;
  }

  .client-logo-frame,
  .client-logo-frame.has-logo {
    grid-row: 1 / span 2;
    width: 48px;
    height: 48px;
  }

  .client-logo-frame img {
    max-height: 34px;
  }

  .service-card {
    min-height: 104px;
  }

  .section,
  .section.compact {
    padding-top: 62px;
  }

  .scope-panel,
  .plan,
  .lead-form {
    padding: 20px;
  }

  .band {
    margin-top: 64px;
    padding: 58px 0;
  }

  .step {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .step-number {
    width: 44px;
    height: 44px;
  }

  .contact-section {
    width: calc(100% - 28px);
    padding-bottom: 64px;
  }

  .site-footer {
    flex-direction: column;
    padding: 24px 18px;
  }
}

@media (max-width: 680px) and (max-height: 740px) {
  .entry-experience {
    padding-top: 68px;
    padding-bottom: 16px;
  }

  .entry-content {
    gap: 12px;
  }

  .entry-copy h1 {
    max-width: none;
    font-size: 1.78rem;
  }

  .entry-copy p:not(.eyebrow) {
    display: none;
  }

  .entry-grid {
    gap: 8px;
  }

  .entry-service,
  .entry-service:nth-child(1),
  .entry-service:nth-child(2),
  .entry-service:nth-child(3),
  .entry-service:nth-child(4),
  .entry-service:nth-child(5) {
    min-height: 58px;
  }
}
