/* =========================================
   DESIGN SYSTEM
========================================= */

:root {
  --primary: #0d5c4b;
  --primary-dark: #073d32;

  --accent: #d9a441;

  --dark: #101817;
  --text: #27312f;
  --muted: #75817e;

  --light: #f5f7f6;
  --white: #ffffff;

  --border: #e3e8e6;
  --success: #16835d;

  --danger: #c84d4d;

  --shadow:
    0 25px 70px rgba(7, 61, 50, 0.10);
}


/* =========================================
   RESET
========================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  color: var(--text);

  background: var(--light);

  line-height: 1.6;
}

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

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

button {
  cursor: pointer;
}

.page-container {
  width: min(1180px, calc(100% - 48px));

  margin: 0 auto;
}


/* =========================================
   HEADER
========================================= */

.site-header {
  position: relative;

  z-index: 20;

  background: var(--white);

  border-bottom:
    1px solid
    var(--border);
}

.nav-container {
  width: min(1180px, calc(100% - 48px));

  min-height: 82px;

  margin: auto;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 30px;
  border-radius: 15px;
}


/* LOGO */

.logo {
  display: inline-flex;

  align-items: center;

  gap: 11px;
}

.logo-mark {
  width: 42px;
  height: 42px;

  display: grid;

  place-items: center;

  border-radius: 12px;

  color: var(--white);

  background:
    linear-gradient(
      145deg,
      var(--primary),
      var(--primary-dark)
    );

  font-size: 21px;

  font-weight: 900;
}

.logo-text {
  display: flex;

  flex-direction: column;

  line-height: 1;
}

.logo-text strong {
  color: var(--dark);

  font-size: 17px;

  letter-spacing: -0.03em;
}

.logo-text small {
  margin-top: 4px;

  color: var(--muted);

  font-size: 8px;

  font-weight: 800;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}


/* NAV */

.navigation {
  display: flex;

  align-items: center;

  gap: 25px;
}

.navigation a {
  position: relative;

  color: var(--muted);

  font-size: 12px;

  font-weight: 700;

  transition:
    color 0.2s ease;
}

.navigation a:hover,
.navigation a.active {
  color: var(--primary);
}

.navigation a.active::after {
  content: "";

  position: absolute;

  width: 5px;
  height: 5px;

  left: 50%;
  bottom: -10px;

  transform: translateX(-50%);

  border-radius: 50%;

  background: var(--accent);
}


/* NAV BUTTON */

.nav-button {
  display: inline-flex;

  align-items: center;

  gap: 9px;

  padding: 11px 17px;

  border-radius: 10px;

  color: var(--white);

  background: var(--primary);

  font-size: 11px;

  font-weight: 800;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.nav-button:hover {
  background: var(--primary-dark);

  transform: translateY(-2px);
}

.nav-button span {
  color: var(--accent);

  font-size: 16px;
}


/* =========================================
   HERO
========================================= */

.apply-hero {
  position: relative;

  min-height: 130px;

  display: flex;

  align-items: center;

  overflow: hidden;

  color: var(--white);

  background:
    radial-gradient(
      circle at 80% 10%,
      rgba(217, 164, 65, 0.15),
      transparent 25%
    ),
    linear-gradient(
      120deg,
      var(--primary-dark),
      var(--primary)
    );
}

.hero-decoration {
  position: absolute;

  border:
    1px solid
    rgba(255, 255, 255, 0.08);

  border-radius: 50%;
}

.decoration-one {
  width: 600px;
  height: 600px;

  right: -300px;
  top: -300px;
}

.decoration-two {
  width: 350px;
  height: 350px;

  left: -250px;
  bottom: -250px;

  border-color:
    rgba(217, 164, 65, 0.13);
}

.hero-content {
  position: relative;

  z-index: 2;

  display: grid;

  grid-template-columns:
    1fr
    0.75fr;

  align-items: center;

  gap: 90px;
}

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

.eyebrow {
  display: none;

  align-items: center;

  gap: 9px;

  margin-bottom: 20px;

  padding: 7px 13px;

  border:
    1px solid
    rgba(255, 255, 255, 0.15);

  border-radius: 100px;

  background:
    rgba(255, 255, 255, 0.05);

  color:
    rgba(255, 255, 255, 0.75);

  font-size: 10px;

  font-weight: 850;

  letter-spacing: 0.13em;

  text-transform: uppercase;
}

.eyebrow span {
  display: none;
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--accent);

  box-shadow:
    0 0 0 5px
    rgba(217, 164, 65, 0.1);
}

.hero-copy h1 {
  max-width: 700px;

  margin-bottom: 22px;

  font-size:
    clamp(48px, 6vw, 72px);

  line-height: 1;

  letter-spacing: -0.065em;
}

.hero-copy h1 span {
  color: var(--accent);
}

.hero-copy p {
  max-width: 580px;

  color:
    rgba(255, 255, 255, 0.63);

  font-size: 15px;
}


/* APPLICATION SUMMARY */

.application-summary {
  padding: 28px;

  border:
    1px solid
    rgba(255, 255, 255, 0.11);

  border-radius: 22px;

  background:
    rgba(255, 255, 255, 0.045);

  backdrop-filter: blur(15px);
}

.summary-item {
  display: None;

  align-items: center;

  gap: 15px;

  padding: 17px 0;

  border-bottom:
    1px solid
    rgba(255, 255, 255, 0.08);
}

.summary-item:last-child {
  border-bottom: 0;
}

.summary-number {
  color: var(--accent);

  font-size: 10px;

  font-weight: 900;
}

.summary-item div {
  display: flex;

  flex-direction: column;
}

.summary-item strong {
  color: var(--white);

  font-size: 12px;
}

.summary-item small {
  margin-top: 2px;

  color:
    rgba(255, 255, 255, 0.45);

  font-size: 10px;
}


/* =========================================
   APPLICATION SECTION
========================================= */

.application-section {
  padding: 90px 0;

  background: var(--light);
}

.application-layout {
  display: grid;

  grid-template-columns:
    300px
    1fr;

  align-items: start;

  gap: 55px;
}


/* =========================================
   SIDEBAR
========================================= */

.application-sidebar {
  position: sticky;

  top: 25px;
}

.sidebar-card {
  padding: 29px;

  border-radius: 22px;

  color: var(--white);

  background:
    linear-gradient(
      145deg,
      var(--primary),
      var(--primary-dark)
    );

  box-shadow:
    0 25px 60px
    rgba(7, 61, 50, 0.15);
}

.sidebar-label {
  color:
    rgba(255, 255, 255, 0.48);

  font-size: 9px;

  font-weight: 900;

  letter-spacing: 0.14em;
}

.sidebar-card h2 {
  margin: 13px 0;

  font-size: 27px;

  line-height: 1.05;

  letter-spacing: -0.045em;
}

.sidebar-card > p {
  color:
    rgba(255, 255, 255, 0.58);

  font-size: 11px;
}


/* PROCESS */

.process-list {
  margin-top: 32px;
}

.process-item {
  display: flex;

  align-items: center;

  gap: 12px;

  padding: 14px 0;

  border-bottom:
    1px solid
    rgba(255, 255, 255, 0.08);

  opacity: 0.5;
}

.process-item.active {
  opacity: 1;
}

.process-icon {
  width: 31px;
  height: 31px;

  flex: 0 0 31px;

  display: grid;

  place-items: center;

  border:
    1px solid
    rgba(217, 164, 65, 0.4);

  border-radius: 9px;

  color: var(--accent);

  font-size: 9px;

  font-weight: 900;
}

.process-item div {
  display: flex;

  flex-direction: column;
}

.process-item strong {
  font-size: 11px;
}

.process-item small {
  color:
    rgba(255, 255, 255, 0.4);

  font-size: 9px;
}


/* SIDEBAR NOTE */

.sidebar-note {
  display: flex;

  align-items: flex-start;

  gap: 10px;

  margin-top: 28px;

  padding-top: 22px;

  border-top:
    1px solid
    rgba(255, 255, 255, 0.08);
}

.note-icon {
  width: 22px;
  height: 22px;

  flex: 0 0 22px;

  display: grid;

  place-items: center;

  border-radius: 7px;

  color: var(--primary);

  background: var(--accent);

  font-size: 10px;

  font-weight: 900;
}

.sidebar-note p {
  color:
    rgba(255, 255, 255, 0.45);

  font-size: 9px;

  line-height: 1.5;
}


/* HELP CARD */

.help-card {
  margin-top: 16px;

  padding: 23px;

  border:
    1px solid
    var(--border);

  border-radius: 18px;

  background: var(--white);
}

.help-card > span {
  color: var(--accent);

  font-size: 8px;

  font-weight: 900;

  letter-spacing: 0.12em;
}

.help-card strong {
  display: block;

  margin: 7px 0 5px;

  color: var(--dark);

  font-size: 15px;
}

.help-card p {
  margin-bottom: 13px;

  color: var(--muted);

  font-size: 10px;
}

.help-card a {
  display: inline-flex;

  align-items: center;

  gap: 7px;

  color: var(--primary);

  font-size: 10px;

  font-weight: 850;
}

.help-card a span {
  color: var(--accent);

  font-size: 15px;
}


/* =========================================
   FORM WRAPPER
========================================= */

.application-form-wrapper {
  border:
    1px solid
    var(--border);

  border-radius: 25px;

  background: var(--white);

  box-shadow:
    0 20px 60px
    rgba(16, 24, 23, 0.05);

  overflow: hidden;
}


/* FORM HEADER */

.form-header {
  display: flex;

  align-items: flex-start;

  justify-content: space-between;

  gap: 30px;

  padding: 38px 42px;

  border-bottom:
    1px solid
    var(--border);
}

.form-kicker {
  color: var(--accent);

  font-size: 9px;

  font-weight: 900;

  letter-spacing: 0.15em;
}

.form-header h2 {
  margin: 7px 0 6px;

  color: var(--dark);

  font-size: 31px;

  line-height: 1.1;

  letter-spacing: -0.04em;
}

.form-header p {
  color: var(--muted);

  font-size: 11px;
}

.required-note {
  color: var(--muted);

  font-size: 9px;

  white-space: nowrap;
}


/* =========================================
   FORM
========================================= */

.application-form {
  padding: 10px 42px 42px;
}

.form-section {
  padding: 32px 0;

  border-bottom:
    1px solid
    var(--border);
}

.form-section-heading {
  display: flex;

  align-items: flex-start;

  gap: 15px;

  margin-bottom: 25px;
}

.form-section-heading > span {
  color: var(--accent);

  font-size: 10px;

  font-weight: 900;

  padding-top: 4px;
}

.form-section-heading h3 {
  color: var(--dark);

  font-size: 17px;

  line-height: 1.2;

  letter-spacing: -0.025em;
}

.form-section-heading p {
  margin-top: 3px;

  color: var(--muted);

  font-size: 10px;
}


/* FORM GRID */

.form-grid {
  display: grid;

  grid-template-columns:
    1fr
    1fr;

  gap: 20px 16px;
}

.form-group {
  display: flex;

  flex-direction: column;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  margin-bottom: 7px;

  color: var(--text);

  font-size: 10px;

  font-weight: 800;
}

.form-group label span {
  color: var(--accent);
}


/* INPUTS */

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;

  border:
    1px solid
    var(--border);

  border-radius: 10px;

  outline: none;

  color: var(--text);

  background: #fbfcfc;

  font-size: 11px;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.form-group input,
.form-group select {
  height: 48px;

  padding: 0 14px;
}

.form-group textarea {
  min-height: 135px;

  padding: 14px;

  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #a1aaa7;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);

  background: var(--white);

  box-shadow:
    0 0 0 3px
    rgba(13, 92, 75, 0.08);
}


/* SELECT */

.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: "⌄";

  position: absolute;

  right: 14px;
  top: 50%;

  transform: translateY(-55%);

  color: var(--primary);

  font-size: 15px;

  pointer-events: none;
}

.select-wrapper select {
  appearance: none;

  padding-right: 40px;
}


/* =========================================
   SERVICE OPTIONS
========================================= */

.service-options {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 12px;
}

.service-option {
  position: relative;

  cursor: pointer;
}

.service-option input {
  position: absolute;

  opacity: 0;

  pointer-events: none;
}

.service-option-content {
  min-height: 130px;

  position: relative;

  display: flex;

  flex-direction: column;

  justify-content: space-between;

  padding: 18px;

  border:
    1px solid
    var(--border);

  border-radius: 14px;

  background: var(--white);

  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.service-option:hover .service-option-content {
  border-color:
    rgba(13, 92, 75, 0.4);

  transform: translateY(-2px);
}

.service-option input:checked
~ .service-option-content {
  border-color: var(--primary);

  background:
    rgba(13, 92, 75, 0.045);

  box-shadow:
    0 8px 25px
    rgba(13, 92, 75, 0.08);
}

.service-option-icon {
  width: 35px;
  height: 35px;

  display: grid;

  place-items: center;

  border-radius: 9px;

  color: var(--primary);

  background:
    rgba(13, 92, 75, 0.08);

  font-size: 14px;

  font-weight: 800;
}

.service-option strong {
  display: block;

  color: var(--dark);

  font-size: 11px;
}

.service-option-content div:nth-child(2) span {
  display: block;

  margin-top: 2px;

  color: var(--muted);

  font-size: 9px;
}

.radio-check {
  width: 16px;
  height: 16px;

  position: absolute;

  top: 18px;
  right: 18px;

  border:
    1px solid
    #cdd5d2;

  border-radius: 50%;

  background: var(--white);
}

.service-option input:checked
~ .service-option-content
.radio-check {
  border-color: var(--primary);

  background: var(--primary);

  box-shadow:
    inset 0 0 0 4px
    var(--white);
}


/* =========================================
   CONSENT
========================================= */

.form-consent {
  padding: 28px 0 8px;
}

.checkbox-label {
  display: flex;

  align-items: flex-start;

  gap: 11px;

  cursor: pointer;
}

.checkbox-label input {
  position: absolute;

  opacity: 0;

  pointer-events: none;
}

.custom-checkbox {
  width: 18px;
  height: 18px;

  flex: 0 0 18px;

  display: grid;

  place-items: center;

  border:
    1px solid
    #cdd5d2;

  border-radius: 5px;

  color: transparent;

  background: var(--white);

  font-size: 10px;

  font-weight: 900;

  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.checkbox-label input:checked
~ .custom-checkbox {
  border-color: var(--primary);

  color: var(--white);

  background: var(--primary);
}

.consent-text {
  color: var(--muted);

  font-size: 10px;

  line-height: 1.55;
}


/* =========================================
   SUBMIT
========================================= */

.form-submit {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  padding-top: 22px;
}

.submit-button {
  min-height: 52px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 12px;

  padding: 0 23px;

  border: 0;

  border-radius: 11px;

  color: var(--white);

  background:
    linear-gradient(
      135deg,
      var(--primary),
      var(--primary-dark)
    );

  font-size: 11px;

  font-weight: 850;

  box-shadow:
    0 12px 25px
    rgba(13, 92, 75, 0.18);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.submit-button:hover {
  transform: translateY(-2px);

  box-shadow:
    0 16px 30px
    rgba(13, 92, 75, 0.23);
}

.submit-button span {
  color: var(--accent);

  font-size: 17px;
}

.form-submit p {
  color: var(--muted);

  font-size: 9px;
}

.form-submit p span {
  margin-right: 3px;
}


/* =========================================
   BOTTOM CTA
========================================= */

.bottom-cta {
  padding: 65px 0;

  background: var(--white);

  border-top:
    1px solid
    var(--border);
}

.bottom-cta-content {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 40px;

  padding: 35px 40px;

  border-radius: 20px;

  color: var(--white);

  background:
    linear-gradient(
      120deg,
      var(--primary-dark),
      var(--primary)
    );
}

.bottom-cta-content > div {
  max-width: 620px;
}

.bottom-cta-content span {
  color: var(--accent);

  font-size: 8px;

  font-weight: 900;

  letter-spacing: 0.14em;
}

.bottom-cta h2 {
  margin: 6px 0;

  font-size: 29px;

  line-height: 1.1;

  letter-spacing: -0.04em;
}

.bottom-cta p {
  color:
    rgba(255, 255, 255, 0.55);

  font-size: 11px;
}

.bottom-cta-content > a {
  display: inline-flex;

  align-items: center;

  gap: 9px;

  min-height: 48px;

  padding: 0 18px;

  border-radius: 10px;

  color: var(--primary-dark);

  background: var(--accent);

  font-size: 10px;

  font-weight: 900;

  white-space: nowrap;
}

.bottom-cta-content > a span {
  color: var(--primary-dark);

  font-size: 16px;
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
  padding: 60px 0 25px;

  color:
    rgba(255, 255, 255, 0.6);

  background: var(--dark);
}

.footer-grid {
  display: grid;

  grid-template-columns:
    1.5fr
    0.7fr
    0.9fr
    1fr;

  gap: 50px;

  padding-bottom: 50px;
}

.footer-brand p {
  max-width: 270px;

  margin-top: 17px;

  font-size: 11px;
}

.site-footer .logo-text strong {
  color: var(--white);
}

.footer-column {
  display: flex;

  flex-direction: column;

  gap: 9px;
}

.footer-column h4 {
  margin-bottom: 6px;

  color: var(--white);

  font-size: 10px;

  text-transform: uppercase;

  letter-spacing: 0.1em;
}

.footer-column a,
.footer-column span {
  color:
    rgba(255, 255, 255, 0.48);

  font-size: 10px;

  transition:
    color 0.2s ease;
}

.footer-column a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  padding-top: 20px;

  border-top:
    1px solid
    rgba(255, 255, 255, 0.08);

  color:
    rgba(255, 255, 255, 0.3);

  font-size: 9px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

  .nav,
    .nav-btn {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .nav.mobile-open {
        display: flex;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 15px 30px rgba(0,0,0,.08);
    }

  .hero-content {
    grid-template-columns: 1fr;

    gap: 35px;

    padding-top: 70px;
    padding-bottom: 70px;
  }

  .application-summary {
    max-width: 650px;
  }

  .application-layout {
    grid-template-columns: 1fr;

    gap: 30px;
  }

  .application-sidebar {
    position: static;

    display: grid;

    grid-template-columns:
      1fr
      0.7fr;

    gap: 15px;
  }

  .help-card {
    margin-top: 0;
  }

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

  .footer-grid {
    grid-template-columns:
      1fr 1fr;
  }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {
  .nav,
    .nav-btn {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .nav.mobile-open {
        display: flex;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 15px 30px rgba(0,0,0,.08);
    }
  .page-container,
  .nav-container {
    width:
      min(100% - 36px, 1180px);
  }

  .nav-button {
    display: none;
  }

  .apply-hero {
    display: none;
    min-height: auto;
  }

  .hero-content {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .hero-copy h1 {
    font-size: 46px;
  }

  .application-summary {
    padding: 18px;
  }

  .application-section {
    padding: 55px 0;
  }

  .application-sidebar {
    grid-template-columns: 1fr;
  }

  .help-card {
    margin-top: 0;
  }

  .form-header {
    padding: 28px 22px;

    flex-direction: column;

    gap: 10px;
  }

  .application-form {
    padding:
      5px
      22px
      30px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full {
    grid-column: auto;
  }

  .form-section {
    padding: 27px 0;
  }

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

  .form-submit {
    align-items: stretch;

    flex-direction: column;
  }

  .submit-button {
    width: 100%;
  }

  .bottom-cta-content {
    align-items: flex-start;

    flex-direction: column;

    padding: 28px;
  }

  .bottom-cta-content > a {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;

    gap: 30px;
  }

  .footer-bottom {
    align-items: flex-start;

    flex-direction: column;
  }
}


/* =========================================
   ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;

    transition: none !important;
  }
}