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

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

:root {
  --cream: #f9f5f0;
  --white: #ffffff;
  --dusty-rose: #c7856a;
  --sage: #8a9a7e;
  --dark: #1a1a1a;
  --gray: #666666;
  --light-gray: #e8e4df;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition);
}

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

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

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

.header {
  position: sticky;
  top: 0;
  background: rgba(249, 245, 240, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--light-gray);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dusty-rose);
  letter-spacing: -0.01em;
}

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

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--dusty-rose);
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translateY(7px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-7px);
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav.active {
    max-height: 400px;
  }

  .nav a {
    padding: 1rem 1.5rem;
    width: 100%;
  }
}

section {
  padding: 5rem 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

section:nth-child(even) {
  background: var(--white);
}

.hero {
  padding: 8rem 0 6rem;
  background: linear-gradient(135deg, var(--cream) 0%, #efe9e1 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(199, 133, 106, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.hero h1 {
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--gray);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  font-weight: 300;
}

.hero-image {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.hero-image img {
  width: 100%;
  height: auto;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--dusty-rose);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(199, 133, 106, 0.3);
}

.btn-primary:hover {
  background: #b36f5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(199, 133, 106, 0.4);
}

.btn-secondary {
  background: var(--white);
  color: var(--dusty-rose);
  border: 2px solid var(--dusty-rose);
}

.btn-secondary:hover {
  background: var(--dusty-rose);
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-title {
  margin-bottom: 1rem;
  color: var(--dark);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  font-weight: 300;
}

.grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 3rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  transition: var(--transition);
  border: 1px solid var(--light-gray);
}

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

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--dusty-rose), #d9a08a);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.card p {
  color: var(--gray);
  line-height: 1.7;
}

.feature-block {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 4rem;
}

.feature-block:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-image {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-content {
  flex: 1;
}

@media (max-width: 768px) {
  .feature-block,
  .feature-block:nth-child(even) {
    flex-direction: column;
    gap: 2rem;
  }
}

.module-item {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  background: var(--cream);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.module-item:hover {
  background: var(--white);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.module-number {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: var(--dusty-rose);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.module-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.module-info p {
  color: var(--gray);
  margin-bottom: 0;
}

@media (max-width: 576px) {
  .module-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

.instructor-card {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.instructor-image {
  flex-shrink: 0;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--cream);
}

.instructor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.instructor-info h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.instructor-info p {
  color: var(--gray);
}

@media (max-width: 768px) {
  .instructor-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }

  .instructor-image {
    width: 200px;
    height: 200px;
  }
}

section.form-section {
  background: linear-gradient(135deg, #c7856a 0%, #b36f5a 100%) !important;
  color: #fff;
}

section.form-section .section-title,
section.form-section .section-subtitle {
  color: #fff;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  font-size: 1rem;
  font-family: inherit;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: #fff;
  color: #1a1a1a;
  border-radius: 8px;
  transition: var(--transition);
  box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.form-error {
  color: #ffcccb;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: none;
}

.form-error.visible {
  display: block;
}

.faq-item {
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid var(--light-gray);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  color: var(--dark);
}

.faq-question:hover {
  background: var(--cream);
}

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

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

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

.faq-answer-content {
  padding: 0 2rem 1.5rem;
  color: var(--gray);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 0 2rem;
}

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

.footer-section h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.8;
}

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

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  color: var(--white);
  padding: 1.5rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  z-index: 2000;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

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

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

.cookie-text {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.5;
}

.cookie-text a {
  color: var(--dusty-rose);
  text-decoration: underline;
}

.cookie-btn {
  padding: 0.75rem 2rem;
  background: var(--dusty-rose);
  color: var(--white);
  border-radius: 6px;
  font-weight: 600;
  white-space: nowrap;
}

.cookie-btn:hover {
  background: #b36f5a;
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}

.legal-page {
  min-height: 100vh;
  padding: 8rem 0 4rem;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

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

.legal-content h3 {
  font-size: 1.3rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: var(--gray);
}

.legal-content ul,
.legal-content ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
  color: var(--gray);
}

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

.legal-date {
  color: var(--gray);
  font-style: italic;
  margin-bottom: 2rem;
  display: block;
}

.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.success-content {
  max-width: 600px;
}

.success-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--dusty-rose), #d9a08a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 3rem;
  color: var(--white);
}

.success-content h1 {
  margin-bottom: 1rem;
}

.success-content p {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 2rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}
