:root {
  --navy: #0c315b;
  --navy-dark: #082440;
  --blue: #245d8e;
  --ink: #23394c;
  --muted: #687987;
  --paper: #f3f4f4;
  --line: #d9dfe2;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }

.site-header {
  position: absolute;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  padding: 0 max(38px, calc((100% - 1180px) / 2));
  display: flex;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid rgba(12, 49, 91, .1);
}
.brand { width: 225px; display: flex; align-items: center; }
.brand img { display: block; width: 200px; max-height: 73px; object-fit: contain; }
.main-nav { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 30px; }
.main-nav > a, .nav-services > button {
  min-height: 40px;
  padding: 0;
  display: flex;
  align-items: center;
  border: 0;
  background: none;
  color: #344c60;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  cursor: pointer;
  transition: color .18s ease;
}
.main-nav > a:hover, .nav-services > button:hover { color: var(--blue); }
.nav-services { position: relative; display: flex; align-items: center; }
.chevron { margin-left: 6px; font-size: 15px; transform: translateY(-2px); }
.language-switch { display: flex; align-items: center; gap: 6px; margin-left: -6px; padding-left: 21px; border-left: 1px solid var(--line); }
.language-switch button { padding: 8px 0; border: 0; background: none; color: #a0abb2; font-size: 11px; font-weight: 700; cursor: pointer; }
.language-switch button.active { color: var(--navy); }
.language-switch span { color: #c1c8cc; font-size: 11px; }
.services-dropdown {
  position: absolute;
  top: 70px;
  left: -25px;
  width: 370px;
  padding: 10px 23px;
  background: #fff;
  border-top: 3px solid var(--navy);
  box-shadow: 0 20px 40px rgba(8, 36, 64, .18);
  opacity: 0;
  transform: translateY(-7px);
  pointer-events: none;
  transition: .18s ease;
}
.services-dropdown.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.services-dropdown button {
  width: 100%;
  padding: 13px 0;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: #344c60;
  text-align: left;
  font-size: 13px;
  line-height: 1.38;
  cursor: pointer;
}
.services-dropdown button:last-child { border-bottom: 0; }
.services-dropdown button:hover { color: var(--blue); }
.services-dropdown button span { color: #9ba7ae; font-size: 9px; letter-spacing: .12em; }
.menu-toggle { display: none; }

.hero {
  position: relative;
  height: min(760px, 78svh);
  min-height: 580px;
  padding-top: 100px;
  overflow: hidden;
  background: var(--navy-dark);
}
.hero-image { position: absolute; inset: 100px 0 0; background: url('../images/marine-hero.webp') center center / cover no-repeat; }
.hero-overlay { position: absolute; inset: 100px 0 0; background: linear-gradient(180deg, rgba(7,31,57,.02), rgba(7,31,57,.2)); }
.hero-caption {
  position: absolute;
  z-index: 2;
  left: max(38px, calc((100% - 1180px) / 2));
  right: max(38px, calc((100% - 1180px) / 2));
  bottom: 32px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  color: #fff;
  text-transform: uppercase;
}
.hero-caption span { font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.hero-caption strong { max-width: 520px; text-align: right; font-size: 9px; font-weight: 600; letter-spacing: .12em; line-height: 1.5; }

.company-intro {
  max-width: 940px;
  margin: 0 auto;
  padding: 93px 34px 99px;
  text-align: center;
}
.company-intro h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: .012em;
}
.company-tagline { max-width: 770px; margin: 26px auto 0; color: #344c60; font-size: 21px; line-height: 1.48; }
.company-copy { max-width: 760px; margin: 16px auto 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.company-actions { margin-top: 31px; display: flex; justify-content: center; align-items: center; gap: 26px; }
.dark-button {
  min-width: 165px;
  height: 48px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: .18s ease;
}
.dark-button:hover { color: var(--navy); background: #fff; }
.text-link { color: var(--navy); font-size: 11px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.text-link:hover { color: var(--blue); }

.services { padding: 91px max(38px, calc((100% - 1180px) / 2)) 105px; background: var(--paper); }
.simple-heading { max-width: 760px; margin: 0 auto 50px; text-align: center; }
.simple-heading h2 { margin: 0; color: var(--navy); font-size: clamp(36px, 4.5vw, 56px); font-weight: 500; line-height: 1.12; }
.simple-heading p { max-width: 650px; margin: 21px auto 0; color: var(--muted); font-size: 15px; line-height: 1.72; }
.service-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.service-panel { min-width: 0; background: #fff; box-shadow: 0 1px 0 rgba(8,36,64,.04); scroll-margin-top: 30px; }
.service-cover {
  position: relative;
  width: 100%;
  height: 318px;
  padding: 0;
  display: block;
  overflow: hidden;
  border: 0;
  background: var(--navy-dark);
  color: #fff;
  text-align: left;
  cursor: pointer;
}
.service-photo { position: absolute; inset: 0; background-position: center; background-size: cover; transform: scale(1.01); transition: transform .45s ease; }
.service-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,25,46,.04) 24%, rgba(4,25,46,.78) 100%); }
.service-cover:hover .service-photo { transform: scale(1.045); }
.service-title { position: absolute; z-index: 2; left: 28px; right: 70px; bottom: 27px; display: flex; flex-direction: column; gap: 9px; }
.service-title strong { font-size: clamp(21px, 2.2vw, 29px); font-weight: 500; line-height: 1.25; }
.service-title small { color: rgba(255,255,255,.76); font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.service-cover > i { position: absolute; z-index: 2; right: 26px; bottom: 27px; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; font-size: 19px; font-style: normal; font-weight: 300; }
.service-details { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.service-details > div { min-height: 0; overflow: hidden; }
.service-panel.is-open .service-details { grid-template-rows: 1fr; }
.service-details p { margin: 29px 30px 0; color: #435a6d; font-size: 14px; line-height: 1.65; }
.service-details ul { margin: 19px 30px 31px; padding: 20px 0 0; border-top: 1px solid var(--line); columns: 2; column-gap: 30px; list-style: none; }
.service-details li { position: relative; break-inside: avoid; margin: 0 0 10px; padding-left: 16px; color: #5b6f7f; font-size: 12px; line-height: 1.55; }
.service-details li::before { content: ''; position: absolute; left: 0; top: .7em; width: 6px; height: 1px; background: var(--blue); }

.about { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; background: #fff; }
.about-photo { min-height: 560px; background: url('../images/marine-hero.webp') 68% center / cover no-repeat; }
.about-body { padding: 88px max(45px, calc((100vw - 1180px) / 2)) 82px 7vw; display: flex; flex-direction: column; justify-content: center; }
.section-label { margin: 0 0 15px; color: var(--blue); font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.about-body h2 { margin: 0; color: var(--navy); font-size: clamp(35px, 4.2vw, 56px); font-weight: 500; line-height: 1.12; }
.about-body h3 { max-width: 630px; margin: 25px 0 0; color: #344c60; font-size: 20px; font-weight: 500; line-height: 1.5; }
.about-body > p:not(.section-label) { max-width: 650px; margin: 17px 0 0; color: var(--muted); font-size: 15px; line-height: 1.78; }
.about-points { margin-top: 31px; padding-top: 22px; display: grid; gap: 13px; border-top: 1px solid var(--line); }
.about-points span { display: grid; grid-template-columns: 33px 1fr; align-items: center; color: #435a6d; font-size: 13px; }
.about-points small { color: #98a4ac; font-size: 9px; letter-spacing: .12em; }

.contact { padding: 93px max(38px, calc((100% - 1180px) / 2)) 104px; background: var(--paper); }
.contact-heading { margin-bottom: 48px; }
.contact-layout { background: var(--navy); }
.contact-info { padding: 54px 52px 56px; color: #fff; }
.contact-info h3 { margin: 0; font-size: 28px; font-weight: 500; line-height: 1.32; text-align: center; text-transform: uppercase; }
.contact-lead { margin: 14px auto 37px; color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.65; text-align: center; }
.contact-details { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.16); }
.contact-details > div { display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; }
.contact-details span { color: #acc5d8; font-size: 9px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.contact-details a { color: #fff; font-size: 14px; line-height: 1.5; }
.contact-details a:hover { color: #d0e5f0; }
.social-links { display: flex; gap: 8px; margin-top: 3px; }
.social-links a { width: 37px; height: 37px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; }
.social-links svg { width: 17px; height: 17px; fill: currentColor; }
.social-links a:hover { color: var(--navy); background: #fff; }

footer { padding: 0 max(38px, calc((100% - 1180px) / 2)); background: var(--navy-dark); color: rgba(255,255,255,.62); }
.footer-main { min-height: 128px; display: grid; grid-template-columns: 235px 1fr auto; align-items: center; gap: 28px; }
.footer-brand { width: 188px; padding: 8px 10px; background: #fff; }
.footer-brand img { display: block; width: 168px; }
footer p { margin: 0; font-size: 9px; font-weight: 600; letter-spacing: .09em; line-height: 1.55; text-transform: uppercase; }
.footer-main > p:nth-child(2) { text-align: center; }
.photo-credits { padding: 13px 0 17px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.38); font-size: 8px; text-align: center; text-transform: none; }
.photo-credits a:hover { color: #fff; }

@media (max-width: 1050px) {
  .site-header { height: 88px; }
  .brand { width: 190px; }
  .brand img { width: 170px; max-height: 64px; }
  .main-nav { gap: 18px; }
  .main-nav > a, .nav-services > button { font-size: 10px; }
  .services-dropdown { top: 64px; }
  .hero { padding-top: 88px; }
  .hero-image, .hero-overlay { inset: 88px 0 0; }
  .about-body { padding-left: 5vw; }
  .contact-info { padding: 42px 31px; }
  .contact-details { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
}

@media (max-width: 760px) {
  .site-header { height: 76px; padding: 0 18px; }
  .brand { width: 172px; }
  .brand img { width: 150px; max-height: 57px; }
  .menu-toggle { margin-left: auto; width: 52px; height: 76px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border: 0; background: #fff; }
  .menu-toggle span { width: 22px; height: 1px; background: var(--navy); }
  .main-nav { position: absolute; top: 76px; left: 0; right: 0; padding: 11px 20px 20px; display: none; flex-direction: column; align-items: stretch; gap: 0; background: #fff; box-shadow: 0 18px 32px rgba(7,31,59,.16); }
  .main-nav.is-open { display: flex; }
  .main-nav > a, .nav-services > button { width: 100%; min-height: 47px; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .nav-services { display: block; }
  .services-dropdown { position: static; width: auto; max-height: 0; padding: 0; overflow: hidden; border-top: 0; box-shadow: none; opacity: 1; transform: none; transition: max-height .25s ease; }
  .services-dropdown.is-open { max-height: 390px; }
  .services-dropdown button { padding-left: 2px; font-size: 12px; }
  .language-switch { min-height: 46px; margin: 0; padding: 0; border-left: 0; }
  .hero { height: 570px; min-height: 570px; padding-top: 76px; }
  .hero-image, .hero-overlay { inset: 76px 0 0; }
  .hero-image { background-position: 61% center; }
  .hero-caption { left: 20px; right: 20px; bottom: 22px; flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero-caption strong { text-align: left; font-size: 8px; }
  .company-intro { padding: 71px 20px 77px; }
  .company-intro h1 { font-size: 39px; }
  .company-tagline { font-size: 18px; }
  .company-actions { flex-direction: column; gap: 18px; }
  .dark-button { width: 100%; }
  .services { padding: 71px 20px 78px; }
  .simple-heading { margin-bottom: 37px; }
  .simple-heading h2 { font-size: 39px; }
  .service-panels { grid-template-columns: 1fr; gap: 17px; }
  .service-cover { height: 275px; }
  .service-title { left: 22px; right: 64px; bottom: 22px; }
  .service-title strong { font-size: 23px; }
  .service-cover > i { right: 21px; bottom: 22px; }
  .service-details ul { columns: 1; }
  .about { grid-template-columns: 1fr; }
  .about-photo { min-height: 410px; }
  .about-body { padding: 68px 20px 72px; }
  .about-body h2 { font-size: 39px; }
  .about-body h3 { font-size: 18px; }
  .contact { padding: 72px 20px 80px; }
  .contact-info { padding: 38px 27px; }
  .contact-info h3 { font-size: 24px; }
  .contact-details { grid-template-columns: 1fr; }
  footer { padding: 0 20px; }
  .footer-main { padding: 30px 0; grid-template-columns: 1fr; justify-items: start; gap: 19px; }
  .footer-main > p:nth-child(2) { text-align: left; }
  .photo-credits { text-align: left; line-height: 1.7; }
}

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