/* Reference-aligned responsive brand layer: white header, saturated facility blue, and clear call actions. */
:root {
  --brand-navy: #071d4f;
  --brand-blue: #0669dc;
  --brand-sky: #32a7ff;
  --brand-ice: #eff8ff;
  --brand-yellow: #ffd42b;
  --brand-ink: #10234f;
  --brand-line: #d7e2ef;
}

body {
  color: var(--brand-ink);
  padding-bottom: 104px;
}

.topline {
  background: var(--brand-navy);
  color: #f8d94a;
  font-weight: 800;
}

.topline-inner {
  height: 36px;
}

.site-header {
  border-bottom: 1px solid var(--brand-line);
  box-shadow: 0 4px 14px rgba(8, 34, 79, 0.08);
}

.header-inner {
  height: 84px;
  gap: 38px;
}

.brand {
  gap: 11px;
}

.brand-mark {
  width: 47px;
  height: 47px;
  color: #fff;
  background: linear-gradient(145deg, #1598f0, #0059c8);
  border: 0;
  border-radius: 12px;
  box-shadow: 0 5px 12px rgba(0, 95, 203, 0.24);
}

.brand-mark svg {
  width: 31px;
  height: 31px;
}

.brand-copy b {
  color: var(--brand-navy);
  font-size: 23px;
  letter-spacing: -1.45px;
}

.brand-copy small {
  color: var(--brand-blue);
  font-size: 10px;
  letter-spacing: -0.3px;
}

.desktop-nav {
  gap: 33px;
}

.nav-link {
  color: #263858;
  border-bottom-width: 4px;
  font-size: 15px;
  font-weight: 900;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--brand-blue);
  border-bottom-color: var(--brand-blue);
}

.header-call {
  min-width: 174px;
  align-items: center;
  color: #fff;
  background: linear-gradient(135deg, #087bf0, #0755bd);
  border: 0;
  border-radius: 12px;
  padding: 11px 17px 12px;
  box-shadow: 0 8px 18px rgba(0, 86, 198, 0.2);
}

.header-call::before {
  content: "☎";
  position: absolute;
  margin-left: -128px;
  margin-top: 11px;
  font-size: 25px;
  line-height: 1;
}

.header-call span {
  color: #e9f5ff;
  font-size: 10px;
}

.header-call strong {
  color: #fff;
  font-size: 22px;
  letter-spacing: -1px;
}

/* Desktop hero: warm, trustworthy field photo paired with unmistakable callout. */
.home-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 83% 9%, rgba(47, 165, 255, 0.23), transparent 33%),
    linear-gradient(117deg, #061d4c 0%, #08386e 52%, #087cc5 138%);
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 112px;
  background: linear-gradient(90deg, rgba(30, 155, 230, 0.18), transparent 50%);
  pointer-events: none;
}

.hero-layout {
  min-height: 510px;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
}

.hero-proof {
  order: 2;
  border: 4px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  box-shadow: 0 22px 44px rgba(0, 14, 47, 0.34);
}

.hero-proof img {
  height: 322px;
  filter: saturate(0.93) contrast(1.04);
}

.proof-caption {
  padding: 15px 20px;
}

.proof-caption b {
  color: var(--brand-navy);
}

.hero-copy {
  order: 1;
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-width: 500px;
}

.hero-copy h1 small {
  order: -1;
  margin: 0;
  color: #dbefff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.85px;
}

.hero-copy h1 em {
  color: #fff;
  font-size: clamp(47px, 5.7vw, 78px);
  font-weight: 900;
  letter-spacing: -4.2px;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.1);
}

.hero-copy h1 strong {
  color: #fff;
  font-size: clamp(25px, 3vw, 37px);
  letter-spacing: -2px;
  line-height: 1.2;
}

.hero-slogan {
  display: inline-flex;
  margin: 24px 0 0;
  padding: 8px 16px;
  color: #fff;
  background: var(--brand-blue);
  border-radius: 8px;
  font-size: 21px;
  font-weight: 900;
  box-shadow: 0 7px 16px rgba(0, 13, 64, 0.22);
}

.hero-desc {
  color: #e8f4ff;
  font-size: 15px;
}

.cta-main {
  flex-direction: row;
  align-items: center;
  gap: 14px;
  color: #fff;
  background: #fff;
  border: 3px solid #fff;
  border-radius: 9px;
  padding: 10px 18px;
  box-shadow: 0 10px 25px rgba(0, 16, 58, 0.22);
}

.cta-main::before {
  content: "☎";
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  color: #fff;
  background: var(--brand-blue);
  border-radius: 50%;
  font-size: 20px;
}

.cta-main span {
  color: var(--brand-blue);
  font-size: 13px;
  font-weight: 900;
}

.cta-main strong {
  color: var(--brand-navy);
  font-size: 18px;
  letter-spacing: -0.9px;
}

.home-service-tabs {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: -35px;
  padding-bottom: 34px;
}

.home-service-tabs a {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--brand-navy);
  background: #fff;
  border: 1px solid #d9e7f4;
  border-radius: 12px;
  box-shadow: 0 9px 20px rgba(5, 43, 99, 0.16);
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 160ms cubic-bezier(0.23, 1, 0.32, 1);
}

.home-service-tabs a:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 26px rgba(5, 43, 99, 0.21);
}

.home-service-tabs b {
  color: var(--brand-blue);
  font-size: 31px;
  line-height: 1;
}

.home-quick {
  border-top: 1px solid #dfeaf3;
}

.quick-link {
  color: var(--brand-blue) !important;
  background: var(--brand-ice);
}

/* Keep interior pages crisp and structurally connected to the new homepage. */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0;
  background: linear-gradient(115deg, #eef8ff, #f8fcff 55%, #deeffe);
  border-bottom: 1px solid #d4e4f2;
}

.page-hero::after {
  content: "";
  position: absolute;
  top: -70px;
  right: -55px;
  width: 270px;
  height: 270px;
  border: 42px solid rgba(11, 122, 231, 0.09);
  border-radius: 50%;
}

.page-hero .shell {
  position: relative;
  z-index: 1;
}

.page-hero h1,
.about-copy h2,
.detail-main > h2 {
  color: var(--brand-navy);
}

.plain-button,
.region-phone,
.detail-contact,
.cta-inline {
  background: var(--brand-blue);
}

.service-article-head > span {
  color: #fff;
  background: var(--brand-blue);
}

.service-index a {
  color: var(--brand-navy);
  border-color: #c9dff1;
  background: #f5fbff;
}

.gallery-item {
  border-color: #d8e6f0;
}

/* Persistent four-button action dock requested by user. */
.contact-dock {
  position: fixed;
  z-index: 80;
  right: 24px;
  bottom: 18px;
  display: grid;
  width: min(610px, calc(100vw - 48px));
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #d5e2ee;
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(2, 25, 73, 0.28);
  backdrop-filter: blur(12px);
}

.dock-item {
  display: flex;
  min-height: 70px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  color: #344867;
  background: #fff;
  border: 1px solid #d5e0ed;
  border-radius: 11px;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), border-color 160ms ease;
}

.dock-item:hover {
  transform: translateY(-3px);
  border-color: var(--brand-blue);
}

.dock-item.primary {
  color: #fff;
  background: var(--brand-navy);
  border-color: var(--brand-navy);
}

.dock-item.blog {
  color: #06a953;
  border-color: #9bdfbd;
}

.dock-icon {
  font-size: 21px;
  line-height: 1;
}

.dock-n {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  color: #fff;
  background: #03a84e;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.dock-item > span:not(.dock-icon):not(.dock-n) {
  font-size: 13px;
  font-weight: 900;
}

.dock-item small {
  font-size: 9px;
  font-weight: 700;
  opacity: 0.78;
}

.mobile-call {
  display: none !important;
}

@media (max-width: 700px) {
  body {
    padding-bottom: 91px;
    font-size: 15px;
  }

  .topline {
    display: block;
    font-size: 11px;
  }

  .topline-inner {
    width: calc(100% - 28px);
    height: 34px;
  }

  .topline-inner span:last-child {
    color: #f8d94a;
    font-size: 10px;
  }

  .header-inner {
    height: 66px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .brand-mark svg {
    width: 27px;
    height: 27px;
  }

  .brand-copy b {
    font-size: 19px;
  }

  .brand-copy small {
    display: block;
    font-size: 8px;
    margin-top: 3px;
  }

  .header-call {
    min-width: 128px;
    padding: 8px 8px 8px 30px;
    border-radius: 9px;
  }

  .header-call::before {
    margin-left: -101px;
    margin-top: 8px;
    font-size: 19px;
  }

  .header-call strong {
    font-size: 17px;
  }

  .header-call span {
    font-size: 8px;
  }

  .mobile-nav {
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
  }

  .mobile-nav .nav-link {
    height: 39px;
    border-bottom-width: 3px;
    color: #263858;
    font-size: 11px;
  }

  .home-hero {
    min-height: 507px;
    background: #041a48;
  }

  .home-hero::after {
    display: none;
  }

  .hero-layout {
    display: block;
    min-height: 386px;
    padding: 0;
  }

  .hero-proof {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 386px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .hero-proof::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(1, 19, 61, 0.93) 0%, rgba(2, 28, 78, 0.72) 49%, rgba(2, 30, 79, 0.12) 100%);
  }

  .hero-proof img {
    width: 100%;
    height: 386px;
    object-position: 63% center;
    filter: saturate(0.9) contrast(1.05) brightness(0.8);
  }

  .proof-caption {
    display: none;
  }

  .hero-copy {
    position: relative;
    z-index: 1;
    width: calc(100% - 30px);
    margin: 0 auto;
    padding-top: 49px;
  }

  .hero-copy .eyebrow {
    margin-bottom: 9px;
    color: #b7e0ff;
    font-size: 11px;
  }

  .hero-copy h1 {
    gap: 3px;
  }

  .hero-copy h1 small {
    font-size: 16px;
    letter-spacing: -0.7px;
  }

  .hero-copy h1 em {
    font-size: 51px;
    letter-spacing: -3.2px;
  }

  .hero-copy h1 strong {
    font-size: 26px;
    letter-spacing: -1.75px;
  }

  .hero-slogan {
    margin-top: 18px;
    padding: 7px 11px;
    border-radius: 6px;
    font-size: 16px;
  }

  .hero-desc {
    margin: 10px 0 16px;
    font-size: 12px;
    line-height: 1.75;
  }

  .cta-main {
    width: auto;
    padding: 7px 10px;
    gap: 7px;
    border-width: 2px;
  }

  .cta-main::before {
    width: 25px;
    height: 25px;
    font-size: 15px;
  }

  .cta-main span {
    font-size: 10px;
  }

  .cta-main strong {
    display: none;
  }

  .home-service-tabs {
    width: calc(100% - 26px);
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    margin-top: -2px;
    padding-bottom: 16px;
  }

  .home-service-tabs a {
    min-height: 88px;
    gap: 4px;
    border-radius: 8px;
    font-size: 11px;
    box-shadow: 0 7px 14px rgba(5, 43, 99, 0.19);
  }

  .home-service-tabs b {
    font-size: 24px;
  }

  .home-quick {
    display: none;
  }

  .page-hero {
    padding: 38px 0;
  }

  .page-hero h1 {
    font-size: 29px;
  }

  .page-hero::after {
    width: 190px;
    height: 190px;
    border-width: 27px;
  }

  .contact-dock {
    right: 0;
    bottom: 0;
    width: 100%;
    gap: 0;
    padding: 5px 6px 7px;
    background: #fff;
    border: 0;
    border-top: 1px solid #d8e1ed;
    border-radius: 0;
    box-shadow: 0 -8px 22px rgba(7, 29, 79, 0.16);
  }

  .dock-item {
    min-height: 72px;
    gap: 2px;
    border: 0;
    border-right: 1px solid #e2e8f0;
    border-radius: 0;
  }

  .dock-item:last-child {
    border-right: 0;
  }

  .dock-item:hover {
    transform: none;
  }

  .dock-item.primary {
    color: var(--brand-navy);
    background: #fff;
  }

  .dock-item.primary .dock-icon,
  .dock-item.primary > span:not(.dock-icon):not(.dock-n) {
    color: var(--brand-blue);
  }

  .dock-icon {
    font-size: 20px;
  }

  .dock-item > span:not(.dock-icon):not(.dock-n) {
    font-size: 12px;
  }

  .dock-item small {
    display: none;
  }

  .dock-n {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 360px) {
  .brand-copy small {
    display: none;
  }

  .header-call {
    min-width: 117px;
  }

  .hero-copy h1 em {
    font-size: 45px;
  }

  .home-service-tabs a {
    font-size: 10px;
  }
}
