:root {
  
  --color-bg: #FAF6F1;
  --color-text: #2D2926;
  --color-accent: #C9867A;
  --color-accent-hover: #b4756b;
  --color-secondary: #8BA888;
  --color-surface: #FDF2EE;
  --color-muted: #7A6E6A;
  --color-divider: rgba(201, 134, 122, 0.3);
  
  
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  
  
  --container-width: 1200px;
  --spacing-section: 6rem;
  --spacing-element: 2rem;
  --border-radius: 4px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1rem;
}

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

.text-muted {
  color: var(--color-muted);
}

.section-title {
  margin-bottom: 2.5rem;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--spacing-section) 0;
}

.section-divider {
  border: none;
  height: 1px;
  background-color: var(--color-divider);
  width: 80%;
  max-width: 800px;
  margin: 0 auto;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
  opacity: 0.4;
  pointer-events: none;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background-color: #EBD4D0;
  top: -100px;
  right: -100px;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background-color: #DDE5DC;
  top: 40%;
  left: -200px;
}

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

.btn:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-1px);
}

.btn-small {
  padding: 0.6rem 1.2rem;
  font-size: 0.8rem;
}

.btn-full {
  width: 100%;
}

.header {
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  background-color: rgba(250, 246, 241, 0.95);
  backdrop-filter: blur(8px);
  z-index: 100;
  border-bottom: 1px solid rgba(201, 134, 122, 0.1);
}

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

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

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

.nav-list a:not(.btn) {
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-list a:not(.btn):hover {
  color: var(--color-accent);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  z-index: 101;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-text);
  transition: 0.3s ease;
}

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

.hero .subtitle {
  font-size: 1.25rem;
  color: var(--color-muted);
  margin-bottom: 2rem;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}

.hero-image::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border: 1px solid var(--color-secondary);
  border-radius: var(--border-radius);
  z-index: -1;
}

.card {
  background-color: var(--color-surface);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
}

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

.card h3 {
  font-size: 1.5rem;
}

.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 3rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-secondary);
  margin-top: 0.5rem;
  flex-shrink: 0;
}

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

.gallery-item img {
  border-radius: var(--border-radius);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.02);
}

.gallery-item .caption {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--color-muted);
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.step {
  position: relative;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: var(--color-surface);
  line-height: 1;
  margin-bottom: 1rem;
  
  text-shadow: -1px -1px 0 var(--color-accent), 1px -1px 0 var(--color-accent), -1px 1px 0 var(--color-accent), 1px 1px 0 var(--color-accent);
}

.format-inner, .teacher-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.format-list li {
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.5rem;
}

.format-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

.teacher-image img, .format-image img {
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-wrapper {
  max-width: 500px;
  margin: 0 auto;
  background-color: #fff;
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
}

.form-group input, .form-group textarea {
  padding: 0.8rem 1rem;
  border: 1px solid #E0D8D4;
  border-radius: 2px;
  font-family: var(--font-body);
  background-color: #FAF6F1;
  transition: border-color 0.2s;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background-color: #fff;
}

.form-terms {
  font-size: 0.8rem;
  color: var(--color-muted);
  text-align: center;
  margin-top: 0.5rem;
}

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

.footer {
  background-color: var(--color-text);
  color: #fff;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

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

.logo-footer {
  color: #fff;
  margin-bottom: 1rem;
  display: inline-block;
}

.footer h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--color-secondary);
}

.footer ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer ul a {
  color: #D3C9C5;
  font-size: 0.9rem;
}

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

.footer-desc {
  color: #D3C9C5;
  font-size: 0.9rem;
}

.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: #A39691;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
  padding: 1.5rem;
  z-index: 1000;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.cookie-banner.hidden {
  transform: translateY(100%);
  pointer-events: none;
}

.cookie-content {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-content p {
  margin: 0;
  font-size: 0.9rem;
}

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

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-muted);
}

.page-header {
  text-align: center;
  padding: 4rem 0 2rem;
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: var(--spacing-section);
}

.page-content h2 {
  margin-top: 2.5rem;
  font-size: 1.75rem;
}

.page-content p, .page-content ul {
  margin-bottom: 1.2rem;
}

.page-content ul {
  list-style: disc;
  padding-left: 2rem;
}

.success-msg {
  text-align: center;
  padding: 10rem 0;
}
.success-msg h1 {
  color: var(--color-accent);
}

@media (max-width: 992px) {
  h1 {
    font-size: 2.8rem;
  }
  
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-image {
    order: -1;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  :root {
    --spacing-section: 4rem;
  }

  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--color-bg);
    padding: 2rem;
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 99;
  }

  .nav.active {
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
  }

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

  .features-list {
    grid-template-columns: 1fr;
  }

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

  .format-inner, .teacher-inner {
    grid-template-columns: 1fr;
  }

  .format-image {
    order: -1;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}
