:root {
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(220, 20%, 20%);
  --primary: hsl(0, 75%, 50%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(45, 80%, 85%);
  --accent: hsl(230, 50%, 25%);
  --muted-foreground: hsl(220, 10%, 45%);
  --border: hsl(45, 15%, 85%);
  --highlight-cream: hsl(45, 80%, 88%);
  --navy-dark: hsl(230, 50%, 20%);
  --navy-medium: hsl(230, 50%, 25%);
  --success-green: hsl(142, 70%, 45%);
  --danger-red: hsl(0, 70%, 55%);
}

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

body {
  font-family: 'Open Sans', sans-serif;
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Merriweather', serif; }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* ============= HEADER ============= */
.navy-header { background: var(--navy-dark); color: white; padding: 0.75rem 0; }
.header-content { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.logo-icon { color: var(--primary); font-size: 1.25rem; }
.logo-title { font-weight: bold; font-size: 1.125rem; }
.logo-subtitle { font-size: 0.875rem; color: #d1d5db; }
nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
nav a { color: #d1d5db; text-decoration: none; font-size: 0.875rem; white-space: nowrap; }
nav a:hover { color: white; }
.header-icons { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.icon-btn {
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%; background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; color: white;
  transition: background 0.2s;
}
.icon-btn:hover { background: hsl(230, 50%, 35%); }
.icon-btn:focus-visible { outline: 3px solid white; outline-offset: 2px; }

/* ============= MAIN LAYOUT ============= */
main { padding: 1rem 0 3rem; }
.content-wrapper { display: flex; gap: 2.5rem; justify-content: center; }

/* ============= ARTICLE ============= */
article {
  flex: 1; max-width: 48rem;
  background: white; border: 1px solid var(--border);
  border-radius: 0.5rem; padding: 1.25rem 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* ============= SIDEBAR ============= */
aside { width: 20rem; flex-shrink: 0; }
.sticky { position: sticky; top: 1rem; }

/* ============= TYPOGRAPHY ============= */
.headline-primary {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 900; line-height: 1.2; margin-bottom: 0.75rem;
}
.article-lead {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--muted-foreground); margin-bottom: 0.75rem; line-height: 1.5;
}
.byline { color: var(--muted-foreground); font-size: 0.875rem; margin-bottom: 0.75rem; }
.headline-dark {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: bold; margin: 2.5rem 0 1.5rem;
}

/* ============= IMAGES ============= */
.article-image {
  width: 100%; border-radius: 0.5rem;
  margin: 1rem 0;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  max-height: 400px;
  object-fit: cover;
}

/* ============= CTA ============= */
.cta-button {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  width: 100%; background: var(--primary); color: white;
  padding: 1rem 1.5rem; border-radius: 9999px;
  font-weight: bold; font-size: clamp(0.875rem, 2vw, 1rem);
  text-decoration: none; text-align: center;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
  transition: transform 0.2s, filter 0.2s;
  margin: 1rem 0 1.5rem;
  min-height: 3rem;
  line-height: 1.3;
}
.cta-button:hover { transform: translateY(-2px); filter: brightness(1.1); }
.cta-button:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }

/* ============= HIGHLIGHT & SYMPTOMS ============= */
.highlight-box {
  background: var(--highlight-cream);
  border-left: 4px solid var(--navy-medium);
  padding: 1rem; margin: 1.5rem 0;
  border-radius: 0 0.25rem 0.25rem 0;
}
.symptom-list { list-style: none; margin: 1.5rem 0; }
.symptom-list li { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.5rem 0; }
.symptom-list li::before { content: '✕'; color: var(--danger-red); font-weight: bold; flex-shrink: 0; }

/* ============= SIDEBAR CARDS ============= */
.sidebar-card {
  background: white; border: 1px solid var(--border);
  border-radius: 0.5rem; padding: 1.25rem; margin-bottom: 1.5rem;
}
.sidebar-card h3 { font-weight: bold; margin-bottom: 1rem; }
.featured-list { list-style: none; }
.featured-list li { display: flex; align-items: flex-start; gap: 0.5rem; padding: 0.375rem 0; font-size: 0.875rem; }
.featured-list li::before { content: '➕'; color: var(--success-green); font-size: 0.75rem; flex-shrink: 0; }

/* ============= PROMO CARD ============= */
.promo-card {
  background: linear-gradient(to bottom, var(--navy-medium), var(--navy-dark));
  border-radius: 0.5rem; overflow: hidden;
}
.promo-card img { width: 100%; height: 10rem; object-fit: cover; }
.promo-card-content { padding: 1.25rem; color: white; text-align: center; }
.promo-card h3 { color: #fde047; margin-bottom: 0.5rem; }
.promo-card p { font-size: 0.875rem; color: #d1d5db; margin-bottom: 1rem; }

/* ============= FOOTER ============= */
.navy-footer { background: var(--navy-dark); color: white; padding: 2.5rem 0; text-align: center; }
.footer-logo { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.footer-links { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin: 1rem 0; font-size: 0.875rem; }
.footer-links a { color: #9ca3af; text-decoration: none; }
.footer-links a:hover { color: white; }
.copyright { font-size: 0.75rem; color: #6b7280; }

/* ============= TESTIMONIAL ============= */
.testimonial { margin: 2rem 0; }
.testimonial-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.testimonial-header img { width: 4rem; height: 4rem; border-radius: 0.5rem; object-fit: cover; }
.testimonial-quote { font-style: italic; font-family: 'Merriweather', serif; font-size: clamp(1rem, 2.5vw, 1.125rem); }
.quote-icon { font-size: 3rem; color: var(--primary); line-height: 1; }
.story-text { margin: 1.5rem 0; line-height: 1.7; }

/* ============= FB TESTIMONIALS ============= */
.fb-testimonial {
  background: white; border: 1px solid var(--border);
  border-radius: 0.5rem; padding: 1rem; margin-bottom: 1rem;
}
.fb-testimonial-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.fb-testimonial-avatar { width: 3rem; height: 3rem; border-radius: 50%; object-fit: cover; }
.fb-testimonial-name { font-weight: 600; font-size: 0.875rem; }
.fb-testimonial-date { font-size: 0.75rem; color: var(--muted-foreground); }
.fb-testimonial-text { font-size: 0.875rem; line-height: 1.5; margin-bottom: 0.75rem; }
.fb-testimonial-stats {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 0.75rem; border-top: 1px solid var(--border);
  font-size: 0.75rem; color: var(--muted-foreground);
}
.fb-testimonial-actions {
  display: flex; justify-content: space-around;
  margin-top: 0.75rem; padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}
.fb-testimonial-actions button {
  display: flex; align-items: center; gap: 0.5rem;
  background: none; border: none; color: var(--muted-foreground);
  font-size: 0.875rem; font-weight: 500; cursor: pointer;
  padding: 0.5rem; min-height: 2.75rem;
}

/* ============= FOCUS VISIBLE ============= */
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

/* ============= RESPONSIVE: TABLET (<=1024px) ============= */
@media (max-width: 1024px) {
  .content-wrapper { flex-direction: column; align-items: center; }
  aside { width: 100%; max-width: 48rem; }
  .sticky { position: static; }
  article { max-width: 100%; }
}

/* ============= RESPONSIVE: SMALL TABLET (<=768px) ============= */
@media (max-width: 768px) {
  nav { gap: 1rem; }
  nav a { font-size: 0.8125rem; }
  main { padding: 1.5rem 0 2rem; }
  .content-wrapper { gap: 1.5rem; }
  article { padding: 1.25rem 1.5rem; }
  .cta-button { padding: 0.875rem 1.25rem; }
}

/* ============= RESPONSIVE: MOBILE (<=640px) ============= */
@media (max-width: 640px) {
  nav { display: none; }
  .container { padding: 0 0.75rem; }
  article { padding: 1rem; border-radius: 0; border-left: none; border-right: none; }
  .headline-primary { font-size: 1.25rem; margin-bottom: 0.75rem; }
  .article-lead { font-size: 0.9375rem; margin-bottom: 0.75rem; line-height: 1.5; }
  .byline { margin-bottom: 0.75rem; font-size: 0.8125rem; }
  .article-image { margin: 1rem 0; }
  .cta-button { margin: 1rem 0 1.5rem; padding: 0.875rem 1.25rem; font-size: 0.875rem; border-radius: 0.75rem; line-height: 1.4; }
  .headline-dark { margin: 1.5rem 0 1rem; }
  .highlight-box { padding: 0.75rem; }
  .testimonial-header img { width: 3rem; height: 3rem; }
  .quote-icon { font-size: 2rem; }
  .promo-card img { height: 8rem; }
  .navy-footer { padding: 1.5rem 0; }
  .footer-links { gap: 0.5rem; font-size: 0.8125rem; }
}

/* ============= RESPONSIVE: SMALL MOBILE (<=380px) ============= */
@media (max-width: 380px) {
  .logo-title { font-size: 1rem; }
  .logo-subtitle { font-size: 0.75rem; }
  .header-icons { gap: 0.5rem; }
  .icon-btn { width: 2.5rem; height: 2.5rem; }
  .fb-testimonial { padding: 0.75rem; }
  .fb-testimonial-avatar { width: 2.5rem; height: 2.5rem; }
  .cta-button { font-size: 0.875rem; padding: 0.75rem 1rem; border-radius: 0.75rem; }
}
