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

:root {
  --bg-ivory: #FBF7F4;
  --bg-white: #FFFFFF;
  --text-charcoal: #2C2C2C;
  --accent-rose: #D98A8A;
  --accent-sage: #6B8F71;
  --border-light: #EAE3DD;

  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-charcoal);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

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

ul {
  list-style: none;
}

h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.25rem;
  margin-bottom: 2rem;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

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

section {
  padding: 5rem 0;
}

.bg-ivory {
  background-color: var(--bg-ivory);
}

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

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-white);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
  padding: 1rem 0;
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-charcoal);
}

.logo-tagline {
  font-size: 0.75rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--accent-rose);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background-image: url('assets/hero.jpg');
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(251, 247, 244, 0.85);
}

.hero .container {
  position: relative;
  z-index: 1;
  max-width: 800px;
  text-align: center;
}

.hero-subtext {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  color: #4A4A4A;
}

.btn {
  display: inline-block;
  background-color: var(--accent-rose);
  color: #FFFFFF;
  padding: 1rem 2.5rem;
  border-radius: 4px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1rem;
}

.btn:hover {
  background-color: #C77878;
  color: #FFFFFF;
}

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

.card {
  background-color: var(--bg-white);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  text-align: center;
}

.card-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--accent-sage);
  margin-bottom: 1rem;
}

.problem-list {
  max-width: 800px;
  margin: 0 auto 3rem;
}

.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.problem-item::before {
  content: '—';
  color: var(--accent-rose);
  font-weight: bold;
}

.text-center-wrapper {
  text-align: center;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-reverse {
  direction: rtl;
}

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

.module-list {
  counter-reset: module-counter;
}

.module-item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.5rem;
}

.module-item::before {
  counter-increment: module-counter;
  content: counter(module-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  background-color: var(--bg-ivory);
  border: 1px solid var(--accent-sage);
  color: var(--accent-sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: bold;
}

.module-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
  display: block;
}

.rounded-img {
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.form-wrapper {
  max-width: 500px;
  margin: 0 auto;
  background: var(--bg-white);
  padding: 3rem;
  border-radius: 8px;
  border: 1px solid var(--border-light);
}

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

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #D1CFCB;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: transparent;
}

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

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

.form-btn {
  width: 100%;
}

.form-note {
  font-size: 0.75rem;
  color: #888;
  text-align: center;
  margin-top: 1rem;
}

.form-note a {
  text-decoration: underline;
}

.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

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

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.5rem 0;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-charcoal);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
}

.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--text-charcoal);
  transition: transform 0.3s ease;
}

.faq-icon::before {
  top: 11px;
  left: 0;
  width: 24px;
  height: 2px;
}

.faq-icon::after {
  top: 0;
  left: 11px;
  width: 2px;
  height: 24px;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding-bottom: 1.5rem;
}

.footer {
  background-color: var(--bg-ivory);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-light);
}

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

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.footer-col p, .footer-col a {
  font-size: 0.875rem;
  color: #555;
  margin-bottom: 0.5rem;
  display: block;
}

.footer-col a:hover {
  color: var(--accent-sage);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.875rem;
  color: #888;
}

.legal-content {
  padding-top: 120px;
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  text-align: center;
}

.legal-content h2 {
  text-align: left;
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
}

.legal-content ul {
  list-style: disc;
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--text-charcoal);
  color: #FFF;
  padding: 1rem;
  display: none;
  justify-content: space-between;
  align-items: center;
  z-index: 2000;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-text {
  font-size: 0.875rem;
  flex: 1;
}

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

.btn-sm {
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
}

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

  .nav-links { display: none; }

  .split-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .form-wrapper {
    padding: 2rem 1.5rem;
  }
}
