@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=DM+Serif+Display&display=swap');

/* =============================================
   CSS Custom Properties
   ============================================= */
:root {
  --navy:        #0C1B33;
  --navy-light:  #132240;
  --lime:        #B5FF3C;
  --lime-dim:    rgba(181, 255, 60, 0.15);
  --lime-border: rgba(181, 255, 60, 0.3);
  --text:        #1A1A2E;
  --text-muted:  #5A6478;
  --surface:     #F8F9FC;
  --border:      #E2E6EF;
  --white:       #ffffff;
  --max-width:   1160px;
  --radius:      8px;
  --radius-sm:   4px;
}

/* =============================================
   Reset & Base
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 1rem;
  line-height: 1.2;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--lime);
  text-decoration-color: var(--lime);
}

ul, ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}

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

/* =============================================
   Layout
   ============================================= */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =============================================
   Site Header
   ============================================= */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .container {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.site-logo {
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.site-logo__img {
  height: 44px;
  width: auto;
  display: block;
}

/* Nav toggle (hamburger) — mobile only */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 6px;
  cursor: pointer;
  color: var(--white);
  line-height: 0;
  flex-shrink: 0;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Navigation */
.site-nav {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 99;
}

.site-nav.is-open {
  display: block;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.site-nav ul li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-nav ul li:last-child {
  border-bottom: none;
}

.site-nav a {
  display: block;
  padding: 0.75rem 0;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--white);
}

.site-nav a.active {
  color: var(--lime);
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: block;
    position: static;
    background: none;
    border: none;
  }

  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    padding: 0;
  }

  .site-nav ul li {
    border: none;
  }

  .site-nav a {
    padding: 0;
    font-size: 0.875rem;
  }
}

/* =============================================
   Site Footer
   ============================================= */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 3.5rem 0 0;
  margin-top: 4rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
  }
}

.site-footer__col-title {
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.site-footer__tagline {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-top: 1rem;
  max-width: 320px;
}

.site-footer__independence {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer__links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s ease;
}

.site-footer__links a:hover {
  color: var(--lime);
}

.site-footer__bottom {
  margin-top: 3rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (min-width: 768px) {
  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.site-footer__bottom a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
}

.site-footer__bottom a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* =============================================
   Utility Classes
   ============================================= */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.text-muted {
  color: var(--text-muted);
}

/* Page wrapper for EEAT pages */
.page-content {
  padding: 3rem 0 4rem;
}

.page-content h1 {
  font-family: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.page-content h2 {
  font-family: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--navy);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.page-content h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.page-content p {
  color: var(--text-muted);
  max-width: 720px;
}

.page-content ul li {
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.page-hero {
  background: var(--navy);
  padding: 3rem 0 2.5rem;
  margin-bottom: 0;
}

.page-hero h1 {
  font-family: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0;
}

/* Contact form */
.contact-form {
  max-width: 560px;
}

.contact-form .form-group {
  margin-bottom: 1.25rem;
}

.contact-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.15s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--navy);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form button[type="submit"] {
  background: var(--navy);
  color: var(--lime);
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.75rem 2rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.contact-form button[type="submit"]:hover {
  background: var(--navy-light);
}

/* FAQ page accordions */
.faq-list {
  max-width: 800px;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-list summary {
  padding: 1.125rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: '+';
  color: var(--lime);
  font-size: 1.25rem;
  font-weight: 400;
  flex-shrink: 0;
  line-height: 1;
  background: var(--navy);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.faq-list details[open] summary::after {
  content: '−';
}

.faq-list summary h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: inherit;
  font-family: 'DM Sans', sans-serif;
}

.faq-list .faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
}

.faq-list .faq-answer p {
  margin-bottom: 0.75rem;
  max-width: 680px;
}

.faq-list .faq-answer p:last-child {
  margin-bottom: 0;
}
