/* ================================
   LAYOUT SYSTEM
   ================================ */

.container {
  max-width: var(--container-lg);
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.container--narrow {
  max-width: var(--container-md);
}

.section {
  padding: 5rem 0;
  background-color: var(--bg-white);
}

.section--light {
  background-color: var(--bg-soft);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

/* ================================
   GRID SYSTEM
   ================================ */

.grid {
  display: grid;
  gap: var(--space-lg);
}

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

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ================================
   HERO – MODERN BANK STYLE
   ================================ */

.hero {
  background: linear-gradient(
    135deg,
    var(--blue-main) 0%,
    var(--blue-soft) 100%
  );
  min-height: 82vh;              /* was ~70–75vh */
  display: flex;
  align-items: center;
  text-align: center;
  padding: 6rem 0 7rem;          /* IMPORTANT */
}


.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero h1 {
  font-family: var(--font-heading);
  color: #ffffff;
  font-size: clamp(2.6rem, 4.5vw, 3.4rem);
  line-height: 1.25;
  margin-bottom: 2rem;           /* increased */
}

.hero p {
  color: var(--text-light);
  font-size: 1.08rem;
  line-height: 1.75;
  max-width: 720px;
  margin: 0 auto 3rem;           /* IMPORTANT */
}


@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 5rem 0 5.5rem;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .hero p {
    margin-bottom: 2.25rem;
  }
}

/* =====================================
   MOBILE HAMBURGER MENU – FINAL FIX
   ===================================== */

/* Header positioning */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #ffffff;
}

/* Header layout */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Hide checkbox */
.nav-toggle {
  display: none;
}

/* Hamburger icon */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background-color: #0e2a3b;
  display: block;
}

/* Desktop nav */
.nav {
  display: flex;
  gap: 2rem;
}

/* Mobile styles */
@media (max-width: 900px) {

  .hamburger {
    display: flex;
  }

.nav {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #ffffff;
  flex-direction: column;
  padding: 1.5rem;
  gap: 1.25rem;
  border-top: 1px solid #dde6ed;

  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);

  transition: max-height 0.4s ease,
              opacity 0.3s ease,
              transform 0.3s ease;
}


  /* Toggle menu */
.nav-toggle:checked + .hamburger + .nav {
  max-height: 420px;
  opacity: 1;
  transform: translateY(0);
}

/* Mobile nav link underline animation */
@media (max-width: 900px) {

  .nav a {
    position: relative;
    padding-bottom: 4px;
    width: fit-content;
  }

  .nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #bfa36a; /* gold accent */
    transition: width 0.3s ease;
  }

  .nav a:hover::after {
    width: 100%;
  }
}

