:root{
  --bg-main:#f7f8f6;
  --bg-accent:#eef1ef;
  --primary:#1f3a4a;
  --secondary:#4a7c7b;
  --cta:#c87f4f;
  --gold:#c9a227;
  --gold-light:#e6cf72;
  --text-dark:#1e2930;
  --text-muted:#5f6f73;
  --white:#ffffff;
  --line:#e5e7eb;
  --shadow:0 10px 30px rgba(0,0,0,.05);
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  background:var(--bg-main);
  color:var(--text-dark);
  line-height:1.6;
}

img{
  max-width:100%;
  height:auto;
}

a{
  color:var(--primary);
}

.skip-link{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}

.skip-link:focus{
  left:16px;
  top:16px;
  width:auto;
  height:auto;
  padding:10px 14px;
  background:#fff;
  color:var(--primary);
  border-radius:8px;
  z-index:2000;
  box-shadow:var(--shadow);
}

/* =========================
   BRANDING - FLEUR-DE-LIS
========================= */

.brand-subtitle-list{
  display:flex;
  flex-direction:column;
  gap:3px;
  margin-top:4px;
}

.brand-subtitle-list span{
  display:flex;
  align-items:center;
}

.fleur{
  color:var(--gold);
  font-size:1em;
  margin-right:7px;
}

.section-card,
.service-card,
.feature,
.area-card,
.news-card,
.social-card{
  border-top:3px solid var(--gold);
}

.la-divider{
  text-align:center;
  font-size:1.5rem;
  color:var(--gold);
  margin:10px 0 0;
  opacity:.85;
}

.reviews-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:20px;
}

.review-card{
  background:#fff;
  border-radius:10px;
  padding:20px;
  box-shadow:0 2px 8px rgba(0,0,0,0.08);
}

.stars{
  color:#f5b301;
  font-size:18px;
  margin-bottom:10px;
}

/* =========================
   HEADER / NAV
========================= */

.site-header{
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(10px);
  border-bottom:1px solid #e5e7eb;
  position:sticky;
  top:0;
  z-index:1000;
  box-shadow:0 2px 16px rgba(0,0,0,.04);
}

.header-inner{
  max-width:1200px;
  margin:auto;
  padding:14px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  position:relative;
}

.brand{
  min-width:0;
}

.brand a{
  text-decoration:none;
  color:inherit;
}

.brand-row{
  display:flex;
  align-items:center;
  gap:14px;
}

.brand-copy{
  min-width:0;
}

.brand-title{
  font-weight:800;
  font-size:1rem;
  line-height:1.2;
  letter-spacing:.01em;
}

.brand-subtitle{
  color:var(--text-muted);
  font-size:.9rem;
  line-height:1.3;
  margin-top:2px;
}

.veteran-header-logo{
  width:75px;
  height:75px;
  object-fit:contain;
  flex-shrink:0;
  filter:drop-shadow(0 4px 10px rgba(0,0,0,.10));
}

.nav-toggle{
  display:none;
  background:var(--primary);
  color:#fff;
  border:none;
  border-radius:10px;
  padding:10px 14px;
  font-weight:700;
  cursor:pointer;
  transition:background .18s ease, transform .18s ease;
}

.nav-toggle:hover{
  background:#26495d;
  transform:translateY(-1px);
}

.site-nav{
  display:flex;
  align-items:center;
  gap:22px;
}

.site-nav a,
.nav-dropbtn{
  position:relative;
  text-decoration:none;
  color:var(--primary);
  font-weight:600;
  font-size:.95rem;
  transition:color .18s ease;
}

.site-nav a::after,
.nav-dropbtn::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-7px;
  width:0;
  height:2px;
  background:var(--gold);
  border-radius:999px;
  transition:width .18s ease;
}

.site-nav a:hover,
.nav-dropbtn:hover{
  color:var(--cta);
}

.site-nav a:hover::after,
.nav-dropbtn:hover::after{
  width:100%;
}

/* Dropdown */

.nav-dropdown{
  position:relative;
}

.nav-dropbtn{
  border:none;
  background:transparent;
  font:inherit;
  cursor:pointer;
  padding:0;
  display:flex;
  align-items:center;
  gap:6px;
}

.nav-caret{
  font-size:.78rem;
  color:var(--gold);
}

.nav-dropdown-menu{
  position:absolute;
  top:calc(100% + 16px);
  left:0;
  min-width:280px;
  background:#fff;
  border:1px solid rgba(201,162,39,.18);
  border-radius:14px;
  box-shadow:0 20px 40px rgba(0,0,0,.12);
  padding:10px;
  opacity:0;
  visibility:hidden;
  transform:translateY(6px);
  transition:
    opacity .18s ease,
    transform .18s ease,
    visibility .18s ease;
  z-index:1000;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.nav-dropdown-menu a{
  display:block;
  padding:12px 14px;
  border-radius:10px;
  white-space:nowrap;
}

.nav-dropdown-menu a::after{
  display:none;
}

.nav-dropdown-menu a:hover{
  background:rgba(201,162,39,.10);
}

.nav-cta{
  background:var(--cta);
  color:#fff !important;
  padding:10px 16px;
  border-radius:10px;
  box-shadow:0 8px 20px rgba(200,127,79,.20);
}

.nav-cta::after{
  display:none;
}

.nav-cta:hover{
  transform:translateY(-1px);
  opacity:.96;
}

/* =========================
   LAYOUT
========================= */

section{
  max-width:1000px;
  margin:auto;
  padding:60px 20px;
  scroll-margin-top:90px;
}

.grant-alert{
  max-width:1200px;
  padding:18px 20px 0;
}

.grant-alert-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  background:#fff;
  border-left:5px solid var(--cta);
  border-radius:10px;
  box-shadow:var(--shadow);
  padding:14px 18px;
}

.grant-alert-kicker{
  display:block;
  color:var(--secondary);
  font-size:.76rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:4px;
}

.grant-alert a{
  flex-shrink:0;
  color:var(--cta);
  font-weight:800;
}

.grant-update{
  padding-top:12px;
}

.grant-update-grid{
  display:grid;
  grid-template-columns:1.35fr .85fr;
  gap:26px;
  align-items:start;
}

.grant-checklist{
  background:var(--bg-accent);
  border-radius:10px;
  padding:18px;
}

.grant-checklist h3{
  margin-top:0;
}

.grant-checklist ul{
  margin-bottom:0;
  padding-left:20px;
}

.grant-update-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
}

.grant-map-figure{
  margin:24px 0 0;
}

.grant-map-figure img{
  display:block;
  width:100%;
  height:auto;
  border-radius:10px;
  border:1px solid rgba(31,58,74,.12);
  box-shadow:0 10px 24px rgba(0,0,0,.08);
}

.grant-map-figure figcaption{
  color:var(--text-muted);
  font-size:.9rem;
  margin-top:8px;
}

.grant-note{
  color:var(--text-muted);
  font-size:.95rem;
  margin-bottom:0;
}

.hero{
  background:
    linear-gradient(
      rgba(0,0,0,0.10),
      rgba(0,0,0,0.10)
    ),
    linear-gradient(
      180deg,
      var(--bg-accent),
      var(--bg-main)
    );
  border-radius:20px;
  overflow:hidden;
  margin:20px auto;
}

.hero-inner{
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:40px;
}

.hero-left{
  order:1;
}

.hero-right{
  order:2;
}

.hero-card{
  background:#fff;
  padding:20px;
  border-radius:12px;
  text-align:center;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.hero-card img.headshot{
  max-width:150px;
  margin:0 auto 8px;
  border-radius:8px;
}

.hero-name{
  font-weight:700;
  font-size:1.05rem;
  margin-bottom:6px;
}

.hero-title{
  font-size:0.95rem;
  margin-bottom:2px;
}

.hero-license{
  font-size:0.85rem;
  color:var(--text-muted);
  margin-bottom:10px;
}

.badges{
  display:flex;
  justify-content:center;
  gap:18px;
  margin-top:14px;
  align-items:center;
  flex-wrap:wrap;
}

.badges img{
  height:100px;
  width:auto;
}

.credentials{
  margin-top:18px;
  text-align:left;
  border-top:1px solid #e5e7eb;
  padding-top:16px;
}

.cred-item{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin-bottom:12px;
}

.cred-item img{
  height:52px;
  width:auto;
  flex-shrink:0;
}

.cta-button{
  background:var(--cta);
  color:#fff;
  padding:10px 18px;
  border-radius:6px;
  font-weight:600;
  text-decoration:none;
  display:inline-block;
  transition:transform .15s ease, opacity .15s ease;
}

.cta-button:hover{
  transform:translateY(-1px);
  opacity:.95;
}

.section-card{
  background:#fff;
  border-radius:16px;
  padding:24px;
  box-shadow:var(--shadow);
}

.section-lead{
  color:var(--text-muted);
  margin-top:-4px;
}

.services-grid,
.features,
.area-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:24px;
}

.service-card,
.feature,
.area-card{
  background:#fff;
  padding:24px;
  border-radius:12px;
  box-shadow:var(--shadow);
}

.service-card h3,
.feature h3,
.area-card h3{
  margin-top:0;
}

.service-card p,
.feature p,
.area-card p{
  margin-bottom:0;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:20px;
}

.cta-button-secondary{
  background:var(--primary);
}

.service-card-link{
  display:block;
  text-decoration:none;
  color:inherit;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
  border:1px solid transparent;
}

.service-card-link:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 36px rgba(0,0,0,.10);
  border-color:#d9e1e5;
}

.service-kicker{
  font-size:.78rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--secondary);
  font-weight:800;
  margin-bottom:8px;
}

.service-link-text{
  display:inline-block;
  margin-top:16px;
  color:var(--cta);
  font-weight:700;
}

.benefits-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:20px;
  margin-top:18px;
}

.benefit-item{
  background:#f9fafb;
  border:1px solid var(--line);
  border-radius:12px;
  padding:18px;
}

.benefit-item h3{
  margin:0 0 8px;
  font-size:1rem;
}

.benefit-item p{
  margin:0;
}

.pricing-detail-section{
  padding-top:34px;
  padding-bottom:34px;
}

/* =========================
   FAQ
========================= */

details{
  background:#fff;
  border-radius:10px;
  padding:16px 20px;
  margin-bottom:14px;
  border:1px solid #e5e7eb;
}

summary{
  font-weight:700;
  cursor:pointer;
  list-style:none;
}

summary::-webkit-details-marker{
  display:none;
}

details[open] summary{
  margin-bottom:10px;
}

details p,
details ul{
  margin:0;
  color:#374151;
}

details ul{
  padding-left:18px;
}

/* =========================
   NEWS / SOCIAL
========================= */

.news-card,
.social-card{
  background:#fff;
  border-radius:16px;
  padding:24px;
  box-shadow:var(--shadow);
}

.news-intro,
.social-intro{
  color:var(--text-muted);
  margin-top:-6px;
  margin-bottom:20px;
}

.news-box{
  border:1px solid var(--line);
  border-radius:12px;
  background:linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
  max-height:420px;
  overflow-y:auto;
  padding:6px;
}

.news-item{
  display:block;
  text-decoration:none;
  color:inherit;
  padding:14px 12px;
  border-radius:10px;
  transition:background .15s ease, transform .15s ease;
}

.news-item:hover{
  background:#f3f4f6;
  transform:translateX(2px);
}

.news-item + .news-item{
  border-top:1px solid #edf0f2;
}

.news-title{
  font-weight:700;
  color:var(--primary);
  line-height:1.35;
  margin-bottom:6px;
}

.news-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  font-size:.86rem;
  color:var(--text-muted);
}

.news-source{
  font-weight:600;
}

.news-links-row,
.social-links-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}

.mini-link{
  display:inline-block;
  padding:8px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  text-decoration:none;
  color:var(--primary);
  background:#fff;
  font-size:.92rem;
  font-weight:600;
}

.mini-link:hover{
  background:#f8fafc;
}

.social-section{
  padding-top:0;
}

.social-embed-wrap{
  display:flex;
  justify-content:center;
  margin-top:8px;
  width:100%;
  overflow:hidden;
}

.social-embed-wrap .fb-page,
.social-embed-wrap iframe{
  max-width:100%;
}

@media(min-width:720px){
  .social-embed-wrap{
    min-height:945px;
  }

  .social-embed-wrap .fb-page,
  .social-embed-wrap .fb_iframe_widget{
    transform:scale(1.35);
    transform-origin:top center;
  }
}

.social-fallback{
  margin-top:16px;
  text-align:center;
  color:var(--text-muted);
  font-size:.95rem;
}

/* =========================
   CONTACT / FORM
========================= */

.contact{
  background:
    linear-gradient(
      rgba(0,0,0,0.10),
      rgba(0,0,0,0.10)
    ),
    linear-gradient(
      180deg,
      var(--bg-accent),
      var(--bg-main)
    );
  border-radius:20px;
}

form{
  display:grid;
  gap:14px;
}

input,
textarea{
  padding:12px;
  border-radius:6px;
  border:1px solid #d1d5db;
  font:inherit;
}

textarea{
  min-height:120px;
  resize:vertical;
}

button{
  background:var(--primary);
  color:#fff;
  border:none;
  padding:14px;
  border-radius:8px;
  font-weight:700;
  cursor:pointer;
  font:inherit;
}

.error{
  color:#b91c1c;
  font-weight:700;
  margin:0 0 10px 0;
}

/* =========================
   FOOTER / MODAL
========================= */

.site-footer{
  background:var(--primary);
  color:#fff;
  text-align:center;
  padding:30px 20px;
  font-size:.9rem;
  margin-top:40px;
}

.site-photo-strip{
  max-width:1000px;
  margin:20px auto -10px;
  padding:0 20px;
}

.site-photo-strip-inner{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px;
}

.site-photo-strip img{
  width:100%;
  aspect-ratio:16 / 9;
  object-fit:cover;
  border-radius:12px;
  box-shadow:0 10px 28px rgba(0,0,0,.08);
  background:#fff;
  border:1px solid rgba(31,58,74,.10);
}

.footer-links{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px 16px;
  margin:18px auto;
  max-width:980px;
}

.footer-links a{
  color:#fff;
  text-decoration:none;
  font-weight:700;
}

.footer-links a:hover{
  color:var(--gold-light);
  text-decoration:underline;
}

.footer-meta{
  color:rgba(255,255,255,.86);
}

.modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.5);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:1000;
}

.modal-content{
  background:#fff;
  padding:30px;
  border-radius:12px;
  text-align:center;
  max-width:420px;
  width:calc(100% - 40px);
}

/* =========================
   SPECIAL
========================= */

.hero-right.hero-card{
  position:relative;
  background:
    linear-gradient(
      rgba(255,255,255,0.95),
      rgba(255,255,255,0.95)
    ),
    url("/american-flag.jpg");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}

/* =========================
   MOBILE
========================= */

@media(max-width:900px){

  .hero-inner{
    grid-template-columns:1fr;
  }

  .hero-right{
    order:1;
  }

  .hero-left{
    order:2;
  }

  .hero-actions{
    flex-direction:column;
    align-items:flex-start;
  }

  .grant-alert-inner,
  .grant-update-grid{
    grid-template-columns:1fr;
  }

  .grant-alert-inner{
    align-items:flex-start;
    flex-direction:column;
  }

  .brand-subtitle-list{
    flex-direction:column;
    gap:4px;
  }

  .brand-subtitle-list span{
    white-space:normal;
  }

.nav-phone{
  color:var(--primary) !important;
  font-weight:800 !important;
}

.nav-phone::before{
  content:"☎ ";
  color:var(--gold);
}

@media(max-width:900px){
  .nav-phone{
    font-size:1.05rem;
  }
}

  .nav-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
  }

  .site-nav{
    display:none !important;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:#fff;
    border-bottom:1px solid #e5e7eb;
    box-shadow:0 12px 24px rgba(0,0,0,.08);
    flex-direction:column;
    align-items:flex-start;
    padding:18px 20px;
    gap:14px;
    z-index:1001;
  }

  .site-nav.open{
    display:flex !important;
  }

  .site-nav a,
  .nav-dropbtn{
    width:100%;
  }

  .nav-dropdown{
    width:100%;
  }

  .nav-dropbtn{
    justify-content:space-between;
  }

  .nav-dropdown-menu{
    position:static;
    opacity:1;
    visibility:visible;
    transform:none;
    min-width:100%;
    width:100%;
    margin-top:10px;
    box-shadow:none;
    border-radius:12px;
  }

  .header-inner{
    position:relative;
  }

  .brand{
    padding-right:8px;
  }

  .brand-subtitle{
    font-size:.82rem;
  }

  .veteran-header-logo{
    width:55px;
    height:55px;
  }

  section{
    padding:48px 18px;
  }

  .site-photo-strip-inner{
    grid-template-columns:1fr;
  }
}

@media(max-width:900px){

  #site-nav{
    display:none !important;
  }

  #site-nav.open{
    display:flex !important;
    position:absolute !important;
    top:100% !important;
    left:0 !important;
    right:0 !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    gap:14px !important;
    padding:18px 20px !important;
    background:#fff !important;
    border-bottom:1px solid #e5e7eb !important;
    box-shadow:0 12px 24px rgba(0,0,0,.08) !important;
    z-index:9999 !important;
  }

  #site-nav.open .nav-dropdown{
    width:100%;
  }

  #site-nav.open .nav-dropbtn{
    display:none !important;
  }

  #site-nav.open .nav-dropdown-menu{
    display:block !important;
    position:static !important;
    opacity:1 !important;
    visibility:visible !important;
    transform:none !important;
    width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    box-shadow:none !important;
    background:transparent !important;
  }

  #site-nav.open .nav-dropdown-menu a{
    display:block !important;
    width:100% !important;
    padding:10px 0 10px 14px !important;
    border-left:3px solid var(--gold) !important;
    border-radius:0 !important;
    white-space:normal !important;
  }

}

}
