/* ===========================================================
   NASHOBA NOW — shared site styles
   Bold American red / white / blue patriotic theme
   =========================================================== */

:root{
  --navy: #0a2f5c;
  --navy-dark: #071f3d;
  --red: #b22234;
  --red-dark: #8f1b29;
  --white: #ffffff;
  --cream: #fdfaf3;
  --star-gold: #ffd700;
  --gray-100: #f4f2ec;
  --gray-300: #d9d4c6;
  --gray-600: #5b5b5b;
  --shadow: 0 10px 30px rgba(10,47,92,0.18);
  --radius: 10px;
  --max-width: 1180px;
  font-size: 16px;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin:0;
  font-family: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
  color: var(--navy-dark);
  background: var(--cream);
  line-height: 1.6;
}

h1,h2,h3,h4{
  font-family: 'Oswald', 'Arial Narrow', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.6em;
}

h1{ font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2{ font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3{ font-size: 1.3rem; }

p{ margin: 0 0 1em; }

a{ color: var(--red); text-decoration: none; }
a:hover{ text-decoration: underline; }

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

.container{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section{ padding: 70px 0; }
.section-tight{ padding: 40px 0; }

.bg-navy{ background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3{ color: var(--white); }
.bg-cream{ background: var(--cream); }
.bg-white{ background: var(--white); }
.bg-stripes{
  background:
    repeating-linear-gradient(
      180deg,
      rgba(178,34,52,0.06) 0px, rgba(178,34,52,0.06) 40px,
      transparent 40px, transparent 80px
    ), var(--cream);
}

/* ---------- star motif ---------- */
.star-divider{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 14px;
  margin: 18px 0 30px;
  color: var(--star-gold);
}
.star-divider::before, .star-divider::after{
  content:"";
  height:2px;
  width:60px;
  background: currentColor;
  opacity:.6;
}
.star-divider svg{ width:20px; height:20px; fill: var(--star-gold); }

.stars-row{
  display:flex;
  gap:10px;
  justify-content:center;
  margin-bottom: 14px;
}
.stars-row svg{ width:16px; height:16px; fill: var(--star-gold); }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-family:'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.92rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  text-decoration: none;
}
.btn:hover{ transform: translateY(-2px); text-decoration:none; }

.btn-red{ background: var(--red); color: var(--white); box-shadow: 0 6px 16px rgba(178,34,52,0.35); }
.btn-red:hover{ background: var(--red-dark); color:var(--white); }

.btn-navy{ background: var(--navy); color: var(--white); box-shadow: 0 6px 16px rgba(10,47,92,0.3); }
.btn-navy:hover{ background: var(--navy-dark); color:var(--white); }

.btn-outline{ background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover{ background: var(--white); color: var(--navy); }

.btn-outline-navy{ background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover{ background: var(--navy); color: var(--white); }

.btn-block{ width:100%; justify-content:center; }
.btn-lg{ padding: 16px 36px; font-size: 1rem; }

/* ---------- header ---------- */
.site-header{
  position: sticky; top:0; z-index: 200;
  background: var(--navy);
  border-bottom: 4px solid var(--red);
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 20px;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand img{ height: 54px; width:auto; }
.brand-text{ color:var(--white); font-family:'Oswald',sans-serif; font-size:0.72rem; letter-spacing:0.12em; text-transform:uppercase; opacity:.85; }

.main-nav{ display:flex; align-items:center; gap: 26px; }
.main-nav a{
  color: var(--white);
  font-family:'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.86rem;
  font-weight: 500;
  opacity:.92;
}
.main-nav a:hover{ opacity:1; text-decoration:none; border-bottom:2px solid var(--star-gold); }
.main-nav a.active{ border-bottom:2px solid var(--star-gold); opacity:1; }

.header-actions{ display:flex; align-items:center; gap:14px; }
.social-mini{ display:flex; gap:10px; }
.social-mini a{
  width:34px; height:34px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background: rgba(255,255,255,0.12);
  color: var(--white);
}
.social-mini a:hover{ background: var(--red); text-decoration:none; }
.social-mini svg{ width:16px; height:16px; fill:currentColor; }

.nav-toggle{ display:none; background:none; border:none; color:var(--white); font-size:1.6rem; cursor:pointer; }

@media (max-width: 900px){
  .main-nav{
    position:absolute; top:100%; left:0; right:0;
    background: var(--navy-dark);
    flex-direction:column;
    align-items:flex-start;
    padding: 18px 24px 24px;
    gap: 16px;
    display:none;
    border-bottom: 4px solid var(--red);
  }
  .main-nav.open{ display:flex; }
  .nav-toggle{ display:block; }
  .header-actions .btn{ padding:10px 18px; font-size:.8rem; }
}

/* ---------- hero ---------- */
.hero{
  position: relative;
  color: var(--white);
  background-size: cover;
  background-position: center;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(7,31,61,0.78) 0%, rgba(7,31,61,0.55) 45%, rgba(7,31,61,0.85) 100%);
}
.hero-inner{
  position:relative;
  z-index:2;
  max-width: var(--max-width);
  margin:0 auto;
  padding: 120px 24px 90px;
  text-align:center;
}
.hero-inner .eyebrow{
  display:inline-block;
  font-family:'Oswald',sans-serif;
  letter-spacing:0.18em;
  text-transform:uppercase;
  font-size:0.78rem;
  color: var(--star-gold);
  border:1px solid rgba(255,215,0,0.5);
  padding:6px 16px;
  border-radius:999px;
  margin-bottom:20px;
}
.hero-inner h1{ color:var(--white); text-shadow: 0 3px 18px rgba(0,0,0,0.45); }
.hero-inner p.lead{ font-size:1.15rem; max-width:680px; margin:0 auto 30px; opacity:.95; }
.hero-cta{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }

.hero-sm .hero-inner{ padding: 80px 24px 60px; }

/* ---------- page banner (non-home pages) ---------- */
.page-banner .hero-inner{ padding: 90px 24px 60px; }

/* ---------- cards / grid ---------- */
.grid{ display:grid; gap: 28px; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
@media (max-width:820px){ .grid-3{ grid-template-columns: 1fr 1fr; } }
@media (max-width:600px){ .grid-3, .grid-2{ grid-template-columns: 1fr; } }

.card{
  background: var(--white);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-300);
}
.card img{ width:100%; height:210px; object-fit:cover; }
.card-body{ padding:20px 22px 26px; }
.card-body h3{ margin-bottom:8px; }

.photo-gallery{ display:grid; grid-template-columns: repeat(4,1fr); gap:14px; }
.photo-gallery img{ width:100%; height:160px; object-fit:cover; border-radius:8px; box-shadow: var(--shadow); }
@media (max-width:820px){ .photo-gallery{ grid-template-columns: repeat(2,1fr); } }

/* ---------- accordion ---------- */
.accordion{ max-width: 880px; margin: 0 auto; }
.acc-item{
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-left: 5px solid var(--red);
  border-radius: 8px;
  margin-bottom: 14px;
  overflow:hidden;
  box-shadow: 0 4px 14px rgba(10,47,92,0.06);
}
.acc-header{
  width:100%;
  text-align:left;
  background:none;
  border:none;
  cursor:pointer;
  padding: 20px 24px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 16px;
  font-family:'Oswald',sans-serif;
  text-transform:uppercase;
  letter-spacing:0.02em;
  font-size:1.02rem;
  color: var(--navy);
}
.acc-header .step-num{
  display:inline-flex; align-items:center; justify-content:center;
  width:30px; height:30px; border-radius:50%;
  background: var(--navy); color:var(--white);
  font-family:'Oswald',sans-serif; font-size:0.95rem; flex:none;
  margin-right:14px;
}
.acc-header-text{ display:flex; align-items:center; flex:1; }
.acc-icon{ width:20px; height:20px; flex:none; transition: transform .2s ease; color: var(--red); }
.acc-item.open .acc-icon{ transform: rotate(45deg); }
.acc-panel{
  max-height:0;
  overflow:hidden;
  transition: max-height .35s ease;
  padding: 0 24px;
}
.acc-item.open .acc-panel{ max-height: 1200px; padding-bottom: 22px; }
.acc-panel ul{ margin:0; padding-left: 1.2em; }
.acc-panel li{ margin-bottom:10px; color: var(--gray-600); }
.acc-panel p{ color: var(--gray-600); }

/* ---------- forms ---------- */
.form-card{
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 30px;
  border-top: 6px solid var(--red);
}
.form-card h2, .form-card h3{ color: var(--navy); }
.form-row{ margin-bottom:16px; }
.form-row label{
  display:block; font-family:'Oswald',sans-serif; font-size:0.8rem;
  text-transform:uppercase; letter-spacing:0.05em; margin-bottom:6px; color: var(--navy);
}
.form-row input, .form-row select, .form-row textarea{
  width:100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.98rem;
  background: var(--gray-100);
}
.form-row input:focus, .form-row textarea:focus{
  outline: none; border-color: var(--red); background: var(--white);
}
.form-note{ font-size:0.82rem; color: var(--gray-600); margin-top:10px; }

.inline-signup{ display:flex; gap:10px; flex-wrap:wrap; }
.inline-signup input[type=email]{
  flex:1; min-width:220px;
  padding: 12px 16px; border-radius:999px; border:1.5px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.08); color:var(--white);
}
.inline-signup input[type=email]::placeholder{ color: rgba(255,255,255,0.65); }
.inline-signup input[type=email]:focus{ outline:none; border-color: var(--star-gold); background: rgba(255,255,255,0.14); }

.badge-soon{
  display:inline-block;
  background: var(--star-gold);
  color: var(--navy-dark);
  font-family:'Oswald',sans-serif;
  text-transform:uppercase;
  font-size:0.72rem;
  letter-spacing:0.08em;
  padding: 5px 12px;
  border-radius: 999px;
  font-weight:700;
}
.badge-live{
  display:inline-block;
  background: var(--navy);
  color: var(--white);
  font-family:'Oswald',sans-serif;
  text-transform:uppercase;
  font-size:0.72rem;
  letter-spacing:0.08em;
  padding: 5px 12px;
  border-radius: 999px;
  font-weight:700;
}

/* ---------- stat strip ---------- */
.stat-strip{ display:grid; grid-template-columns: repeat(4,1fr); gap:24px; text-align:center; }
.stat-strip .stat h3{ font-size:2.2rem; color: var(--star-gold); margin-bottom:4px; }
.stat-strip .stat span{ font-size:0.82rem; text-transform:uppercase; letter-spacing:0.06em; opacity:.85; }
@media (max-width:700px){ .stat-strip{ grid-template-columns: 1fr 1fr; row-gap:30px; } }

/* ---------- footer ---------- */
.site-footer{ background: var(--navy-dark); color: rgba(255,255,255,0.85); padding-top: 60px; }
.footer-grid{ display:grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.site-footer h4{ color: var(--white); font-size:0.95rem; }
.site-footer .brand img{ height:46px; margin-bottom: 12px; }
.site-footer p{ font-size:0.92rem; color: rgba(255,255,255,0.7); }
.footer-links{ list-style:none; padding:0; margin:0; }
.footer-links li{ margin-bottom:10px; }
.footer-links a{ color: rgba(255,255,255,0.78); font-size:0.92rem; }
.footer-links a:hover{ color: var(--star-gold); }

.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 20px 0 26px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  font-size:0.8rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom .stars-row{ margin:0; }

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

/* ---------- misc ---------- */
.eyebrow-navy{
  display:inline-block; font-family:'Oswald',sans-serif; letter-spacing:0.16em;
  text-transform:uppercase; font-size:0.78rem; color: var(--red); margin-bottom:12px; font-weight:700;
}
.center{ text-align:center; }
.lead{ font-size:1.1rem; color: var(--gray-600); }
.two-col{ display:grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items:center; }
@media (max-width:820px){ .two-col{ grid-template-columns:1fr; } }

.divider-flag{
  height:10px;
  background: repeating-linear-gradient(90deg, var(--red) 0 40px, var(--white) 40px 80px);
}

.disclaimer{
  font-size:0.8rem;
  color: var(--gray-600);
  background: var(--gray-100);
  border-left: 4px solid var(--red);
  padding: 14px 18px;
  border-radius: 6px;
}
