.mth-syb-page {
  --mth-syb-accent: #222a75;
  --mth-syb-border: #dfe3ea;
  --mth-syb-text: #5a5e60;
  --mth-syb-muted: #7a8084;
  --mth-syb-panel: #f7f8fb;
  --mth-syb-white: #ffffff;
  color: var(--mth-syb-text);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
}

.mth-syb-page,
.mth-syb-page * {
  box-sizing: border-box;
}

.mth-syb-breadcrumb {
  margin-bottom: 22px;
}

.mth-syb-content,
.mth-syb-page-inner {
  min-width: 0;
}

.mth-syb-page > .row > .mth-syb-content {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  float: none !important;
  flex: 0 0 100% !important;
}

.mth-syb-page-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto 40px;
}

.mth-syb-hero {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  z-index: auto !important;
  isolation: isolate;
  min-height: 400px;
  overflow: hidden;
  border: 1px solid var(--mth-syb-border);
  border-radius: 6px;
  background: var(--mth-syb-accent);
}

.mth-syb-hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #222a75 0%,
    #222a75 36%,
    rgba(34, 42, 117, 0.98) 45%,
    rgba(34, 42, 117, 0.84) 56%,
    rgba(34, 42, 117, 0.36) 70%,
    rgba(34, 42, 117, 0) 84%
  );
}

.mth-syb-hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 64%;
  max-width: 680px;
  min-height: 400px;
  padding: clamp(34px, 5vw, 60px);
  background: transparent;
  color: var(--mth-syb-white);
}

.mth-syb-eyebrow {
  display: block;
  margin: 0 0 10px;
  color: var(--mth-syb-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.2;
}

.mth-syb-hero .mth-syb-eyebrow {
  color: rgba(255, 255, 255, 0.74);
}

.mth-syb-hero h1 {
  max-width: 560px;
  margin: 0 0 16px;
  color: var(--mth-syb-white);
  font-size: clamp(34px, 4.2vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.mth-syb-hero p {
  max-width: 42ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}

.mth-syb-hero__boats {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  padding: 0;
  background: var(--mth-syb-white);
  color: var(--mth-syb-accent);
  pointer-events: none;
}

.mth-syb-hero__boats img,
.mth-syb-hero__boats svg {
  position: absolute;
  top: -6%;
  right: 0;
  display: block;
  width: 58%;
  height: 112%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: right center;
}

.mth-syb-story {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(38px, 6vw, 64px) 24px;
}

.mth-syb-story h2 {
  margin: 0 0 14px;
  color: var(--mth-syb-text);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.mth-syb-credentials {
  margin: 0 0 26px;
  color: var(--mth-syb-accent);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.mth-syb-information-copy,
.mth-syb-information-copy p {
  color: var(--mth-syb-text);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.72;
}

.mth-syb-information-copy p {
  margin: 0 0 18px;
}

.mth-syb-information-copy p:last-child {
  margin-bottom: 0;
}

.mth-syb-offices {
  margin: 26px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--mth-syb-border);
  color: var(--mth-syb-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
}

.mth-syb-form-section {
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--mth-syb-border);
  border-radius: 6px;
  background: var(--mth-syb-panel);
}

.mth-syb-form-intro {
  max-width: 700px;
  margin: 0 0 22px;
  color: var(--mth-syb-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

.mth-syb-form-section .module-form {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.mth-syb-form-section .module-form .module-title {
  margin: 0 0 22px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--mth-syb-border);
  color: var(--mth-syb-text);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.mth-syb-form-section .module-form .module-title::after {
  display: none;
}

.mth-syb-form-section .module-form .module-body,
.mth-syb-form-section .module-form form,
.mth-syb-form-section .module-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.mth-syb-form-section .module-form fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mth-syb-form-section .module-form .form-group {
  display: block !important;
  min-width: 0;
  margin: 0;
}

.mth-syb-form-section .module-form .mth-jform-full,
.mth-syb-form-section .module-form .captcha,
.mth-syb-form-section .module-form fieldset > .checkbox {
  grid-column: 1 / -1;
}

.mth-syb-form-section .module-form .form-group > .control-label,
.mth-syb-form-section .module-form .form-group > [class*="col-"] {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0;
  padding: 0;
  flex: 0 0 100% !important;
  float: none;
  text-align: left;
}

.mth-syb-form-section .module-form .form-group > .control-label {
  margin: 0 0 7px;
  color: var(--mth-syb-text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.mth-syb-form-section .module-form .form-control {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cfd5df;
  border-radius: 5px;
  background: var(--mth-syb-white);
  color: var(--mth-syb-text);
  font-size: 14px;
  font-weight: 500;
  box-shadow: none;
}

.mth-syb-form-section .module-form textarea.form-control {
  min-height: 130px;
  padding-top: 11px;
  resize: vertical;
  line-height: 1.5;
}

.mth-syb-form-section .module-form .form-control:focus {
  border-color: var(--mth-syb-accent);
  outline: 2px solid rgba(34, 42, 117, 0.12);
  box-shadow: none;
}

.mth-syb-form-section .module-form .has-error .form-control {
  border-color: #b43c3c;
}

.mth-syb-form-section .module-form .text-danger {
  grid-column: 1 / -1;
  margin: -10px 0 0;
  color: #a12626;
  font-size: 12px;
  font-weight: 600;
}

.mth-syb-form-section .module-form fieldset > .checkbox {
  margin: 2px 0 0;
  color: var(--mth-syb-muted);
  font-size: 12px;
  line-height: 1.5;
}

.mth-syb-form-section .module-form fieldset > .checkbox label {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 0;
}

.mth-syb-form-section .module-form fieldset > .checkbox input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  flex: 0 0 17px;
  accent-color: var(--mth-syb-accent);
}

.mth-syb-form-section .module-form .buttons {
  margin: 22px 0 0;
}

.mth-syb-form-section .module-form .buttons .pull-right {
  width: 100%;
  max-width: 100%;
  float: none !important;
}

.mth-syb-form-section .module-form .btn-primary {
  width: 100%;
  min-height: 48px;
  border-color: var(--mth-syb-accent);
  border-radius: 5px;
  background: var(--mth-syb-accent);
  color: var(--mth-syb-white);
  font-size: 14px;
  font-weight: 700;
}

.mth-syb-form-section .module-form .btn-primary:hover,
.mth-syb-form-section .module-form .btn-primary:focus {
  border-color: #171e59;
  background: #171e59;
  color: var(--mth-syb-white);
}

.mth-syb-form-fallback {
  padding: 22px;
  border: 1px solid var(--mth-syb-border);
  border-radius: 5px;
  background: var(--mth-syb-white);
}

.mth-syb-form-fallback p {
  margin: 0 0 14px;
}

@media (max-width: 1199px) {
  .mth-syb-hero__copy {
    width: 66%;
  }

  .mth-syb-hero__boats img,
  .mth-syb-hero__boats svg {
    width: 62%;
  }
}

@media (max-width: 767px) {
  .mth-syb-breadcrumb {
    margin-bottom: 14px;
  }

  .mth-syb-hero {
    min-height: 540px;
  }

  .mth-syb-hero::after {
    background: linear-gradient(
      180deg,
      #222a75 0%,
      #222a75 38%,
      rgba(34, 42, 117, 0.96) 44%,
      rgba(34, 42, 117, 0.66) 52%,
      rgba(34, 42, 117, 0.24) 62%,
      rgba(34, 42, 117, 0) 72%
    );
  }

  .mth-syb-hero__copy {
    justify-content: flex-start;
    width: 100%;
    max-width: none;
    min-height: 540px;
    padding: 28px 22px clamp(270px, 76vw, 305px);
  }

  .mth-syb-hero h1 {
    max-width: 100%;
    font-size: clamp(32px, 9.5vw, 38px);
  }

  .mth-syb-hero__boats {
    top: auto;
    height: clamp(270px, 76vw, 305px);
  }

  .mth-syb-hero__boats img,
  .mth-syb-hero__boats svg {
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-position: center bottom;
  }

  .mth-syb-story {
    padding: 38px 8px;
  }

  .mth-syb-form-section {
    padding: 22px 18px;
  }

  .mth-syb-form-section .module-form fieldset {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .mth-syb-form-section .module-form .mth-jform-full,
  .mth-syb-form-section .module-form .captcha,
  .mth-syb-form-section .module-form fieldset > .checkbox {
    grid-column: auto;
  }
}
