.page-hero {
  padding-block: clamp(64px, 8vw, 104px);
  text-align: center;
}

.page-hero h1 {
  margin-bottom: var(--space-4);
  color: var(--brand-blue);
  font-size: clamp(2.5rem, 4.4vw, 3.5rem);
}

.page-hero p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.08rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
}

.service-card {
  overflow: hidden;
  color: var(--white);
  background: var(--brand-blue);
  border-radius: var(--radius-medium);
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.service-card-copy {
  padding: var(--space-5) var(--space-6) var(--space-6);
}

.service-card h2 {
  margin-bottom: var(--space-3);
  font-size: 1.55rem;
}

.service-card p {
  margin-bottom: 0;
  color: rgb(255 255 255 / 86%);
}

.cta-band {
  color: var(--white);
  background: var(--brand-blue);
  text-align: center;
}

.cta-band p {
  margin-bottom: var(--space-5);
  font-size: 1.08rem;
}

.gallery-grid {
  columns: 3 280px;
  column-gap: var(--space-4);
}

.gallery-item {
  width: 100%;
  margin: 0 0 var(--space-4);
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: var(--radius-small);
  cursor: zoom-in;
  break-inside: avoid;
}

.gallery-item img {
  width: 100%;
  height: auto;
  transition: transform 240ms ease;
}

.gallery-item:hover img {
  transform: scale(1.025);
}

.lightbox {
  width: min(94vw, 1120px);
  max-width: 1120px;
  height: min(92vh, 900px);
  padding: 0;
  overflow: hidden;
  background: #050505;
  border: 0;
  border-radius: var(--radius-small);
}

.lightbox::backdrop {
  background: rgb(0 0 0 / 82%);
}

.lightbox-frame {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lightbox-control {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--white);
  background: rgb(0 0 0 / 55%);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  place-items: center;
}

.lightbox-control svg {
  width: 24px;
  height: 24px;
}

.lightbox-close {
  top: var(--space-4);
  right: var(--space-4);
}

.lightbox-prev {
  top: 50%;
  left: var(--space-4);
  transform: translateY(-50%);
}

.lightbox-next {
  top: 50%;
  right: var(--space-4);
  transform: translateY(-50%);
}

.contact-hero {
  position: relative;
  min-height: 780px;
  display: grid;
  align-items: center;
  color: var(--white);
  background: var(--brand-blue);
  isolation: isolate;
}

.contact-background,
.contact-hero::after {
  position: absolute;
  inset: 0;
}

.contact-background {
  z-index: -2;
  width: 100%;
  height: 100%;
}

.contact-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-hero::after {
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, rgb(7 61 138 / 36%), rgb(5 24 46 / 82%));
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(480px, 1fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
  padding-block: var(--space-8);
}

.contact-copy {
  grid-column: 2;
  width: 100%;
  max-width: 560px;
}

.contact-copy h1 {
  margin-bottom: var(--space-4);
  font-size: clamp(2.7rem, 5vw, 4.5rem);
}

.service-area {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  margin-block: var(--space-5) var(--space-6);
}

.service-area svg,
.contact-item svg {
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
}

.contact-form {
  display: grid;
  gap: var(--space-4);
}

.contact-form-panel {
  padding: var(--space-6);
  background: rgb(46 46 46 / 23%);
  border-radius: var(--radius-medium);
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 0.92rem;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  padding: 15px 17px;
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-radius: var(--radius-small);
  box-shadow: 0 1px 0 rgb(0 0 0 / 10%);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline-color: #61a4ff;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 25px;
  margin: 0;
  font-weight: 600;
}

.form-status[data-state="success"] {
  color: #d7ffd8;
}

.form-status[data-state="error"] {
  color: #ffe0dc;
}

.contact-details {
  color: var(--white);
  background: var(--brand-blue);
}

.contact-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
}

.contact-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-6);
  background: rgb(255 255 255 / 9%);
  border-radius: var(--radius-medium);
}

.contact-item h2 {
  margin-bottom: var(--space-3);
  color: var(--white);
  font-size: 1.25rem;
}

.contact-item p {
  margin-bottom: var(--space-2);
}

.contact-item a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.site-footer {
  padding-block: var(--space-7);
  background: var(--white);
}

.footer-inner {
  display: flex;
  gap: var(--space-5);
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  margin: 0;
  font-size: 0.92rem;
}

.footer-credit {
  color: var(--muted);
  font-size: 0.84rem;
  text-decoration: none;
}

.footer-credit:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 920px) {
  :root {
    --header-height: 67px;
  }

  .brand img {
    width: 146px;
    height: 49px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    padding: var(--space-6) var(--space-4);
    background: var(--white);
    z-index: 101;
  }

  .site-nav[data-open="true"] {
    display: block;
  }

  .nav-list {
    display: grid;
    gap: var(--space-3);
  }

  .nav-link {
    display: block;
    padding: var(--space-3) 0;
    font-size: 1.2rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .financing-grid,
  .split,
  .service-grid,
  .contact-details-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: 0;
    gap: var(--space-7);
    padding-top: var(--space-7);
    padding-bottom: 0;
  }

  .quality-section .split { grid-template-columns: 1fr; }

  .hero-media {
    width: 100%;
    order: -1;
  }

  .hero-media img {
    max-height: 590px;
  }

  .split-media {
    order: -1;
  }

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

  .contact-copy {
    grid-column: 1;
    max-width: 680px;
    margin-left: auto;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 32px), var(--content-width));
  }

  .section {
    padding-block: 72px;
  }

  .about-section, .expertise {
    min-height: 0;
  }

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

  .service-card-copy {
    padding: var(--space-5);
  }

  .gallery-grid {
    columns: 2 130px;
    column-gap: var(--space-3);
  }

  .gallery-item {
    margin-bottom: var(--space-3);
  }

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

  .contact-hero::after {
    background: rgb(5 24 46 / 73%);
  }

  .contact-layout {
    padding-block: var(--space-7);
  }

  .contact-copy {
    margin: 0;
  }

  .footer-inner {
    display: grid;
  }

  .lightbox-control {
    width: 42px;
    height: 42px;
  }
}

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