@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Lato:wght@400;500&family=Source+Serif+Pro:wght@400;600&display=swap');

:root {
  --primary-indigo: #5D5B8C;
  --accent-amber: #D4A574;
  --calm-slate: #6E7A87;
  --light-parchment: #F5F0E8;
  --white: #FFFFFF;
  --dark-text: #2C2C2C;
  --border-light: #E8E3D6;
  --transition-ease: cubic-bezier(0.45, 0, 0.55, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Serif Pro', serif;
  font-size: 18.5px;
  line-height: 1.76;
  color: var(--dark-text);
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  color: var(--primary-indigo);
  margin-bottom: 1.2rem;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.8rem;
  margin-bottom: 1.4rem;
  margin-top: 1.8rem;
}

h3 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  font-family: 'Lato', sans-serif;
  font-weight: 500;
  color: var(--calm-slate);
}

h4 {
  font-size: 1.3rem;
  font-family: 'Lato', sans-serif;
  font-weight: 500;
  color: var(--dark-text);
}

p {
  margin-bottom: 1.2rem;
  line-height: 1.76;
}

a {
  color: var(--accent-amber);
  text-decoration: none;
  transition: color 0.3s var(--transition-ease);
}

a:hover {
  color: var(--primary-indigo);
  text-decoration: underline;
}

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

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

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s var(--transition-ease);
}

header.active {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
  max-width: 1260px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.logo {
  font-family: 'Merriweather', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-indigo);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.logo:hover {
  color: var(--accent-amber);
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  color: var(--calm-slate);
  text-decoration: none;
  transition: all 0.3s var(--transition-ease);
  position: relative;
}

nav a:hover,
nav a.active {
  color: var(--primary-indigo);
}

nav a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--accent-amber);
  border-radius: 1px;
}

.hero-section {
  width: 100%;
  height: 500px;
  background-color: var(--light-parchment);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 150px;
}

.hero-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(93, 91, 140, 0.15) 0%, rgba(212, 165, 116, 0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay h1 {
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
  font-size: 3.2rem;
}

.section {
  padding: 150px 0;
}

.section-light {
  background-color: var(--light-parchment);
}

.section-white {
  background-color: var(--white);
}

.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.section-heading h2 {
  font-size: 2.8rem;
  margin-bottom: 0.8rem;
}

.section-heading p {
  font-size: 1.1rem;
  color: var(--calm-slate);
  max-width: 700px;
  margin: 0 auto;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 2rem;
  border: 1px solid var(--border-light);
  transition: all 0.45s var(--transition-ease);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(93, 91, 140, 0.15);
  border-color: var(--accent-amber);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-indigo);
  font-family: 'Lato', sans-serif;
  font-weight: 500;
}

.card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--dark-text);
}

.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 150px;
}

.content-split.reverse {
  direction: rtl;
}

.content-split.reverse > * {
  direction: ltr;
}

.content-split img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  max-height: 400px;
}

.content-text h2 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
}

.content-text p {
  font-size: 1rem;
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: var(--primary-indigo);
  color: var(--white);
  border-radius: 10px;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s var(--transition-ease);
  border: 2px solid var(--primary-indigo);
  cursor: pointer;
  font-weight: 500;
  text-align: center;
}

.btn:hover {
  background-color: var(--accent-amber);
  border-color: var(--accent-amber);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-indigo);
  border-color: var(--primary-indigo);
}

.btn-secondary:hover {
  background-color: var(--primary-indigo);
  color: var(--white);
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
  padding: 1.8rem 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-family: 'Lato', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--primary-indigo);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s var(--transition-ease);
  user-select: none;
}

.faq-question:hover {
  color: var(--accent-amber);
}

.faq-icon {
  font-size: 1.5rem;
  transition: transform 0.45s var(--transition-ease);
  display: inline-block;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--transition-ease);
  padding: 0;
  margin-top: 0;
  color: var(--dark-text);
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 1.2rem 0;
  margin-top: 0.8rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.blog-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all 0.45s var(--transition-ease);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(93, 91, 140, 0.12);
  border-color: var(--accent-amber);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 1.8rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  font-family: 'Merriweather', serif;
  color: var(--primary-indigo);
}

.blog-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.blog-card a {
  color: var(--accent-amber);
  font-family: 'Lato', sans-serif;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s var(--transition-ease);
}

.blog-card a:hover {
  color: var(--primary-indigo);
}

footer {
  background-color: var(--primary-indigo);
  color: var(--white);
  padding: 3rem 0;
  margin-top: 150px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--accent-amber);
  margin-bottom: 1rem;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 600;
}

.footer-section p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0.6rem;
}

.footer-section a {
  color: var(--light-parchment);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s var(--transition-ease);
  display: block;
  margin-bottom: 0.5rem;
}

.footer-section a:hover {
  color: var(--accent-amber);
}

.footer-policies {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  margin-top: 1.5rem;
}

.footer-policies a {
  color: var(--light-parchment);
  text-decoration: none;
  transition: color 0.3s var(--transition-ease);
}

.footer-policies a:hover {
  color: var(--accent-amber);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
}

.educational-message {
  color: var(--accent-amber);
  font-weight: 600;
  font-style: italic;
  margin-bottom: 0.8rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: 'Lato', sans-serif;
  font-weight: 500;
  margin-bottom: 0.6rem;
  color: var(--primary-indigo);
  font-size: 1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-family: 'Source Serif Pro', serif;
  font-size: 1rem;
  transition: border-color 0.3s var(--transition-ease);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-indigo);
  box-shadow: 0 0 0 3px rgba(93, 91, 140, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.disclaimer-box {
  background-color: var(--light-parchment);
  border-left: 4px solid var(--accent-amber);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 6px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--dark-text);
}

.disclaimer-box strong {
  color: var(--primary-indigo);
}

.closing-section {
  text-align: center;
  padding: 80px 0;
  background-color: var(--light-parchment);
  border-radius: 8px;
  margin: 0;
}

.closing-section h2 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
}

.closing-section p {
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.thank-you-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light-parchment);
}

.thank-you-content {
  text-align: center;
  max-width: 600px;
}

.thank-you-content h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.thank-you-content p {
  font-size: 1.1rem;
  color: var(--calm-slate);
  margin-bottom: 2rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-indigo);
  color: var(--white);
  padding: 1.5rem 2rem;
  z-index: 2000;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.15);
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-inner {
  max-width: 1260px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 250px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.cookie-text a {
  color: var(--accent-amber);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

.cookie-btn {
  padding: 10px 20px;
  border-radius: 6px;
  border: 1px solid var(--white);
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s var(--transition-ease);
  white-space: nowrap;
}

.cookie-btn-accept {
  background-color: var(--accent-amber);
  color: var(--primary-indigo);
  border-color: var(--accent-amber);
}

.cookie-btn-accept:hover {
  background-color: var(--light-parchment);
  color: var(--primary-indigo);
}

.cookie-btn-reject {
  background-color: transparent;
  color: var(--white);
}

.cookie-btn-reject:hover {
  background-color: rgba(255,255,255,0.1);
}

.policy-content {
  max-width: 900px;
  margin: 0 auto;
}

.policy-content h2 {
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.policy-content h3 {
  font-size: 1.4rem;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
}

.policy-content ul,
.policy-content ol {
  margin-bottom: 1.2rem;
  padding-left: 2rem;
}

.policy-content li {
  margin-bottom: 0.6rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  body {
    font-size: 16px;
  }

  .header-inner {
    flex-direction: column;
    gap: 1rem;
  }

  nav {
    gap: 1rem;
  }

  nav a {
    font-size: 0.9rem;
  }

  .hero-section {
    height: 350px;
    margin-bottom: 80px;
  }

  .hero-overlay h1 {
    font-size: 2rem;
  }

  .section {
    padding: 80px 0;
  }

  .content-split {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 80px;
  }

  .content-split.reverse {
    direction: ltr;
  }

  .content-split img {
    max-height: 300px;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-policies {
    gap: 1rem;
    justify-content: center;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }

  .closing-section {
    padding: 50px 20px;
  }

  .closing-section h2 {
    font-size: 1.8rem;
  }

  .thank-you-page {
    padding: 2rem;
  }

  .thank-you-content h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero-section {
    height: 280px;
    margin-bottom: 60px;
  }

  .section {
    padding: 60px 0;
  }

  nav {
    gap: 0.8rem;
  }

  nav a {
    font-size: 0.85rem;
  }

  .card {
    padding: 1.5rem;
  }

  .cookie-text {
    font-size: 0.85rem;
  }

  .cookie-buttons {
    flex-direction: column;
    gap: 0.8rem;
  }
}
