:root {
  --ink: #0b0f12;
  --panel: #12181d;
  --line: #d7dde1;
  --muted: #65717b;
  --paper: #f6f7f4;
  --white: #ffffff;
  --steel: #5d788a;
  --amber: #c88c3a;
  --sea: #1f5867;
  --green: #546e57;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 13px clamp(18px, 4vw, 56px);
  background: rgba(11, 15, 18, 0.94);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.brand img {
  width: 176px;
  height: 54px;
  display: block;
  object-fit: contain;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.78);
}

.site-nav a:hover,
.site-nav .ops-link {
  color: var(--white);
}

.ops-link {
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.cliente-link {
  padding: 7px 14px;
  background: #2563eb;
  color: var(--white) !important;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  transition: opacity 0.15s;
}
.cliente-link:hover { opacity: 0.85; }

.brochure-link {
  padding: 7px 14px;
  background: var(--accent);
  color: var(--white) !important;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  transition: opacity 0.15s;
}
.brochure-link:hover { opacity: 0.85; }

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: end;
  gap: clamp(22px, 4vw, 52px);
  padding: clamp(56px, 9vw, 110px) clamp(18px, 4vw, 56px) 34px;
  color: var(--white);
  overflow: hidden;
  background: #0b0f12;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 8, 0.96), rgba(8, 12, 15, 0.75) 42%, rgba(8, 12, 15, 0.16) 78%),
    linear-gradient(180deg, rgba(5, 7, 8, 0.12), rgba(5, 7, 8, 0.68)),
    url("/assets/oil-tanker-hero.png") center / cover no-repeat;
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 9vw, 7.4rem);
  line-height: 0.94;
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
}

.hero-content p:not(.eyebrow) {
  max-width: 670px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  background: var(--amber);
  color: #111;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.44);
  color: var(--white);
}

.hero-panel {
  display: grid;
  gap: 8px;
  padding: 24px;
  background: rgba(11, 15, 18, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.hero-panel span,
.hero-panel a {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.74);
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 4vw, 56px);
}

.split,
.manuals,
.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(300px, 1fr);
  gap: clamp(24px, 6vw, 80px);
}

.text-stack {
  max-width: 760px;
  color: #26343b;
  font-size: 1.08rem;
}

.values-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(18px, 4vw, 56px) clamp(56px, 8vw, 104px);
}

.values-band article {
  min-height: 250px;
  padding: clamp(22px, 4vw, 38px);
  background: var(--panel);
  color: var(--white);
}

.values-band article:nth-child(2) {
  background: #21303a;
}

.values-band article:nth-child(3) {
  background: var(--green);
}

.values-band p {
  color: rgba(255, 255, 255, 0.78);
}

.service-grid,
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-grid article,
.coverage-grid article {
  min-height: 245px;
  padding: 28px;
  border: 1px solid rgba(12, 19, 23, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 38px rgba(20, 31, 36, 0.08);
}

.service-card {
  display: flex;
  flex-direction: column;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 88, 103, 0.38);
  box-shadow: 0 22px 46px rgba(20, 31, 36, 0.13);
}

.service-grid span {
  color: var(--sea);
  font-weight: 800;
}

.service-more {
  width: 100%;
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding: 13px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--sea);
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.service-more span {
  width: 27px;
  height: 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 27px;
  border: 1px solid rgba(31, 88, 103, 0.3);
  border-radius: 50%;
  font-size: 1.15rem;
  line-height: 1;
}

.service-more:hover,
.service-more:focus-visible {
  color: var(--ink);
}

.service-more:focus-visible,
.dialog-close:focus-visible {
  outline: 3px solid rgba(200, 140, 58, 0.5);
  outline-offset: 4px;
}

.service-dialog {
  width: min(900px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.service-dialog::backdrop {
  background: rgba(4, 8, 10, 0.76);
  backdrop-filter: blur(5px);
}

.service-dialog[open] {
  animation: dialog-in 180ms ease-out;
}

.service-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 32px 22px;
  background: var(--panel);
  color: var(--white);
}

.service-dialog-head h2 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.8rem);
}

.dialog-close {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.service-dialog-intro {
  margin: 0;
  padding: 26px 32px 0;
  color: #314048;
  font-size: 1.08rem;
}

.service-dialog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 24px 32px;
}

.service-dialog-grid section {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-dialog-grid h3 {
  margin-bottom: 13px;
  color: var(--sea);
}

.service-dialog-grid ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
  color: #344149;
}

.dialog-contact {
  margin: 0 32px 32px;
}

body.dialog-open {
  overflow: hidden;
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.coverage {
  background: #e8ece7;
}

.manuals {
  background: var(--ink);
  color: var(--white);
}

.manuals p,
.manuals li {
  color: rgba(255, 255, 255, 0.76);
}

.manuals ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style-position: inside;
}

.manuals li {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.contact {
  background: #0b1c22;
  color: var(--white);
}

.contact p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 8px;
  color: var(--ink);
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form .full,
.contact-form button {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px;
  background: var(--white);
  color: var(--ink);
}

.footer {
  display: grid;
  gap: 12px;
  padding: 42px clamp(18px, 4vw, 56px);
  background: #050607;
  color: rgba(255, 255, 255, 0.72);
}

.footer img {
  width: min(320px, 100%);
}

.footer a {
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header {
    position: relative;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero,
  .split,
  .manuals,
  .contact,
  .values-band,
  .service-grid,
  .coverage-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 148px;
    height: 46px;
  }

  .site-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    font-size: 0.78rem;
  }

  .site-nav a {
    min-width: 0;
    padding: 9px 8px 9px 0;
  }

  .site-nav .ops-link {
    padding-left: 0;
    border-left: 0;
  }

  .contact-form,
  .hero-actions {
    grid-template-columns: 1fr;
  }

  .button,
  .contact-form button {
    width: 100%;
  }

  .contact-form label {
    grid-column: 1 / -1;
  }

  .service-dialog {
    width: calc(100% - 20px);
    max-height: calc(100vh - 20px);
  }

  .service-dialog-head,
  .service-dialog-intro,
  .service-dialog-grid {
    padding-left: 20px;
    padding-right: 20px;
  }

  .service-dialog-grid {
    grid-template-columns: 1fr;
  }

  .dialog-contact {
    margin: 0 20px 24px;
  }
}
