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

:root {
  --cream: #FAF7F2;
  --warm-white: #FFF9F0;
  --sand: #E8DDD0;
  --muted-rose: #D4B5A8;
  --aged-gold: #C9A574;
  --warm-gray: #8B8279;
  --charcoal: #3A352F;
  --text-primary: #3A352F;
  --text-secondary: #6B6459;
  --font-display: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  --font-body: 'Crimson Pro', 'Georgia', serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: local('Georgia');
}

@font-face {
  font-family: 'Crimson Pro';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: local('Georgia');
}

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

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--warm-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-primary);
}

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

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  margin-bottom: 0.875rem;
}

p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
}

.lead {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  line-height: 1.75;
  color: var(--text-secondary);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(212, 181, 168, 0.2);
  transition: all 0.3s ease;
}

header.scrolled {
  background-color: rgba(250, 247, 242, 0.98);
  box-shadow: 0 2px 20px rgba(58, 53, 47, 0.04);
}

.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: 400;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}

.logo:hover {
  color: var(--aged-gold);
}

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

nav a {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
  letter-spacing: 0.01em;
}

nav a:hover {
  color: var(--aged-gold);
}

.cta-button {
  display: inline-block;
  padding: 0.875rem 2rem;
  background-color: var(--aged-gold);
  color: var(--warm-white);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background-color: #B89563;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201, 165, 116, 0.25);
}

.cta-button-secondary {
  background-color: transparent;
  color: var(--aged-gold);
  border: 1px solid var(--aged-gold);
}

.cta-button-secondary:hover {
  background-color: var(--aged-gold);
  color: var(--warm-white);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  margin: 5px 0;
  transition: all 0.3s ease;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  background-color: var(--cream);
  position: relative;
}

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

.hero-text {
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

.hero-text h1 {
  margin-bottom: 1.5rem;
}

.hero-text .lead {
  margin-bottom: 2.5rem;
}

.hero-image {
  opacity: 0;
  animation: fadeInUp 1s ease 0.3s forwards;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(58, 53, 47, 0.12);
}

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

section {
  padding: clamp(4rem, 10vw, 8rem) 0;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transform: translateY(20px);
}

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

.section-label {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--aged-gold);
  margin-bottom: 1rem;
}

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

.problem-card {
  padding: 2.5rem 2rem;
  background-color: var(--warm-white);
  border: 1px solid rgba(212, 181, 168, 0.3);
  border-radius: 4px;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(20px);
}

.problem-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.problem-card:nth-child(2) {
  transition-delay: 0.1s;
}

.problem-card:nth-child(3) {
  transition-delay: 0.2s;
}

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

.problem-card p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.value-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.value-image {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(58, 53, 47, 0.1);
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transform: translateX(-30px);
}

.value-image.visible {
  opacity: 1;
  transform: translateX(0);
}

.value-text {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transform: translateX(30px);
}

.value-text.visible {
  opacity: 1;
  transform: translateX(0);
}

.value-text h2 {
  margin-bottom: 1.5rem;
}

.value-list {
  list-style: none;
  margin-top: 2rem;
}

.value-list li {
  padding-left: 2rem;
  margin-bottom: 1.25rem;
  position: relative;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.value-list li:before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--aged-gold);
  font-weight: 600;
}

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

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

.program-module {
  padding: 2.5rem;
  background-color: var(--warm-white);
  border-radius: 4px;
  border: 1px solid rgba(212, 181, 168, 0.25);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(20px);
}

.program-module.visible {
  opacity: 1;
  transform: translateY(0);
}

.program-module:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(58, 53, 47, 0.08);
}

.module-number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: rgba(201, 165, 116, 0.3);
  line-height: 1;
  margin-bottom: 1rem;
}

.program-module h3 {
  margin-bottom: 1rem;
}

.program-module p {
  margin-bottom: 0;
  font-size: 1rem;
}

.materials-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
}

.materials-image {
  order: 2;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(58, 53, 47, 0.1);
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transform: translateX(30px);
}

.materials-image.visible {
  opacity: 1;
  transform: translateX(0);
}

.materials-text {
  order: 1;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transform: translateX(-30px);
}

.materials-text.visible {
  opacity: 1;
  transform: translateX(0);
}

.materials-list {
  list-style: none;
  margin-top: 2rem;
}

.materials-list li {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(212, 181, 168, 0.2);
  font-size: 1.0625rem;
  color: var(--text-secondary);
}

.materials-list li:first-child {
  padding-top: 0;
}

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

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

.gallery-item {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(58, 53, 47, 0.08);
  transition: all 0.4s ease;
  opacity: 0;
  transform: scale(0.95);
}

.gallery-item.visible {
  opacity: 1;
  transform: scale(1);
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 50px rgba(58, 53, 47, 0.12);
}

.gallery-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

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

.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(212, 181, 168, 0.2);
  padding-bottom: 1.5rem;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  transform: translateY(10px);
}

.faq-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.faq-question {
  font-family: var(--font-display);
  font-size: 1.375rem;
  margin-bottom: 0.875rem;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--aged-gold);
}

.faq-toggle {
  font-size: 1.5rem;
  color: var(--aged-gold);
  transition: transform 0.3s ease;
}

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

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

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

.faq-answer p {
  margin-bottom: 0.75rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.form-section {
  background: linear-gradient(135deg, var(--cream) 0%, var(--sand) 100%);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--warm-white);
  padding: clamp(2.5rem, 5vw, 4rem);
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(58, 53, 47, 0.1);
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transform: translateY(30px);
}

.form-container.visible {
  opacity: 1;
  transform: translateY(0);
}

.form-container h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.form-container .lead {
  text-align: center;
  margin-bottom: 2.5rem;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(212, 181, 168, 0.4);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  background-color: var(--warm-white);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--aged-gold);
  box-shadow: 0 0 0 3px rgba(201, 165, 116, 0.1);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--warm-gray);
}

.form-error {
  display: none;
  color: #C85A54;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  font-family: var(--font-sans);
}

.form-group.error input,
.form-group.error textarea {
  border-color: #C85A54;
}

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

.form-submit {
  width: 100%;
  padding: 1.125rem 2rem;
  font-size: 1rem;
}

.form-privacy {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 1.5rem;
  line-height: 1.6;
}

.form-privacy a {
  color: var(--aged-gold);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.form-privacy a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

footer {
  background-color: var(--charcoal);
  color: var(--sand);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
}

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

.footer-brand {
  max-width: 350px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--warm-white);
  margin-bottom: 1.25rem;
  display: block;
}

.footer-brand p {
  color: var(--sand);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-white);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--sand);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--warm-white);
}

.footer-company-info {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--sand);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(232, 221, 208, 0.15);
  text-align: center;
  font-size: 0.875rem;
  color: var(--sand);
}

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

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

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

.cookie-text {
  flex: 1;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--sand);
}

.cookie-text a {
  color: var(--aged-gold);
  text-decoration: none;
}

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

.cookie-actions {
  display: flex;
  gap: 1rem;
}

.cookie-button {
  padding: 0.75rem 1.75rem;
  background-color: var(--aged-gold);
  color: var(--warm-white);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cookie-button:hover {
  background-color: #B89563;
}

.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cream) 0%, var(--sand) 100%);
  padding: 2rem;
}

.success-content {
  max-width: 600px;
  text-align: center;
  background-color: var(--warm-white);
  padding: clamp(3rem, 6vw, 5rem);
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(58, 53, 47, 0.12);
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  background-color: rgba(201, 165, 116, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--aged-gold);
}

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

.success-content p {
  margin-bottom: 2rem;
}

.legal-page {
  padding-top: 6rem;
  padding-bottom: 4rem;
  min-height: 100vh;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

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

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

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

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

.legal-content ul,
.legal-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
  color: var(--text-secondary);
}

.legal-content li {
  margin-bottom: 0.75rem;
  line-height: 1.8;
}

.legal-updated {
  font-size: 0.9375rem;
  color: var(--warm-gray);
  margin-top: 1rem;
  font-style: italic;
}

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

@media (max-width: 968px) {
  .hero-content,
  .value-content,
  .materials-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .materials-image,
  .materials-text {
    order: 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-button {
    flex: 1;
  }
}

@media (max-width: 768px) {
  nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--cream);
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(212, 181, 168, 0.2);
    box-shadow: 0 4px 20px rgba(58, 53, 47, 0.08);
  }

  .hero {
    padding-top: 6rem;
  }

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

  section {
    padding: clamp(3rem, 8vw, 6rem) 0;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.875rem;
  }

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

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