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

:root {
  --color-bg: #FAF7F2;
  --color-text: #2A1810;
  --color-primary: #2D5016;
  --color-primary-hover: #223c10;
  --color-accent: #C8860A;
  --color-border: #E5E0D8;
  --color-white: #FFFFFF;
  --color-footer: #1A1F16;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-sm: 0 2px 4px rgba(42, 24, 16, 0.05);
  --shadow-md: 0 4px 12px rgba(42, 24, 16, 0.08);
  --shadow-lg: 0 12px 24px rgba(42, 24, 16, 0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

h1 { font-size: 3.5rem; margin-bottom: 1.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.75rem; margin-bottom: 1rem; }
p { margin-bottom: 1rem; }
a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }

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

.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 1.125rem;
  transition: all var(--transition-fast);
  text-align: center;
}

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

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

.btn-accent {
  background-color: var(--color-accent);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-accent:hover {
  background-color: #b37809;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 0;
  transition: all var(--transition-normal);
  background-color: transparent;
}

.header.scrolled {
  background-color: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(8px);
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
}

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

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

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

.nav-link {
  font-weight: 500;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

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

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(250, 247, 242, 0.95) 0%, rgba(250, 247, 242, 0.7) 50%, rgba(250, 247, 242, 0.2) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  display: block;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.section {
  padding: 6rem 0;
}

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

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

.section-subtitle {
  color: var(--color-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

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

.problem-box {
  background-color: var(--color-white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.problem-list {
  margin-top: 2rem;
}

.problem-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.problem-list li::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: bold;
  font-size: 1.25rem;
  margin-right: 1rem;
  margin-top: -0.25rem;
}

.img-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.img-wrapper img {
  transition: transform var(--transition-slow);
}

.img-wrapper:hover img {
  transform: scale(1.05);
}

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

.module-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  padding: 2rem;
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

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

.module-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--color-primary);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 1rem;
}

.module-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.instructor-card {
  display: flex;
  gap: 3rem;
  align-items: center;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.instructor-img {
  flex: 1;
  height: 100%;
  min-height: 400px;
}

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

.instructor-content {
  flex: 1;
  padding: 4rem 4rem 4rem 0;
}

.instructor-content h2,
.instructor-content h3 {
  color: var(--color-white);
}

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

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

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

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.5rem 0;
  font-size: 1.25rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-text);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--color-primary);
  transition: transform var(--transition-fast);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-answer-inner {
  padding-bottom: 1.5rem;
  color: #555;
}

.form-section {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 6rem 0;
}

.form-section h2,
.form-section p {
  color: var(--color-white);
}

.lead-form-wrapper {
  background-color: var(--color-white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  max-width: 500px;
  margin: 0 auto;
  color: var(--color-text);
  box-shadow: var(--shadow-lg);
}

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

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

.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
  background-color: var(--color-bg);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
}

textarea.form-input {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  width: 100%;
  margin-top: 1rem;
}

.form-disclaimer {
  font-size: 0.875rem;
  color: #777;
  text-align: center;
  margin-top: 1rem;
}

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

.footer {
  background-color: var(--color-footer);
  color: #A0A59C;
  padding: 4rem 0 2rem;
}

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

.footer-logo {
  color: var(--color-white);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: block;
}

.footer-heading {
  color: var(--color-white);
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
}

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

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-footer);
  color: var(--color-white);
  padding: 1rem;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform var(--transition-normal);
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.cookie-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  width: 100%;
}

.cookie-text {
  flex: 1;
  font-size: 0.875rem;
}

.cookie-text a {
  text-decoration: underline;
  margin-left: 0.5rem;
}

.btn-cookie {
  background-color: var(--color-white);
  color: var(--color-footer);
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.875rem;
}

.btn-cookie:hover {
  background-color: #E5E0D8;
}

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

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

.legal-page {
  padding-top: 8rem;
  padding-bottom: 4rem;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--color-white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

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

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

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

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

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

.success-content {
  background-color: var(--color-white);
  padding: 4rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 600px;
}

.success-icon {
  font-size: 4rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

@media (max-width: 992px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  .grid-2 { gap: 2rem; }
  .instructor-card { flex-direction: column; }
  .instructor-img { min-height: 300px; width: 100%; }
  .instructor-content { padding: 3rem; }
}

@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  .nav { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero-overlay {
    background: linear-gradient(to bottom, rgba(250, 247, 242, 0.9) 0%, rgba(250, 247, 242, 0.8) 100%);
  }
  .section { padding: 4rem 0; }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .cookie-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .success-content {
    padding: 2rem;
  }
}
