﻿:root {
  --skydo-dark: #081118;
  --skydo-cyan: #47b3cc;
  --skydo-white: #fdfdfc;
  --skydo-muted: #9eb1b8;
  --skydo-line: rgba(253, 253, 252, 0.14);
}

html {
  background: var(--skydo-dark);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--skydo-dark) !important;
  color: var(--skydo-white) !important;
  overflow-x: hidden;
  font-family: "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.05;
  background: linear-gradient(rgba(71, 179, 204, 0.12) 1px, transparent 1px),
              linear-gradient(90deg, rgba(71, 179, 204, 0.12) 1px, transparent 1px);
  background-size: 128px 128px;
  mask-image: linear-gradient(#000, transparent 72%);
}

header, main, section, footer { position: relative; z-index: 1; }

#home {
  min-height: 500px !important;
  margin-top: 64px !important;
  background: transparent !important;
}

#home > div {
  width: 100%;
  max-width: 1440px !important;
  margin: 0 auto;
  padding-top: 72px;
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 60%);
  align-items: center;
  gap: clamp(28px, 3vw, 52px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
  min-width: 0;
}

.hero-visual {
  position: relative;
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
  padding-left: clamp(12px, 1.6vw, 28px);
  overflow: visible;
}

.hero-copy h1 {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 0 1.25rem;
  font-size: clamp(3.1rem, 5vw, 6.4rem) !important;
  line-height: 0.9 !important;
  letter-spacing: -0.06em;
  font-weight: 800;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
  white-space: normal !important;
  text-wrap: balance;
  overflow: visible;
  opacity: 1;
}

.hero-copy .hero-line {
  display: block;
  white-space: normal;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
  opacity: 0;
  transform: translateY(18px);
  animation: hero-line-reveal 650ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-copy .hero-line:nth-child(2) {
  animation-delay: 120ms;
}

.hero-copy .hero-line:nth-child(3) {
  animation-delay: 240ms;
}

@keyframes hero-line-reveal {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-copy p {
  color: var(--skydo-cyan) !important;
  font: 14px ui-monospace, monospace;
  letter-spacing: 0.08em;
  margin-top: 16px;
}

.hero-copy a {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-infrastructure {
  position: relative;
  display: block;
  width: clamp(560px, 50vw, 840px);
  max-width: 840px;
  min-width: 540px;
  height: auto;
  min-height: 440px;
  flex: 0 0 auto;
  margin-left: 12px;
  pointer-events: none;
  overflow: visible;
  opacity: 1;
  transform: translateX(18px) perspective(1300px) rotateX(8deg) rotateY(-10deg);
  transform-origin: center right;
  transform-style: preserve-3d;
  animation: ecosystem-drift 18s ease-in-out infinite alternate;
}

.ecosystem-hero {
  filter: drop-shadow(0 22px 36px rgba(8, 17, 24, 0.45));
}

.ecosystem-hero g {
  transform-box: fill-box;
  transform-origin: center;
}

.ecosystem-hero .core-system rect,
.ecosystem-hero .side-device rect,
.ecosystem-hero .power-node rect,
.ecosystem-hero .wifi-node rect,
.ecosystem-hero .cloud-layer path,
.ecosystem-hero .security-node path {
  filter: drop-shadow(0 0 10px rgba(71, 179, 204, 0.25));
}

.ecosystem-hero .data-line {
  opacity: 0.86;
  stroke-width: 1.2;
}

.ecosystem-hero .core-system rect,
.ecosystem-hero .side-device rect,
.ecosystem-hero .power-node rect,
.ecosystem-hero .wifi-node rect {
  fill: rgba(71, 179, 204, 0.08);
  stroke: rgba(71, 179, 204, 0.9);
}

.ecosystem-hero .cloud-layer path,
.ecosystem-hero .cloud-layer circle {
  fill: rgba(71, 179, 204, 0.08);
  stroke: rgba(71, 179, 204, 0.9);
}

.ecosystem-hero .security-node path,
.ecosystem-hero .security-node circle {
  fill: rgba(71, 179, 204, 0.05);
  stroke: rgba(71, 179, 204, 0.95);
}

.ecosystem-hero .core-panel {
  fill: rgba(71, 179, 204, 0.08);
  stroke: rgba(71, 179, 204, 0.95);
}

.ecosystem-hero .rack-slot {
  fill: rgba(12, 28, 38, 0.78);
  stroke: rgba(71, 179, 204, 0.75);
}

.ecosystem-hero .endpoint-block,
.ecosystem-hero .branch-block,
.ecosystem-hero .power-block {
  fill: rgba(71, 179, 204, 0.08);
  stroke: rgba(71, 179, 204, 0.9);
}

.core-system,
.side-device,
.cloud-layer,
.security-node,
.power-node,
.wifi-node {
  animation: ecosystem-float 7s ease-in-out infinite;
}

.side-device.left-device {
  animation-delay: 0.5s;
}

.side-device.right-device {
  animation-delay: 1s;
}

.cloud-layer {
  animation-delay: 1.4s;
}

.security-node {
  animation-delay: 1.8s;
}

.power-node {
  animation-delay: 2.2s;
}

.wifi-node {
  animation-delay: 2.6s;
}

.connection-layer .data-line {
  stroke: #47b3cc;
  stroke-width: 0.9;
  stroke-linecap: round;
  stroke-dasharray: 8 10;
  opacity: 0.52;
  animation: line-flow 10s linear infinite;
}

.connection-layer .data-line-2,
.connection-layer .data-line-4,
.connection-layer .data-line-6 {
  animation-delay: 1.3s;
}

.connection-layer .data-line-3,
.connection-layer .data-line-5 {
  animation-delay: 2.2s;
}

.rack-led,
.port-led,
.power-indicator,
.cloud-node,
.wifi-wave {
  transform-origin: center;
}

.rack-led { animation: led-pulse 2.4s ease-in-out infinite; }
.rack-led-2 { animation: led-pulse 2.8s ease-in-out 0.35s infinite; }
.rack-led-3 { animation: led-pulse 3.1s ease-in-out 0.7s infinite; }
.rack-led-4 { animation: led-pulse 2.6s ease-in-out 1.05s infinite; }

.port-led { animation: port-blink 1.8s ease-in-out infinite; }
.port-led-2 { animation: port-blink 2.1s ease-in-out 0.4s infinite; }
.port-led-3 { animation: port-blink 2.3s ease-in-out 0.75s infinite; }

.wifi-wave {
  transform-origin: 975px 150px;
  animation: wifi-expand 3s ease-out infinite;
}

.wifi-wave-2 {
  animation-delay: 0.6s;
}

.power-indicator { animation: power-pulse 2.2s ease-in-out infinite; }

.cloud-node { animation: cloud-float 3.4s ease-in-out infinite; }
.cloud-node-2 { animation: cloud-float 3.8s ease-in-out 0.6s infinite; }

.data-packet {
  opacity: 1;
}

@keyframes ecosystem-drift {
  0% { transform: translateX(18px) perspective(1300px) rotateX(8deg) rotateY(-10deg) translate3d(0, 0, 0); }
  50% { transform: translateX(18px) perspective(1300px) rotateX(7deg) rotateY(-7deg) translate3d(12px, -8px, 0); }
  100% { transform: translateX(18px) perspective(1300px) rotateX(9deg) rotateY(-12deg) translate3d(-8px, 8px, 0); }
}

@keyframes ecosystem-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
}

@keyframes line-flow {
  0% { stroke-dashoffset: 0; opacity: 0.25; }
  25% { opacity: 0.8; }
  100% { stroke-dashoffset: -140; opacity: 0.3; }
}

@keyframes led-pulse {
  0%, 100% { opacity: 0.28; filter: drop-shadow(0 0 0 rgba(71, 179, 204, 0)); }
  50% { opacity: 0.95; filter: drop-shadow(0 0 8px rgba(71, 179, 204, 0.7)); }
}

@keyframes port-blink {
  0%, 100% { opacity: 0.32; }
  50% { opacity: 0.9; }
}

@keyframes wifi-expand {
  0% { opacity: 0.28; transform: scale(0.95); }
  60% { opacity: 0.58; }
  100% { opacity: 0; transform: scale(1.55); }
}

@keyframes power-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

@keyframes cloud-float {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 0.9; }
}

#services {
  position: relative;
  padding: 96px 0 120px;
  background: var(--skydo-dark);
  overflow: hidden;
}

#services::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(71, 179, 204, 0.08), transparent 52%);
  pointer-events: none;
}

.services-techbg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.88;
}

.services-techbg svg {
  width: 100%;
  height: 100%;
  display: block;
}

.circuit-line {
  fill: none;
  stroke: rgba(71, 179, 204, 0.5);
  stroke-width: 1.25;
  stroke-dasharray: 10 12;
  animation: circuit-flow 9s linear infinite;
}

.circuit-a { animation-duration: 8.5s; }
.circuit-b { animation-duration: 10s; }
.circuit-c { animation-duration: 9.5s; }
.circuit-d { animation-duration: 7.5s; }
.circuit-e { animation-duration: 9.8s; }
.circuit-f { animation-duration: 8.2s; }
.circuit-g { animation-duration: 10.4s; }

.circuit-node {
  opacity: 0.8;
  animation: circuit-node-pulse 3.5s ease-in-out infinite;
}

#services .services-shell {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 24px 0;
}

.services-header {
  text-align: center;
  margin-bottom: 28px;
}

.services-kicker {
  margin: 0 0 12px;
  color: var(--skydo-cyan);
  font: 700 0.72rem/1.3 ui-monospace, monospace;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(14px);
  animation: service-header-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.services-title {
  position: relative;
  margin: 0;
  color: var(--skydo-white);
  font-size: clamp(2.2rem, 3vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.06em;
  font-weight: 800;
  opacity: 0;
  transform: translateY(14px);
  animation: service-header-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.08s forwards;
}

.services-divider {
  display: block;
  width: 170px;
  height: 2px;
  margin: 18px auto 0;
  background: linear-gradient(90deg, transparent, rgba(71,179,204,0.95), transparent);
  box-shadow: 0 0 18px rgba(71, 179, 204, 0.3);
  opacity: 0;
  transform: scaleX(0.22);
  animation: services-divider-reveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.18s forwards;
}

.services-tagline {
  margin: 14px 0 0;
  color: rgba(253, 253, 252, 0.74);
  font: 700 0.72rem/1.4 ui-monospace, monospace;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(14px);
  animation: service-header-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.14s forwards;
}

.skydo-service-sequence {
  position: relative;
  z-index: 2;
  width: min(100%, 980px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.service-card {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 18px;
  width: min(920px, calc(100% - 48px));
  min-height: 88px;
  height: auto;
  padding: 14px 22px;
  margin-inline: auto;
  background: rgba(9, 21, 30, 0.88);
  border: 1px solid rgba(71, 179, 204, 0.44);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 8px 18px rgba(4, 10, 15, 0.22);
  opacity: 0;
  transform: translateY(18px);
  animation: service-card-in 0.58s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
  overflow: hidden;
}

.service-card:nth-child(1) { animation-delay: 0.08s; }
.service-card:nth-child(2) { animation-delay: 0.16s; }
.service-card:nth-child(3) { animation-delay: 0.24s; }
.service-card:nth-child(4) { animation-delay: 0.32s; }
.service-card:nth-child(5) { animation-delay: 0.40s; }
.service-card:nth-child(6) { animation-delay: 0.48s; }
.service-card:nth-child(7) { animation-delay: 0.56s; }
.service-card:nth-child(8) { animation-delay: 0.64s; }

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(71, 179, 204, 0.08) 46%, transparent 100%);
  transform: translateX(-120%);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover::before,
.service-card.is-active::before {
  transform: translateX(120%);
}

.service-card:hover,
.service-card.is-active {
  border-color: rgba(71, 179, 204, 0.8);
  background: rgba(13, 28, 38, 0.96);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 0 0 1px rgba(71,179,204,0.2), 0 0 18px rgba(71,179,204,0.16), 0 0 42px rgba(71,179,204,0.08);
  transform: translateY(-3px);
}

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

.service-icon-badge {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(13, 31, 42, 0.5);
  border: 1px solid rgba(71, 179, 204, 0.62);
  box-shadow: inset 0 0 16px rgba(71, 179, 204, 0.08), 0 0 20px rgba(71, 179, 204, 0.06);
  clip-path: polygon(24% 8%, 76% 8%, 100% 50%, 76% 92%, 24% 92%, 0 50%);
  color: var(--skydo-cyan);
  transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.service-card:hover .service-icon-badge,
.service-card.is-active .service-icon-badge {
  border-color: rgba(71, 179, 204, 0.92);
  box-shadow: inset 0 0 18px rgba(71, 179, 204, 0.12), 0 0 22px rgba(71, 179, 204, 0.22);
  transform: scale(1.03);
}

.service-icon-badge svg {
  width: 26px;
  height: 26px;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-copy {
  min-width: 0;
  width: auto;
}

.service-card h3 {
  margin: 0 0 3px;
  color: var(--skydo-white);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.04em;
  font-weight: 700;
  text-align: left;
  width: auto;
  max-width: none;
}

.service-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.84rem;
  line-height: 1.5;
  text-align: left;
  width: auto;
  max-width: none;
}

.service-action {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(71, 179, 204, 0.7);
  background: rgba(8, 17, 24, 0.3);
  color: rgba(71, 179, 204, 0.96);
  display: grid;
  place-items: center;
  justify-self: end;
  align-self: center;
  font-size: 1.35rem;
  line-height: 1;
  padding: 0;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, color 0.24s ease, background 0.24s ease;
}

.service-card:hover .service-action,
.service-card.is-active .service-action {
  transform: translateX(2px);
  border-color: rgba(71, 179, 204, 0.96);
  box-shadow: 0 0 14px rgba(71, 179, 204, 0.24);
  background: rgba(71, 179, 204, 0.06);
  color: var(--skydo-white);
}

@keyframes service-header-in {
  0% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes services-divider-reveal {
  0% { opacity: 0; transform: scaleX(0.2); }
  100% { opacity: 1; transform: scaleX(1); }
}

@keyframes service-card-in {
  0% { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes circuit-flow {
  0% { stroke-dashoffset: 0; opacity: 0.22; }
  50% { opacity: 0.7; }
  100% { stroke-dashoffset: -120; opacity: 0.25; }
}

@keyframes circuit-node-pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

.partner-card {
  min-height: 130px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.partner-card:hover {
  border-color: rgba(71, 179, 204, 0.7);
  transform: translateY(-4px);
}

#partners {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--skydo-dark) !important;
}

#partners::before,
#partners::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#partners::before {
  z-index: -2;
  opacity: 0.52;
  background:
    radial-gradient(circle at 12% 26%, rgba(71, 179, 204, 0.12), transparent 24%),
    radial-gradient(circle at 88% 72%, rgba(71, 179, 204, 0.08), transparent 27%),
    linear-gradient(rgba(71, 179, 204, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(71, 179, 204, 0.045) 1px, transparent 1px);
  background-size: auto, auto, 96px 96px, 96px 96px;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

#partners::after {
  z-index: -1;
  opacity: 0.3;
  background:
    radial-gradient(circle at 18% 34%, rgba(71, 179, 204, 0.8) 0 1px, transparent 2px),
    radial-gradient(circle at 74% 68%, rgba(71, 179, 204, 0.65) 0 1px, transparent 2px),
    repeating-linear-gradient(115deg, transparent 0 88px, rgba(71, 179, 204, 0.24) 89px 90px, transparent 91px 166px);
  background-size: 280px 220px, 360px 260px, 100% 100%;
  animation: partner-tech-flow 18s linear infinite;
  mask-image: linear-gradient(180deg, transparent 2%, #000 24%, #000 78%, transparent 98%);
}

#partners > div {
  position: relative;
  z-index: 1;
}

@keyframes partner-tech-flow {
  0% { background-position: 0 0, 0 0, 0 0; }
  100% { background-position: 280px 90px, -220px -70px, 120px 0; }
}

@media (max-width: 768px) {
  #partners::before {
    opacity: 0.34;
    background-size: auto, auto, 128px 128px, 128px 128px;
  }

  #partners::after {
    opacity: 0.18;
    background-size: 360px 280px, 460px 320px, 100% 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  #partners::after {
    animation: none;
  }
}

.partner-logo {
  max-width: 170px;
  max-height: 85px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

footer {
  padding-top: 110px !important;
  border-top: 1px solid var(--skydo-line) !important;
}

footer h4 {
  font: 12px ui-monospace, monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

footer p,
footer li,
footer a {
  color: var(--skydo-muted);
}

@media (max-width: 768px) {
  #home {
    min-height: calc(100svh - var(--header-height)) !important;
    margin-top: var(--header-height) !important;
  }

  #home > div {
    min-height: calc(100svh - var(--header-height));
    padding-top: 52px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    padding-right: 0;
  }

  .hero-copy h1 {
    font-size: clamp(2.6rem, 14vw, 4.4rem) !important;
  }

  .hero-visual {
    width: 100%;
    justify-content: center;
  }

  .hero-infrastructure {
    min-height: 300px;
    max-width: 500px;
    width: clamp(320px, 44vw, 500px);
    min-width: 0;
    margin-left: 0;
    transform: translateX(10px) perspective(1100px) rotateX(8deg) rotateY(-5deg) scale(0.9);
    opacity: 0.96;
  }

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

@media (max-width: 560px) {
  .skydo-service-sequence {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 767px) {
  header > div {
    flex-wrap: nowrap !important;
    gap: 8px !important;
    padding-inline: 14px !important;
    padding-top: max(10px, env(safe-area-inset-top)) !important;
    padding-bottom: 10px !important;
  }

  header > div > div:first-child {
    min-width: 0;
    gap: 6px !important;
  }

  header .site-logo {
    height: 40px;
    max-width: 142px;
  }

  header .language-switcher {
    gap: 2px !important;
    flex-shrink: 0;
  }

  header .language-switcher button {
    min-width: 40px;
    min-height: 40px;
    padding: 8px 7px !important;
  }

  header > div > a:last-child {
    flex-shrink: 0;
    min-height: 44px;
    padding-inline: 10px !important;
    font-size: 0.75rem;
    white-space: nowrap;
  }

  #home {
    height: auto !important;
    min-height: 0 !important;
    margin-top: 0 !important;
    padding: 68px 0 0 !important;
  }

  #home > div {
    min-height: 0 !important;
    width: 100%;
    padding: 30px 18px 26px !important;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .hero-copy {
    width: 100%;
    padding: 0;
  }

  .hero-copy h1 {
    margin-bottom: 16px;
    font-size: clamp(42px, 12vw, 58px) !important;
    line-height: 0.96 !important;
    letter-spacing: -0.05em;
  }

  .hero-copy p {
    margin: 0 0 22px;
    font-size: 13px;
    line-height: 1.45;
  }

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

  .hero-copy > div a {
    min-height: 46px;
    padding-inline: 10px !important;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .hero-visual {
    width: 100%;
    min-height: 0;
    padding: 0;
    justify-content: center;
    overflow: visible;
  }

  .hero-infrastructure {
    width: min(380px, calc(100% + 18px));
    min-width: 0;
    min-height: 0;
    height: clamp(220px, 64vw, 280px);
    margin-inline: -9px;
    transform: perspective(1100px) rotateX(7deg) rotateY(-4deg);
  }

  #services {
    padding: 58px 0 68px;
  }

  #services .services-shell {
    width: 100%;
    padding: 0 18px;
  }

  .services-header {
    margin-bottom: 24px;
  }

  .services-title {
    font-size: clamp(2rem, 8vw, 2.6rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
  }

  .services-tagline {
    font-size: 0.64rem;
    letter-spacing: 0.14em;
  }

  .skydo-service-sequence {
    width: 100%;
    gap: 10px;
  }

  .service-card {
    width: 100%;
    grid-template-columns: 48px minmax(0, 1fr) 36px;
    gap: 12px;
    min-height: 0;
    padding: 14px;
  }

  .service-icon-badge {
    width: 46px;
    height: 46px;
  }

  .service-icon-badge svg {
    width: 23px;
    height: 23px;
  }

  .service-card h3 {
    font-size: clamp(1.06rem, 4.7vw, 1.18rem);
    line-height: 1.2;
    letter-spacing: -0.025em;
  }

  .service-card p {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .service-action {
    width: 36px;
    height: 36px;
  }

  #partners > div {
    padding-inline: 18px !important;
  }

  .partner-logo {
    max-width: 132px;
    max-height: 48px;
  }

  .skydo-contact-widget {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
  }

  .skydo-contact-toggle {
    min-height: 44px;
    padding-inline: 12px;
    font-size: 0.82rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  #home > div {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .hero-infrastructure {
    width: 100%;
    min-width: 0;
  }
}
