:root {
  --navy: #071a33;
  --navy-deep: #041225;
  --navy-soft: #102b4b;
  --blue: #1d5f91;
  --blue-light: #eaf3f9;
  --gold: #c9a45c;
  --gold-light: #f4ead3;
  --cream: #f7f5f0;
  --white: #ffffff;
  --text: #172536;
  --muted: #667487;
  --border: #dce3e9;
  --success: #236b4b;
  --shadow: 0 18px 45px rgba(7, 26, 51, 0.09);
  --shadow-hover: 0 24px 55px rgba(7, 26, 51, 0.15);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

body,
button,
input,
textarea,
select {
  font-family: inherit;
}

a {
  color: inherit;
}

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

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}


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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(220, 227, 233, 0.9);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
  flex-shrink: 0;
}

.brand-mark {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--navy), var(--navy-soft));
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  border: 1px solid rgba(201, 164, 92, 0.5);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 14px;
  letter-spacing: 0.17em;
  line-height: 1.2;
}

.brand small {
  margin-top: 3px;
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 0.34em;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: #405065;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--navy);
}

.main-nav .nav-apply {
  padding: 12px 19px;
  color: var(--white);
  background: var(--navy);
  border-radius: 9px;
}

.main-nav .nav-apply:hover {
  background: var(--navy-soft);
  color: var(--white);
}

.mobile-menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 25px;
  cursor: pointer;
}


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

.hero-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 20%, rgba(201, 164, 92, 0.13), transparent 28%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 58%, #0d3152 100%);
  color: var(--white);
}

.hero-section::after {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  right: -180px;
  bottom: -230px;
  border: 1px solid rgba(201, 164, 92, 0.2);
  border-radius: 50%;
}

.hero-grid {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 70px;
  padding-top: 70px;
  padding-bottom: 70px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-content h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(44px, 5.2vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 750;
}

.hero-text {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 23px;
  border-radius: 9px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

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

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, #1e6294, #164d79);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.16);
}

.button-primary:hover {
  box-shadow: 0 15px 32px rgba(0, 0, 0, 0.23);
}

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

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.11);
}

.button-light {
  color: var(--navy);
  background: var(--white);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 46px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-trust div {
  display: flex;
  flex-direction: column;
}

.hero-trust strong {
  color: var(--gold);
  font-size: 25px;
  line-height: 1;
}

.hero-trust span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-card {
  position: relative;
  z-index: 2;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid rgba(201, 164, 92, 0.38);
  border-radius: 24px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.11),
      rgba(255, 255, 255, 0.035)
    );
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

.hero-card::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  top: -110px;
  right: -80px;
  border: 1px solid rgba(201, 164, 92, 0.22);
  border-radius: 50%;
}

.hero-card-top {
  display: flex;
  justify-content: space-between;
  padding: 28px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.hero-card-body {
  padding: 45px 38px;
}

.hero-card-body > p:first-child {
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.hero-card-body h2 {
  max-width: 390px;
  margin: 15px 0 25px;
  font-size: 36px;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.hero-card-line {
  display: block;
  width: 65px;
  height: 2px;
  margin-bottom: 24px;
  background: var(--gold);
}

.hero-card-description {
  max-width: 360px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}


/* =========================================
   GENERAL SECTIONS
========================================= */

.section {
  padding: 105px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 52px;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.section-heading > p:last-child {
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}


/* =========================================
   LOAN CATEGORIES
========================================= */

.loans-section {
  background: var(--cream);
}

.loan-category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.loan-category-card {
  position: relative;
  padding: 35px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 30px rgba(7, 26, 51, 0.045);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.loan-category-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -70px;
  bottom: -80px;
  border-radius: 50%;
  background: var(--gold-light);
  opacity: 0.45;
}

.loan-category-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 164, 92, 0.55);
  box-shadow: var(--shadow-hover);
}

.loan-category-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 25px;
  border-radius: 12px;
  color: var(--gold);
  background: var(--navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.loan-category-card h3 {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--navy);
  font-size: 27px;
  line-height: 1.2;
}

.loan-category-card > p {
  position: relative;
  z-index: 2;
  min-height: 78px;
  margin: 14px 0 22px;
  color: var(--muted);
  line-height: 1.7;
}

.loan-category-card ul {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 22px;
  margin: 0;
  padding: 0 0 25px;
  list-style: none;
  border-bottom: 1px solid var(--border);
}

.loan-category-card li {
  position: relative;
  padding-left: 17px;
  color: #526276;
  font-size: 13px;
}

.loan-category-card li::before {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  left: 0;
  top: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.text-link {
  position: relative;
  z-index: 2;
  display: inline-block;
  margin-top: 22px;
  color: var(--blue);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.text-link:hover {
  color: var(--navy);
}


/* =========================================
   ABOUT
========================================= */

.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 90px;
  align-items: center;
}

.about-grid h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(35px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.about-grid > div:last-child {
  padding-left: 40px;
  border-left: 1px solid var(--border);
}

.about-grid > div:last-child p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.about-grid .button {
  margin-top: 10px;
}


/* =========================================
   PROCESS
========================================= */

.process-section {
  background: #f8fafc;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 25px rgba(7, 26, 51, 0.035);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 39px;
  margin-bottom: 24px;
  border-radius: 50%;
  color: var(--gold);
  background: var(--navy);
  font-size: 10px;
  font-weight: 800;
}

.step-card h3 {
  margin: 0 0 11px;
  color: var(--navy);
  font-size: 18px;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}


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

.cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-soft));
  color: var(--white);
}

.cta-section::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  right: -180px;
  top: -230px;
  border: 1px solid rgba(201, 164, 92, 0.2);
  border-radius: 50%;
}

.cta-inner {
  position: relative;
  z-index: 2;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
}

.cta-inner h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.cta-inner p:last-child {
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
}


/* =========================================
   FAQ
========================================= */

.faq-section {
  background: var(--white);
}

.faq-list {
  max-width: 850px;
  border-top: 1px solid var(--border);
}

.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  padding: 23px 45px 23px 0;
  position: relative;
  cursor: pointer;
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 17px;
  color: var(--gold);
  font-size: 24px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 760px;
  margin: -3px 0 23px;
  color: var(--muted);
  line-height: 1.75;
}


/* =========================================
   CONTACT
========================================= */

.contact-section {
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 85px;
  align-items: start;
}

.contact-grid h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.contact-grid > div > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.contact-note {
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 13px !important;
}

.contact-form {
  padding: 35px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  margin-bottom: 19px;
}

.form-group label {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d4dce4;
  border-radius: 9px;
  outline: none;
  background: #fbfcfd;
  color: var(--text);
  font-size: 14px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29, 95, 145, 0.1);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.form-message {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--success);
  background: #edf7f1;
  font-size: 13px;
}


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

.site-footer {
  background: var(--navy-deep);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 55px;
  padding-top: 70px;
  padding-bottom: 60px;
}

.footer-brand {
  color: var(--white);
}

.footer-grid > div:first-child p {
  max-width: 330px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  line-height: 1.7;
}

.footer-grid h4 {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-grid > div:not(:first-child) a {
  display: block;
  margin-bottom: 11px;
  color: rgba(255, 255, 255, 0.58);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-grid > div:not(:first-child) a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 22px;
  padding-bottom: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.36);
  font-size: 11px;
  line-height: 1.6;
}

.footer-bottom p:last-child {
  max-width: 570px;
  text-align: right;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1000px) {

  .main-nav {
    gap: 17px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .hero-card {
    max-width: 620px;
  }

  .about-grid {
    gap: 50px;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


@media (max-width: 820px) {

  .container {
    width: min(100% - 34px, 700px);
  }

  .header-inner {
    min-height: 72px;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
  }

  .main-nav.mobile-open {
    display: flex;
    position: absolute;
    top: 72px;
    left: 17px;
    right: 17px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .main-nav.mobile-open a {
    padding: 13px;
  }

  .main-nav.mobile-open .nav-apply {
    text-align: center;
    margin-top: 5px;
  }

  .loan-category-grid {
    grid-template-columns: 1fr;
  }

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

  .about-grid > div:last-child {
    padding-left: 0;
    padding-top: 25px;
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

}


@media (max-width: 600px) {

  .section {
    padding: 75px 0;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 65px;
    padding-bottom: 65px;
  }

  .hero-content h1 {
    font-size: 43px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-card {
    min-height: 350px;
  }

  .hero-card-body {
    padding: 30px;
  }

  .hero-card-body h2 {
    font-size: 30px;
  }

  .hero-trust {
    gap: 22px;
  }

  .hero-trust strong {
    font-size: 21px;
  }

  .loan-category-card {
    padding: 27px;
  }

  .loan-category-card ul {
    grid-template-columns: 1fr;
  }

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

  .cta-inner {
    min-height: 350px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

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

  .contact-form {
    padding: 25px;
  }

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

  .footer-bottom {
    flex-direction: column;
  }

  .footer-bottom p:last-child {
    text-align: left;
  }

}
/* Interest Rate Highlight */
.rate-highlight {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  margin: 24px 0 6px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #f4ead3, #fffaf0);
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(7, 26, 51, 0.08);
}

.rate-highlight strong {
  color: var(--navy);
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.rate-highlight span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
  max-width: 560px;
}
/* Loan Calculator */

.calculator-section {
  background: var(--cream);
}

.calculator-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1050px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(7, 26, 51, 0.10);
}

.calculator-form {
  padding: 42px;
  background: var(--white);
}

.calculator-field {
  margin-bottom: 26px;
}

.calculator-field:last-child {
  margin-bottom: 0;
}

.calculator-field label {
  display: block;
  margin-bottom: 9px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
}

.calculator-field input,
.calculator-field select {
  width: 100%;
  height: 52px;
  padding: 0 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.calculator-field input:focus,
.calculator-field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29, 95, 145, 0.10);
}

.calculator-field small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.78rem;
}

.input-prefix,
.input-suffix {
  display: flex;
  align-items: center;
  height: 52px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  overflow: hidden;
}

.input-prefix span,
.input-suffix span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 14px;
  background: var(--blue-light);
  color: var(--navy);
  font-weight: 700;
}

.input-prefix input,
.input-suffix input {
  height: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.input-prefix input:focus,
.input-suffix input:focus {
  box-shadow: none;
}

.calculator-results {
  padding: 42px;
  background: linear-gradient(145deg, var(--navy), var(--navy-soft));
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calculator-result-main {
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.calculator-result-main span,
.calculator-result-grid span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.calculator-result-main strong {
  display: block;
  color: var(--gold);
  font-size: 2.7rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.calculator-result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  padding: 28px 0;
}

.calculator-result-grid strong {
  color: var(--white);
  font-size: 1.25rem;
}

.calculator-results .button {
  align-self: flex-start;
  margin-top: 5px;
}

.calculator-disclaimer {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  line-height: 1.6;
}

@media (max-width: 820px) {
  .calculator-card {
    grid-template-columns: 1fr;
  }

  .calculator-form,
  .calculator-results {
    padding: 32px 26px;
  }
}

@media (max-width: 600px) {
  .calculator-result-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .calculator-result-main strong {
    font-size: 2.2rem;
  }
}
/* Application Form Layout Fix */

.application-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
}

.application-form > label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  color: var(--navy);
  font-weight: 600;
}

.application-form > label.full-width {
  grid-column: 1 / -1;
}

.application-form input,
.application-form select,
.application-form textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.application-form textarea {
  min-height: 150px;
  resize: vertical;
}

.application-form input:focus,
.application-form select:focus,
.application-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29, 95, 145, 0.10);
}

.application-form select:disabled {
  background: #f1f3f5;
  color: var(--muted);
  cursor: not-allowed;
}

@media (max-width: 760px) {
  .application-form {
    grid-template-columns: 1fr;
  }

  .application-form > label.full-width {
    grid-column: auto;
  }
}

/* Application Consent & Submit Layout */

.application-form .checkbox-group,
.application-form .form-checkbox,
.application-form label:has(input[type="checkbox"]) {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 15px 18px;
  margin: 0;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-sizing: border-box;
  font-weight: 400;
  line-height: 1.5;
}

.application-form input[type="checkbox"] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--blue);
  box-shadow: none;
}

.application-form .checkbox-group label,
.application-form .form-checkbox label {
  display: block;
  padding: 0;
  margin: 0;
  font-weight: 400;
}

.application-form .submit-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 6px;
}

.application-form button[type="submit"] {
  min-width: 190px;
  min-height: 52px;
  padding: 13px 26px;
  border: 0;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.application-form button[type="submit"]:hover {
  background: var(--blue);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(7, 26, 51, 0.15);
}

.application-form .application-message {
  grid-column: 1 / -1;
  margin-top: 0;
}

@media (max-width: 760px) {
  .application-form .submit-row {
    grid-column: auto;
  }
}

/* Application Success Modal */

.application-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.application-modal.is-open {
  display: flex;
}

.application-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 26, 51, 0.72);
  backdrop-filter: blur(4px);
}

.application-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  padding: 42px 36px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(7, 26, 51, 0.25);
  text-align: center;
}

.application-modal-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-size: 1.8rem;
  font-weight: 800;
}

.application-modal-card h2 {
  margin-bottom: 12px;
  color: var(--navy);
}

.application-modal-card p {
  margin: 0 auto 26px;
  max-width: 420px;
  color: var(--muted);
  line-height: 1.7;
}

.application-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.application-modal-close:hover {
  color: var(--navy);
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .application-modal {
    padding: 16px;
  }

  .application-modal-card {
    padding: 36px 24px;
  }
}

/* =========================================
   Application Process
   ========================================= */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 45px;
}

.process-card {
  position: relative;
  padding: 30px 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(7, 26, 51, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(7, 26, 51, 0.10);
}

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.process-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.35;
}

.process-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* Gold connector accent */
.process-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 54px;
  right: -20px;
  width: 20px;
  height: 2px;
  background: var(--gold);
}

/* Tablet */
@media (max-width: 1000px) {
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-card::after {
    display: none;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }

  .process-card {
    padding: 26px 22px;
  }

  .process-card::after {
    display: none;
  }
}
