@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/roboto-v30-latin-regular.woff2") format("woff2");
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./fonts/roboto-v30-latin-700.woff2") format("woff2");
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("./fonts/roboto-v30-latin-900.woff2") format("woff2");
}

:root {
  --ink: #102033;
  --navy: #071d35;
  --navy-2: #0e2f4a;
  --teal: #1f8a8a;
  --teal-soft: #e6f3f2;
  --gold: #c8a24a;
  --line: #d9e4e6;
  --surface: #ffffff;
  --surface-2: #f4f8f8;
  --muted: #5c7180;
  --error: #b32020;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--surface-2);
  color: var(--ink);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  line-height: 1;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--surface-2);
  -webkit-text-size-adjust: 100%;
}

a {
  color: inherit;
}

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

button,
input,
textarea {
  font: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.for-mobile {
  display: none;
}

.em {
  color: var(--gold);
  font-weight: 700;
}

header[role="banner"] {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 29, 53, 0.74);
  backdrop-filter: blur(16px);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

header[role="banner"].scrolled {
  border-bottom-color: rgba(16, 32, 51, 0.1);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 34px rgba(7, 29, 53, 0.09);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  height: 74px;
  margin: 0 auto;
  gap: 24px;
}

h1 {
  margin: 0;
}

h1 a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.brand-wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border-bottom: 2px solid var(--gold);
  color: #ffffff;
  font-size: 1.32rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

header[role="banner"].scrolled .brand-wordmark {
  color: var(--navy);
}

.global-menu ul {
  display: flex;
  align-items: center;
  gap: 6px;
}

.global-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

header[role="banner"].scrolled .global-menu a {
  color: var(--ink);
}

.global-menu a:hover {
  background: rgba(200, 162, 74, 0.16);
  color: #fff;
}

header[role="banner"].scrolled .global-menu a:hover {
  background: var(--teal-soft);
  color: var(--navy);
}

.hero {
  display: grid;
  align-items: center;
  min-height: min(680px, calc(100vh - 118px));
  padding: 118px 20px 72px;
  background-color: var(--navy);
  background-image:
    linear-gradient(90deg, rgba(7, 29, 53, 0.16), rgba(7, 29, 53, 0.18)),
    url("images/hero.png?v=hero2");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

html.webp .hero {
  background-image:
    linear-gradient(90deg, rgba(7, 29, 53, 0.16), rgba(7, 29, 53, 0.18)),
    url("images/hero.png.webp?v=hero2");
}

.hero-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  color: #fff;
}

.hero-inner p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.83);
  font-size: 1.08rem;
  line-height: 1.72;
}

.hero-inner p.catch {
  max-width: 820px;
  margin-bottom: 18px;
  color: #ffffff;
  font-size: 2.32rem;
  font-weight: 900;
  line-height: 1.18;
}

section {
  padding: 78px 20px 0;
}

section > header {
  width: min(1180px, 100%);
  margin: 0 auto;
}

section header h2 {
  margin: 0;
  color: var(--navy);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
}

section header h2::after {
  display: block;
  width: 64px;
  height: 3px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: var(--gold);
  content: "";
}

.section-body {
  width: min(1180px, 100%);
  margin: 46px auto 0;
}

#services {
  padding-top: 42px;
}

#services .section-body {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

#services .section-body > div {
  min-height: 360px;
  padding: 30px 24px;
  border: 1px solid rgba(16, 32, 51, 0.08);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 42px rgba(16, 32, 51, 0.08);
}

#services .section-body > div:nth-child(1) {
  border-top: 4px solid var(--teal);
}

#services .section-body > div:nth-child(2) {
  border-top: 4px solid var(--gold);
}

#services .section-body > div:nth-child(3) {
  border-top: 4px solid #496f94;
}

#services .section-body > div:nth-child(4) {
  border-top: 4px solid #6b8f86;
}

#services h3 {
  min-height: 62px;
  margin: 0 0 22px;
  color: var(--navy);
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1.28;
}

#services li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

#services li + li {
  margin-top: 12px;
}

#services li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
  content: "";
}

#company {
  padding-bottom: 10px;
}

#company .section-body {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

#company table {
  width: 100%;
  border-collapse: collapse;
}

#company th,
#company td {
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  line-height: 1.55;
  text-align: left;
  vertical-align: top;
}

#company tr:last-child th,
#company tr:last-child td {
  border-bottom: 0;
}

#company th {
  width: 250px;
  color: var(--navy);
  font-weight: 900;
}

#company td {
  color: var(--muted);
}

#contact {
  padding-bottom: 82px;
}

#contact p {
  margin: 0 0 28px;
  color: var(--muted);
  line-height: 1.65;
  text-align: center;
}

#contact form {
  width: min(680px, 100%);
  margin: 0 auto;
  padding: 34px;
  border: 1px solid rgba(16, 32, 51, 0.08);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 46px rgba(16, 32, 51, 0.08);
}

#contact form > div + div {
  margin-top: 18px;
}

#contact label {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-weight: 900;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="tel"],
textarea {
  width: 100%;
  border: 1px solid #cfdcdf;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="tel"] {
  height: 46px;
  padding: 0 13px;
}

textarea {
  min-height: 180px;
  padding: 12px 13px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(31, 138, 138, 0.14);
}

.turnstile-container {
  display: flex;
  justify-content: center;
  min-height: 74px;
}

.button {
  margin-top: 28px;
  text-align: center;
}

.button button {
  min-width: 152px;
  height: 48px;
  border: 0;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.16s ease, transform 0.16s ease;
}

.button button:hover:not([disabled]) {
  background: var(--teal);
  transform: translateY(-1px);
}

.button button[disabled] {
  background: #aebcc1;
  cursor: not-allowed;
}

div[class$="message"],
div[class$="Message"] {
  display: none;
  width: min(680px, 100%);
  margin: 24px auto 0;
  padding: 18px 22px;
  border: 1px solid rgba(31, 138, 138, 0.28);
  border-radius: var(--radius);
  background: var(--teal-soft);
  color: var(--teal);
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
}

#errorMessage,
#error-message {
  border-color: rgba(179, 32, 32, 0.28);
  background: rgba(179, 32, 32, 0.08);
  color: var(--error);
}

footer[role="contentinfo"] {
  padding: 34px 20px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.66);
  text-align: center;
}

footer p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

@media screen and (max-width: 1160px) {
  #services .section-body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #services .section-body > div {
    min-height: 300px;
  }
}

@media screen and (max-width: 767px) {
  html {
    font-size: 15px;
  }

  .not-for-mobile {
    display: none;
  }

  .for-mobile {
    display: initial;
  }

  .header-inner {
    width: calc(100% - 28px);
    height: 96px;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }

  h1 a {
    min-height: 30px;
  }

  .brand-wordmark {
    min-height: 28px;
    font-size: 1rem;
  }

  .global-menu ul {
    gap: 2px;
  }

  .global-menu a {
    min-height: 30px;
    padding: 0 7px;
    font-size: 0.84rem;
  }

  .hero {
    min-height: min(590px, calc(100vh - 132px));
    padding: 128px 18px 56px;
    background-position: left center;
  }

  .hero-inner p.catch {
    font-size: 1.72rem;
  }

  .hero-inner p {
    font-size: 1rem;
  }

  section {
    padding: 58px 18px 0;
  }

  #services {
    padding-top: 34px;
  }

  .section-body {
    margin-top: 34px;
  }

  #services .section-body {
    grid-template-columns: 1fr;
  }

  #services .section-body > div {
    min-height: auto;
    padding: 26px 22px;
  }

  #services h3 {
    min-height: auto;
  }

  #company .section-body {
    background: transparent;
  }

  #company table,
  #company tbody,
  #company tr,
  #company th,
  #company td {
    display: block;
    width: 100%;
  }

  #company tr {
    border-bottom: 1px solid var(--line);
    background: var(--surface);
  }

  #company tr:last-child {
    border-bottom: 0;
  }

  #company th {
    padding: 20px 20px 6px;
    border-bottom: 0;
  }

  #company td {
    padding: 0 20px 20px;
    border-bottom: 0;
  }

  #contact form {
    padding: 24px 20px;
  }
}
