:root {
  --page: #f7f6f2;
  --text: #17202a;
  --muted: #596571;
  --line: #d8dde2;
  --blue: #1268b3;
  --blue-deep: #0d426f;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { color-scheme: light; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; }
h1, h2, h3, p { margin: 0; }
h1 { max-width: 960px; font-size: 4.25rem; line-height: 1.08; }
h2 { max-width: 760px; font-size: 2.75rem; line-height: 1.16; }
h3 { font-size: 1.3rem; line-height: 1.35; }
p { color: var(--muted); }

.site-header, .section, .site-footer { width: min(var(--max), calc(100% - 64px)); margin: 0 auto; }
.site-header {
  padding: 26px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; flex-shrink: 0; }
.brand-logo { display: block; width: 172px; max-width: 100%; height: auto; }
.main-nav { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 0.9rem; }
.main-nav a { padding: 10px 0; white-space: nowrap; transition: color 160ms ease; }
.main-nav a:hover, .text-link:hover, .text-links a:hover, .cta-links a:hover { color: var(--blue); }
.main-nav a[aria-current="page"] { color: var(--blue-deep); font-weight: 700; }

.section { padding: 72px 0; border-bottom: 1px solid var(--line); }
.section-kicker { display: block; color: var(--blue); font-size: 0.8rem; font-weight: 700; margin-bottom: 20px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 36px; }
.section-head { margin-bottom: 40px; }
.section-description { max-width: 390px; margin: 22px 0 26px; }
.text-links, .cta-links { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 28px; }
.text-link, .text-links a, .cta-links a {
  display: inline-block;
  color: var(--blue-deep);
  font-weight: 700;
  border-bottom: 1px solid currentColor;
  padding: 7px 0;
}
.text-link { flex-shrink: 0; }
.editorial-grid, .split-section { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 88px; align-items: start; }

.home-hero { padding-top: 58px; padding-bottom: 32px; }
.home-hero .section-kicker { font-size: 1rem; margin-bottom: 22px; }
.home-hero h1 { font-size: 5rem; line-height: 1.08; }
.home-hero h1 span { display: block; }
.hero-description { max-width: 700px; margin-top: 28px; font-size: 1.18rem; line-height: 1.65; }
.hero-fields { list-style: none; display: flex; flex-wrap: wrap; gap: 18px 48px; margin: 34px 0 0; padding: 0; color: var(--muted); font-size: 0.9rem; }
.home-services { padding-top: 48px; }
.service-list { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 36px minmax(0, 0.9fr) minmax(0, 1.1fr) auto; gap: 32px; align-items: start; padding: 30px 0; border-bottom: 1px solid var(--line); }
.row-number { color: var(--blue); font-size: 0.8rem; font-weight: 700; padding-top: 4px; }
.service-row h3 { font-size: 1.4rem; }
.service-row p { max-width: 440px; }
.row-action { color: var(--blue-deep); font-weight: 700; border-bottom: 1px solid currentColor; padding: 3px 0; }
.service-row:hover h3, .service-row:hover .row-action { color: var(--blue); }
.marine-description { max-width: 560px; margin-bottom: 26px; font-size: 1.05rem; }
.marine-terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 30px; margin: 0; }
.marine-terms div { padding: 18px 0; border-top: 1px solid var(--line); }
.marine-terms dt { font-size: 1.05rem; color: var(--blue-deep); font-weight: 700; }
.marine-terms dd { margin: 4px 0 0; color: var(--muted); font-size: 0.88rem; }
.sector-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; margin-top: 48px; }
.sector-summary a { display: block; padding-top: 22px; border-top: 1px solid var(--line); }
.sector-summary span { font-weight: 700; }
.sector-summary p { margin-top: 6px; font-size: 0.95rem; }
.sector-summary a:hover span { color: var(--blue); }
.line-list { border-top: 1px solid var(--line); }
.line-item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.line-item h3 { margin-bottom: 8px; }
.equipment-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 30px; margin: 0; padding: 0; }
.equipment-list li { min-height: 66px; display: flex; align-items: center; border-top: 1px solid var(--line); font-size: 1.25rem; font-weight: 700; }
.final-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 50px; }
.final-cta h2 { max-width: 750px; }
.cta-links { justify-content: flex-end; margin-top: 0; }
.site-footer { padding: 30px 0 36px; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; color: var(--muted); font-size: 0.85rem; }
.site-footer strong { display: block; color: var(--text); margin-bottom: 3px; }
.site-footer a:hover { color: var(--blue); }

.page-hero { padding-top: 58px; padding-bottom: 48px; }
.page-hero p { max-width: 740px; margin-top: 26px; font-size: 1.1rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 0.85rem; margin-bottom: 26px; }
.breadcrumb a { border-bottom: 1px solid var(--line); }
.breadcrumb a:hover { color: var(--blue); }
.detail-hero h1 { max-width: 900px; font-size: 3.75rem; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 88px; }
.detail-layout h2 { font-size: 2.35rem; }
.detail-list { padding-left: 20px; margin: 0; color: var(--muted); }
.detail-list li { padding: 0 0 13px 7px; }
.detail-list li:last-child { padding-bottom: 0; }
.detail-list li::marker { color: var(--blue); }
.detail-note { margin-top: 24px; }
.detail-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.detail-steps li { display: grid; grid-template-columns: 35px minmax(0, 1fr); gap: 20px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.detail-steps h3 { font-size: 1.12rem; margin-bottom: 7px; }
.technical-scope .scope-table { border-top: 1px solid var(--line); }
.scope-row { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 42px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.scope-row span { color: var(--blue-deep); font-weight: 700; }
.equipment-row { display: grid; grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.35fr); gap: 60px; padding: 30px 0; border-top: 1px solid var(--line); }
.equipment-row h2 { font-size: 1.7rem; }
.equipment-row p { max-width: 720px; }
.sector-list { border-top: 1px solid var(--line); }
.sector-row { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 42px; padding: 32px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.sector-row h3 { margin-bottom: 10px; }
.term-strip { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 24px; color: var(--blue-deep); font-size: 0.94rem; font-weight: 700; }
.term-strip span { padding-bottom: 5px; border-bottom: 1px solid var(--line); }
.equipment-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.equipment-grid span { min-height: 82px; padding: 22px 22px 22px 0; display: flex; align-items: center; border-bottom: 1px solid var(--line); font-size: 1.2rem; font-weight: 700; }
.process-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.process-list li { padding: 26px 26px 26px 0; border-bottom: 1px solid var(--line); }
.process-list span { color: var(--blue); font-weight: 700; }
.process-list strong { display: block; margin: 12px 0 8px; font-size: 1.1rem; }
.references-section { min-height: 360px; }
.references-empty { min-height: 180px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.contact-layout { display: grid; grid-template-columns: minmax(0, 0.52fr) minmax(0, 1fr); gap: 76px; align-items: start; }
.contact-block { padding-bottom: 34px; }
.contact-block h2 { font-size: 2.6rem; line-height: 1.12; }
.contact-side { border-top: 1px solid var(--line); }
.contact-side .contact-block { padding-top: 24px; }
.contact-lines { display: grid; }
.contact-lines div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-lines span { display: block; margin-bottom: 8px; color: var(--blue); font-size: 0.8rem; font-weight: 700; }
.contact-lines a { color: var(--blue-deep); font-weight: 700; overflow-wrap: anywhere; }
.form-intro { max-width: 620px; margin-bottom: 26px; }
.contact-form { display: grid; gap: 24px; border-top: 1px solid var(--line); padding-top: 30px; }
.contact-form label { display: grid; gap: 9px; }
.contact-form label span { color: var(--blue); font-size: 0.8rem; font-weight: 700; }
.contact-form small { color: var(--muted); font-size: 0.9rem; line-height: 1.45; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--text);
  font: inherit;
  padding: 14px 16px;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #6c7782; }
.contact-form textarea { min-height: 160px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--blue); outline-offset: 2px; }
.contact-form button { justify-self: start; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; background: transparent; color: var(--blue-deep); cursor: pointer; font: inherit; font-weight: 700; padding: 10px 0; }
.map-section { padding-top: 0; }
.map-section iframe { display: block; width: 100%; height: 430px; border: 1px solid var(--line); }

.field-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: start; }
.field-gallery figure { margin: 0; min-width: 0; }
.field-gallery a { display: block; }
.field-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: contain; }
.field-gallery figcaption { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 12px; color: var(--muted); font-size: 0.95rem; overflow-wrap: anywhere; }
.field-gallery figcaption span { display: block; margin-bottom: 8px; font-size: 0.8rem; color: var(--blue); }
.field-gallery figcaption strong { display: block; color: var(--text); font-size: 1.15rem; font-weight: 600; }
.field-gallery a:hover figcaption strong { color: var(--blue); }
.home-service-gallery { margin-bottom: 40px; }
.home-service-gallery h3 { font-size: 1.3rem; color: var(--text); margin-bottom: 10px; }
.home-service-gallery figcaption p { font-size: 0.95rem; margin-bottom: 12px; }
.home-service-gallery figcaption strong { display: inline-block; font-size: 0.9rem; color: var(--blue-deep); border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.home-marine-photo { margin: 0; min-width: 0; }
.home-marine-photo img { display: block; width: 100%; height: auto; }
.home-marine-photo figcaption { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.home-marine .marine-terms { margin-top: 30px; }
.home-equipment .equipment-list { font-size: 1rem; }
.home-equipment .equipment-list li { font-size: 1.05rem; overflow-wrap: anywhere; }
.home-equipment .equipment-list a { display: flex; align-items: center; width: 100%; min-height: 66px; padding: 10px 0; }
.home-equipment .equipment-list a:hover { color: var(--blue); }
.field-single { margin: 0; max-width: 600px; }
.field-single img { display: block; width: 100%; height: auto; }
.field-single figcaption { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.95rem; color: var(--muted); }
@media (max-width: 620px) {
  .field-gallery { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

@media (max-width: 1050px) {
  .main-nav { gap: 16px; font-size: 0.85rem; }
  .editorial-grid, .split-section, .detail-layout { gap: 48px; }
  .service-row { gap: 22px; }
}
@media (max-width: 900px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 16px; }
  .main-nav { width: 100%; justify-content: space-between; flex-wrap: wrap; gap: 8px 22px; }
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.4rem; }
  .home-hero h1 { font-size: 4rem; }
  .detail-hero h1 { font-size: 3.25rem; }
  .editorial-grid, .split-section, .detail-layout { grid-template-columns: 1fr; gap: 30px; }
  .section-description { max-width: 570px; }
  .service-row { grid-template-columns: 28px minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .service-row .row-action { grid-column: 2; justify-self: start; }
  .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .contact-block h2 { max-width: 570px; }
  .final-cta { grid-template-columns: 1fr; gap: 24px; }
  .cta-links { justify-content: flex-start; }
  .equipment-grid, .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .site-header, .section, .site-footer { width: calc(100% - 36px); }
  .site-header { padding: 20px 0 16px; gap: 14px; }
  .brand-logo { width: 150px; }
  .main-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 12px; justify-items: start; font-size: 0.76rem; }
  .main-nav a { min-height: 36px; display: flex; align-items: center; padding: 4px 0; white-space: normal; }
  .section { padding: 44px 0; }
  .section-kicker { margin-bottom: 14px; }
  h1, .detail-hero h1 { font-size: 2.2rem; line-height: 1.15; overflow-wrap: break-word; }
  h2, .detail-layout h2 { font-size: 1.9rem; line-height: 1.2; }
  h3 { font-size: 1.18rem; }
  .home-hero { padding-top: 32px; padding-bottom: 22px; }
  .home-hero h1 { font-size: 2.25rem; line-height: 1.16; }
  .home-hero .section-kicker { font-size: 0.9rem; margin-bottom: 16px; }
  .hero-description { font-size: 1rem; margin-top: 18px; line-height: 1.6; }
  .hero-fields { gap: 8px 20px; margin-top: 22px; font-size: 0.78rem; }
  .text-links { margin-top: 18px; gap: 24px; }
  .home-services { padding-top: 32px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 22px; }
  .section-heading .text-link { font-size: 0.9rem; }
  .service-row { grid-template-columns: 24px minmax(0, 1fr); gap: 12px 14px; padding: 24px 0; }
  .service-row h3 { font-size: 1.25rem; }
  .service-row p, .service-row .row-action { grid-column: 2; }
  .service-row p { font-size: 0.95rem; }
  .service-row br { display: none; }
  .marine-terms { gap: 0 18px; }
  .marine-terms dt { font-size: 0.95rem; }
  .marine-terms dd { font-size: 0.8rem; }
  .sector-summary { grid-template-columns: 1fr; gap: 22px; margin-top: 30px; }
  .line-item { padding: 22px 0; }
  .equipment-list { gap: 0 18px; }
  .equipment-list li { font-size: 1.1rem; min-height: 58px; }
  .page-hero { padding-top: 32px; padding-bottom: 36px; }
  .page-hero p { font-size: 1rem; margin-top: 20px; }
  .scope-row, .equipment-row, .sector-row { grid-template-columns: 1fr; gap: 12px; padding: 24px 0; }
  .equipment-row h2 { font-size: 1.45rem; }
  .equipment-grid, .process-list { grid-template-columns: 1fr; }
  .contact-block h2 { font-size: 2rem; }
  .map-section { padding-top: 0; }
  .map-section iframe { height: 320px; }
  .site-footer { flex-direction: column; gap: 16px; padding: 26px 0 30px; }
}
