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

body {
  background: linear-gradient(135deg, #fae8ff, #fdf4ff);
  background-attachment: fixed;
  font-family: 'Nunito', sans-serif;
  color: #444;
  font-size: 17px;
  line-height: 1.7;
  min-height: 100vh;
}

h1, h2, h3, .site-logo {
  font-family: 'Bricolage Grotesque', sans-serif;
  color: #1a1a1a;
  font-weight: 700;
}

h1 {
  font-size: 2.75rem;
  line-height: 1.2;
}

h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

p {
  margin-bottom: 12px;
}

a {
  color: #a21caf;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* Cookie Banner */
.cookie-banner {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  padding: 14px 0;
  font-size: 14px;
  color: #444;
}

.cookie-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-banner p {
  margin-bottom: 0;
}

.cookie-banner-hidden {
  display: none;
}

/* Navbar */
.navbar {
  padding: 16px 0;
  background: transparent;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: none;
}

.site-logo:hover {
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: #444;
}

.nav-links a:hover {
  color: #a21caf;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1a1a;
  margin: 5px 0;
  transition: transform 0.2s;
}

/* Sections */
.section {
  padding: 56px 0;
}

/* Hero */
.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-content h1 {
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 28px;
}

/* Buttons */
.btn {
  display: inline-block;
  background: #a21caf;
  color: #fff;
  border-radius: 6px;
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  transition: opacity 0.2s;
  text-decoration: none;
}

.btn:hover {
  opacity: 0.85;
  text-decoration: none;
}

.btn-small {
  padding: 8px 18px;
  font-size: 13px;
}

/* About */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

/* Cards */
.card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  padding: 24px;
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Contact */
.contact-wrapper {
  max-width: 560px;
  margin: 0 auto;
}

.contact-info {
  text-align: center;
  margin-bottom: 24px;
}

.contact-info p {
  color: #555;
  margin-bottom: 4px;
}

.contact-card {
  padding: 32px;
}

.contact-card h2 {
  text-align: center;
}

.contact-subtitle {
  text-align: center;
  color: #777;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #555;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 15px;
  font-family: 'Nunito', sans-serif;
  outline: none;
  transition: border-color 0.2s;
  background: rgba(255, 255, 255, 0.7);
  color: #333;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #a21caf;
  box-shadow: 0 0 0 2px rgba(162, 28, 175, 0.12);
}

.btn-full {
  width: 100%;
  padding: 10px;
  font-weight: 500;
}

.success-message {
  display: none;
  text-align: center;
  padding: 16px;
  color: #15803d;
  font-weight: 600;
  margin-top: 12px;
}

.success-message.visible {
  display: block;
}

/* Footer */
.footer {
  text-align: center;
  color: #777;
  padding: 32px 0;
  font-size: 14px;
}

.footer-links {
  margin-bottom: 8px;
}

.footer-links a {
  color: #777;
  margin: 0 8px;
  font-size: 13px;
}

.footer-links a:hover {
  color: #a21caf;
}

/* Section heading center */
.section-heading {
  text-align: center;
  margin-bottom: 32px;
}

/* Legal page content */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 24px;
}

.legal-content h2 {
  font-size: 1.3rem;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-content h3 {
  margin-top: 20px;
}

.legal-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content li {
  margin-bottom: 6px;
}

/* Knowledge Base */
.kb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.kb-card h3 {
  color: #a21caf;
}

/* News article meta + category badge */
.article-category {
  display: inline-block;
  background: rgba(162, 28, 175, 0.1);
  color: #a21caf;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.article-meta {
  font-size: 13px;
  color: #888;
  margin-bottom: 10px;
}

.featured-article .article-category {
  font-size: 13px;
}

.featured-article h1 {
  margin-bottom: 14px;
}

.kb-card .article-category,
.services-grid .article-category {
  margin-bottom: 8px;
}

.news-section {
  margin-bottom: 48px;
}

.news-section:last-child {
  margin-bottom: 0;
}

.news-section-title {
  font-size: 1.4rem;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(162, 28, 175, 0.2);
}

/* Mission */
.mission-content {
  max-width: 800px;
  margin: 0 auto;
}

.mission-content h1 {
  text-align: center;
  margin-bottom: 32px;
  font-size: 2rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.35rem;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 56px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 8px;
    padding: 16px 24px;
    gap: 12px;
    z-index: 100;
    border: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-links.open {
    display: flex;
  }

  .navbar .container {
    position: relative;
  }

  .section {
    padding: 40px 0;
  }

  .contact-card {
    padding: 24px;
  }

  .cookie-banner .container {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

.footer-contact {
  margin-bottom: 8px;
}
.footer-contact a {
  color: #a21caf;
  text-decoration: none;
}
.footer-contact a:hover {
  text-decoration: underline;
}

.form-consent {
  text-align: left;
}
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.4;
  cursor: pointer;
  color: #555;
}
.consent-label input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
}
.consent-label a {
  color: #a21caf;
}
