/* Norwich Credit Union – shared site styles (homepage styles + inner pages) */

    /* =============================================
       DESIGN TOKENS – NCU Brand Palette
    ============================================= */
    :root {
      --teal:        #5bbcb8;
      --teal-dark:   #3d9a96;
      --teal-light:  #d4f0ef;
      --purple:      #8b7db5;
      --purple-dark: #6b5f96;
      --purple-light:#ede9f7;
      --navy:        #1e2d5a;
      --navy-mid:    #2c3e7a;
      --white:       #ffffff;
      --off-white:   #f7f9fc;
      --grey-light:  #e8ecf3;
      --grey:        #8a929e;
      --text:        #1a2340;
      --text-light:  #4a5568;

      --font: 'Nunito Sans', 'Futura BT', 'Century Gothic', Futura, sans-serif;
      --radius: 12px;
      --shadow: 0 4px 24px rgba(30,45,90,0.10);
      --shadow-lg: 0 12px 48px rgba(30,45,90,0.15);
      --transition: 0.25s ease;
    }

    /* =============================================
       RESET & BASE
    ============================================= */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; overflow-x: hidden; }
    body {
      font-family: var(--font);
      color: var(--text);
      background: var(--white);
      line-height: 1.65;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }
    img { max-width: 100%; display: block; }
    a { color: inherit; text-decoration: none; }
    ul { list-style: none; }

    .container {
      max-width: 1140px;
      margin: 0 auto;
      padding: 0 24px;
    }


    /* Single location feature */
    .location-feature {
      display: grid;
      grid-template-columns: 1fr 340px;
      gap: 24px;
      align-items: stretch;
    }
    .location-feature-main {
      background: var(--white);
      border-radius: 20px;
      box-shadow: var(--shadow);
      padding: 40px;
      display: flex;
      gap: 28px;
      align-items: flex-start;
    }
    .lf-icon-wrap {
      width: 64px; height: 64px; min-width: 64px;
      background: var(--teal-light);
      border-radius: 16px;
      display: flex; align-items: center; justify-content: center;
      font-size: 28px;
    }
    .lf-details h3 {
      font-size: 22px;
      font-weight: 700;
      color: var(--navy);
      margin-bottom: 8px;
    }
    .lf-details address {
      font-style: normal;
      font-size: 16px;
      color: var(--text-light);
      line-height: 1.6;
      margin-bottom: 14px;
    }
    .lf-tags { margin-bottom: 20px; }
    .lf-contact-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }
    .lf-contact-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 10px 18px;
      background: var(--off-white);
      border: 1.5px solid var(--grey-light);
      border-radius: 10px;
      font-size: 14px;
      font-weight: 600;
      color: var(--navy);
      transition: all var(--transition);
    }
    .lf-contact-btn:hover {
      background: var(--teal-light);
      border-color: var(--teal);
      color: var(--teal-dark);
    }
    .lf-map-placeholder {
      background: var(--navy);
      border-radius: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 200px;
    }
    .lf-map-link {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
      color: var(--white);
      font-size: 15px;
      font-weight: 600;
      padding: 24px;
      text-align: center;
      transition: all var(--transition);
    }
    .lf-map-link:hover { color: var(--teal); }
    .lf-map-icon { font-size: 48px; }
    @media (max-width: 900px) {
      .location-feature { grid-template-columns: 1fr; }
      .lf-map-placeholder { min-height: 140px; }
    }
    @media (max-width: 600px) {
      .location-feature-main { flex-direction: column; gap: 16px; padding: 24px; }
      .lf-contact-row { flex-direction: column; }
    }

    /* =============================================
       UTILITY BAR
    ============================================= */
    .utility-bar {
      background: var(--navy);
      color: rgba(255,255,255,0.75);
      font-size: 13px;
      padding: 8px 0;
    }
    .utility-bar .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }
    .utility-bar a { color: rgba(255,255,255,0.75); transition: color var(--transition); }
    .utility-bar a:hover { color: var(--teal); }
    .utility-bar .util-left, .utility-bar .util-right {
      display: flex; gap: 20px; align-items: center;
    }
    .utility-bar .util-item { display: flex; align-items: center; gap: 6px; }

    /* =============================================
       HEADER / NAV
    ============================================= */
    .site-header {
      background: var(--white);
      box-shadow: 0 2px 12px rgba(30,45,90,0.08);
      position: sticky;
      top: 0;
      z-index: 100;
    }
    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 16px 24px;
      max-width: 1140px;
      margin: 0 auto;
      gap: 24px;
    }
    .site-logo img { height: 52px; width: auto; }
    .site-logo-text {
      display: flex;
      flex-direction: column;
      line-height: 1.1;
      font-weight: 700;
      letter-spacing: 0.04em;
    }
    .site-logo-text .org-name {
      color: var(--navy);
      font-size: 20px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }
    .site-logo-text .org-sub {
      color: var(--teal);
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      font-weight: 400;
    }

    .main-nav { display: flex; align-items: center; gap: 4px; }
    .main-nav a {
      color: var(--text);
      font-weight: 600;
      font-size: 14px;
      padding: 8px 14px;
      border-radius: 8px;
      transition: background var(--transition), color var(--transition);
      letter-spacing: 0.03em;
      text-transform: uppercase;
    }
    .main-nav a:hover { background: var(--teal-light); color: var(--teal-dark); }

    .nav-cta {
      background: var(--teal) !important;
      color: var(--white) !important;
      padding: 10px 20px !important;
      border-radius: var(--radius) !important;
    }
    .nav-cta:hover { background: var(--teal-dark) !important; }

    .nav-banking {
      background: var(--navy) !important;
      color: var(--white) !important;
      padding: 10px 20px !important;
      border-radius: var(--radius) !important;
    }
    .nav-banking:hover { background: var(--navy-mid) !important; }

    /* Hamburger */
    .nav-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      flex-direction: column;
      gap: 5px;
    }
    .nav-toggle span {
      display: block; width: 24px; height: 2px;
      background: var(--navy); border-radius: 2px;
      transition: all var(--transition);
    }

    /* =============================================
       HERO
    ============================================= */
    .hero {
      background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, #2a4a7a 100%);
      color: var(--white);
      padding: 80px 0 100px;
      position: relative;
      overflow: hidden;
    }
    .hero::before {
      content: '';
      position: absolute;
      top: -100px; right: -100px;
      width: 500px; height: 500px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(91,188,184,0.15) 0%, transparent 70%);
      pointer-events: none;
    }
    .hero::after {
      content: '';
      position: absolute;
      bottom: -60px; left: -60px;
      width: 300px; height: 300px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(139,125,181,0.12) 0%, transparent 70%);
      pointer-events: none;
    }
    .hero .container {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
      position: relative;
      z-index: 1;
    }
    .hero-eyebrow {
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.15em;
      color: var(--teal);
      margin-bottom: 16px;
    }
    .hero h1 {
      font-size: clamp(32px, 4vw, 52px);
      font-weight: 700;
      line-height: 1.15;
      letter-spacing: -0.01em;
      margin-bottom: 20px;
    }
    .hero h1 em {
      font-style: normal;
      color: var(--teal);
    }
    .hero-desc {
      font-size: 18px;
      color: rgba(255,255,255,0.80);
      margin-bottom: 36px;
      line-height: 1.7;
      font-weight: 300;
    }
    .hero-actions {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 14px 28px;
      border-radius: var(--radius);
      font-family: var(--font);
      font-weight: 700;
      font-size: 15px;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      cursor: pointer;
      border: none;
      transition: all var(--transition);
      white-space: nowrap;
    }
    .btn-teal { background: var(--teal); color: var(--white); }
    .btn-teal:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(91,188,184,0.35); }
    .btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.4); }
    .btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.08); transform: translateY(-2px); }
    .btn-navy { background: var(--navy); color: var(--white); }
    .btn-navy:hover { background: var(--navy-mid); transform: translateY(-2px); }

    .hero-cards {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }
    .hero-card {
      background: rgba(255,255,255,0.07);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: var(--radius);
      padding: 24px;
      backdrop-filter: blur(8px);
      transition: all var(--transition);
    }
    .hero-card:hover {
      background: rgba(255,255,255,0.12);
      transform: translateY(-3px);
    }
    .hero-card .card-icon {
      font-size: 28px;
      margin-bottom: 10px;
    }
    .hero-card h3 {
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 6px;
      color: var(--white);
    }
    .hero-card p {
      font-size: 13px;
      color: rgba(255,255,255,0.65);
      line-height: 1.5;
    }
    .hero-card .card-link {
      display: inline-block;
      margin-top: 12px;
      color: var(--teal);
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.05em;
      text-transform: uppercase;
    }
    .hero-card .card-link:hover { text-decoration: underline; }

    /* =============================================
       TRUST BAR
    ============================================= */
    .trust-bar {
      background: var(--white);
      border-bottom: 1px solid var(--grey-light);
      padding: 24px 0;
    }
    .trust-bar .container {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
      gap: 24px 48px;
    }
    .trust-logo-item {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 48px;
      transition: opacity var(--transition);
    }
    .trust-logo-item:hover { opacity: 0.75; }
    .trust-logo-item img {
      height: 48px;
      width: auto;
      max-width: 160px;
      object-fit: contain;
      display: block;
    }

    /* =============================================
       SECTION BASICS
    ============================================= */
    section { padding: 80px 0; }
    .section-label {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      color: var(--teal-dark);
      margin-bottom: 12px;
    }
    .section-title {
      font-size: clamp(26px, 3vw, 40px);
      font-weight: 700;
      line-height: 1.2;
      color: var(--navy);
      margin-bottom: 16px;
      letter-spacing: -0.01em;
    }
    .section-intro {
      font-size: 17px;
      color: var(--text-light);
      max-width: 600px;
      line-height: 1.75;
    }
    .section-header { margin-bottom: 48px; }
    .section-header-center { text-align: center; }
    .section-header-center .section-intro { margin: 0 auto; }

    /* =============================================
       ABOUT / WHO WE ARE
    ============================================= */
    .about-section {
      background: var(--white);
    }
    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
    }
    .about-grid > * { min-width: 0; }
    .about-visual {
      background: linear-gradient(135deg, var(--teal-light) 0%, var(--purple-light) 100%);
      border-radius: 20px;
      padding: 36px 24px;
      position: relative;
      overflow: hidden;
      min-width: 0;
    }
    .about-visual::before {
      content: '';
      position: absolute;
      top: -30px; right: -30px;
      width: 150px; height: 150px;
      border-radius: 50%;
      background: rgba(91,188,184,0.2);
    }
    .stat-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      position: relative;
      z-index: 1;
    }
    .stat-box {
      background: var(--white);
      border-radius: var(--radius);
      padding: 24px 20px;
      box-shadow: var(--shadow);
      text-align: center;
    }
    .stat-box .stat-num {
      font-size: clamp(20px, 4vw, 32px);
      font-weight: 700;
      color: var(--navy);
      display: block;
      line-height: 1;
      margin-bottom: 6px;
    }
    .stat-box .stat-num em {
      font-style: normal;
      color: var(--teal-dark);
    }
    .stat-box .stat-label {
      font-size: 12px;
      color: var(--text-light);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-weight: 600;
    }
    .about-text .check-list {
      margin: 24px 0 32px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .check-list li {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      font-size: 15px;
      color: var(--text-light);
    }
    .check-list li::before {
      content: '✓';
      display: flex;
      align-items: center;
      justify-content: center;
      width: 22px; height: 22px;
      min-width: 22px;
      background: var(--teal-light);
      color: var(--teal-dark);
      border-radius: 50%;
      font-size: 12px;
      font-weight: 700;
      margin-top: 1px;
    }

    /* =============================================
       SERVICES
    ============================================= */
    .services-section { background: var(--off-white); }
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .service-card {
      background: var(--white);
      border-radius: 16px;
      padding: 36px 28px;
      box-shadow: var(--shadow);
      transition: all var(--transition);
      border-top: 4px solid transparent;
      display: flex;
      flex-direction: column;
    }
    .service-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-lg);
    }
    .service-card.teal { border-top-color: var(--teal); }
    .service-card.purple { border-top-color: var(--purple); }
    .service-card.navy { border-top-color: var(--navy); }
    .service-icon {
      width: 56px; height: 56px;
      border-radius: 14px;
      display: flex; align-items: center; justify-content: center;
      font-size: 26px;
      margin-bottom: 20px;
    }
    .service-card.teal .service-icon { background: var(--teal-light); }
    .service-card.purple .service-icon { background: var(--purple-light); }
    .service-card.navy .service-icon { background: var(--grey-light); }
    .service-card h3 {
      font-size: 20px;
      font-weight: 700;
      color: var(--navy);
      margin-bottom: 12px;
    }
    .service-card p {
      font-size: 15px;
      color: var(--text-light);
      line-height: 1.7;
      flex: 1;
    }
    .service-card .service-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-top: 24px;
      font-size: 14px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--navy);
      transition: color var(--transition);
    }
    .service-card.teal .service-link { color: var(--teal-dark); }
    .service-card.purple .service-link { color: var(--purple-dark); }
    .service-card .service-link:hover { text-decoration: underline; }

    /* =============================================
       LOAN PRODUCTS
    ============================================= */
    .loans-section { background: var(--white); }
    .loans-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
    }
    .loan-card {
      border: 1px solid var(--grey-light);
      border-radius: var(--radius);
      padding: 28px 24px;
      display: flex;
      align-items: flex-start;
      gap: 20px;
      transition: all var(--transition);
    }
    .loan-card:hover {
      border-color: var(--teal);
      box-shadow: 0 0 0 4px var(--teal-light);
      transform: translateY(-2px);
    }
    .loan-badge {
      min-width: 64px;
      background: var(--navy);
      color: var(--white);
      border-radius: 10px;
      padding: 10px 8px;
      text-align: center;
    }
    .loan-badge .rate {
      font-size: 18px;
      font-weight: 700;
      display: block;
      line-height: 1;
    }
    .loan-badge .rate-label {
      font-size: 9px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--teal);
      display: block;
      margin-top: 4px;
    }
    .loan-info h4 {
      font-size: 17px;
      font-weight: 700;
      color: var(--navy);
      margin-bottom: 6px;
    }
    .loan-info p {
      font-size: 14px;
      color: var(--text-light);
      line-height: 1.6;
    }
    .loan-info .loan-tag {
      display: inline-block;
      background: var(--teal-light);
      color: var(--teal-dark);
      font-size: 11px;
      font-weight: 700;
      padding: 3px 10px;
      border-radius: 20px;
      margin-top: 8px;
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }
    .loans-note {
      margin-top: 32px;
      background: var(--off-white);
      border-radius: var(--radius);
      padding: 20px 24px;
      font-size: 14px;
      color: var(--text-light);
      border-left: 4px solid var(--teal);
    }

    /* =============================================
       HOW TO JOIN
    ============================================= */
    .join-section { background: var(--navy); color: var(--white); }
    .join-section .section-label { color: var(--teal); }
    .join-section .section-title { color: var(--white); }
    .join-section .section-intro { color: rgba(255,255,255,0.7); }
    .steps-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      margin-top: 48px;
    }
    .step-card {
      text-align: center;
      position: relative;
    }
    .step-card::after {
      content: '→';
      position: absolute;
      top: 22px;
      right: -18px;
      font-size: 20px;
      color: rgba(255,255,255,0.2);
    }
    .step-card:last-child::after { display: none; }
    .step-num {
      width: 48px; height: 48px;
      background: var(--teal);
      color: var(--white);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 20px;
      font-weight: 700;
      margin: 0 auto 16px;
    }
    .step-card h4 {
      font-size: 15px;
      font-weight: 700;
      margin-bottom: 8px;
    }
    .step-card p {
      font-size: 13px;
      color: rgba(255,255,255,0.6);
      line-height: 1.6;
    }
    .join-cta {
      text-align: center;
      margin-top: 48px;
    }

    /* =============================================
       WHERE TO FIND US
    ============================================= */
    .locations-section { background: var(--off-white); }
    .locations-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .location-card {
      background: var(--white);
      border-radius: var(--radius);
      padding: 28px;
      box-shadow: var(--shadow);
    }
    .location-card .loc-icon {
      font-size: 28px;
      margin-bottom: 14px;
    }
    .location-card h4 {
      font-size: 17px;
      font-weight: 700;
      color: var(--navy);
      margin-bottom: 8px;
    }
    .location-card address {
      font-style: normal;
      font-size: 14px;
      color: var(--text-light);
      line-height: 1.7;
    }
    .location-card .hours-tag {
      display: inline-block;
      margin-top: 12px;
      background: var(--teal-light);
      color: var(--teal-dark);
      font-size: 11px;
      font-weight: 700;
      padding: 4px 10px;
      border-radius: 20px;
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }
    .hours-tag.closed { background: #fde8e8; color: #c53030; }

    /* Phone hours block */
    .phone-hours {
      margin-top: 40px;
      background: var(--white);
      border-radius: var(--radius);
      padding: 28px 32px;
      box-shadow: var(--shadow);
      display: flex;
      align-items: flex-start;
      gap: 24px;
      flex-wrap: wrap;
    }
    .phone-hours .ph-icon {
      font-size: 36px;
      flex-shrink: 0;
    }
    .phone-hours h4 {
      font-size: 17px;
      font-weight: 700;
      color: var(--navy);
      margin-bottom: 8px;
    }
    .phone-hours p {
      font-size: 14px;
      color: var(--text-light);
      line-height: 1.7;
    }
    .phone-hours strong { color: var(--navy); }

    /* =============================================
       VOLUNTEERING
    ============================================= */
    .volunteer-section { background: var(--white); }
    .volunteer-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
    }
    .volunteer-benefits {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }
    .benefit-item {
      background: var(--off-white);
      border-radius: var(--radius);
      padding: 20px;
    }
    .benefit-item .bi-icon { font-size: 24px; margin-bottom: 10px; }
    .benefit-item h5 {
      font-size: 14px;
      font-weight: 700;
      color: var(--navy);
      margin-bottom: 4px;
    }
    .benefit-item p { font-size: 13px; color: var(--text-light); line-height: 1.5; }

    /* =============================================
       CONTACT
    ============================================= */
    .contact-section { background: var(--off-white); }
    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
    }
    .contact-info { display: flex; flex-direction: column; gap: 20px; }
    .contact-item {
      display: flex;
      align-items: flex-start;
      gap: 16px;
    }
    .contact-item .ci-icon {
      width: 44px; height: 44px;
      min-width: 44px;
      background: var(--teal-light);
      border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      font-size: 20px;
    }
    .contact-item h5 {
      font-size: 13px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-weight: 700;
      color: var(--grey);
      margin-bottom: 4px;
    }
    .contact-item p {
      font-size: 15px;
      color: var(--text);
      font-weight: 600;
    }
    .contact-item a { color: var(--teal-dark); }
    .contact-item a:hover { text-decoration: underline; }

    /* Contact form */
    .contact-form {
      background: var(--white);
      border-radius: 16px;
      padding: 36px;
      box-shadow: var(--shadow);
    }
    .contact-form h3 {
      font-size: 20px;
      font-weight: 700;
      color: var(--navy);
      margin-bottom: 24px;
    }
    .form-group {
      margin-bottom: 16px;
    }
    .form-group label {
      display: block;
      font-size: 13px;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 6px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }
    .form-group input,
    .form-group textarea,
    .form-group select {
      width: 100%;
      padding: 12px 16px;
      border: 1.5px solid var(--grey-light);
      border-radius: 10px;
      font-family: var(--font);
      font-size: 15px;
      color: var(--text);
      background: var(--white);
      transition: border-color var(--transition);
      outline: none;
    }
    .form-group input:focus,
    .form-group textarea:focus {
      border-color: var(--teal);
      box-shadow: 0 0 0 3px var(--teal-light);
    }
    .form-group textarea { resize: vertical; min-height: 100px; }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

    /* =============================================
       ACCREDITATIONS
    ============================================= */
    .accreditation-bar {
      background: var(--white);
      border-top: 1px solid var(--grey-light);
      padding: 28px 0;
    }
    .accreditation-bar .container {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 40px;
      flex-wrap: wrap;
    }
    .accred-logo-item {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 44px;
      transition: opacity var(--transition);
    }
    .accred-logo-item:hover { opacity: 0.7; }
    .accred-logo-item img {
      height: 44px;
      width: auto;
      max-width: 140px;
      object-fit: contain;
      display: block;
    }

    /* =============================================
       FOOTER
    ============================================= */
    .site-footer {
      background: var(--navy);
      color: rgba(255,255,255,0.7);
      padding: 60px 0 0;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
      padding-bottom: 40px;
    }
    .footer-logo img {
      height: 48px;
      width: auto;
      display: block;
      margin-bottom: 16px;
    }
    .footer-brand p {
      font-size: 14px;
      line-height: 1.7;
      margin-bottom: 20px;
      color: rgba(255,255,255,0.6);
    }
    .social-links {
      display: flex;
      gap: 10px;
    }
    .social-link {
      width: 36px; height: 36px;
      background: rgba(255,255,255,0.08);
      border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      font-size: 16px;
      transition: all var(--transition);
      color: rgba(255,255,255,0.7);
    }
    .social-link:hover { background: var(--teal); color: var(--white); }
    .footer-col h5 {
      color: var(--white);
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      font-weight: 700;
      margin-bottom: 16px;
    }
    .footer-col ul { display: flex; flex-direction: column; gap: 8px; }
    .footer-col ul li a {
      font-size: 14px;
      color: rgba(255,255,255,0.6);
      transition: color var(--transition);
    }
    .footer-col ul li a:hover { color: var(--teal); }
    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.1);
      padding: 20px 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
      font-size: 13px;
      color: rgba(255,255,255,0.4);
    }
    .footer-bottom a { color: rgba(255,255,255,0.5); }
    .footer-bottom a:hover { color: var(--teal); }
    .fca-note {
      font-size: 12px;
      color: rgba(255,255,255,0.4);
      padding: 16px 0;
      border-top: 1px solid rgba(255,255,255,0.08);
      line-height: 1.6;
    }

    /* =============================================
       MOBILE NAV OVERLAY
    ============================================= */
    .mobile-nav {
      display: none;
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: var(--navy);
      z-index: 200;
      padding: 24px;
      flex-direction: column;
      gap: 8px;
      overflow-y: auto;
    }
    .mobile-nav.open { display: flex; }
    .mobile-nav-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 24px;
    }
    .mobile-nav-header .close-btn {
      background: none;
      border: none;
      color: var(--white);
      font-size: 24px;
      cursor: pointer;
    }
    .mobile-nav a {
      color: rgba(255,255,255,0.85);
      font-size: 20px;
      font-weight: 600;
      padding: 14px 0;
      border-bottom: 1px solid rgba(255,255,255,0.08);
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }
    .mobile-nav a.btn-teal {
      margin-top: 16px;
      padding: 16px 24px;
      text-align: center;
      border-radius: var(--radius);
      border: none;
      color: var(--white);
    }

    /* =============================================
       RESPONSIVE
    ============================================= */
    @media (max-width: 900px) {
      .hero .container { grid-template-columns: 1fr; gap: 40px; }
      .hero-cards { grid-template-columns: 1fr 1fr; }
      .about-grid,
      .volunteer-grid,
      .contact-grid { grid-template-columns: 1fr; gap: 36px; }
      .services-grid,
      .loans-grid { grid-template-columns: 1fr; }
      .steps-grid { grid-template-columns: repeat(2, 1fr); }
      .step-card::after { display: none; }
      .locations-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
      .main-nav { display: none; }
      .nav-toggle { display: flex; }
    }
    @media (max-width: 600px) {
      .hero-cards { grid-template-columns: 1fr; }
      .steps-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; }
      .volunteer-benefits { grid-template-columns: 1fr; }
      .form-row { grid-template-columns: 1fr; }
      .utility-bar .util-right { display: none; }
      section { padding: 56px 0; }
    }
  
/* =============================================
   ADDITIONS – multi-page site (Oct 2026)
============================================= */

/* Dropdown menus in main nav */
.nav-item { position: relative; }
.nav-item > .nav-parent { display: inline-flex; align-items: center; gap: 4px; }
.nav-item > .nav-parent::after { content: '▾'; font-size: 11px; opacity: .6; }
.nav-menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 8px; display: none; flex-direction: column; z-index: 150;
}
.nav-menu::before { content: ''; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.nav-item:hover .nav-menu, .nav-item:focus-within .nav-menu { display: flex; }
.main-nav .nav-menu a { text-transform: none; letter-spacing: 0; font-size: 15px; padding: 10px 14px; }
.main-nav a[aria-current="page"] { color: var(--teal-dark); }
.mobile-nav .mobile-sub { padding-left: 18px; font-size: 16px; text-transform: none; letter-spacing: 0; color: rgba(255,255,255,0.7); }

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #2a4a7a 100%);
  color: var(--white); padding: 56px 0 60px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -120px; right: -80px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(91,188,184,0.18) 0%, transparent 70%); pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: var(--teal); }
.page-hero h1 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 700; line-height: 1.15; margin-bottom: 14px; }
.page-hero h1 em { font-style: normal; color: var(--teal); }
.page-hero .lead { font-size: 18px; color: rgba(255,255,255,0.82); max-width: 680px; font-weight: 300; line-height: 1.7; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-fact {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius);
  padding: 12px 18px; min-width: 130px;
}
.hero-fact strong { display: block; font-size: 22px; line-height: 1.1; color: var(--white); }
.hero-fact span { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--teal); font-weight: 700; }

/* Content layout */
.page-section { padding: 64px 0; }
.page-section.alt { background: var(--off-white); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.prose { font-size: 17px; color: var(--text-light); line-height: 1.8; }
.prose h2 { font-size: clamp(22px, 2.4vw, 30px); color: var(--navy); line-height: 1.25; margin: 40px 0 14px; font-weight: 700; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; color: var(--navy); margin: 28px 0 10px; }
.prose p { margin-bottom: 16px; }
.prose strong { color: var(--text); }
.prose a { color: var(--teal-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--navy); }
.prose ul.check-list { margin: 8px 0 22px; display: flex; flex-direction: column; gap: 10px; }

.aside-card {
  background: var(--white); border-radius: 16px; box-shadow: var(--shadow); padding: 28px;
  border-top: 4px solid var(--teal); position: sticky; top: 104px;
}
.aside-card.purple { border-top-color: var(--purple); }
.aside-card h3 { font-size: 18px; color: var(--navy); margin-bottom: 14px; }
.aside-card .fact-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--grey-light); font-size: 15px; }
.aside-card .fact-row:last-of-type { border-bottom: 0; }
.aside-card .fact-row span { color: var(--text-light); }
.aside-card .fact-row strong { color: var(--navy); text-align: right; }
.aside-card .btn { width: 100%; justify-content: center; margin-top: 12px; }
.aside-card .small { font-size: 13px; color: var(--text-light); margin-top: 14px; line-height: 1.6; }

.cta-panel {
  background: linear-gradient(135deg, var(--teal-light) 0%, var(--purple-light) 100%);
  border-radius: 20px; padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px;
}
.cta-panel > div { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.cta-panel h3 { font-size: 18px; color: var(--navy); }
.cta-panel p { font-size: 15px; color: var(--text-light); line-height: 1.6; flex: 1; }
.cta-panel .btn { align-self: flex-start; }

.terms {
  margin-top: 36px; border: 1.5px solid var(--grey-light); border-left: 4px solid var(--navy);
  border-radius: var(--radius); padding: 22px 26px; font-size: 14px; color: var(--text-light); line-height: 1.7; background: var(--off-white);
}
.terms h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--navy); margin-bottom: 10px; }
.terms p + p { margin-top: 8px; }

/* Data tables */
.data-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.data-table th { background: var(--navy); color: var(--white); text-align: left; padding: 14px 16px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.data-table td { padding: 13px 16px; border-bottom: 1px solid var(--grey-light); color: var(--text); }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tr:nth-child(even) td { background: var(--off-white); }
.data-table .closed { color: #b83232; font-weight: 600; }
.data-table td:first-child { font-weight: 700; color: var(--navy); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
.table-note { font-size: 13px; color: var(--text-light); margin-top: 10px; }

/* Loan calculator */
.calc { background: var(--white); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.calc-inputs { padding: 32px; }
.calc-results { background: var(--navy); color: var(--white); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.calc h3 { font-size: 20px; color: var(--navy); margin-bottom: 20px; }
.calc-field { margin-bottom: 22px; }
.calc-field label { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; color: var(--text); }
.calc-field label output { font-size: 20px; color: var(--teal-dark); text-transform: none; letter-spacing: 0; }
.calc-field input[type=range] { width: 100%; accent-color: var(--teal); }
.calc-field .range-ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--grey); margin-top: 2px; }
.calc-field select, .calc-field input[type=number] {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--grey-light); border-radius: 10px; font-family: var(--font); font-size: 15px; color: var(--text); background: var(--white);
}
.seg { display: flex; background: var(--off-white); border-radius: 10px; padding: 4px; gap: 4px; }
.seg button { flex: 1; border: 0; background: transparent; padding: 9px 8px; border-radius: 8px; font-family: var(--font); font-weight: 700; font-size: 14px; color: var(--text-light); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--white); color: var(--navy); box-shadow: 0 2px 8px rgba(30,45,90,.12); }
.calc-big { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--teal); font-weight: 700; }
.calc-big strong { display: block; font-size: 44px; line-height: 1.05; color: var(--white); letter-spacing: -0.01em; margin-top: 4px; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-grid div { background: rgba(255,255,255,0.07); border-radius: 10px; padding: 12px 14px; }
.calc-grid span { display: block; font-size: 12px; color: rgba(255,255,255,0.65); text-transform: uppercase; letter-spacing: .06em; }
.calc-grid strong { font-size: 20px; }
.calc-more h4 { font-size: 14px; color: var(--white); margin-bottom: 8px; }
.calc-more table { width: 100%; border-collapse: collapse; font-size: 14px; }
.calc-more th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,0.6); padding: 6px 4px; font-weight: 700; }
.calc-more td { padding: 7px 4px; border-top: 1px solid rgba(255,255,255,0.1); }
.calc-more td.save { color: var(--teal); font-weight: 700; }
.calc-note { font-size: 12px; color: rgba(255,255,255,0.55); line-height: 1.6; }

/* Borrowing limit calculator */
.limit-calc { background: var(--white); border-radius: 20px; box-shadow: var(--shadow); padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.limit-out { background: linear-gradient(135deg, var(--teal-light) 0%, var(--purple-light) 100%); border-radius: 16px; padding: 28px; text-align: center; }
.limit-out .lbl { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--teal-dark); }
.limit-out strong { display: block; font-size: 46px; color: var(--navy); line-height: 1.1; margin: 6px 0; }
.limit-out p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* Opening hours + map + booking */
.hours-table td:not(:first-child) { white-space: nowrap; }
.map-frame { border: 0; width: 100%; height: 100%; min-height: 340px; border-radius: 20px; box-shadow: var(--shadow); display: block; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.notice { background: var(--purple-light); border-left: 4px solid var(--purple); border-radius: var(--radius); padding: 18px 22px; color: var(--text); font-size: 15px; line-height: 1.7; }
.form-group select { appearance: auto; }
.form-help { font-size: 13px; color: var(--text-light); margin-top: 12px; line-height: 1.6; }

/* Holding pages */
.holding { min-height: 60vh; display: flex; align-items: center; background: var(--off-white); padding: 72px 0; }
.holding-card { background: var(--white); border-radius: 24px; box-shadow: var(--shadow-lg); padding: 48px; max-width: 760px; margin: 0 auto; text-align: center; border-top: 5px solid var(--teal); }
.holding-card .h-icon { width: 76px; height: 76px; border-radius: 20px; background: var(--teal-light); display: flex; align-items: center; justify-content: center; font-size: 36px; margin: 0 auto 20px; }
.holding-card h1 { font-size: clamp(26px, 3.4vw, 38px); color: var(--navy); line-height: 1.2; margin-bottom: 14px; }
.holding-card p { color: var(--text-light); font-size: 17px; line-height: 1.75; margin-bottom: 14px; }
.holding-card .btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.holding-card .countdown { font-size: 15px; color: var(--text-light); margin-top: 18px; }
.holding-card .countdown strong { color: var(--teal-dark); font-size: 18px; }
.status-pill { display: inline-block; background: var(--purple-light); color: var(--purple-dark); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }

@media (max-width: 900px) {
  .content-grid, .calc, .limit-calc, .two-col, .cta-panel { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .page-section { padding: 48px 0; }
}
@media (max-width: 600px) {
  .calc-inputs, .calc-results, .limit-calc { padding: 22px; }
  .calc-big strong { font-size: 36px; }
  .holding-card { padding: 32px 22px; }
  .cta-panel { padding: 18px; }
  .page-hero { padding: 40px 0 44px; }
}

/* Fixes: buttons inside text areas, nav fitting on one line */
.prose a.btn { text-decoration: none; }
.prose a.btn-teal, .prose a.btn-navy { color: var(--white); }
.prose a.btn-teal:hover, .prose a.btn-navy:hover { color: var(--white); }
.main-nav a { white-space: nowrap; padding: 8px 10px; }
.main-nav { gap: 2px; }
.nav-cta, .nav-banking { padding: 10px 16px !important; }
@media (max-width: 1180px) and (min-width: 901px) {
  .main-nav a { font-size: 13px; padding: 8px 8px; letter-spacing: 0.02em; }
  .site-logo img { height: 44px; }
}
@media (max-width: 600px) {
  .data-table th, .data-table td { padding: 10px 10px; font-size: 14px; }
}

/* Fix: keep the header pinned when scrolling. "overflow-x: hidden" on html/body
   stopped position:sticky working; "clip" prevents sideways scroll without that side effect. */
html, body { overflow-x: clip; }

/* Fix: nothing may be wider than a phone screen.
   Grid/flex children can shrink, long buttons wrap, long email addresses break. */
.volunteer-grid > *, .contact-grid > *, .location-feature > *, .two-col > *,
.content-grid > *, .hero .container > *, .lf-details { min-width: 0; }
.lf-contact-btn, .contact-item p, .prose, .notice, .footer-col a { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .btn { white-space: normal; text-align: center; justify-content: center; }
  .lf-contact-btn { justify-content: center; text-align: center; }
}
.utility-bar .util-left { flex-wrap: wrap; gap: 4px 16px; min-width: 0; }
.utility-bar a, .holding-card p, .holding-card a { overflow-wrap: anywhere; }
.holding > .container { width: 100%; min-width: 0; }
.calc > *, .limit-calc > * { min-width: 0; }
.seg button { min-width: 0; }
@media (max-width: 400px) {
  .seg button { padding: 9px 4px; font-size: 13px; }
  .calc-more table { font-size: 12px; }
  .calc-grid strong { font-size: 17px; }
}

/* Typed loan amount box */
.amt-box { display: flex; align-items: center; border: 1.5px solid var(--grey-light); border-radius: 10px; background: var(--white); margin-bottom: 12px; transition: border-color var(--transition), box-shadow var(--transition); }
.amt-box:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-light); }
.amt-box span { padding: 0 4px 0 16px; font-size: 22px; font-weight: 700; color: var(--teal-dark); }
.amt-box input { border: 0; outline: none; width: 100%; min-width: 0; padding: 10px 14px 10px 4px; font-family: var(--font); font-size: 22px; font-weight: 700; color: var(--navy); background: transparent; }
.amt-msg { font-size: 13px; color: #b83232; margin-top: 6px; }

/* Whole-card links (homepage) */
a.hero-card, a.service-card { display: block; color: inherit; }
a.service-card { display: flex; }
a.hero-card:focus-visible, a.service-card:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
a.hero-card:hover .card-link, a.service-card:hover .service-link { text-decoration: underline; }
.amt-box input::-webkit-outer-spin-button, .amt-box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.amt-box input[type=number] { -moz-appearance: textfield; appearance: textfield; }


/* ==========================================================
   FLOATING MOBILE NAVIGATION — main.html parent document
   Overrides the earlier full-screen mobile navigation rules.
   ========================================================== */

.mobile-nav {
  display: flex;
  position: fixed;
  top: 18px;
  right: 18px;
  left: auto;
  bottom: 18px;
  width: min(360px, calc(100vw - 36px));
  max-height: calc(100dvh - 36px);
  padding: 20px;
  flex-direction: column;
  gap: 4px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--navy);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  box-shadow: 0 18px 60px rgba(0,0,0,.30);
  z-index: 1002;

  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateX(calc(100% + 24px));
  transition: transform .25s ease, opacity .25s ease, visibility .25s ease;
}

.mobile-nav.open {
  display: flex;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.mobile-nav-header {
  position: sticky;
  top: -20px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: -20px -20px 10px;
  padding: 16px 20px;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.16);
}

.mobile-nav-header img {
  display: block;
  width: auto;
  max-width: 210px;
  height: 40px;
  object-fit: contain;
}

.mobile-nav .close-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 8px;
  background: transparent;
  color: var(--white);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.mobile-nav > a {
  display: block;
  flex: 0 0 auto;
  padding: 11px 8px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.92);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .035em;
  text-decoration: none;
}

.mobile-nav > a:hover,
.mobile-nav > a:focus-visible {
  color: var(--white);
  background: rgba(255,255,255,.10);
  outline: none;
  border-radius: 6px;
}

.mobile-nav > a.mobile-sub {
  padding-left: 24px;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
}

.mobile-nav > a.btn {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 13px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-align: center;
  white-space: normal;
}

.mobile-nav > a.btn-outline-white {
  border-color: rgba(255,255,255,.45);
  color: var(--white);
}

.mobile-nav > a.btn-teal {
  background: var(--teal);
  color: var(--white);
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: rgba(10,18,38,.48);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.menu-is-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .mobile-nav {
    top: 8px;
    right: 8px;
    bottom: 8px;
    width: min(360px, calc(100vw - 16px));
    max-height: calc(100dvh - 16px);
    padding: 16px;
  }

  .mobile-nav-header {
    top: -16px;
    margin: -16px -16px 8px;
    padding: 12px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav,
  .mobile-nav-overlay {
    transition: none;
  }
}

