:root {
  --color-bg: #10151b;
  --color-surface: #ffffff;
  --color-text: #111217;
  --color-light: #fbfbfb;
  --color-muted: #6f7277;
  --color-muted-2: #8d9198;
  --color-stroke: #ece8e2;
  --color-stroke-2: #d9d3cb;
  --color-gold: #d5a45b;
  --color-gold-soft: #e5b96e;
  --color-dark-overlay: rgba(10, 14, 18, 0.7);
  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.18);
  --radius-card: 16px;
  --radius-field: 7px;
  --page-width: 853px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background: #20242b;
  color: var(--color-light);
}

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

a {
  color: inherit;
}

.page-shell {
  /*max-width: var(--page-width);*/
  margin: 0 auto;
  background: var(--color-bg);
  overflow: hidden;
}

.hero-section,
.interior-section {
  position: relative;
}

.hero-section {
  min-height: 590px;
}

.hero-bg,
.interior-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg {
  position: absolute;
  inset: 0;
  object-position: center top;

  &.lg {
    display: block;
  }

  &.sm {
    display: none;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(11, 15, 21, 0.78) 0%,
      rgba(11, 15, 21, 0.62) 24%,
      rgba(11, 15, 21, 0.18) 52%,
      rgba(11, 15, 21, 0.16) 100%
    ),
    linear-gradient(
      180deg,
      rgba(9, 12, 16, 0.18) 0%,
      rgba(9, 12, 16, 0.04) 28%,
      rgba(9, 12, 16, 0.56) 100%
    );
  /*opacity: 0.5;*/
}

.hero-content,
.details-wrap,
.trust-wrap {
  position: relative;
  z-index: 1;
  padding-inline: 36px;
}

.topbar {
  padding-top: 22px;
}

.brand,
.trust-brand {
  gap: 13px;
}

.brand-copy,
.trust-brand .brand-copy {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1;
}

.brand-copy strong,
.trust-brand .brand-copy strong {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.09em;
}

.brand-copy span,
.trust-brand .brand-copy span {
  font-size: 11px;
  letter-spacing: 0.42em;
  font-weight: 400;
}

.top-nav {
  gap: 18px;
  padding-top: 15px;
  font-size: 14px;
  letter-spacing: 0.4em;
  color: rgba(255, 255, 255, 0.9);
}

.top-nav a {
  text-decoration: none;
}

.hero-main {
  padding-top: 28px;
}

.hero-copy {
  max-width: 420px;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(3.8rem, 5.95vw, 3.1rem);
  line-height: 0.91;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.hero-copy h2 {
  margin: 10px 0 14px;
  color: var(--color-gold);
  font-size: clamp(1.55rem, 2.65vw, 1.15rem);
  font-weight: 500;
  letter-spacing: 0.17em;
}

.accent-line {
  display: block;
  width: 33px;
  height: 3px;
  background: var(--color-gold);
  border-radius: 999px;
}

.accent-line.small {
  width: 34px;
  height: 2px;
}

.hero-copy p {
  /*max-width: 302px;*/
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
}

.hero-side-note {
  position: absolute;
  top: 40px;
  right: 2px;
  text-align: left;
}

.hero-side-note p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.19em;
  font-weight: 500;
}

.details-section {
  position: relative;
  margin-top: -16px;
  padding-bottom: 0;
}

.info-column {
  background: linear-gradient(
    180deg,
    rgba(17, 21, 27, 0.98) 0%,
    rgba(15, 20, 26, 1) 100%
  );
  padding-top: 65px;
}

.benefit-grid,
.feature-grid,
.quote-block {
  padding-right: 28px;
}

.benefit-item,
.feature-item {
  text-align: center;
}

.benefit-item img {
  margin: 0 auto 14px;
}

.benefit-item h3 {
  margin: 0 0 3px;
  font-size: 21px;
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-transform: uppercase;
}

.benefit-item p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0.08em;
  color: #f0ede8;
  text-transform: uppercase;
}

.section-divider {
  display: block;
  width: calc(100% - 32px);
  height: 1px;
  margin: 26px 0 22px 10px;
  background: rgba(213, 164, 91, 0.52);
}

.feature-item img {
  margin: 0 auto 12px;
}

.feature-item p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.quote-block {
  padding-top: 27px;
  padding-bottom: 80px;
}

.quote-block blockquote {
  max-width: 378px;
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.25;
  font-style: italic;
  font-weight: 400;
}

.interior-section {
  min-height: 252px;
}

.interior-section:before,
.interior-section:after {
  position: absolute;
  right: 95%;
  top: 0;
  width: 100%;
  content: "";
  bottom: 0;
  background: #000;
}

.interior-section:after {
  right: auto;
  left: 90%;
}

.interior-bg {
  position: absolute;
  inset: 0;
  object-position: center center;
}

.interior-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 10, 14, 0.38) 0%,
    rgba(8, 10, 14, 0.12) 48%,
    rgba(8, 10, 14, 0.46) 100%
  );
}

.interior-content {
  position: relative;
  z-index: 1;
  min-height: 252px;
  padding: 170px 36px 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.interior-content p {
  margin: 0;
  font-size: 16px;
  line-height: 1.58;
  letter-spacing: 0.22em;
}

.form-column {
  position: relative;
}

.apply-card {
  position: relative;
  z-index: 3;
  margin: -150px 0 32px -4px;
  background: var(--color-surface);
  color: var(--color-text);
  border-radius: var(--radius-card);
  padding: 25px 28px 20px;
  box-shadow: var(--shadow-card);
}

.apply-card h2 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.apply-subtitle {
  margin: 8px 0 14px;
  font-size: 16px;
  color: #44474d;
}

.application-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.application-form .submit-btn {
  font-size: 0.9rem;
  line-height: 1.2;
  color: #000 !important;
  padding-top: 0.9rem;
}

.form-label {
  margin-bottom: 6px;
  font-size: 12px;
  color: #1f2329;
  font-weight: 500;
}

.form-label span {
  color: #765129;
}

.form-control,
.form-select {
  height: 40px;
  border: 1px solid #ececec;
  border-radius: var(--radius-field);
  background-color: #fbfbfb;
  color: #22262d;
  font-size: 12px;
  padding-inline: 14px;
  box-shadow: none;
}

.form-control::placeholder {
  color: #a7a9ae;
}

.form-control:focus,
.form-select:focus {
  border-color: #d7c3a5;
  box-shadow: 0 0 0 0.15rem rgba(213, 164, 91, 0.15);
  background-color: #fff;
}

.field-block {
  display: flex;
  flex-direction: column;
}

.upload-field,
.test-card {
  min-height: 47px;
  border: 1px solid #ececec;
  border-radius: var(--radius-field);
  background: #f8f8f8;
}

.application-form p {
  margin-bottom: 0;
}

.application-form .wpcf7-form-control-wrap + br {
  display: none;
}

.upload-field {
  display: flex;
  align-items: center;
  column-gap: 8px;
  padding: 8px 14px;
  font-size: 12px;
  color: #2f3338;
  cursor: pointer;
  flex-wrap: wrap;
}

.upload-field input.form-control {
  display: none;
}

.upload-field .wpcf7-form-control-wrap {
  flex: 100%;
}

.upload-field .wpcf7-not-valid-tip {
  display: block;
}

.helper-text {
  margin: 7px 0 0;
  color: #8f9196;
  font-size: 10px;
}

.gscf7-frontend-gdpr-notice {
  display: none !important;
}

.select-wrap {
  position: relative;
}

.select-wrap img {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  pointer-events: none;
}

.form-select {
  appearance: none;
  padding-right: 38px;
}

.test-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  color: #161a20;
}

.test-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

.test-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.test-copy strong {
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
}

.test-copy small {
  margin-top: 3px;
  color: #8a8d91;
  font-size: 10px;
  line-height: 1.35;
}

.submit-btn {
  height: 50px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #e7bc75 0%, #e0b061 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #1e2126;
  transition: filter 0.2s ease;
}

.submit-btn:hover {
  filter: brightness(0.98);
}

.secure-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #9a9ea4;
  font-size: 14px;
  line-height: 1.4;
}

.trust-strip {
  background: #ffffff;
  color: #16191f;
}

.trust-wrap {
  min-height: 78px;
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1fr;
  align-items: center;
}

.trust-item,
.trust-brand {
  max-width: 90px;
  display: flex;
  align-items: center;
}

.trust-item {
  gap: 12px;
  padding-left: 28px;
  border-left: 1px solid rgba(22, 25, 31, 0.18);
}

.trust-item p {
  margin: 0;
  font-size: 10px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0.06em;
}

@media (max-width: 1199.98px) {
  .apply-card {
    margin-top: -138px;
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: 525px;
  }

  .hero-content,
  .details-wrap,
  .trust-wrap {
    padding-inline: 24px;
  }

  .hero-copy {
    max-width: 360px;
  }

  .hero-copy p {
    max-width: 290px;
  }

  .info-column {
    padding-bottom: 0;
  }

  .benefit-grid,
  .feature-grid,
  .quote-block {
    padding-right: 0;
  }

  .apply-card {
    margin: 0;
    border-radius: 18px;
  }

  .form-column {
    background: var(--color-bg);
    padding: 24px 0 32px;
  }

  .trust-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .trust-brand {
    grid-column: 1 / -1;
    justify-content: center;
    border-bottom: 1px solid rgba(22, 25, 31, 0.12);
  }

  .trust-item {
    min-height: 72px;
    padding-inline: 18px;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 5.95vw, 3.1rem);
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    min-height: auto;
  }

  .hero-bg {
    height: 630px;
  }

  .hero-overlay {
    height: 630px;
    background:
      linear-gradient(
        180deg,
        rgba(11, 15, 21, 0.38) 0%,
        rgba(11, 15, 21, 0.42) 48%,
        rgba(11, 15, 21, 0.84) 100%
      ),
      linear-gradient(
        90deg,
        rgba(11, 15, 21, 0.72) 0%,
        rgba(11, 15, 21, 0.3) 56%,
        rgba(11, 15, 21, 0.16) 100%
      );
    opacity: 0.8;
  }

  .topbar {
    flex-direction: column;
    gap: 14px;
    padding-top: 18px;
  }

  .hero-main {
    padding-top: 18px;
    padding-bottom: 255px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-copy p {
    max-width: 345px;
  }

  .details-section {
    margin-top: 0;
  }

  .info-column {
    padding-top: 12px;
  }

  .benefit-item h3 {
    font-size: 18px;
  }

  .quote-block blockquote {
    font-size: 21px;
    max-width: 100%;
  }

  .interior-section,
  .interior-content {
    min-height: 210px;
  }

  .interior-content {
    padding: 138px 24px 18px;
  }

  .trust-wrap {
    grid-template-columns: 1fr;
  }

  .trust-item {
    justify-content: center;
    border-left: 0;
    border-top: 1px solid rgba(22, 25, 31, 0.12);
    text-align: left;
  }

  .hero-bg {
    height: 630px;

    &.lg {
      display: none;
    }

    &.sm {
      display: block;
    }
  }
}

@media (max-width: 575.98px) {
  .hero-content,
  .details-wrap,
  .trust-wrap {
    padding-inline: 16px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand-copy strong,
  .trust-brand .brand-copy strong {
    font-size: 14px;
    letter-spacing: 0.08em;
  }

  .brand-copy span,
  .trust-brand .brand-copy span {
    font-size: 9px;
    letter-spacing: 0.3em;
  }

  .hero-bg,
  .hero-overlay {
    height: 590px;
  }

  .hero-main {
    padding-bottom: 215px;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 14vw, 2.35rem);
  }

  .hero-copy h2 {
    font-size: 1.45rem;
    margin-top: 8px;
  }

  .hero-copy p {
    font-size: 12px;
    max-width: 262px;
  }

  .benefit-grid .row,
  .feature-grid .row {
    row-gap: 22px !important;
  }

  .apply-card {
    padding: 22px 18px 18px;
  }

  .apply-card h2 {
    font-size: 2.15rem;
  }

  .submit-btn {
    width: 100%;
  }

  .trust-brand,
  .trust-item {
    min-height: 68px;
  }
}
