.button,
.nav-cta,
.menu-button,
.back-link {
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
  -webkit-tap-highlight-color: rgba(0, 99, 125, .16);
}

.contact-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 38px 0 16px;
}

.contact-method {
  display: grid;
  gap: 2px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .4);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  -webkit-tap-highlight-color: rgba(255, 255, 255, .2);
}

.contact-method span,
.contact-method small {
  color: #c6e7ee;
  font-size: .72rem;
}

.contact-method strong {
  font-size: 1rem;
  line-height: 1.35;
}

.service-link {
  display: inline-block;
  margin-top: 28px;
  color: #79c7d8;
  font-weight: 800;
  text-underline-offset: 4px;
}

.service-card:not(.featured) .service-link {
  color: #00637d;
}

.phone-call {
  background: #fff;
  color: #004a60;
}

.phone-call span,
.phone-call small {
  color: #376d7a;
}

@media (hover: hover) and (pointer: fine) {
  .button:hover,
  .nav-cta:hover,
  .menu-button:hover,
  .back-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(18, 31, 37, .18);
  }

  .contact-method:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, .16);
    box-shadow: 0 10px 22px rgba(18, 31, 37, .2);
  }

  .phone-call:hover {
    background: #eef9fb;
  }
}

.button:active,
.nav-cta:active,
.menu-button:active,
.back-link:active {
  transform: translateY(1px) scale(.98);
  box-shadow: 0 3px 8px rgba(18, 31, 37, .14);
}

.contact-method:active {
  transform: translateY(1px) scale(.98);
}

.button:focus-visible,
.nav-cta:focus-visible,
.menu-button:focus-visible,
.back-link:focus-visible {
  outline: 3px solid #79c7d8;
  outline-offset: 4px;
}

.contact-method:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.gallery-open {
  transition: transform .18s ease, box-shadow .18s ease;
}

.gallery-hint {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 10px 14px;
  background: rgba(0, 74, 96, .92);
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
}

.project-gallery {
  width: min(1180px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  background: #f6f8f9;
  color: #25292d;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .35);
}

.project-gallery::backdrop {
  background: rgba(9, 18, 22, .78);
}

.gallery-shell {
  padding: 34px;
}

.gallery-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.gallery-header .kicker {
  margin-bottom: 10px;
}

.gallery-header h2 {
  max-width: 850px;
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
}

.gallery-close {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border: 1px solid #bcc7cc;
  background: #fff;
  color: #25292d;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.gallery-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(190px, .8fr);
  background: #fff;
  border: 1px solid #dfe4e7;
}

.gallery-card:first-child {
  grid-column: 1 / -1;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.gallery-card > div {
  padding: 24px;
}

.gallery-card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.gallery-card p {
  margin: 0 0 16px;
  color: #626b72;
  font-size: .92rem;
}

.gallery-card strong {
  color: #00637d;
  font-size: .82rem;
}

.social-links {
  display: flex;
  gap: 9px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid #cbd3d7;
  color: #00637d;
  background: #fff;
  text-decoration: none;
  font-weight: 900;
  line-height: 1;
}

.social-link.instagram {
  border-radius: 8px;
}

.social-link svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.social-link .social-dot {
  fill: currentColor;
  stroke: none;
}

footer {
  grid-template-columns: 270px 1fr auto auto;
}

@media (hover: hover) and (pointer: fine) {
  .gallery-open:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(18, 31, 37, .2);
  }

  .social-link[href]:hover {
    color: #fff;
    background: #00637d;
  }
}

.gallery-open:focus-visible,
.gallery-close:focus-visible,
.social-link[href]:focus-visible {
  outline: 3px solid #79c7d8;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .button,
  .nav-cta,
  .menu-button,
  .back-link,
  .contact-method {
    transition: none;
  }
}

@media (max-width: 620px) {
  footer {
    grid-template-columns: 1fr;
  }

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

  .gallery-shell {
    padding: 22px;
  }

  .gallery-grid,
  .gallery-card {
    grid-template-columns: 1fr;
  }

  .gallery-card:first-child {
    grid-column: auto;
  }

  .gallery-card img {
    min-height: 190px;
    aspect-ratio: 4 / 3;
  }

  .gallery-card > div {
    padding: 20px;
  }
}

@media (min-width: 621px) and (max-width: 920px) {
  footer {
    grid-template-columns: 1fr;
  }

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

  .gallery-card:first-child {
    grid-column: auto;
  }
}
.product-development {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 85px;
  align-items: center;
  background: var(--ink);
  color: #fff;
}

.product-development h2 { max-width: 680px; }

.product-development-lead {
  max-width: 650px;
  margin: 0 0 32px;
  color: #bcc5c9;
  font-size: 1.08rem;
}

.development-steps {
  border-top: 1px solid #50585d;
}

.development-steps > div {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 4px 18px;
  padding: 24px 0;
  border-bottom: 1px solid #50585d;
}

.development-steps span {
  grid-row: 1 / 3;
  color: #72bed0;
  font-family: monospace;
  font-weight: 800;
}

.development-steps strong { font-size: 1.12rem; }
.development-steps p { margin: 0; color: #aeb8bd; }

@media (max-width: 920px) {
  .product-development { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 620px) {
  .development-steps > div { grid-template-columns: 42px 1fr; }
}
