/* Production navigation, forms, and brand adjustments for the mockup design. */
a { color: #17649b; }
:focus-visible { outline: 3px solid #197bb9; outline-offset: 4px; }
.hero a:focus-visible, footer a:focus-visible { outline-color: #fff; }
.btn, .mbar .i { color: #102e4a; }
.btn:hover { background: #82c9fb; }
.btn.ghost { color: #fff; }
.btn.ghost:hover { background: #ffffff24; }
.eyebrow, .svc-card .more { color: #17649b; }
.hero .eyebrow { color: var(--cyan); }
html { scrollbar-gutter: stable; scroll-padding-top: 124px; }
.site-masthead { position: sticky; top: 0; z-index: 50; font-family: system-ui, sans-serif; }
.site-masthead header.site { position: relative; z-index: auto; }
.site .logo { flex: none; }
.site .logo img { width: 108px; height: 72px; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: clamp(10px, 1.2vw, 20px); margin-left: auto; }
.desktop-nav a, .nav-group summary { color: var(--navy); font-size: .875rem; font-weight: 700; white-space: nowrap; text-decoration: none; }
.desktop-nav a:hover, .mobile-menu a:hover, footer.site a:hover { text-decoration: underline; }
.desktop-nav [aria-current="page"], .mobile-menu [aria-current="page"] { color: #17649b; text-decoration: underline; }
.nav-group, .mobile-menu { position: relative; margin: 0; padding: 0; box-shadow: none; }
.nav-group summary, .mobile-menu summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.site-masthead summary::after {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.site-masthead details[open] summary::after { content: ""; transform: translateY(2px) rotate(225deg); }
.header-cta { flex: none; white-space: nowrap; }
.nav-group > div, .mobile-menu nav {
  position: absolute;
  z-index: 60;
  min-width: 220px;
  padding: 8px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 30px #102e4a28;
}
.nav-group a, .mobile-menu a { display: block; padding: 9px; color: var(--navy); }
.mobile-menu { display: none; }
.home-bg { background-image: url(../img/project-pipe.jpg); }
.hero .form-card p { margin: 0; }
.inquiry-form label { display: grid; gap: 4px; font-weight: 700; }
.inquiry-form input, .inquiry-form textarea { font: inherit; }
.inquiry-form textarea { min-height: 108px; resize: vertical; }
.inquiry-form button { font-family: inherit; justify-self: start; }
.inquiry-hint { font-size: .875rem; }
.form-card :focus-visible { outline-color: #197bb9; }
.trust .wrap { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust a { text-decoration: none; }
.trust a:hover { text-decoration: underline; }
.offer p { margin-bottom: 1rem; }
.guide-cta { margin-top: 20px; }
.content-grid { align-items: start; }
.content-grid h2 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); }
.content-grid p, .war ul { margin-bottom: 0; }
.cta-band h2 { color: var(--navy); }
.footer-brand { color: #fff; font: 1.4rem Anton, sans-serif; text-transform: uppercase; }

@media (max-width: 1100px) {
  .desktop-nav, .header-cta { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary { padding: 7px 12px; border: 1px solid #c9d6e0; border-radius: 8px; font-size: .875rem; font-weight: 700; }
  .mobile-menu nav { right: 0; white-space: nowrap; max-height: calc(100dvh - 100px); overflow-y: auto; }
  header.site .wrap { padding-block: 5px; }
  .site .logo img { width: 82px; height: 55px; }
  html { scroll-padding-top: 110px; }
}

@media (max-width: 600px) {
  .topbar .wrap { padding-block: 5px; }
  .topbar { font-size: .78rem; }
  .trust .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mbar { padding-bottom: env(safe-area-inset-bottom); background: var(--navy); }
  .mbar a { font-size: .8rem; }
  body { padding-bottom: calc(54px + env(safe-area-inset-bottom)); }
}

.instagram-section { padding-bottom: clamp(24px, 5vw, 56px); }
.instagram-uk-heading { font-size: clamp(1.65rem, 2.8vw, 2.25rem); margin: 0; }
.instagram-uk-heading a { color: inherit; text-decoration-color: #79b3d8; text-decoration-thickness: 2px; text-underline-offset: .16em; }
.instagram-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(18px, 4vw, 42px);
  padding: clamp(20px, 4vw, 32px);
  background: #f6f8fa;
  border: 1px solid #d6e2eb;
  border-radius: var(--r);
}
.instagram-preview-copy { display: grid; justify-items: start; gap: 12px; }
.instagram-preview-meta { margin: 0; font-size: .95rem; }
.instagram-preview-meta strong { white-space: nowrap; }
.instagram-preview-date { color: var(--muted); font-size: .875rem; }
.instagram-preview-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.instagram-preview-photos img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}
@media (max-width: 680px) {
  .instagram-preview { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
