:root {
      /* Brand tokens so the shared Sign In modal (auth/login.css) resolves its colours on the homepage */
      --navy: #0f1a3b;
      --blue: #1a3a8f;
      --red: #e63946;
      --red-dark: #c0303c;
      --orange: #f4a261;
      --ink: #1a1a2e;
      --muted: #555e7a;
      --line: #edf0f7;
      --font-regular: 'Barlow', sans-serif;
      --font-bold: 'Barlow', sans-serif;
      --font-black: 'Barlow Condensed', sans-serif;
      --box-shadow: 0 0 0 .2rem rgba(26, 58, 143, .20);
      --border-color: #1a3a8f;
    }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body { font-family: 'Barlow', sans-serif; background: #fff; color: #1a1a2e; line-height: 1.6; }

    /* TOP BAR */
    .top-bar { background: #0f1a3b; color: #fff; text-align: center; padding: 8px 16px; font-size: .85rem; font-weight: 500; }
    .top-bar a { color: #f4a261; text-decoration: none; font-weight: 700; }
    .top-bar a:hover { text-decoration: underline; }

    /* Secondary services banner (below the top bar) */
    .services-bar { background: #1a3a8f; color: #fff; text-align: center; padding: 7px 16px; font-size: .8rem; font-weight: 500; line-height: 1.45; }
    .services-bar strong { font-weight: 700; }

    /* NAVBAR */
    nav { background: #fff; border-bottom: 2px solid #edf0f7; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 12px rgba(15,26,59,.08); }
    .nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; height: 68px; position: relative; }
    .nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
    .nav-logo img { height: 44px; object-fit: contain; }
    .nav-logo span { font-family: 'Barlow Condensed', sans-serif; font-size: 1.5rem; font-weight: 800; color: #0f1a3b; }
    .nav-links { display: flex; align-items: center; gap: 3px; list-style: none; padding: 0; margin: 0; }
    .nav-links a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; text-decoration: none; color: #1a1a2e; font-weight: 500; font-size: .9rem; padding: 8px 10px; border-radius: 6px; transition: background .2s, color .2s; }
    .nav-links a:hover { background: #edf0f7; color: #1a3a8f; }
    /* Currently open page (set by nav_active.js) */
    .nav-links > li > a.nav-active { background: #edf0f7; color: #1a3a8f !important; font-weight: 700; box-shadow: inset 0 -2px 0 #e63946; }
    .mega-col a.nav-active { background: #f7f9fc !important; color: #e63946 !important; font-weight: 700; }
    .mega-col a.mega-col-title.nav-active { background: none !important; }
    .nav-cta { background: #e63946 !important; color: #fff !important; font-weight: 700 !important; }
    .nav-cta:hover { background: #c0303c !important; }
    .nav-phone { color: #1a3a8f !important; font-weight: 700 !important; }
    .nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
    .nav-toggle span { display: block; width: 25px; height: 2px; background: #0f1a3b; border-radius: 2px; }

    /* MEGA MENU */
    /* Panel anchors to .nav-inner (not the trigger) so a wide multi-column menu
       centers under the nav and never overflows the viewport left edge. */
    .has-mega { position: static; }
    .mega-trigger { display: flex; align-items: center; gap: 6px; cursor: pointer; }
    .mega-chevron { flex-shrink: 0; transition: transform .2s; }
    .has-mega:hover .mega-chevron, .has-mega.open .mega-chevron { transform: rotate(180deg); }
    .mega-menu {
      position: absolute; top: calc(100% - 22px); left: 50%;
      width: min(1120px, 94vw);
      /* Transparent, hoverable bridge. Starts 22px ABOVE the nav's bottom edge so it reaches
         up to the trigger — the panel is anchored to .nav-inner (full nav height), so without
         this the trigger's bottom and the panel top leave a dead zone that closes the menu.
         The extra top offset is absorbed by the matching padding-top, so the visible panel
         (.mega-menu-inner) stays in the same place. */
      padding-top: 38px;
      z-index: 200;
      opacity: 0; visibility: hidden; pointer-events: none;
      transform: translateX(-50%) translateY(8px);
      transition: opacity .18s ease, transform .18s ease, visibility .18s;
    }
    /* Visible panel lives on the inner wrapper so the padding-top above stays a transparent hover bridge */
    .mega-menu-inner {
      position: relative;
      background: #fff; border: 1px solid #edf0f7; border-radius: 14px;
      box-shadow: 0 20px 60px rgba(15,26,59,.18), 0 2px 10px rgba(15,26,59,.06);
      padding: 32px;
      display: grid; grid-template-columns: repeat(4, 1fr) 2.2fr 1.25fr; gap: 28px;
    }
    /* Arrow hidden: panel is centered under the nav, so a trigger-aligned tip would be misplaced. */
    .mega-menu-inner::before { display: none; }
    @media (hover: hover) {
      .has-mega:hover .mega-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
    }
    .has-mega.open .mega-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
    .mega-col { display: flex; flex-direction: column; }
    .mega-col-title {
      font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; font-weight: 800;
      color: #0f1a3b !important; text-transform: uppercase; letter-spacing: .5px;
      padding: 2px 0 10px !important; margin-bottom: 8px; border-bottom: 2px solid #f4a261;
      background: none !important;
    }
    .mega-col a { padding: 7px 2px !important; font-size: .9rem; font-weight: 500; color: #555e7a; border-radius: 4px !important; }
    .mega-col a:hover { background: #f7f9fc !important; color: #e63946 !important; }
    /* Caps has many sub-categories — lay them out in two sub-columns so the panel stays compact */
    .mega-col-caps .mega-caps-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
    .mega-col-all { border-left: 1px solid #edf0f7; padding-left: 28px; }
    .mega-promo { margin-top: 14px; background: linear-gradient(135deg, #0f1a3b, #1a3a8f); border-radius: 10px; padding: 18px; }
    .mega-promo-badge { display: inline-block; background: #e63946; color: #fff; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 3px 10px; border-radius: 4px; margin-bottom: 10px; }
    .mega-promo p { color: rgba(255,255,255,.8); font-size: .82rem; line-height: 1.5; margin-bottom: 12px; }
    .mega-promo-btn { display: inline-block; background: #f4a261; color: #0f1a3b !important; font-weight: 700 !important; font-size: .82rem !important; padding: 8px 14px !important; border-radius: 6px !important; }
    .mega-promo-btn:hover { background: #fff !important; color: #0f1a3b !important; }

    .mega-hint {
      position: absolute;bottom: -34px;left: 50%;transform: translateX(-50%) translateY(4px);background: #0f1a3b;
      color: #fff;font-size: .75rem;font-weight: 600;white-space: nowrap;padding: 6px 12px;border-radius: 6px;
      pointer-events: none;opacity: 0;z-index: 300;
    }

    .mega-hint::before {
      content: '';position: absolute;top: -4px;left: 50%;transform: translateX(-50%) rotate(45deg);width: 8px;height: 8px;background: #0f1a3b;
    }

    @media (hover: hover) {
      .has-mega:hover .mega-hint {
        animation: toastPop 3s ease forwards;
      }
    }

    @keyframes toastPop {
      0% {
        opacity: 0;
        transform: translateX(-50%) translateY(4px);
      }

      10% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
      }

      75% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
      }

      100% {
        opacity: 0;
        transform: translateX(-50%) translateY(4px);
      }
    }
    /* HERO */
    .hero { background: linear-gradient(135deg, #0f1a3b 0%, #1a3a8f 60%, #0f1a3b 100%); color: #fff; padding: 80px 24px 90px; position: relative; overflow: hidden; }
    .hero::before { content: ''; position: absolute; top: -60px; right: -60px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(230,57,70,.25) 0%, transparent 70%); pointer-events: none; }
    .hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
    .hero-badge { display: inline-block; background: #e63946; color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 5px 14px; border-radius: 4px; margin-bottom: 20px; }
    .hero h1 { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; line-height: 1.05; margin-bottom: 20px; }
    .hero h1 em { font-style: normal; color: #f4a261; }
    .hero-desc { font-size: 1.1rem; color: rgba(255,255,255,.85); margin-bottom: 32px; max-width: 480px; }
    .hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
    .btn-primary { display: inline-block; background: #e63946; color: #fff; text-decoration: none; padding: 15px 30px; border-radius: 10px; font-weight: 700; font-size: 1rem; transition: background .2s, transform .15s; white-space: nowrap; }
    .btn-primary:hover { background: #c0303c; transform: translateY(-2px); }
    .btn-outline { display: inline-block; border: 2px solid rgba(255,255,255,.5); color: #fff; text-decoration: none; padding: 13px 28px; border-radius: 10px; font-weight: 600; font-size: 1rem; transition: border-color .2s, background .2s; white-space: nowrap; }
    .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }
    .hero-stats { display: flex; gap: 24px; margin-top: 40px; flex-wrap: wrap; }
    .hero-stat { text-align: center; }
    .hero-stat strong { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 2rem; font-weight: 800; color: #f4a261; }
    .hero-stat span { font-size: .8rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .5px; }
    .hero-img-wrap { display: flex; justify-content: center; align-items: center; }
    .hero-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: 20px; padding: 30px; text-align: center; max-width: 380px; width: 100%; }
    .hero-card img { width: 100%; max-width: 260px; filter: drop-shadow(0 16px 40px rgba(0,0,0,.5)); animation: float 3s ease-in-out infinite; }
    @keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
    .hero-card-label { margin-top: 16px; font-size: .85rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: 1px; }

    /* STRIP */
    .services-strip { background: #edf0f7; padding: 18px 24px; }
    .services-strip-inner { max-width: 1200px; margin: 0 auto; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
    .strip-pill { background: #fff; border: 1.5px solid rgba(26,58,143,.12); color: #1a3a8f; font-size: .85rem; font-weight: 600; padding: 6px 16px; border-radius: 50px; white-space: nowrap; }

    /* SECTIONS */
    .section { padding: 80px 24px; }
    .section-alt { background: #f7f9fc; }
    .section-dark { background: #0f1a3b; color: #fff; }
    .container { max-width: 1200px; margin: 0 auto; }
    .section-label { font-size: .78rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: #e63946; margin-bottom: 10px; }
    .section-title { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.1; margin-bottom: 16px; }
    .section-sub { color: #555e7a; font-size: 1.05rem; max-width: 560px; margin-bottom: 48px; }
    .section-dark .section-sub { color: rgba(255,255,255,.7); }
    .section-dark .section-title { color: #fff; }

    /* FEATURES */
    .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
    .feature-card { background: #fff; border: 1.5px solid #edf0f7; border-radius: 10px; padding: 28px 24px; box-shadow: 0 4px 24px rgba(15,26,59,.12); transition: transform .2s, box-shadow .2s; }
    .feature-card:hover { transform: translateY(-4px); box-shadow: 0 10px 36px rgba(15,26,59,.16); }
    .feature-icon { width: 52px; height: 52px; background: linear-gradient(135deg, #1a3a8f, #0f1a3b); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 18px; }
    .feature-card h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
    .feature-card p { color: #555e7a; font-size: .95rem; }

    /* SERVICES */
    .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
    .service-card { border-radius: 10px; overflow: hidden; cursor: pointer; transition: transform .2s; }
    .service-card:hover { transform: scale(1.03); }
    .sc-bg { height: 200px; width: 100%; overflow: hidden; background: #edf0f7; }
    .sc-bg img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease; }
    .service-card:hover .sc-bg img { transform: scale(1.05); }
    .service-card-body { background: #0f1a3b; padding: 16px 18px; }
    .service-card-body h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
    .service-card-body p { font-size: .85rem; color: rgba(255,255,255,.65); }

    @media (min-width: 992px) {
      .services-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
      }

      .service-card {
        flex: 1 1 calc(20% - 20px);
        
        max-width: calc(20% - 20px);
      }
    }

    @media (min-width: 992px) {
      .services-grid {
        grid-template-columns: repeat(4, 1fr); 
      }

      .service-card:nth-last-child(2) {
        grid-column: 2 / 3;
      }
      .service-card:nth-last-child(1) {
        grid-column: 3 / 4;
      }
    }

    /* GALLERY */
    .gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .gallery-item { border-radius: 10px; overflow: hidden; }
    .gallery-item.tall { grid-row: span 2; }
    .gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 180px; transition: transform .4s; }
    .gallery-item:hover img { transform: scale(1.04); }

    /* REVIEWS */
    .reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
    .review-card { background: #fff; border: 1.5px solid #edf0f7; border-radius: 10px; padding: 28px; box-shadow: 0 4px 24px rgba(15,26,59,.12); position: relative; }
    .review-card::before { content: '"'; position: absolute; top: 16px; right: 22px; font-size: 5rem; color: #edf0f7; font-family: Georgia, serif; line-height: 1; }
    .stars { color: #fbbf24; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 12px; }
    .review-text { color: #1a1a2e; font-size: .97rem; line-height: 1.65; margin-bottom: 18px; }
    .reviewer { display: flex; align-items: center; gap: 12px; }
    .reviewer-avatar { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; font-size: 1rem; flex-shrink: 0; }
    .av-1 { background: #1a3a8f; } .av-2 { background: #e63946; } .av-3 { background: #2a9d8f; }
    .av-4 { background: #6b4fa1; } .av-5 { background: #f4a261; } .av-6 { background: #e63946; }
    .reviewer-info strong { display: block; font-weight: 700; font-size: .95rem; }
    .reviewer-info span { font-size: .82rem; color: #555e7a; }
    .google-badge { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1.5px solid #e0e0e0; border-radius: 50px; padding: 6px 14px; font-size: .82rem; font-weight: 600; color: #444; margin-top: 8px; }
    .google-g { font-weight: 800; background: linear-gradient(90deg, #4285F4, #EA4335, #FBBC05, #34A853); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

    /* PROCESS */
    .process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; position: relative; }
    .process-steps::before { content: ''; position: absolute; top: 36px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, #1a3a8f, #e63946); }
    .process-step { text-align: center; padding: 0 16px; position: relative; z-index: 1; }
    .step-num { width: 72px; height: 72px; background: #fff; border: 3px solid #1a3a8f; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-family: 'Barlow Condensed', sans-serif; font-size: 1.6rem; font-weight: 800; color: #1a3a8f; }
    .process-step h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
    .process-step p { font-size: .9rem; color: #555e7a; }

    /* CTA BAND */
    .cta-band { background: linear-gradient(135deg, #e63946 0%, #b02030 100%); color: #fff; padding: 60px 24px; text-align: center; }
    .cta-band h2 { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 12px; }
    .cta-band p { font-size: 1.1rem; color: rgba(255,255,255,.85); margin-bottom: 28px; }
    .btn-white { display: inline-block; background: #fff; color: #e63946; text-decoration: none; padding: 15px 36px; border-radius: 10px; font-weight: 700; font-size: 1rem; transition: transform .15s, box-shadow .15s; }
    .btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
    .btn-navy { color: #0f1a3b !important; }

    /* CONTACT */
    .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
    .contact-form-wrap { background: #fff; border-radius: 10px; padding: 36px; box-shadow: 0 4px 24px rgba(15,26,59,.12); }
    .contact-form-wrap h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.7rem; font-weight: 800; margin-bottom: 8px; }
    .contact-form-wrap p { color: #555e7a; font-size: .95rem; margin-bottom: 24px; }
    .form-group { margin-bottom: 16px; }
    .form-group label { display: block; font-size: .87rem; font-weight: 600; color: #1a1a2e; margin-bottom: 6px; }
    .form-group input, .form-group select, .form-group textarea { width: 100%; border: 1.5px solid #d0d7e6; border-radius: 8px; padding: 11px 14px; font-family: 'Barlow', sans-serif; font-size: .95rem; color: #1a1a2e; outline: none; transition: border-color .2s; background: #fafbfd; }
    .form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: #1a3a8f; background: #fff; }
    .form-group textarea { resize: vertical; min-height: 110px; }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    .form-submit { width: 100%; background: #1a3a8f; color: #fff; border: none; padding: 14px; border-radius: 8px; font-family: 'Barlow', sans-serif; font-size: 1rem; font-weight: 700; cursor: pointer; transition: background .2s, transform .15s; margin-top: 6px; }
    .form-submit:hover { background: #0f1a3b; transform: translateY(-1px); }
    .form-success { display: none; background: #dcfce7; border: 1.5px solid #86efac; color: #166534; border-radius: 8px; padding: 14px; text-align: center; font-weight: 600; margin-top: 12px; }
    .map-info-wrap { display: flex; flex-direction: column; gap: 24px; }
    .map-embed { border-radius: 10px; overflow: hidden; box-shadow: 0 4px 24px rgba(15,26,59,.12); border: none; }
    .info-cards { display: flex; flex-direction: column; gap: 14px; }
    .info-card { background: #fff; border-radius: 10px; padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; box-shadow: 0 4px 24px rgba(15,26,59,.12); }
    .info-icon { width: 40px; height: 40px; background: #edf0f7; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
    .info-card h4 { font-size: .85rem; font-weight: 700; color: #555e7a; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
    .info-card p { font-size: .97rem; font-weight: 600; color: #1a1a2e; }
    .info-card a { color: #1a3a8f; text-decoration: none; }
    .info-card a:hover { text-decoration: underline; }

    /* FAQ */
    .faq-list { max-width: 800px; margin: 0 auto; }
    .faq-item { border-bottom: 1.5px solid #edf0f7; }
    .faq-q { width: 100%; background: none; border: none; text-align: left; padding: 20px 0; font-family: 'Barlow', sans-serif; font-size: 1.05rem; font-weight: 700; color: #1a1a2e; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
    .faq-q::after { content: '+'; font-size: 1.4rem; color: #1a3a8f; flex-shrink: 0; transition: transform .2s; }
    .faq-item.open .faq-q::after { transform: rotate(45deg); }
    .faq-a { display: none; padding: 0 0 18px; color: #555e7a; font-size: .97rem; line-height: 1.7; }
    .faq-item.open .faq-a { display: block; }

    /* FOOTER */
    footer { background: #0f1a3b; color: rgba(255,255,255,.75); padding: 48px 24px 24px; }
    .footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
    /* .footer-brand img { height: 44px; margin-bottom: 14px; filter: brightness(10); } */
    .footer-brand span { padding: 0.6rem; border-radius: 4px; font-family: 'Barlow Condensed', sans-serif; font-size: 1.7rem; font-weight: 850; color: #e4e6ec; background: rgba(255,255,255,.1)}
    .footer-brand p { font-size: .9rem; line-height: 1.7; margin-bottom: 16px; }
    .footer-social { display: flex; gap: 10px; }
    .social-btn { width: 36px; height: 36px; background: rgba(255,255,255,.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; text-decoration: none; transition: background .2s; }
    .social-btn:hover { background: #e63946; }
    .footer-col h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.05rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
    .footer-col ul { list-style: none; }
    .footer-col ul li { margin-bottom: 8px; }
    .footer-col ul li a { color: rgba(255,255,255,.65); text-decoration: none; font-size: .9rem; transition: color .2s; }
    .footer-col ul li a:hover { color: #fff; }
    .footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: .85rem; }
    .footer-bottom a { color: rgba(255,255,255,.5); text-decoration: none; }
    .footer-bottom a:hover { color: #fff; }

    /* RESPONSIVE */
    @media (max-width: 900px) {
      .hero-inner { grid-template-columns: 1fr; gap: 40px; }
      .hero-img-wrap { display: none; }
      .contact-grid { grid-template-columns: 1fr; }
      .footer-inner { grid-template-columns: 1fr 1fr; }
      .process-steps::before { display: none; }
      .gallery-grid { grid-template-columns: repeat(2, 1fr); }
      .gallery-item.tall { grid-row: span 1; }
    }
    /* Nav collapses to a hamburger below 1100px (the 10 items need the full width) */
    @media (max-width: 1100px) {
      .nav-links { display: none; flex-direction: column; align-items: stretch; position: absolute; top: 68px; left: 0; right: 0; background: #fff; padding: 16px 24px; box-shadow: 0 8px 24px rgba(0,0,0,.1); border-top: 1px solid #edf0f7; gap: 0; max-height: calc(100vh - 68px); overflow-y: auto; }
      .nav-links.open { display: flex; }
      .nav-toggle { display: flex; }
      .nav-links li { width: 100%; }
      .nav-links a { display: flex; padding: 12px 0; border-bottom: 1px solid #edf0f7; border-radius: 0; }
      .nav-links a.nav-cta, .nav-links a.nav-cart { justify-content: center; margin-top: 8px; border-radius: 8px; }
      .nav-links a.nav-cta { border-bottom: none; }
      .nav-links a.nav-cart { border: 1.5px solid #edf0f7 !important; }

      /* MEGA MENU + user dropdown (inline accordion) */
      .mega-trigger { justify-content: space-between; }
      .mega-menu {
        position: static; width: 100%; opacity: 1; visibility: visible; pointer-events: auto;
        transform: none; box-shadow: none; border: none; border-radius: 0;
        padding: 4px 0 12px 16px; display: none;
      }
      .mega-menu-inner::before { display: none; }
      .has-mega.open .mega-menu { display: block; transform: none; left: auto; right: auto; }
      .mega-menu-inner { display: flex; flex-direction: column; gap: 18px; background: none; border: none; box-shadow: none; border-radius: 0; padding: 0; }
      .mega-col-all { border-left: none; padding-left: 0; border-top: 1px solid #edf0f7; padding-top: 14px; }
      .mega-col a { border-bottom: none !important; }
      .mega-col-caps .mega-caps-list { grid-template-columns: 1fr; }  /* single column in the mobile accordion */
      .has-user .nav-user-menu { position: static; opacity: 1; visibility: visible; pointer-events: auto; transform: none; box-shadow: none; border: none; border-radius: 0; padding: 4px 0 8px 16px; min-width: 0; display: none; }
      .has-user.open .nav-user-menu { display: block; }
    }
    @media (max-width: 640px) {
      .footer-inner { grid-template-columns: 1fr; gap: 24px; }
      .form-row { grid-template-columns: 1fr; }
      .gallery-grid { grid-template-columns: 1fr; }
      .hero-stats { gap: 16px; }
    }

    /* ===== Sign In / Cart / user account dropdown — shared with the rest of the site ===== */
    .nav-links a.nav-cart { border: 1.5px solid #edf0f7; color: #1a3a8f !important; font-weight: 700 !important; }
    .nav-links a.nav-cart:hover { background: #1a3a8f !important; border-color: #1a3a8f; color: #fff !important; }
    /* Item-count badge on the Cart button */
    .nav-links a.nav-cart .cart-count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; background: #e63946; color: #fff !important; font-size: .72rem; font-weight: 700; line-height: 1; border-radius: 999px; }
    .nav-links a.nav-cart:hover .cart-count { background: #fff; color: #1a3a8f !important; }
    .nav-links a.nav-signin { font-weight: 600; }
    .has-user { position: relative; }
    .has-user .nav-user-trigger { cursor: pointer; }
    .has-user .nav-user-menu {
      position: absolute; top: calc(100% + 12px); right: 0; min-width: 190px;
      background: #fff; border: 1px solid #edf0f7; border-radius: 12px;
      box-shadow: 0 20px 60px rgba(15,26,59,.18), 0 2px 10px rgba(15,26,59,.06);
      padding: 8px; z-index: 200; list-style: none; margin: 0;
      opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(8px);
      transition: opacity .18s ease, transform .18s ease, visibility .18s;
    }
    .has-user.open .nav-user-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
    .has-user .nav-user-menu li { width: 100%; }
    .has-user .nav-user-menu li a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 6px; color: #555e7a; text-decoration: none; font-size: .9rem; font-weight: 500; cursor: pointer; }
    .has-user .nav-user-menu li a:hover { background: #f7f9fc; color: #1a3a8f; }
    .has-user .nav-user-menu li a.nav-logout:hover { background: #fdecee; color: #e63946; }

    /* Guards against Bootstrap Reboot (Bootstrap is loaded only for the Sign In modal).
       NOTE: the .nav-links reset lives in the base rule near the top so it can't override
       the mobile menu's own padding (which comes later in source order). */
    .footer-col ul { padding: 0; margin: 0; }
    .container { padding-left: 0; padding-right: 0; }
