:root {
  --blue: #1a7bd4;
  --blue-dark: #1558b0;
  --ink: #10243e;
  --muted: #5d6b7a;
  --line: #dce6ef;
  --paper: #ffffff;
  --wash: #eef6fb;
  --navy: #10243e;
  --yellow: #ffd84d;
  --yellow-ink: #1b1f24;
  --radius: 28px;
  --header-h: 68px;
  --max: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Manrope, "Segoe UI", sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  overflow-x: clip;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
.logo-word {
  font-family: Poppins, Manrope, sans-serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 16px;
  top: 12px;
  z-index: 80;
  background: #fff;
  padding: 8px 12px;
}

.topbar {
  background: var(--navy);
  color: #d5dde4;
  font-size: 0.82rem;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 40px;
  gap: 16px;
}

.topbar-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px 20px;
}

.topbar-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.topbar-links svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.topbar a:hover {
  color: #fff;
}

.topbar-mobile {
  display: none;
}

.topbar-mobile-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
}

.topbar-mobile-phone svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.topbar-mobile-reg {
  color: rgba(255, 255, 255, 0.88);
}

.topbar-mobile-reg::before {
  content: "·";
  margin-right: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  position: relative;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  position: relative;
}

.header-inner > div:last-child {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: block;
}

.logo-type {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-type strong,
.logo-type b {
  font-family: Poppins, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}

.logo-type em {
  margin-top: 2px;
  font-family: Poppins, sans-serif;
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a8ad8;
}

.site-logo {
  height: 44px;
  width: auto;
  display: block;
}

.logo-word {
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.logo-word span {
  color: var(--blue);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav a {
  font-family: Poppins, sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 11px 22px;
  font-family: Poppins, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(16, 36, 62, 0.16);
}

.btn-yellow {
  background: linear-gradient(90deg, #ffe14a 0%, #f0b400 100%);
  color: #111;
}

.btn-yellow:hover {
  filter: brightness(0.97);
}

.btn-blue {
  background: linear-gradient(90deg, #4db8e8 0%, #1a56c4 100%);
  color: #fff;
}

.btn-blue:hover {
  filter: brightness(1.03);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 360px;
  height: auto;
  display: grid;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero-media,
.page-hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img,
.hero-media video,
.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media .hero-slide--pool {
  object-position: center 88%;
}

.hero-media .hero-slide--pool-mid {
  object-position: center 62%;
}

.page-hero-media img {
  object-position: center 75%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-shards {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: none;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 3px;
  pointer-events: none;
}

.hero-shards.is-on {
  display: grid;
}

.hero-shards span {
  display: block;
  background-repeat: no-repeat;
  transform-origin: center;
  backface-visibility: hidden;
}

.hero-shards span.is-spinning {
  animation: shard-spin 0.85s ease forwards;
}

@keyframes shard-spin {
  0% {
    transform: rotateY(0deg) rotateZ(0deg) scale(1);
    opacity: 1;
  }
  100% {
    transform: rotateY(180deg) rotateZ(140deg) scale(0);
    opacity: 0;
  }
}

.hero-media::after,
.page-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(90deg, rgba(12, 21, 32, 0.78) 0%, rgba(12, 21, 32, 0.35) 70%);
}

.hero-copy,
.page-hero-copy {
  position: relative;
  z-index: 6;
  padding: 24px 0 28px;
  text-align: left;
  justify-self: stretch;
}

.kicker {
  margin: 0 0 10px;
  color: var(--blue);
  font-family: Poppins, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .kicker,
.page-hero .kicker {
  color: var(--yellow);
}

.hero h1,
.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  font-weight: 500;
}

.hero p,
.page-hero p {
  margin: 0 0 20px;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.page-hero {
  position: relative;
  height: 260px;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

section {
  padding: 48px 0;
}

section#contact {
  padding-top: 24px;
  padding-bottom: 40px;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 800;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.section-hint {
  display: none;
  font-size: 0.92rem;
}

.desktop-only {
  display: block;
}

.wash {
  background: var(--wash);
}

.navy {
  background: var(--navy);
  color: #fff;
}

.navy .section-head p,
.navy .kicker {
  color: rgba(255, 255, 255, 0.7);
}

.navy .kicker {
  color: var(--yellow);
}

.service-grid,
.project-grid,
.trust-grid,
.split,
.faq-grid,
.process-grid {
  display: grid;
  gap: 22px;
  align-items: stretch;
}

.service-grid,
.project-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-card,
.trust-card,
.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-card,
.project-card {
  box-shadow: 0 8px 24px rgba(16, 36, 62, 0.06);
}

.service-card > img,
.project-card > img {
  width: 100%;
  border-radius: var(--radius) var(--radius) 0 0;
}

.service-card > img,
.project-card > img {
  height: 200px;
  object-fit: cover;
  flex-shrink: 0;
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 26px;
  text-align: left;
}

.badge {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 5px 14px;
  border-radius: 999px;
  background: #e7f3fc;
  color: #1a7bd4;
  font-family: Poppins, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
}

.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(180deg, #4db8e8, #1a56c4);
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.card-body h3,
.trust-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
}

.card-body p,
.trust-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.card-body p {
  flex: 1;
}

.card-body .btn {
  margin-top: 18px;
  align-self: flex-start;
  padding: 10px 20px;
  font-size: 0.85rem;
}

.trust-grid {
  grid-template-columns: repeat(4, 1fr);
}

.trust-card {
  padding: 28px 24px;
}

.trust-card h3 {
  min-height: auto;
}

.trust-card p {
  flex: 1;
}

.split {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  gap: 36px;
}

.split-compact {
  align-items: stretch;
}

.split-compact .media-col {
  aspect-ratio: 4 / 5;
  max-height: none;
  min-height: 0;
}

.split-short {
  align-items: center;
}

.split-short .media-col {
  aspect-ratio: 3 / 2;
  height: auto;
  min-height: 0;
}

.split-short .prose h2 {
  margin-top: 0;
  margin-bottom: 12px;
}

.split-short .prose .checklist {
  margin-top: 0;
  margin-bottom: 12px;
}

.split-short .prose p {
  margin: 0;
}

.split-copy {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.split-copy h2 {
  margin-bottom: 14px;
}

.split-copy p {
  margin-bottom: 12px;
}

.split-copy-cta {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 14px;
}

.checklist-compact {
  margin-top: 12px;
}

.checklist-compact li {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.media-col {
  height: 100%;
  min-height: 100%;
  align-self: stretch;
  border-radius: var(--radius);
  overflow: hidden;
}

.media-col img,
.media-col video {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  display: block;
}

.split > video,
.split > img {
  width: 100%;
  border-radius: var(--radius);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}

.checklist li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--blue);
}

.process-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: calc(var(--radius) - 4px);
}

.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 216, 77, 0.14);
  color: var(--yellow);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.step-icon svg {
  width: 24px;
  height: 24px;
}

.step h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #fff;
}

.step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.6;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.project-grid + .gallery {
  margin-top: 22px;
}

.gallery a {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery a:hover img {
  transform: scale(1.04);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.section-foot {
  margin-top: 18px;
  text-align: center;
}

.section-foot a {
  color: var(--blue);
  font-weight: 600;
}

.chip {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.9rem;
}

a.chip:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.faq-grid {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.faq-grid summary {
  list-style: none;
}

.faq-grid summary::-webkit-details-marker {
  display: none;
}

details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px 20px;
}

details summary {
  position: relative;
  font-family: Poppins, sans-serif;
  font-weight: 600;
  cursor: pointer;
  padding-right: 28px;
  line-height: 1.45;
  color: var(--navy);
}

details summary::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -6px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

details[open] summary::after {
  transform: rotate(-135deg);
  margin-top: -2px;
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.cta-band {
  background:
    linear-gradient(90deg, rgba(16, 36, 62, 0.88), rgba(26, 123, 212, 0.55)),
    url("../img/contact-banner.jpg") center 80% / cover;
  color: #fff;
  padding: 40px;
  border-radius: var(--radius);
}

.cta-band h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
}

.cta-band p {
  margin: 0 0 20px;
  max-width: 48ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.phone-xl {
  display: block;
  margin-bottom: 18px;
  font-family: Poppins, sans-serif;
  font-size: 2rem;
  font-weight: 800;
}

.prose {
  max-width: 74ch;
}

.prose h2,
.prose h3 {
  margin-top: 1.6em;
}

.prose p,
.prose li {
  color: var(--muted);
}

.service-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: stretch;
  margin-bottom: 48px;
}

.service-detail:last-child {
  margin-bottom: 0;
}

.service-detail:nth-child(even) {
  grid-template-columns: 1.1fr 0.9fr;
}

.service-detail:nth-child(even) .media-col {
  order: 2;
}

.service-detail .prose h2 {
  margin-top: 0;
  margin-bottom: 12px;
}

.service-detail .prose p {
  margin-bottom: 12px;
}

.service-detail .prose p:last-of-type {
  margin-bottom: 0;
}

.service-detail .prose .checklist {
  margin-top: 16px;
}

.site-footer {
  background: var(--navy);
  color: #c5ced6;
  padding: 56px 0 0;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 1.2fr;
  gap: 36px 28px;
  padding-bottom: 40px;
}

.footer-brand .logo-word {
  color: #fff;
  display: inline-block;
  margin-bottom: 12px;
}

.footer-brand .site-logo {
  height: 36px;
  margin-bottom: 14px;
}

.footer-brand .logo {
  margin-bottom: 14px;
}

.footer-brand .logo-type strong,
.footer-brand .logo-type b {
  color: #fff;
}

.footer-brand .logo-type em {
  color: #5ec8f0;
}

.footer-brand p {
  margin: 0;
  max-width: 32ch;
  line-height: 1.65;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.site-footer a {
  color: #c5ced6;
}

.site-footer a:hover {
  color: #fff;
}

.footer-contact li {
  margin-bottom: 12px;
}

.footer-contact a,
.footer-contact span.footer-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-ico {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(77, 184, 232, 0.16);
  color: #4db8e8;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}

.footer-ico svg {
  width: 14px;
  height: 14px;
}

.footer-ico.whatsapp {
  background: rgba(37, 211, 102, 0.16);
  color: #25d366;
}

.footer-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  place-items: center;
  background: rgba(0, 0, 0, 0.88);
  padding: 24px;
}

.lightbox.open {
  display: grid;
}

.lightbox img {
  max-height: 86vh;
  max-width: 92vw;
}

@media (max-width: 960px) {
  :root {
    --radius: 14px;
  }

  body {
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .wrap {
    width: min(var(--max), calc(100% - 28px));
  }

  .desktop-only {
    display: none !important;
  }

  .project-grid + .gallery {
    margin-top: 0;
  }

  /* App-style compact cards */
  .service-grid,
  .project-grid,
  .trust-grid,
  .faq-grid,
  .process-grid {
    gap: 10px;
  }

  .service-card,
  .project-card {
    flex-direction: row;
    align-items: center;
    min-height: 0;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(16, 36, 62, 0.06);
  }

  .service-card > img,
  .project-card > img {
    width: 88px;
    height: 88px;
    min-width: 88px;
    max-height: 88px;
    align-self: center;
    flex-shrink: 0;
    border-radius: 14px 0 0 14px;
    object-fit: cover;
  }

  .card-body {
    padding: 10px 12px 11px;
    justify-content: center;
  }

  .card-body h3 {
    margin: 0 0 3px;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.25;
  }

  .card-body p {
    font-size: 0.78rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .card-body .btn {
    margin-top: 8px;
    padding: 6px 12px;
    font-size: 0.74rem;
    box-shadow: none;
  }

  .badge {
    margin-bottom: 4px;
    padding: 2px 8px;
    font-size: 0.62rem;
  }

  .trust-card {
    padding: 12px 14px;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(16, 36, 62, 0.05);
  }

  .trust-card h3 {
    margin: 0 0 4px;
    font-size: 0.86rem;
    line-height: 1.25;
  }

  .trust-card p {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .step {
    padding: 14px;
    gap: 10px;
    border-radius: 14px;
  }

  .step-icon {
    width: 40px;
    height: 40px;
  }

  .step-icon svg {
    width: 18px;
    height: 18px;
  }

  .step h3 {
    font-size: 0.92rem;
  }

  .step p {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .faq-grid {
    gap: 8px;
  }

  details {
    padding: 12px 14px;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(16, 36, 62, 0.04);
  }

  details summary {
    font-size: 0.86rem;
    line-height: 1.35;
    padding-right: 24px;
  }

  details p {
    font-size: 0.82rem;
    margin-top: 8px;
    line-height: 1.5;
  }

  .section-head {
    margin-bottom: 22px;
    text-align: left;
  }

  .section-head h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
  }

  .section-head p {
    font-size: 0.84rem;
    line-height: 1.5;
  }

  .section-hint {
    display: block;
    margin-top: 4px;
    font-size: 0.8rem;
  }

  .navy .section-head {
    text-align: center;
  }

  .nav,
  .topbar-place {
    display: none;
  }

  .topbar-inner {
    justify-content: center;
    min-height: 36px;
  }

  .topbar-mobile {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 8px 12px;
    flex-wrap: wrap;
  }

  .topbar-links {
    display: none;
  }

  .header-inner > div:last-child {
    margin-left: auto;
  }

  .site-header .btn-yellow [data-phone-display] {
    display: none;
  }

  .site-header .btn-yellow {
    padding: 11px 12px;
    min-width: 44px;
    min-height: 44px;
  }

  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 50;
    background: #fff;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
    align-items: stretch;
    gap: 0;
    box-shadow: 0 8px 20px rgba(16, 36, 62, 0.1);
  }

  .nav.open a {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 12px 20px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }

  .nav.open a:last-child {
    border-bottom: 0;
  }

  .nav.open a[aria-current="page"] {
    color: var(--blue);
    background: var(--wash);
  }

  .nav-toggle {
    display: grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    flex-shrink: 0;
  }

  .service-grid,
  .project-grid,
  .trust-grid,
  .split,
  .faq-grid,
  .process-grid,
  .gallery,
  .service-detail,
  .service-detail:nth-child(even),
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .service-detail:nth-child(even) .media-col {
    order: 0;
  }

  .cta-band {
    padding: 22px 16px;
    border-radius: 14px;
  }

  .cta-band h2 {
    font-size: 1.15rem;
    font-weight: 700;
  }

  .cta-band p {
    font-size: 0.84rem;
    margin-bottom: 14px;
  }

  .btn {
    padding: 11px 16px;
    font-size: 0.86rem;
    box-shadow: 0 2px 8px rgba(16, 36, 62, 0.1);
  }

  .phone-xl {
    font-size: 1.35rem;
    margin-bottom: 12px;
    word-break: break-word;
  }

  .cta-actions {
    flex-direction: column;
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .footer-contact a,
  .footer-contact span.footer-line {
    word-break: break-word;
  }

  section {
    padding: 28px 0;
  }

  .hero,
  .page-hero {
    padding: 0;
  }

  section#contact {
    padding-top: 12px;
    padding-bottom: 24px;
  }

  .service-detail .media-col,
  .split-compact .media-col,
  .split-short .media-col,
  .media-col {
    aspect-ratio: 3 / 2;
    height: auto;
    min-height: 0;
    max-height: none;
    align-self: start;
  }

  .media-col img,
  .media-col video {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 2;
    object-fit: cover;
  }

  .hero {
    width: 100%;
    min-height: 0;
    height: min(480px, 72vh);
    max-height: none;
    aspect-ratio: unset;
    align-items: end;
  }

  .hero-media .hero-slide {
    width: 100%;
    min-width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
  }

  .hero-media::after,
  .page-hero-media::after {
    background: linear-gradient(
      180deg,
      rgba(12, 21, 32, 0.15) 0%,
      rgba(12, 21, 32, 0.75) 55%,
      rgba(12, 21, 32, 0.92) 100%
    );
  }

  .page-hero {
    width: 100%;
    height: 220px;
    min-height: 220px;
    max-height: none;
    aspect-ratio: unset;
  }

  .page-hero-media img {
    width: 100%;
    min-width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
  }

  .hero-copy {
    padding: 18px 0 22px;
  }

  .hero .kicker {
    font-size: 0.68rem;
    margin-bottom: 8px;
  }

  .hero h1 {
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 8px;
  }

  .hero p {
    max-width: none;
    font-size: 0.86rem;
    line-height: 1.5;
    margin-bottom: 14px;
  }

  .page-hero-copy {
    padding: 22px 0 26px;
  }

  .page-hero h1 {
    font-size: 1.2rem;
    font-weight: 600;
  }

  .page-hero p {
    font-size: 0.84rem;
  }

  .service-detail {
    gap: 16px;
    margin-bottom: 28px;
  }

  .service-detail .prose h2 {
    font-size: 1.05rem;
    margin-bottom: 8px;
  }

  .service-detail .prose p,
  .service-detail .prose li {
    font-size: 0.84rem;
    line-height: 1.5;
  }

  .service-detail .prose .checklist {
    margin-top: 10px;
  }

  .checklist li {
    margin-bottom: 5px;
    font-size: 0.84rem;
  }

  .split-short .prose h2,
  .split-copy h2 {
    font-size: 1.05rem;
  }

  .chip {
    font-size: 0.78rem;
    padding: 6px 11px;
  }

  .site-footer {
    padding-top: 36px;
    font-size: 0.88rem;
  }

  .footer-grid {
    gap: 22px;
  }

  .site-footer h3 {
    font-size: 0.88rem;
    margin-bottom: 10px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 14px;
    row-gap: 8px;
    font-size: 0.84rem;
  }

  .footer-links li {
    margin-bottom: 0;
  }

  .footer-links a,
  .footer-links .footer-line {
    gap: 8px;
  }

  .footer-ico {
    width: 24px;
    height: 24px;
  }

  .footer-ico svg {
    width: 12px;
    height: 12px;
  }

  .split > video,
  .split > img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  .whatsapp-float {
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(var(--max), calc(100% - 20px));
  }

  .service-card > img,
  .project-card > img {
    width: 76px;
    height: 76px;
    min-width: 76px;
    max-height: 76px;
  }

  .topbar-mobile {
    font-size: 0.76rem;
  }
}
