:root {
  color-scheme: light;
  --navy: #07384c;
  --navy-deep: #062b3c;
  --blue: #008eb1;
  --blue-dark: #00728e;
  --orange: #e85c0d;
  --orange-dark: #c94b05;
  --ink: #173541;
  --muted: #596e78;
  --line: #dce5e8;
  --pale: #f2f7f8;
  --sans: "DM Sans", Arial, sans-serif;
  --display: "Manrope", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 85px; }
body { margin: 0; color: var(--ink); background: white; font-family: var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 3px solid #f59a51; outline-offset: 3px; }
[hidden] { display: none !important; }
.section-wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 20; top: 8px; left: 8px; padding: 12px 16px; transform: translateY(-150%); background: var(--navy); color: white; }
.skip-link:focus { transform: none; }

.site-header { position: relative; z-index: 10; background: white; }
.header-top { background: var(--navy); color: white; }
.header-contact { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 13px; font-weight: 600; }
.header-contact > a { color: white; }
.header-contact > a:hover { color: var(--blue); }
.social-links { display: flex; gap: 15px; }
.social-links a { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; }
.social-links svg { width: 100%; height: 100%; }
.social-links a:hover { opacity: 0.75; }
.header-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { width: 184px; height: 90px; display: block; overflow: hidden; flex: 0 0 auto; }
.brand img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.primary-nav { display: flex; align-items: center; gap: 38px; font-size: 14px; font-weight: 700; }
.primary-nav > a:not(.nav-cta):hover { color: var(--blue-dark); }
.nav-cta { min-height: 46px; padding: 14px 19px; background: var(--navy); color: white; }
.nav-cta:hover { background: var(--blue-dark); }
.nav-cta span { padding-left: 13px; color: #ff9a57; }
.menu-toggle { display: none; }

.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 620px; border-bottom: 4px solid var(--orange); background: linear-gradient(115deg, #052b44 30%, #075a7b 100%); color: white; }
.hero-image { position: absolute; z-index: -2; inset: 0; background: url("assets/images/project-31.jpg") right 38% / cover no-repeat; }
.hero::before { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(5,43,68,.98) 0%, rgba(5,43,68,.94) 35%, rgba(5,43,68,.56) 65%, rgba(5,43,68,.18) 100%); content: ""; }
.hero-inner { position: relative; min-height: 620px; display: flex; align-items: center; padding-block: 68px; }
.hero-copy { width: min(58%, 570px); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 19px; color: var(--blue-dark); font-size: 11px; font-weight: 700; letter-spacing: 1.65px; text-transform: uppercase; }
.eyebrow > span { width: 27px; height: 3px; background: var(--orange); }
.eyebrow-light { color: #b7d9e2; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin-bottom: 23px; font: 800 clamp(43px, 4.7vw, 66px)/1.12 var(--display); letter-spacing: -2.6px; }
.hero h1 em { color: #72d2e7; font-style: normal; }
.hero-copy > p:not(.eyebrow) { max-width: 535px; margin-bottom: 30px; color: #d2e2e7; font-size: 16px; line-height: 1.8; }
.trust-badges { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.2); }
.trust-badges div { display: flex; align-items: center; gap: 8px; color: white; font-size: 14px; font-weight: 600; }
.badge-tick { color: var(--orange); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 51px; padding: 14px 20px; display: inline-flex; align-items: center; justify-content: center; gap: 25px; font-size: 13px; font-weight: 700; transition: background .2s ease, border-color .2s ease; }
.button span { font-size: 17px; line-height: 1; }
.button-orange { background: var(--orange); color: white; }
.button-orange:hover { background: var(--orange-dark); }
.button-outline { border: 1px solid rgba(255,255,255,.55); color: white; }
.button-outline:hover { background: rgba(255,255,255,.12); }

.service-bar { background: var(--blue-dark); color: white; }
.service-bar-inner { min-height: 87px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.service-bar p { margin: 0; font-size: 14px; }
.service-bar-inner > div { display: flex; align-items: center; }
.service-bar-inner > div span { padding: 4px 29px; border-left: 1px solid rgba(255,255,255,.3); font-size: 13px; font-weight: 700; }
.service-bar-inner > div span:last-child { padding-right: 0; }

.services { padding-block: 108px 105px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; }
.section-heading h2, .about h2, .contact-inner h2 { margin: 0; font: 800 clamp(33px, 3.3vw, 46px)/1.18 var(--display); letter-spacing: -1.6px; }
.section-heading > p { max-width: 360px; margin: 0 0 4px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 49px; border: 1px solid var(--line); }
.service-card { min-width: 0; padding: 28px 25px 26px; border-right: 1px solid var(--line); }
.service-card:last-child { border-right: 0; }
.service-icon { width: 48px; height: 48px; margin-bottom: 24px; display: grid; place-items: center; background: #e7f4f7; color: var(--blue-dark); }
.service-icon svg { width: 29px; height: 29px; }
.service-card h3 { margin-bottom: 12px; font: 800 17px/1.3 var(--display); letter-spacing: -.3px; }
.service-card p { min-height: 99px; margin-bottom: 20px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.service-tag { display: block; padding-top: 16px; border-top: 1px solid var(--line); color: var(--blue-dark); font-size: 10px; font-weight: 700; letter-spacing: .3px; }
.services-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 25px; }
.services-footer p { margin: 0; color: var(--muted); font-size: 13px; }
.inline-link { display: inline-flex; align-items: center; gap: 13px; color: var(--blue-dark); font-size: 13px; font-weight: 700; }
.inline-link span { color: var(--orange); font-size: 18px; }
.inline-link:hover { color: var(--orange-dark); }

.work-section { padding-block: 105px 110px; background: var(--pale); }
.slideshow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 47px; }
.slideshow { min-width: 0; background: white; }
.slideshow-heading { min-height: 81px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.slideshow-heading span:first-child { color: var(--blue-dark); font-size: 9px; font-weight: 700; letter-spacing: 1.3px; }
.slideshow-heading h3 { margin: 6px 0 0; font: 800 17px/1.25 var(--display); }
.heading-line { width: 30px; height: 3px; background: var(--orange); }
.slides figure { margin: 0; }
.slides img { width: 100%; height: 300px; object-fit: cover; background: #e2ebed; }
.slides figcaption { padding: 12px 20px 0; color: var(--muted); font-size: 12px; }
.slideshow-controls { min-height: 67px; padding: 12px 20px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.slideshow-controls .slide-status { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.slideshow-controls > div { display: flex; gap: 5px; flex: 0 0 auto; }
.slideshow-controls button { width: 38px; height: 38px; border: 1px solid #cbdde1; background: white; color: var(--navy); cursor: pointer; font-size: 19px; line-height: 1; }
.slideshow-controls button:hover { border-color: var(--blue-dark); background: var(--blue-dark); color: white; }
.slideshow:has(.slideshow-controls:not([hidden])) .slides figcaption { display: none; }

.about { padding-block: 110px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 70px; align-items: center; }
.about-images { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: 16px; }
.about-flyer { display: block; box-shadow: 0 14px 40px rgba(6,43,60,.18); }
.about-flyer img { width: 100%; height: auto; }
.about-portrait { margin: 0; background: var(--navy); color: white; }
.about-portrait img { width: 100%; height: auto; }
.about-portrait figcaption { padding: 14px; font: 700 13px/1.4 var(--display); }
.about-portrait figcaption span { color: #c8dce2; font: 400 11px/1.5 var(--sans); }
.about-copy { max-width: 485px; }
.about-copy h2 { margin-bottom: 23px; }
.about-copy > p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.85; }
.about-copy .inline-link { margin: 10px 24px 0 0; }

.contact-section { position: relative; overflow: hidden; background: var(--navy); color: white; }
.contact-section::after { position: absolute; top: -150px; right: -90px; width: 430px; height: 430px; border: 65px solid rgba(0,142,177,.13); border-radius: 50%; content: ""; pointer-events: none; }
.contact-inner { position: relative; z-index: 1; min-height: 280px; padding-block: 65px; display: flex; justify-content: space-between; align-items: center; gap: 55px; }
.contact-inner h2 { font-size: clamp(36px, 4vw, 52px); }
.contact-side { max-width: 365px; }
.contact-side p { margin-bottom: 22px; color: #d1e0e5; font-size: 14px; line-height: 1.8; }
.contact-side a { display: inline-block; }
.contact-side a[href^="mailto:"] { color: var(--blue); }

.site-footer { background: var(--navy); color: white; }
.footer-contact { background: rgba(0,142,177,.15); }
.footer-contact-inner { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.footer-contact-inner > div { display: flex; gap: 20px; }
.footer-contact-inner a { color: white; font-size: 13px; font-weight: 600; }
.footer-contact-inner a:hover { color: var(--blue); }
.footer-socials { display: flex; gap: 25px; }

.footer-inner { min-height: 135px; display: flex; align-items: center; gap: 35px; }
.footer-brand { width: 160px; height: 78px; }
.footer-inner p { margin: 0 auto 0 0; color: var(--muted); font-size: 12px; }
.back-to-top { color: var(--blue-dark); font-size: 12px; font-weight: 700; }
.back-to-top span { margin-left: 5px; color: var(--orange); font-size: 16px; }
.footer-inner small { color: var(--muted); font-size: 11px; }

@media (max-width: 1000px) {
  .section-wrap { width: calc(100% - 64px); }
  .header-contact { font-size: 12px; gap: 15px; }
  .hero { min-height: 520px; }
  .hero-inner { min-height: 520px; }
  .hero h1 { font-size: clamp(42px, 5.3vw, 57px); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(2) { border-right: 0; }
  .service-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .service-card p { min-height: 66px; }
  .slides img { height: 245px; }
  .about { gap: 50px; }
  .footer-contact-inner { gap: 20px; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 120px; }
  .section-wrap { width: calc(100% - 40px); }
  .site-header { position: sticky; top: 0; }
  .header-inner { min-height: 72px; }
  .brand { width: 145px; height: 68px; }
  .menu-toggle { display: flex; align-items: center; gap: 9px; padding: 12px 0 12px 12px; border: 0; background: none; color: var(--navy); cursor: pointer; font-size: 13px; font-weight: 700; }
  .menu-icon, .menu-icon::before, .menu-icon::after { width: 19px; height: 2px; display: block; background: var(--navy); }
  .menu-icon { position: relative; }
  .menu-icon::before, .menu-icon::after { position: absolute; left: 0; content: ""; }
  .menu-icon::before { top: -6px; }
  .menu-icon::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-icon::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::after { top: 0; transform: rotate(-45deg); }
  .primary-nav { position: absolute; top: 116px; right: 0; left: 0; padding: 6px 20px 20px; display: none; flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--line); box-shadow: 0 10px 20px rgba(6,43,60,.12); background: white; }
  .primary-nav.is-open { display: flex; }
  .primary-nav > a:not(.nav-cta) { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 15px; text-align: center; }
  .hero { min-height: 0; }
  .hero-image { inset: 0; background-position: center top; }
  .hero::before { background: linear-gradient(90deg, rgba(5,43,68,.97), rgba(5,43,68,.78)), linear-gradient(180deg, transparent, #052b44); }
  .hero-inner { min-height: 0; padding-block: 54px 40px; }
  .hero-copy { width: 100%; }
  .hero .eyebrow { font-size: 10px; line-height: 1.5; }
  .hero h1 { margin-bottom: 20px; font-size: clamp(36px, 9.4vw, 48px); line-height: 1.12; letter-spacing: -1.5px; }
  .hero-copy > p:not(.eyebrow) { max-width: 480px; margin-bottom: 24px; font-size: 14px; line-height: 1.7; }
  .trust-badges { gap: 12px 18px; margin-top: 26px; }
  .trust-badges div { font-size: 13px; }
  .button { min-height: 49px; font-size: 12px; }
  .service-bar-inner { padding-block: 20px; display: block; }
  .service-bar p { margin-bottom: 12px; font-size: 13px; }
  .service-bar-inner > div { flex-wrap: wrap; gap: 8px 0; }
  .service-bar-inner > div span { padding: 2px 13px; font-size: 11px; }
  .service-bar-inner > div span:first-child { padding-left: 0; border-left: 0; }
  .services, .work-section { padding-block: 73px; }
  .section-heading { display: block; }
  .section-heading h2, .about h2 { font-size: clamp(31px, 7.5vw, 42px); letter-spacing: -1.2px; }
  .section-heading > p { margin-top: 17px; font-size: 13px; }
  .service-grid { margin-top: 30px; }
  .service-card { padding: 22px 16px; }
  .service-icon { margin-bottom: 17px; }
  .service-card h3 { font-size: 15px; }
  .service-card p { min-height: 0; font-size: 12px; }
  .service-tag { font-size: 9px; line-height: 1.6; }
  .services-footer { align-items: flex-start; flex-direction: column; }
  .services-footer p { line-height: 1.7; }
  .slideshow-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 30px; }
  .slides img { height: min(370px, 85vw); }
  .about { padding-block: 73px; grid-template-columns: 1fr; gap: 40px; }
  .about-images { gap: 12px; }
  .about-copy > p:not(.eyebrow) { font-size: 13px; }
  .contact-inner { min-height: 0; padding-block: 65px; display: block; }
  .contact-inner h2 { font-size: clamp(34px, 8.5vw, 45px); letter-spacing: -1px; }
  .contact-side { margin-top: 20px; }
  .contact-side p { font-size: 13px; }
  .footer-contact-inner { flex-direction: column; align-items: flex-start; min-height: auto; gap: 15px; padding-block: 20px; }
  .footer-contact-inner > div { flex-wrap: wrap; }
  .footer-socials { flex-wrap: wrap; }
  .footer-inner { min-height: 0; padding-block: 22px; flex-wrap: wrap; gap: 10px 20px; }
  .footer-brand { width: 140px; height: 65px; }
  .footer-inner p { flex: 1 1 100%; order: 2; }
  .footer-inner small { flex: 1 1 100%; order: 3; }
  .back-to-top { margin-left: auto; }
}

@media (max-width: 380px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .service-card:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
