:root {
  --blue: #075fff;
  --blue-700: #0047d8;
  --navy: #001d4f;
  --ink: #061a3c;
  --muted: #5b6983;
  --line: #d9e3f2;
  --soft-line: #edf3fb;
  --paper: #ffffff;
  --cool: #f6f9fd;
  --deep: #00265d;
  --shadow: 0 24px 70px rgba(0, 32, 96, 0.14);
  --max: 1280px;
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

button,
input,
textarea {
  font: 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;
}

#services,
#work,
#process,
#contact {
  scroll-margin-top: 168px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(210px, 300px) 1fr auto auto;
  align-items: center;
  gap: 28px;
  height: 76px;
  padding: 0 clamp(22px, 5vw, 72px);
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: min(280px, 100%);
  height: 42px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(28px, 4vw, 58px);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 28px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 21px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

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

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 44px;
  border-radius: 4px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.language-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-width: 88px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.language-switch button {
  display: grid;
  place-items: center;
  min-height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 3px;
  color: var(--muted);
  background: transparent;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  cursor: pointer;
}

.language-switch button.active {
  color: #fff;
  background: var(--navy);
}

.language-switch button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.nav-cta,
.button.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 14px 28px rgba(7, 95, 255, 0.22);
}

.nav-cta {
  min-width: 184px;
  padding: 0 28px;
}

.button {
  min-width: 178px;
  padding: 0 21px;
  border: 1px solid var(--blue);
}

.button.secondary {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.88);
}

.button:hover,
.button:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-2px);
}

.button.primary:hover,
.button.primary:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--blue-700);
  box-shadow: 0 18px 36px rgba(7, 95, 255, 0.28);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--blue-700);
  background: #f4f8ff;
}

.button svg,
.contact-meta svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.menu-button {
  display: none;
  width: 46px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--navy);
  background: #fff;
}

.menu-button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.menu-button span {
  width: 20px;
  height: 2px;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-open .menu-button span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-open .menu-button span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(430px, 0.82fr) minmax(0, 1.18fr);
  min-height: min(700px, calc(100vh - 126px));
  overflow: hidden;
  background:
    linear-gradient(90deg, #fff 0%, #fff 28%, rgba(255, 255, 255, 0.82) 38%, rgba(255, 255, 255, 0) 55%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.circuit-field {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(43vw, 650px);
  pointer-events: none;
  opacity: 0.58;
  background-image:
    linear-gradient(90deg, rgba(7, 95, 255, 0.14) 1px, transparent 1px),
    linear-gradient(180deg, rgba(7, 95, 255, 0.12) 1px, transparent 1px);
  background-position: -18px -10px;
  background-size: 74px 74px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.7) 42%, transparent 100%);
}

.circuit-field::before,
.circuit-field::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(7, 95, 255, 0.18);
}

.circuit-field::before {
  top: 88px;
  left: -28px;
  width: 260px;
  height: 170px;
  clip-path: polygon(0 0, 72% 0, 72% 38%, 100% 38%, 100% 100%, 0 100%);
}

.circuit-field::after {
  right: 36px;
  bottom: 120px;
  width: 210px;
  height: 260px;
  clip-path: polygon(0 0, 100% 0, 100% 62%, 68% 62%, 68% 100%, 0 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: start;
  max-width: 560px;
  padding: clamp(66px, 8vw, 112px) 0 34px clamp(22px, 5.5vw, 96px);
}

.hero h1 {
  max-width: 580px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(3.8rem, 6vw, 5.8rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.93;
}

.hero h1 span {
  display: block;
  color: var(--blue);
}

.hero-copy > p {
  max-width: 520px;
  margin: 24px 0 30px;
  color: #233451;
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.48;
}

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

.scroll-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  color: #8794aa;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scroll-marker {
  flex: 0 0 auto;
  width: 2px;
  height: 24px;
  background: var(--blue);
}

.scroll-note [data-i18n] {
  white-space: nowrap;
}

.hero-media {
  position: relative;
  min-height: inherit;
  overflow: hidden;
}

.hero-media::before {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 32%;
  content: "";
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.88) 34%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

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

.service-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: none;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.service-rail article {
  min-height: 152px;
  padding: 28px clamp(18px, 2.4vw, 42px);
  border-right: 1px solid var(--line);
}

.service-rail article:first-of-type {
  border-left: 1px solid var(--line);
}

.service-rail svg {
  width: 43px;
  height: 43px;
  margin-bottom: 15px;
  fill: none;
  color: var(--blue);
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.service-rail h3,
.work-item h3,
.process-list h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  line-height: 1.25;
  text-transform: uppercase;
}

.service-rail p,
.work-item p,
.process-list p,
.section-heading p,
.consulting-contact p,
.contact-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.5;
}

.work-process {
  background:
    linear-gradient(180deg, var(--cool) 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: clamp(28px, 4vw, 64px);
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px clamp(22px, 5vw, 48px) 48px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.section-heading h2,
.consulting-copy h2,
.contact-panel h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1rem, 1.7vw, 1.32rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.1;
  text-transform: uppercase;
}

.section-heading p {
  max-width: 360px;
  text-align: right;
}

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

.work-item {
  min-width: 0;
}

.video-work {
  display: block;
  outline: none;
}

.work-visual {
  position: relative;
  height: 132px;
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid #cbd8ea;
  border-radius: 5px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)),
    #0a1d36;
  box-shadow: 0 14px 34px rgba(0, 29, 79, 0.12);
}

.work-visual::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 95, 255, 0.24) 1px, transparent 1px),
    linear-gradient(180deg, rgba(7, 95, 255, 0.18) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.6;
}

.controller > span,
.logger > span,
.station > span,
.platform > span {
  position: absolute;
  z-index: 1;
  display: block;
  border: 1px solid rgba(132, 183, 255, 0.75);
  background: rgba(7, 95, 255, 0.22);
}

.video-thumb {
  color: #fff;
  background: #071a32;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.video-thumb::before {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 29, 79, 0.08), rgba(0, 29, 79, 0.72)),
    linear-gradient(90deg, rgba(7, 95, 255, 0.18) 1px, transparent 1px),
    linear-gradient(180deg, rgba(7, 95, 255, 0.14) 1px, transparent 1px);
  background-size: auto, 24px 24px, 24px 24px;
  opacity: 1;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.06);
}

.play-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 4px;
  color: #fff;
  background: rgba(0, 29, 79, 0.78);
  box-shadow: 0 10px 24px rgba(0, 29, 79, 0.24);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.play-badge::before {
  width: 0;
  height: 0;
  content: "";
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
}

.video-work:hover .video-thumb,
.video-work:focus-visible .video-thumb {
  border-color: var(--blue);
  box-shadow: 0 18px 42px rgba(0, 29, 79, 0.18);
  transform: translateY(-2px);
}

.video-work:hover h3,
.video-work:focus-visible h3 {
  color: var(--blue);
}

.controller span:nth-child(1) {
  top: 24px;
  left: 28px;
  width: 78px;
  height: 54px;
}

.controller span:nth-child(2) {
  right: 24px;
  bottom: 28px;
  width: 92px;
  height: 40px;
}

.controller span:nth-child(3) {
  top: 30px;
  right: 50px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.controller span:nth-child(4) {
  bottom: 24px;
  left: 44px;
  width: 18px;
  height: 18px;
}

.logger {
  background: linear-gradient(135deg, #f7fbff, #d9e8fb);
}

.logger::before {
  opacity: 0.35;
}

.logger span:nth-child(1) {
  inset: 30px 42px 28px 42px;
  border-color: #a8bad2;
  background: #fff;
}

.logger span:nth-child(2) {
  right: 27px;
  top: 20px;
  width: 3px;
  height: 58px;
  transform: rotate(-22deg);
  background: var(--blue);
}

.logger span:nth-child(3) {
  right: 17px;
  top: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
}

.station {
  background:
    linear-gradient(135deg, rgba(0, 29, 79, 0.05), rgba(7, 95, 255, 0.2)),
    #f8fbff;
}

.station span:nth-child(1) {
  top: 14px;
  left: 42%;
  width: 22px;
  height: 90px;
  border-radius: 14px;
  background: #f8b51f;
  transform: rotate(18deg);
}

.station span:nth-child(2) {
  right: 26px;
  bottom: 22px;
  width: 110px;
  height: 38px;
  border-color: #7590b6;
  background: rgba(255, 255, 255, 0.78);
}

.station span:nth-child(3) {
  bottom: 20px;
  left: 26px;
  width: 72px;
  height: 26px;
  border-color: #7590b6;
  background: rgba(7, 95, 255, 0.18);
}

.platform span:nth-child(1) {
  top: 24px;
  left: 24px;
  width: 76px;
  height: 18px;
}

.platform span:nth-child(2) {
  bottom: 24px;
  left: 24px;
  width: 112px;
  height: 52px;
}

.platform span:nth-child(3) {
  right: 28px;
  top: 26px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
}

.process-section {
  padding-left: clamp(24px, 3vw, 54px);
  border-left: 1px solid var(--line);
}

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

.process-section .section-heading p {
  max-width: none;
  margin-top: 9px;
  text-align: left;
}

.process-list {
  display: grid;
  gap: 20px;
  padding: 6px 0 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 16px;
  align-items: start;
}

.process-list li:not(:last-child)::after {
  position: absolute;
  top: 44px;
  left: 23px;
  width: 1px;
  height: calc(100% - 22px);
  content: "";
  background: var(--line);
}

.process-list span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--blue);
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 900;
}

.process-list h3,
.process-list p {
  grid-column: 2;
}

.consulting-contact {
  --contact-divider-left: 32%;
  --contact-divider-right: 72.25%;

  display: grid;
  grid-template-columns: minmax(240px, 0.62fr) minmax(360px, 0.86fr) minmax(260px, 0.52fr);
  gap: clamp(26px, 4vw, 58px);
  max-width: var(--max);
  margin: 0 auto;
  padding: 42px clamp(22px, 5vw, 48px) 46px;
  background:
    linear-gradient(
      90deg,
      transparent 0 var(--contact-divider-left),
      var(--line) var(--contact-divider-left) calc(var(--contact-divider-left) + 1px),
      transparent calc(var(--contact-divider-left) + 1px)
    ),
    linear-gradient(
      90deg,
      transparent 0 var(--contact-divider-right),
      var(--line) var(--contact-divider-right) calc(var(--contact-divider-right) + 1px),
      transparent calc(var(--contact-divider-right) + 1px)
    );
}

.consulting-copy p,
.contact-panel p {
  margin-top: 14px;
}

.consulting-copy .button {
  margin-top: 22px;
}

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

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

label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-panel > label {
  margin-top: 14px;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cbd8ea;
  border-radius: 4px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(7, 95, 255, 0.1);
}

.contact-panel .button {
  margin-top: 14px;
}

.form-status {
  min-height: 22px;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 700;
}

.contact-meta {
  display: grid;
  align-content: center;
  gap: 16px;
  min-width: 0;
}

.contact-meta div {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.contact-meta a {
  color: var(--ink);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-meta a:hover,
.contact-meta a:focus-visible {
  color: var(--blue);
}

.contact-meta svg {
  color: var(--blue);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(210px, 300px) 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 94px;
  padding: 22px clamp(22px, 5vw, 72px);
  color: #dbe9ff;
  background: linear-gradient(90deg, #001b45, #002e6c);
}

.footer-brand img {
  width: min(260px, 100%);
  height: 42px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.22));
}

.site-footer p {
  margin: 0;
  color: rgba(219, 233, 255, 0.82);
  font-size: 0.78rem;
}

.site-footer nav {
  display: flex;
  gap: 30px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.whatsapp-float {
  position: fixed;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 999px;
  color: #fff;
  background: #25d366;
  box-shadow: 0 18px 42px rgba(0, 29, 79, 0.2), 0 12px 30px rgba(37, 211, 102, 0.32);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.15;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  color: #fff;
  background: #1fbd5a;
  box-shadow: 0 22px 50px rgba(0, 29, 79, 0.24), 0 15px 34px rgba(37, 211, 102, 0.38);
  transform: translateY(-2px);
}

.whatsapp-float:focus-visible {
  outline: 3px solid rgba(7, 95, 255, 0.38);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: minmax(190px, 260px) auto auto auto;
    gap: 18px;
  }

  .site-nav {
    gap: 24px;
  }

  .nav-cta {
    min-width: 156px;
    padding: 0 18px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    padding: 64px clamp(22px, 6vw, 70px) 36px;
  }

  .hero-media {
    min-height: 420px;
  }

  .hero-media::before {
    inset: 0 0 auto 0;
    width: auto;
    height: 30%;
    background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
  }

  .scroll-note {
    display: none;
  }

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

  .service-rail article {
    border-bottom: 1px solid var(--line);
  }

  .service-rail article:last-of-type {
    grid-column: 1 / -1;
  }

  .section-grid,
  .consulting-contact {
    grid-template-columns: 1fr;
  }

  .process-section {
    padding-left: 0;
    border-left: 0;
  }

  .consulting-contact {
    background: none;
  }
}

@media (max-height: 780px) and (min-width: 1101px) {
  .scroll-note {
    display: none;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    height: 70px;
    padding-inline: 18px;
    gap: 10px;
  }

  .brand img {
    width: min(232px, 52vw);
    height: 38px;
  }

  .language-switch {
    min-width: 72px;
    padding: 2px;
  }

  .language-switch button {
    min-height: 30px;
    padding: 0 8px;
    font-size: 0.62rem;
  }

  .menu-button {
    display: flex;
  }

  .site-nav,
  .nav-cta {
    position: fixed;
    right: 18px;
    left: 18px;
    z-index: 30;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 160ms ease,
      transform 160ms ease;
  }

  .site-nav {
    top: 82px;
    display: grid;
    gap: 0;
    justify-content: stretch;
    padding-bottom: 92px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 5px;
    box-shadow: var(--shadow);
  }

  .site-nav a {
    padding: 18px 20px;
    border-bottom: 1px solid var(--soft-line);
  }

  .site-nav a::after {
    display: none;
  }

  .nav-cta {
    top: 326px;
    min-width: 0;
    border-radius: 0 0 5px 5px;
    box-shadow: none;
  }

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

  .hero h1 {
    font-size: clamp(3.55rem, 15vw, 5.2rem);
  }

  .hero-media {
    min-height: 260px;
  }

  .service-rail,
  .work-list,
  .form-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .service-rail article,
  .service-rail article:first-of-type {
    border-right: 0;
    border-left: 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    max-width: none;
    margin-top: 10px;
    text-align: left;
  }

  .work-visual {
    height: 172px;
  }

  .site-footer nav {
    flex-wrap: wrap;
    gap: 16px 24px;
  }

  .whatsapp-float {
    width: 66px;
    min-height: 66px;
    padding: 0;
    border-radius: 50%;
  }

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

@media (max-width: 520px) {
  .hero h1 {
    font-size: 3rem;
    line-height: 0.96;
  }

  .hero-copy {
    padding: 46px 18px 30px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-media {
    height: 176px;
    min-height: 176px;
  }

  .hero-media img {
    min-height: 0;
  }

  .service-rail article {
    padding: 24px 18px;
  }

  .section-grid,
  .consulting-contact {
    padding-inline: 18px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
  }
}

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