@font-face {
  font-family: 'Barlow Condensed';
  src: url('fonts/barlow-condensed-700.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Barlow Condensed';
  src: url('fonts/barlow-condensed-800.woff2') format('woff2');
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url('fonts/inter.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #071b2a;
  --navy-deep: #051522;
  --navy-lighter: #0c2939;
  --ink: #0a2433;
  --slate: #435c69;
  --aqua: #23dbe2;
  --aqua-hover: #67edf0;
  --aqua-dark: #006774;
  --ice: #f0f6f7;
  --pale: #dff4f5;
  --line: #cfdee2;
  --white: #fff;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: Inter, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 16px/1.58 var(--body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p {
  margin: 0;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.012em;
}

h2 {
  font-size: clamp(2.7rem, 4.45vw, 4.25rem);
}

h3 {
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid #008b9c;
  outline-offset: 5px;
}

.site-header :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible,
.detail-hero :focus-visible,
.area-copy :focus-visible {
  outline-color: var(--aqua);
}

.container {
  width: min(1200px, calc(100% - 112px));
  margin-inline: auto;
}

.section-pad {
  padding-block: clamp(4rem, 7vw, 6.9rem);
}

.icon {
  flex: 0 0 auto;
  vertical-align: middle;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 1rem;
  left: 1rem;
  padding: .75rem 1rem;
  transform: translateY(-200%);
  background: var(--aqua);
  color: var(--navy);
  font-weight: 700;
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: relative;
  z-index: 2;
  background: var(--navy-deep);
  color: var(--white);
  border-bottom: 1px solid #ffffff1a;
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(.9rem, 2.2vw, 2rem);
}

.brand {
  flex: 0 0 auto;
  display: block;
}

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

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 3.4vw, 3.3rem);
  font-size: .91rem;
  font-weight: 600;
}

.desktop-nav a,
.site-footer nav a {
  padding-block: .65rem;
}

.desktop-nav a:hover,
.site-footer nav a:hover {
  color: var(--aqua);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  width: fit-content;
  min-height: 53px;
  padding: .8rem 1.18rem;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.25;
  text-align: center;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
}

.header-actions {
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: .5rem;
}

.header-actions .button {
  min-height: 44px;
  padding: .58rem .8rem;
  font-size: .88rem;
  white-space: nowrap;
}

.header-actions .icon {
  width: 16px;
  height: 16px;
}

.button-outline {
  color: var(--white);
  border-color: #6a9aa6;
}

.button-outline .icon {
  color: var(--aqua);
}

.button-outline:hover {
  border-color: var(--aqua);
  background: var(--navy-lighter);
}

.button-outline-light {
  color: var(--navy-deep);
  border-color: #246572;
}

.button-outline-light:hover {
  background: #ffffff75;
}

.button-primary {
  color: var(--navy-deep);
  background: var(--aqua);
}

.button-primary:hover {
  background: var(--aqua-hover);
}

.button-dark {
  color: var(--white);
  background: var(--navy-deep);
}

.button-dark .icon {
  color: var(--aqua);
}

.button-dark:hover {
  background: var(--navy-lighter);
}

.mobile-nav,
.mobile-contact {
  display: none;
}

.hero {
  isolation: isolate;
  position: relative;
  background: radial-gradient(ellipse at 26% 93%, #0d3141 0, transparent 54%), var(--navy);
  color: var(--white);
}

.hero::before {
  position: absolute;
  inset: 0 0 0 42%;
  z-index: -2;
  background: linear-gradient(120deg, #0e5060 2%, #20d7df 58%, #086477 100%);
  clip-path: polygon(23% 0, 100% 0, 100% 100%, 0 100%);
  content: '';
}

.hero-photo {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 42.7%;
  clip-path: polygon(23% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 26%;
}

.hero-layout {
  display: flex;
  min-height: clamp(520px, 43vw, 670px);
  align-items: center;
  padding-block: 4.5rem 5rem;
}

.hero-copy {
  width: 52%;
  max-width: 650px;
}

.hero-label,
.area-label {
  display: flex;
  align-items: center;
  gap: .56rem;
  margin-bottom: 1.08rem;
  color: var(--aqua);
  font-size: .81rem;
  font-weight: 700;
  letter-spacing: .095em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(4.1rem, 6.4vw, 6.9rem);
  line-height: .93;
  letter-spacing: -.02em;
}

.hero h1 span {
  display: block;
  color: var(--aqua);
}

.hero-intro {
  max-width: 39ch;
  margin-top: 1.55rem;
  color: #d5e7ee;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.64;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem 1.42rem;
  margin-top: 1.85rem;
}

.hero-more {
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  min-height: 44px;
  width: fit-content;
  color: var(--white);
  font-size: .93rem;
  font-weight: 700;
}

.hero-more .icon {
  color: var(--aqua);
  transition: transform .17s ease;
}

.hero-more:hover {
  text-decoration: underline;
  text-underline-offset: .24em;
}

.hero-more:hover .icon {
  transform: translateX(3px);
}

.services {
  background: var(--ice);
}

.quick-jobs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .6rem;
  margin-top: 1.2rem;
}

.quick-jobs a,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  color: var(--aqua-dark);
  font-size: .88rem;
  font-weight: 700;
}

.quick-jobs a {
  padding: .48rem .72rem;
  border: 1px solid #b6d3d7;
  border-radius: 6px;
  background: var(--white);
}

.quick-jobs a:hover {
  border-color: var(--aqua-dark);
  background: var(--pale);
}

.quick-jobs + .service-grid {
  margin-top: 1.45rem;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}

.service-card {
  display: flex;
  height: 100%;
  min-height: 224px;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.12rem, 2.2vw, 1.85rem);
  border: 1px solid #d9e6e9;
  border-radius: 10px;
  background: var(--white);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.service-card:hover {
  border-color: #60b4bc;
  box-shadow: 0 8px 24px #103d4610;
}

.service-icon {
  display: grid;
  width: 49px;
  height: 49px;
  place-items: center;
  border-radius: 7px;
  background: var(--pale);
  color: var(--aqua-dark);
}

.service-card h3 {
  margin-top: 1.05rem;
}

.service-card p {
  margin-top: .54rem;
  margin-bottom: 1.14rem;
  color: var(--slate);
  font-size: .94rem;
}

.card-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: auto;
  color: var(--aqua-dark);
  font-size: .83rem;
  font-weight: 700;
}

.card-more .icon {
  transition: transform .17s ease;
}

.service-card:hover .card-more .icon {
  transform: translateX(3px);
}

.area {
  padding-bottom: 0;
}

.area-panel {
  display: grid;
  grid-template-columns: 1fr 1.06fr;
  overflow: hidden;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
}

.area-panel > img {
  width: 100%;
  height: 100%;
  min-height: 358px;
  object-fit: cover;
  object-position: 48% 53%;
}

.area-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.25rem, 5vw, 4.7rem);
  background: radial-gradient(ellipse at 90% 100%, #104050 0, transparent 73%), var(--navy);
}

.area-copy h2 {
  font-size: clamp(2.65rem, 4.4vw, 4.05rem);
}

.area-copy > p:not(.area-label) {
  max-width: 39ch;
  margin-top: 1.1rem;
  color: #d5e7ee;
}

.area-copy .contact-actions {
  margin-top: 1.2rem;
}

.faq-layout {
  display: grid;
  grid-template-columns: .82fr 1.3fr;
  gap: clamp(1.55rem, 5.5vw, 6rem);
  align-items: start;
}

.faq-items {
  border-top: 1px solid var(--line);
}

.faq-items details {
  border-bottom: 1px solid var(--line);
}

.faq-items summary {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .9rem .2rem .9rem 0;
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-items summary::-webkit-details-marker,
.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.faq-items summary:hover {
  color: var(--aqua-dark);
}

.faq-items summary .icon {
  color: var(--aqua-dark);
  transition: transform .15s ease;
}

.faq-items details[open] summary .icon {
  transform: rotate(45deg);
}

.faq-items details p {
  padding: 0 2rem 1.15rem 0;
  color: var(--slate);
}

.contact {
  background: var(--aqua);
}

.contact-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: clamp(2.1rem, 4vw, 3.55rem);
}

.contact p {
  margin-top: .56rem;
}

.request-section {
  background: var(--ice);
  scroll-margin-top: 1rem;
}

.request-layout {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.5rem, 5vw, 5rem);
}

.request-intro p {
  max-width: 38ch;
  margin-top: .8rem;
  color: var(--slate);
}

.request-intro .contact-actions {
  margin-top: 1.15rem;
}

.request-form {
  min-width: 0;
  padding: clamp(.95rem, 2.7vw, 1.7rem);
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--white);
}

.request-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .78rem;
  margin-bottom: .9rem;
}

.request-wide {
  grid-column: 1 / -1;
}

.request-form label {
  display: grid;
  gap: .24rem;
  min-width: 0;
  font-size: .86rem;
  font-weight: 650;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 47px;
  padding: .55rem .65rem;
  border: 1px solid #a7bfca;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: 400 1rem/1.4 var(--body);
}

.request-form textarea {
  resize: vertical;
}

.request-form button {
  font-family: var(--body);
  cursor: pointer;
}

.request-error {
  padding: .5rem .65rem;
  margin-bottom: .6rem;
  border-radius: 6px;
  background: #fcebed;
  color: #8b2732;
}

.request-preview {
  margin-top: 1rem;
  padding: .85rem;
  border-radius: 8px;
  background: var(--pale);
}

.request-preview h3 {
  margin-bottom: .6rem;
}

.request-preview .contact-actions {
  margin-bottom: .65rem;
}

#service-request-status:not(:empty) {
  margin-bottom: .45rem;
  font-size: .86rem;
}

.request-form[hidden],
.request-preview[hidden],
.request-error[hidden] {
  display: none;
}

.site-footer {
  background: var(--navy-deep);
  color: #c6dbe4;
}

.footer-inner {
  display: flex;
  min-height: 105px;
  align-items: center;
  justify-content: space-between;
  gap: .9rem 2rem;
  padding-block: 1rem;
  font-size: .83rem;
}

.footer-brand img {
  width: 115px;
}

.site-footer nav {
  display: flex;
  gap: 1.3rem;
  color: var(--white);
  font-weight: 600;
}

.footer-inner small {
  font-size: .77rem;
}

.detail-hero {
  background: radial-gradient(ellipse at 85% 110%, #124c5b 0, transparent 62%), var(--navy);
  color: var(--white);
}

.detail-intro {
  padding-block: clamp(2.3rem, 5vw, 4.2rem) clamp(3rem, 6vw, 5.5rem);
}

.breadcrumb {
  margin-bottom: 1.35rem;
  color: #d5e7ee;
  font-size: .88rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  column-gap: .55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}

.breadcrumb li + li::before {
  color: #8cb2bf;
  content: '/';
}

.breadcrumb a {
  display: inline-block;
  padding-block: .4rem;
  color: var(--aqua);
  font-weight: 600;
}

.breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.detail-hero h1 {
  max-width: 30ch;
  font-size: clamp(3rem, 6.2vw, 5.6rem);
  text-wrap: balance;
}

.detail-hero p {
  max-width: 62ch;
  margin-top: 1.15rem;
  color: #d5e7ee;
  font-size: 1.06rem;
}

.detail-hero .contact-actions {
  margin-top: 1.5rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: start;
  gap: clamp(2.2rem, 7.5vw, 7rem);
}

.detail-layout h2,
.related h2 {
  font-size: clamp(2.5rem, 4.15vw, 3.65rem);
}

.detail-list {
  display: grid;
  gap: .95rem;
  margin: 1.4rem 0 0;
  padding-left: 1.3rem;
  color: var(--slate);
}

.detail-list li::marker {
  color: var(--aqua-dark);
}

.detail-topics {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.9rem;
}

.detail-topic {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.detail-topic p {
  margin-top: .55rem;
  color: var(--slate);
}

.detail-source a {
  color: var(--aqua-dark);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .18em;
}

.detail-note {
  padding: clamp(1.45rem, 4vw, 2.4rem);
  border: 1px solid #d9e6e9;
  border-radius: 10px;
  background: var(--ice);
}

.detail-note h2 {
  margin-top: .9rem;
  font-size: clamp(2.1rem, 3.3vw, 2.8rem);
}

.detail-note p {
  margin-top: .55rem;
  color: var(--slate);
}

.detail-note .contact-actions {
  margin-top: 1.1rem;
}

.related-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .4rem 1.8rem;
}

.related {
  background: var(--ice);
}

.service-grid-related {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 840px;
}

@media (max-width: 1080px) {
  .container {
    width: calc(100% - 72px);
  }

  .hero-copy {
    width: 54%;
  }

  .hero-photo img {
    object-position: center 48%;
  }

  .hero h1 {
    font-size: clamp(3.55rem, 7.1vw, 5rem);
  }

  .area-break {
    display: none;
  }
}

@media (max-width: 760px) {
  .container {
    width: calc(100% - 38px);
  }

  .request-layout,
  .request-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  body {
    padding-bottom: calc(67px + env(safe-area-inset-bottom, 0px));
  }

  .header-inner {
    min-height: 72px;
    gap: 1rem;
  }

  .brand img {
    width: 121px;
  }

  .desktop-nav,
  .header-actions {
    display: none;
  }

  .mobile-nav {
    position: relative;
    display: block;
  }

  .mobile-nav summary {
    display: flex;
    min-height: 43px;
    align-items: center;
    gap: .43rem;
    padding: .42rem .68rem;
    border: 1px solid #476776;
    border-radius: 6px;
    list-style: none;
    cursor: pointer;
    font-size: .88rem;
    font-weight: 700;
  }

  .mobile-nav summary .icon {
    color: var(--aqua);
  }

  .mobile-nav nav {
    position: absolute;
    z-index: 1;
    top: calc(100% + .5rem);
    right: 0;
    width: 172px;
    padding: .32rem;
    border: 1px solid #476776;
    border-radius: 8px;
    background: var(--navy-deep);
    box-shadow: 0 12px 32px #05152240;
  }

  .mobile-nav nav a {
    display: block;
    padding: .65rem .72rem;
    border-radius: 4px;
    font-size: .92rem;
    font-weight: 600;
  }

  .mobile-nav nav a:hover {
    background: var(--navy-lighter);
  }

  .mobile-contact {
    position: fixed;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 210px));
    justify-content: center;
    gap: .6rem;
    padding: .54rem max(1rem, env(safe-area-inset-right, 0px))
      calc(.54rem + env(safe-area-inset-bottom, 0px))
      max(1rem, env(safe-area-inset-left, 0px));
    border-top: 1px solid #335969;
    background: var(--navy-deep);
  }

  .mobile-contact .button {
    width: 100%;
    min-height: 48px;
    padding-block: .55rem;
  }

  .mobile-contact :focus-visible {
    outline-color: var(--aqua);
  }

  .hero {
    display: flex;
    flex-direction: column;
  }

  .hero::before {
    content: none;
  }

  .hero-layout {
    min-height: auto;
    padding-block: 2.45rem 2.3rem;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 10.2vw, 5.4rem);
  }

  .hero-intro {
    margin-top: 1.13rem;
  }

  .hero-actions {
    margin-top: 1.35rem;
  }

  .hero-photo {
    position: relative;
    inset: auto;
    z-index: auto;
    order: 1;
    display: block;
    height: clamp(205px, 50vw, 320px);
    border-top: 4px solid var(--aqua);
    clip-path: none;
  }

  .hero-photo img {
    object-position: center 51%;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
    margin-top: 1.35rem;
  }

  .area-panel {
    grid-template-columns: 1fr;
  }

  .area-panel > img {
    height: clamp(210px, 54vw, 320px);
    min-height: 0;
    object-position: center 53%;
  }

  .detail-hero h1 {
    font-size: clamp(2.65rem, 9.7vw, 4.65rem);
  }

  .faq-layout,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    flex-wrap: wrap;
  }

  .footer-inner {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: .3rem 1.15rem;
    padding-block: 1.2rem;
  }

  .footer-brand img {
    width: 101px;
  }
}

@media (max-width: 395px) {
  .container {
    width: calc(100% - 32px);
  }

  .hero-actions {
    gap: .45rem .85rem;
  }

  .hero-actions .button {
    padding-inline: .7rem;
  }

  .hero-more,
  .hero-actions .button {
    font-size: .875rem;
  }

  .service-card {
    min-height: 203px;
    padding: .86rem;
  }

  .service-card h3 {
    margin-top: .8rem;
  }

  .service-card p {
    font-size: .86rem;
  }

  .service-icon {
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
  }
}
