/* GenerationsMD — Shared Stylesheet
   Brand: Navy #042252 (primary), Red #BE1645 (accent),
          Cloud #F4F6FA, Slate #3A4452, White #FFFFFF
   Type: Newsreader (headings), Manrope (body)
*/

:root {
  --navy: #042252;
  --navy-dark: #031a40;
  --red: #BE1645;
  --red-dark: #9c1138;
  --cloud: #F4F6FA;
  --slate: #3A4452;
  --slate-light: #6b7684;
  --white: #FFFFFF;
  --border: #e2e8f0;
  --radius: 16px;
  --radius-pill: 999px;
  --shadow: 0 4px 24px rgba(4, 34, 82, 0.08);
  --font-head: 'Newsreader', Georgia, serif;
  --font-body: 'Manrope', -apple-system, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--white);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 600;
  margin-bottom: 0.6em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.35rem; }

p { margin-bottom: 1em; }

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

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

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1140px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img { height: 40px; width: auto; }

.main-nav { display: flex; gap: 24px; align-items: center; }

.main-nav a {
  color: var(--slate);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.main-nav a:hover, .main-nav a.active { color: var(--navy); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(190, 22, 69, 0.3);
}

.btn-primary:hover { background: var(--red-dark); color: var(--white); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(4, 34, 82, 0.25);
}

.btn-navy:hover { background: var(--navy-dark); color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

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

.btn-sm { padding: 10px 24px; font-size: 0.9rem; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0a2f6b 60%, #123a7d 100%);
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero h1 { color: var(--white); }
.hero p.lead { font-size: 1.25rem; color: rgba(255,255,255,0.88); max-width: 640px; }
.hero .btn { margin-top: 12px; margin-right: 12px; }

.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  color: var(--slate);
  box-shadow: var(--shadow);
}

.hero-card h3 { margin-bottom: 12px; }

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--cloud);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  justify-content: center;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}

.trust-items span::before {
  content: "✓ ";
  color: var(--red);
  font-weight: 800;
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--cloud); }

.section-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-intro p { font-size: 1.1rem; color: var(--slate-light); }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease;
}

.card:hover { transform: translateY(-3px); }

.card h3 { margin-bottom: 10px; }
.card p { color: var(--slate-light); font-size: 0.98rem; }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--red));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  color: white;
}

/* ---------- Two-column ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.two-col img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Lists ---------- */
.check-list { list-style: none; padding: 0; }
.check-list li {
  padding: 8px 0 8px 32px;
  position: relative;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 800;
}

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 12px; }

.testimonial blockquote {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--navy);
  margin-bottom: 12px;
}

.testimonial cite { font-style: normal; font-weight: 700; color: var(--slate-light); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--red) 0%, #d41e54 100%);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}

.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 600px; margin: 0 auto 24px; }

.cta-band .btn-primary {
  background: var(--white);
  color: var(--red);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.cta-band .btn-primary:hover { background: var(--cloud); }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--slate);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(4, 34, 82, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-note {
  font-size: 0.88rem;
  color: var(--slate-light);
  margin-top: 16px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.82);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 36px; }
.footer-brand span { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--white); }

.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 14px; font-family: var(--font-body); }

.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 8px; }
.site-footer a { color: rgba(255,255,255,0.82); font-size: 0.95rem; }
.site-footer a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
}

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  background: var(--white);
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--red); font-size: 1.3rem; }
.faq-item[open] summary::after { content: "–"; }

.faq-item .faq-answer { padding: 0 24px 20px; color: var(--slate-light); }

/* ---------- Page hero ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0a2f6b 100%);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}

.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 640px; margin: 0 auto; font-size: 1.1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-split, .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .section { padding: 48px 0; }
}

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