/* Homepage presentation polish — desktop and mobile */
.technology-section,
.why-section,
.areas-section {
  position: relative;
  overflow: hidden;
}

.technology-section .technology-grid,
.why-section .why-grid,
.areas-section .areas-grid {
  width: min(1320px, calc(100% - 56px));
  margin-inline: auto;
}

.technology-section {
  padding-block: 76px;
}

.technology-section .technology-grid {
  grid-template-columns: minmax(360px, .88fr) minmax(420px, 1.12fr);
  gap: clamp(48px, 6vw, 88px);
}

.technology-section .technology-visual {
  min-width: 0;
  display: grid;
  place-items: center;
}

.technology-section .technology-visual::before {
  inset: 14px -14px -14px 14px;
}

.technology-section .technology-visual img,
.technology-section .technology-visual img[src*="facade-cleaning-system"] {
  width: 100%;
  height: clamp(430px, 43vw, 560px);
  min-height: 0;
  padding: 0;
  object-fit: contain;
  object-position: center;
  background: linear-gradient(145deg, rgba(255,255,255,.04), rgba(32,183,185,.06));
  border-radius: 24px;
}

.technology-section .tech-badge {
  top: auto !important;
  left: 12px;
  bottom: 18px !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}

.home-gallery-video {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 620px;
  border-radius: 26px;
  background: #071b2b;
}

.home-gallery-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-gallery-video .media-badge {
  top: 16px;
  bottom: auto;
  pointer-events: none;
}

.why-section {
  padding-block: 76px;
}

.why-section .why-grid {
  grid-template-columns: minmax(400px, 1.04fr) minmax(360px, .96fr);
  gap: clamp(48px, 6vw, 84px);
}

.why-section .why-visual {
  display: grid;
  place-items: center;
}

.why-section .why-visual img {
  width: 100%;
  height: clamp(420px, 42vw, 540px);
  min-height: 0;
  object-fit: cover;
  object-position: center;
  background: rgba(255,255,255,.025);
  border-radius: 24px;
}

.why-section .why-list > div {
  min-height: 285px;
  padding: 158px 20px 20px 35px;
  overflow: hidden;
}

.why-section .why-list > div::before {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  left: 12px;
  height: 128px;
  background-position: center;
  background-size: cover;
  border-radius: 14px;
  box-shadow: inset 0 -24px 28px rgba(3, 25, 43, .18);
  transition: transform .3s ease, filter .3s ease;
}

.why-section .why-list > div:nth-child(1)::before { background-image: url('/assets/images/why/trained-team.webp'); }
.why-section .why-list > div:nth-child(2)::before { background-image: url('/assets/images/why/equipment-delivery.webp'); }
.why-section .why-list > div:nth-child(3)::before { background-image: url('/assets/images/why/flexible-deployment.webp'); }
.why-section .why-list > div:nth-child(4)::before { background-image: url('/assets/images/why/responsible-process.webp'); }

.why-section .why-list > div:hover::before {
  transform: scale(1.025);
  filter: saturate(1.06);
}

.why-section .floating-note {
  right: 14px;
  bottom: 14px;
}

.areas-section {
  padding-block: 84px;
  background:
    radial-gradient(circle at 52% 20%, rgba(32,183,185,.16), transparent 28%),
    linear-gradient(135deg, #06264e, #0a5362);
}

.areas-section .areas-grid {
  grid-template-columns: minmax(280px, .82fr) minmax(400px, 1.12fr) minmax(340px, .9fr);
  gap: clamp(28px, 3.2vw, 48px);
  align-items: center;
}

.areas-section .areas-copy h2 {
  margin: 18px 0 20px;
  font-size: clamp(44px, 4.6vw, 68px);
  line-height: .98;
}

.areas-section .areas-copy h2 span,
.areas-section .areas-copy h2 em {
  display: block;
}

.areas-section .areas-copy h2 em {
  margin-top: 8px;
}

.areas-section .areas-copy > p {
  max-width: 500px;
  font-size: 15px;
  line-height: 1.75;
}

.coverage-map {
  padding: 12px;
  background: rgba(3,25,51,.66);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(0,0,0,.22);
}

.coverage-map-canvas {
  height: 390px;
  border-radius: 16px;
}

.coverage-map-primary {
  margin-top: 10px;
}

.coverage-map-locations {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.coverage-map-locations button:first-child {
  grid-column: auto;
}

.coverage-map-locations button:last-child {
  grid-column: 1 / -1;
}

.area-checker {
  padding: 30px;
  border-radius: 22px;
}

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

.areas-section .area-checker .input-row {
  width: 100%;
}

.areas-section .area-checker .form-result {
  min-height: 38px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  line-height: 1.5;
}

.areas-section .area-checker .form-result:empty {
  display: none;
}

.areas-section .area-checker .form-result.success {
  color: #baf35a;
}

.areas-section .area-checker .form-result.warning {
  color: #ffd782;
}

.areas-section .area-checker .form-result.error {
  color: #ffaaa2;
}

.area-request-link {
  display: inline-flex;
  align-items: center;
  margin-top: .65rem;
  padding: .65rem .9rem;
  border-radius: 999px;
  background: #9cdb22;
  color: #0d2432;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.area-request-link:hover,
.area-request-link:focus-visible {
  background: #fff;
  color: #0d2432;
}

@media (max-width: 1100px) {
  .technology-section .technology-grid,
  .why-section .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .areas-section .areas-grid {
    grid-template-columns: minmax(300px, .85fr) minmax(390px, 1.15fr);
  }

  .areas-section .area-checker {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(220px, .65fr) minmax(360px, 1.35fr);
    column-gap: 28px;
    align-items: center;
  }

  .areas-section .area-checker > p,
  .areas-section .area-checker .form-result {
    grid-column: 1;
  }

  .areas-section .area-checker .input-row {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 820px) {
  .technology-section,
  .why-section,
  .areas-section {
    padding-block: 64px;
  }

  .technology-section .technology-grid,
  .why-section .why-grid,
  .areas-section .areas-grid {
    width: min(100% - 38px, 720px);
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .technology-section .technology-visual img,
  .technology-section .technology-visual img[src*="facade-cleaning-system"],
  .why-section .why-visual img {
    height: 460px;
  }

  .technology-section .technology-visual {
    width: min(100%, 460px);
    margin-inline: auto;
  }

  .technology-section .tech-badge {
    top: auto !important;
    left: 12px;
    bottom: 14px !important;
    width: 132px;
    height: auto !important;
    min-height: 0 !important;
    padding: 14px;
  }

  .areas-section .area-checker {
    grid-column: auto;
    display: block;
  }
}

@media (max-width: 560px) {
  .technology-section,
  .why-section,
  .areas-section {
    padding-block: 48px;
  }

  .technology-section .technology-grid,
  .why-section .why-grid,
  .areas-section .areas-grid {
    width: min(100% - 28px, 520px);
    gap: 28px;
  }

  .technology-section .technology-visual img,
  .technology-section .technology-visual img[src*="facade-cleaning-system"],
  .why-section .why-visual img {
    width: 100%;
    height: 390px;
    object-fit: contain;
    border-radius: 18px;
  }

  .technology-section .tech-badge {
    top: auto !important;
    left: 8px;
    bottom: 10px !important;
    width: 126px;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 14px;
  }

  .home-gallery-video {
    width: 100%;
    aspect-ratio: 4 / 5;
    max-height: 440px;
    border-radius: 20px;
  }

  .home-gallery-video .media-badge {
    top: 12px;
    left: 12px;
    width: auto;
    max-width: calc(100% - 24px);
    padding: 11px 14px;
  }

  .home-gallery-video .media-badge span {
    font-size: 8px;
  }

  .home-gallery-video .media-badge strong {
    font-size: 14px;
  }

  .why-section .floating-note {
    right: 8px;
    bottom: 8px;
    width: min(205px, calc(100% - 16px));
  }

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

  .why-section .why-list > div {
    min-height: 265px;
    padding: 150px 18px 20px 35px;
    border-right: 0;
  }

  .why-section .why-list > div::before {
    height: 122px;
  }

  .areas-section .areas-copy h2 {
    font-size: clamp(38px, 12vw, 50px);
  }

  .areas-section .areas-copy > p {
    font-size: 14px;
  }

  .coverage-map {
    padding: 9px;
    border-radius: 20px;
  }

  .coverage-map-canvas {
    height: 350px;
    border-radius: 14px;
  }

  .coverage-map-locations {
    grid-template-columns: 1fr 1fr;
  }

  .coverage-map-locations button:first-child,
  .coverage-map-locations button:last-child {
    grid-column: 1 / -1;
  }

  .area-checker {
    padding: 22px 18px 20px;
  }

  .areas-section .area-checker h3 {
    margin-bottom: 8px;
  }

  .areas-section .area-checker p {
    margin-bottom: 14px;
  }

  .areas-section .area-checker .input-row {
    gap: 8px;
  }

  .areas-section .area-checker .input-row input,
  .areas-section .area-checker .input-row button {
    min-height: 48px;
  }

  .areas-section .area-checker .form-result:not(:empty) {
    margin-top: 12px;
    min-height: 0;
  }
}

@media (max-width: 380px) {
  .technology-section .technology-visual img,
  .technology-section .technology-visual img[src*="facade-cleaning-system"],
  .why-section .why-visual img {
    height: 340px;
  }

  .coverage-map-canvas {
    height: 320px;
  }
}
