/* === Layout === */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2.5rem;
}
@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }
}

.section { padding: var(--spacing-section) 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--spacing-unit); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-unit); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--spacing-unit); }
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-primary {
  background: var(--color-secondary);
  color: var(--color-on-dark);
}
.btn-primary:hover {
  background: var(--color-secondary-hover);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--color-border);
  color: var(--color-text);
}
.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* === Cards === */
.card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-primary);
}
.site-nav ul {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}
.site-nav a {
  font-weight: 500;
  color: var(--color-text);
}
.site-nav a:hover { color: var(--color-primary); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}
@media (max-width: 900px) {
  .site-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: block; }
}

/* === Footer === */
.site-footer {
  background: var(--color-dark);
  color: var(--color-on-dark);
  padding: var(--spacing-section) 0 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-unit);
  padding-bottom: 2.5rem;
}
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; }
}
.footer-title { font-weight: 700; font-size: 1.1rem; margin-bottom: 0.5rem; }
.footer-tagline { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-col-title { font-weight: 600; margin-bottom: 0.75rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { color: rgba(255,255,255,0.8); }
.footer-col a:hover { color: var(--color-on-dark); }
.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.footer-legal-links { display: flex; gap: 1.5rem; list-style: none; }
@media (max-width: 640px) {
  .footer-legal { flex-direction: column; gap: 0.75rem; text-align: center; }
}

/* === FAQ Accordion === */
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  cursor: pointer;
  font-weight: 600;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-a {
  max-height: 500px;
  padding-bottom: 1.25rem;
}
.faq-icon { transition: transform 0.3s ease; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* === Icon utility === */
.icon-24 { width: 24px; height: 24px; }
.svg-sprite-defs { display: none; }
