.brand-logo {
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(0, 169, 232, .3), 0 6px 18px rgba(7, 27, 53, .18);
}

.screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #06182e;
}

.footer-logo {
  width: 72px;
  height: 72px;
}

@media (max-width: 620px) {
  .brand-logo { width: 42px; height: 42px; }
  .footer-logo { width: 64px; height: 64px; }
  .hero-visual .screen {
    top: 8%;
    height: 62%;
    overflow: hidden;
    z-index: 2;
  }
}

/* Service detail pages */
.service-learn { margin-top: 18px; color: #006f98; font-size: .88rem; font-weight: 800; }
.service-card.featured .service-learn { color: var(--blue2); }
.service-card .service-learn + button { margin-top: 10px; }
.detail-hero { padding: 95px max(6vw, 30px); background: linear-gradient(135deg, #fff 0 62%, #eaf6fc 62%); }
.detail-hero-inner { max-width: 960px; }
.breadcrumbs { font-size: .82rem; color: #617586; margin-bottom: 24px; }
.breadcrumbs a { color: #007da9; font-weight: 700; }
.detail-hero h1 { font-size: clamp(2.7rem, 6vw, 5.4rem); line-height: 1; letter-spacing: -.055em; color: var(--navy); margin: 0 0 25px; }
.detail-hero .lead { max-width: 800px; }
.detail-price { display: inline-block; margin: 0 0 24px; padding: 9px 14px; border-radius: 999px; background: #dff6ff; color: #006a92; font-weight: 800; }
.detail-content { padding: 90px max(6vw, 30px); }
.detail-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 6vw; max-width: 1200px; margin: auto; }
.detail-main h2, .detail-main h3 { color: var(--navy); line-height: 1.15; }
.detail-main h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); letter-spacing: -.04em; margin: 0 0 20px; }
.detail-main h3 { font-size: 1.35rem; margin-top: 42px; }
.detail-main p, .detail-main li { color: #526676; }
.check-list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check-list li { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.check-list li::before { content: '✓'; color: #0088bd; font-weight: 900; margin-right: 9px; }
.quote-panel { align-self: start; position: sticky; top: 105px; background: var(--navy); color: white; padding: 30px; border-radius: 20px; box-shadow: var(--shadow); }
.quote-panel h2 { color: white; font-size: 1.65rem; margin: 0 0 12px; }
.quote-panel p { color: #b7c8d9; }
.quote-panel .button { width: 100%; margin-top: 10px; }
.quote-panel .secondary { background: transparent; color: white; border-color: #3d5771; }
.service-areas { margin-top: 55px; padding-top: 32px; border-top: 1px solid var(--line); }
.related-services { padding: 75px max(6vw, 30px); background: var(--paper); }
.related-inner { max-width: 1200px; margin: auto; }
.related-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-links a { padding: 22px; background: white; border: 1px solid var(--line); border-radius: 14px; font-weight: 800; color: var(--navy); }
.related-links a:hover { border-color: var(--blue); color: #007da9; }

@media (max-width: 800px) {
  .detail-grid { grid-template-columns: 1fr; }
  .quote-panel { position: static; }
  .check-list, .related-links { grid-template-columns: 1fr; }
  .detail-hero, .detail-content, .related-services { padding-left: 20px; padding-right: 20px; }
  .detail-hero { padding-top: 65px; }
}

/* Project gallery */
.gallery-hero { padding: 95px max(6vw, 30px); background: linear-gradient(130deg, #fff 0 65%, #eaf6fc 65%); }
.gallery-hero h1 { max-width: 950px; margin: 0 0 24px; color: var(--navy); font-size: clamp(3rem, 7vw, 6.6rem); line-height: .98; letter-spacing: -.06em; }
.gallery-hero h1 span { color: var(--blue); }
.gallery-hero > p:not(.eyebrow) { max-width: 720px; margin: 0 0 28px; color: var(--muted); font-size: 1.12rem; }
.gallery-section { padding: 90px max(6vw, 30px); }
.gallery-tint { background: var(--paper); }
.gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.gallery-heading h2 { margin: 0; color: var(--navy); font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.08; letter-spacing: -.045em; }
.gallery-heading > a { color: #007da9; font-weight: 800; white-space: nowrap; }
.photo-grid { columns: 3 290px; column-gap: 18px; }
.photo-grid figure { break-inside: avoid; margin: 0 0 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 10px 35px rgba(7, 27, 53, .08); }
.photo-grid a { display: block; overflow: hidden; background: #e8eef3; }
.photo-grid img { display: block; width: 100%; height: auto; transition: transform .28s ease; }
.photo-grid a:hover img { transform: scale(1.025); }
.photo-grid figcaption { padding: 14px 17px; color: #42586b; font-size: .88rem; font-weight: 700; }
.photo-grid-three { columns: 3 280px; }
.photo-grid-two { columns: 2 330px; max-width: 850px; }
.gallery-cta { padding: 85px max(6vw, 30px); background: var(--navy); color: white; }
.gallery-cta h2 { margin: 0 0 12px; color: white; font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.045em; }
.gallery-cta > p:not(.eyebrow) { color: #b7c8d9; }
.gallery-cta .secondary { background: transparent; border-color: #3d5771; color: white; }

@media (max-width: 700px) {
  .gallery-hero, .gallery-section, .gallery-cta { padding-left: 20px; padding-right: 20px; }
  .gallery-hero { padding-top: 65px; }
  .gallery-heading { align-items: start; flex-direction: column; gap: 14px; }
  .gallery-heading > a { white-space: normal; }
}
