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

:root {
  --color-cream: #FAF7F2;
  --color-rose: #D4A5A5;
  --color-sage: #8FAF8F;
  --color-amber: #C8903A;
  --color-dark: #2D1810;
  --color-gray: #6B5E57;
  --color-white: #FFFFFF;

  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  --shadow-sm: 0 4px 12px rgba(45, 24, 16, 0.05);
  --shadow-md: 0 8px 24px rgba(45, 24, 16, 0.08);
  
  --transition: all 0.3s ease;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--color-dark);
  background-color: var(--color-cream);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: var(--color-dark);
  text-decoration: none;
  transition: var(--transition);
}

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

ul {
  list-style: none;
}

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

/* Typography */
.text-center { text-align: center; }
.text-rose { color: var(--color-rose); }
.text-amber { color: var(--color-amber); }
.text-sage { color: var(--color-sage); }
.text-gray { color: var(--color-gray); }

h1 { font-size: 2.5rem; margin-bottom: 1.5rem; }
h2 { font-size: 2rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.subtitle { font-size: 1.2rem; color: var(--color-gray); margin-bottom: 2rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--color-rose);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: #C39292;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-dark);
  border: 1px solid var(--color-gray);
}

.btn-secondary:hover {
  background-color: rgba(107, 94, 87, 0.05);
}

.btn-block {
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  box-shadow: 0 1px 0 rgba(45, 24, 16, 0.05);
  transition: var(--transition);
}

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

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-rose);
  letter-spacing: -0.5px;
}

.desktop-nav {
  display: flex;
  gap: 32px;
}

.desktop-nav a {
  font-weight: 500;
  font-size: 1rem;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 101;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-dark);
  position: absolute;
  left: 0;
  transition: var(--transition);
}

.mobile-menu-toggle span:nth-child(1) { top: 0; }
.mobile-menu-toggle span:nth-child(2) { top: 11px; }
.mobile-menu-toggle span:nth-child(3) { top: 22px; }

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 11px;
}
.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 11px;
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-cream);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  padding: 24px;
}

.mobile-nav.open {
  transform: translateY(0);
}

.mobile-nav a {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 500;
}

/* Sections */
section {
  padding: 100px 0;
}

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

/* Hero Section */
.hero {
  padding-top: 120px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 540px;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hero-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* About / For Whom Section */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.card {
  background-color: var(--color-white);
  padding: 40px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

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

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 64px;
  height: 64px;
  background-color: rgba(212, 165, 165, 0.15);
  color: var(--color-rose);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
}

/* Process Section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.process-grid:nth-child(even) {
  direction: rtl;
}

.process-grid:nth-child(even) > * {
  direction: ltr;
}

.process-content h3 {
  display: flex;
  align-items: center;
  gap: 16px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--color-sage);
  color: var(--color-white);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

.process-img-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
}

.process-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Enrollment Form Section */
.enrollment-section {
  background-color: var(--color-cream);
}

.form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--color-white);
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

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

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--color-dark);
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(107, 94, 87, 0.2);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-dark);
  background-color: #FAFAFA;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-rose);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(212, 165, 165, 0.2);
}

.form-control.error {
  border-color: #E57373;
}

.error-msg {
  color: #E57373;
  font-size: 0.85rem;
  margin-top: 6px;
  display: none;
}

.radio-group {
  display: flex;
  gap: 24px;
  margin-top: 12px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.95rem;
}

.form-policy {
  font-size: 0.85rem;
  color: var(--color-gray);
  margin-top: 24px;
  text-align: center;
}

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

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

.faq-item {
  border-bottom: 1px solid rgba(107, 94, 87, 0.2);
  padding: 24px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-dark);
}

.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
  transition: var(--transition);
}

.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--color-rose);
  border-radius: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: var(--transition);
}

.faq-icon::before {
  width: 16px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 16px;
}

.faq-item.active .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  color: var(--color-gray);
}

.faq-answer-inner {
  padding-top: 16px;
}

/* Footer */
.footer {
  background-color: var(--color-dark);
  color: var(--color-cream);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: var(--color-white);
  margin-bottom: 24px;
  font-size: 1.2rem;
}

.footer-col p, .footer-col a {
  color: rgba(250, 247, 242, 0.7);
  margin-bottom: 12px;
  display: block;
}

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

.footer-bottom {
  border-top: 1px solid rgba(250, 247, 242, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: rgba(250, 247, 242, 0.5);
}

.footer-logo {
  color: var(--color-cream);
  font-size: 1.8rem;
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 16px;
  display: block;
}

/* Legal Pages */
.legal-content {
  padding-top: 160px;
  padding-bottom: 80px;
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  margin-bottom: 2rem;
}

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

.legal-content p {
  margin-bottom: 1rem;
}

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

.legal-content li {
  margin-bottom: 0.5rem;
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.success-icon {
  width: 80px;
  height: 80px;
  background-color: var(--color-sage);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin: 0 auto 32px;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-dark);
  color: var(--color-cream);
  padding: 24px;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
}

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

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

.cookie-text {
  font-size: 0.95rem;
  color: rgba(250, 247, 242, 0.9);
}

.cookie-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

.cookie-actions .btn {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.cookie-actions .btn-secondary {
  color: var(--color-cream);
  border-color: rgba(250, 247, 242, 0.3);
}

.cookie-actions .btn-secondary:hover {
  background-color: rgba(250, 247, 242, 0.1);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero {
    padding-top: 140px;
  }
  
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-grid {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  
  section { padding: 60px 0; }
  
  .desktop-nav { display: none; }
  .header-actions .btn { display: none; }
  
  .mobile-menu-toggle { display: block; }
  
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .process-grid, .process-grid:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  
  .process-grid:nth-child(even) > * {
    direction: ltr;
  }
  
  .process-img-wrapper {
    order: -1;
  }
  
  .form-wrapper {
    padding: 32px 24px;
  }
  
  .radio-group {
    flex-direction: column;
    gap: 12px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .cookie-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-actions {
    width: 100%;
    flex-direction: column;
  }
}
