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

:root {
  --color-ivory: #FAF9F6;
  --color-cream: #F3EFEA;
  --color-dusty-rose: #D4A396;
  --color-dusty-rose-light: #EADCD9;
  --color-sage: #9CAD92;
  --color-sage-light: #C2CCBC;
  --color-text-main: #33312E;
  --color-text-muted: #5C5852;
  
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;
  
  --spacing-section: 6rem;
  --border-radius: 4px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text-main);
  background-color: var(--color-ivory);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-text-main);
}

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

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

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  background-color: rgba(250, 249, 246, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: padding 0.3s ease;
}

.header.scrolled {
  padding: 1rem 0;
}

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

.logo {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav__list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav__link {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav__link:hover {
  color: var(--color-sage);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text-main);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--color-sage);
  color: #fff;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border-radius: var(--border-radius);
  text-align: center;
}

.btn:hover {
  background-color: #8b9d80;
}

.btn:active {
  transform: translateY(1px);
}

.btn--outline {
  background-color: transparent;
  border: 1px solid var(--color-sage);
  color: var(--color-sage);
}

.btn--outline:hover {
  background-color: var(--color-sage);
  color: #fff;
}

/* Hero Section */
.hero {
  padding-top: 8rem;
  padding-bottom: var(--spacing-section);
  position: relative;
}

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

.hero__content {
  padding-right: 2rem;
}

.hero__title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero__title i {
  color: var(--color-dusty-rose);
}

.hero__text {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.hero__image-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.hero__image-wrap img {
  width: 100%;
  aspect-ratio: 16/11;
  object-fit: cover;
}

/* Feature Section */
.section {
  padding: var(--spacing-section) 0;
}

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

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

.split-section--reverse .split-section__content {
  order: -1;
}

.section__title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.section__text {
  color: var(--color-text-muted);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.image-card {
  border-radius: 8px;
  overflow: hidden;
}

.image-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

/* Modules Section */
.modules__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.module-card {
  background: var(--color-ivory);
  padding: 2.5rem;
  border-radius: 8px;
  border: 1px solid var(--color-dusty-rose-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.module-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(212, 163, 150, 0.1);
}

.module-card__num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-sage);
  margin-bottom: 1rem;
}

.module-card__title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.module-card__text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Lead Form Section */
.lead-section {
  background-color: var(--color-sage-light);
  color: var(--color-text-main);
  text-align: center;
}

.lead-section__inner {
  max-width: 600px;
  margin: 0 auto;
  background: var(--color-ivory);
  padding: 4rem;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.lead-section__title {
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.lead-section__text {
  margin-bottom: 2rem;
  color: var(--color-text-muted);
}

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

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

.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: var(--font-sans);
  font-size: 1rem;
  background: #fff;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-sage);
}

.btn--full {
  width: 100%;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 3rem auto 0;
}

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

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.5rem 0;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-dusty-rose);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, margin 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  color: var(--color-text-muted);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  margin-top: 1rem;
  opacity: 1;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Footer */
.footer {
  background-color: var(--color-text-main);
  color: var(--color-cream);
  padding: 4rem 0 2rem;
}

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

.footer__logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: block;
  color: #fff;
}

.footer__info p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.footer__link:hover {
  color: var(--color-dusty-rose);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 400px;
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  transform: translateY(150%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.cookie-banner a {
  text-decoration: underline;
}

/* Legal Pages */
.legal-page {
  padding: 10rem 0 6rem;
  max-width: 800px;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
}

.legal-page p, .legal-page ul {
  margin-bottom: 1rem;
  color: var(--color-text-muted);
}

.legal-page ul {
  padding-left: 1.5rem;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .hero__title { font-size: 3rem; }
  .split-section { gap: 2rem; }
}

@media (max-width: 768px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--color-ivory);
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    display: none;
    flex-direction: column;
    text-align: center;
  }
  
  .nav.open {
    display: flex;
  }
  
  .nav__list {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .mobile-menu-btn {
    display: block;
  }

  .hero {
    padding-top: 6rem;
  }
  
  .hero__inner, .split-section {
    grid-template-columns: 1fr;
  }
  
  .hero__content {
    padding-right: 0;
    text-align: center;
  }
  
  .hero__text {
    margin: 0 auto 2rem;
  }
  
  .split-section--reverse .split-section__content {
    order: 0;
  }
  
  .footer__grid, .footer__bottom {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  
  .lead-section__inner {
    padding: 2rem 1.5rem;
  }
}
