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

:root {
  --bg-primary: #FAF7F2;
  --bg-secondary: #F0EBE1;
  --accent-primary: #C96A45;
  --accent-hover: #B55B38;
  --accent-secondary: #7B8F79;
  --text-primary: #33312E;
  --text-secondary: #5B5752;
  --text-light: #FAF7F2;
  --shadow-soft: 0 8px 30px rgba(51, 49, 46, 0.06);
  --shadow-card: 0 4px 20px rgba(51, 49, 46, 0.04);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  --container-width: 1200px;
  --section-padding: 5rem 1.5rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  font-size: 16px;
}

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

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 3rem;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

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

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


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-weight: 500;
  font-size: 1.125rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background-color: var(--accent-primary);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(201, 106, 69, 0.3);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 106, 69, 0.4);
  color: var(--text-light);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--accent-primary);
  color: var(--accent-primary);
}

.btn-outline:hover {
  background-color: var(--accent-primary);
  color: var(--text-light);
}


.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.03);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-primary);
}

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

.nav-link {
  font-weight: 500;
  color: var(--text-primary);
}

.nav-link:hover {
  color: var(--accent-primary);
}

.nav-btn {
  padding: 0.5rem 1.5rem;
  font-size: 0.95rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

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


.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

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

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

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: var(--text-primary);
  font-weight: 500;
}


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

.skill-card {
  background: var(--bg-primary);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease;
  height: 100%;
}

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

.skill-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(201, 106, 69, 0.1);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent-primary);
}

.skill-icon svg {
  width: 30px;
  height: 30px;
}


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

.module {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  padding: 2rem;
  display: flex;
  gap: 2rem;
}

.module-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--accent-secondary);
  opacity: 0.3;
  line-height: 1;
  font-weight: 700;
}

.module-content h3 {
  margin-bottom: 0.5rem;
}

.module-lessons {
  list-style-type: none;
  margin-top: 1rem;
}

.module-lessons li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.module-lessons li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-primary);
}


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

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

.process-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
  aspect-ratio: 4/5;
}

.process-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.step-number {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  width: 40px;
  height: 40px;
  background-color: var(--bg-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--accent-primary);
  box-shadow: var(--shadow-card);
}


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

.audience-card {
  background: var(--bg-secondary);
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
}

.audience-icon {
  width: 80px;
  height: 80px;
  background: var(--bg-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--accent-secondary);
}

.audience-icon svg {
  width: 40px;
  height: 40px;
}


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

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16/9;
  transition: transform 0.5s ease;
}

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


.author-container {
  display: flex;
  align-items: center;
  gap: 4rem;
  background: var(--bg-primary);
  padding: 4rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.author-img {
  flex: 0 0 350px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.author-img img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.author-content h2 {
  text-align: left;
  margin-bottom: 1rem;
}

.author-subtitle {
  font-size: 1.125rem;
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
  font-weight: 500;
}


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

.faq-item {
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.3s ease;
}

.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--accent-primary);
  transition: transform 0.3s ease;
}

.faq-icon::before {
  top: 11px;
  left: 0;
  width: 24px;
  height: 2px;
}

.faq-icon::after {
  top: 0;
  left: 11px;
  width: 2px;
  height: 24px;
}

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

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

.faq-item.active .faq-answer {
  padding: 0 2rem 1.5rem;
  max-height: 300px;
}


.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-primary);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

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

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

.form-control {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 1px solid rgba(91, 87, 82, 0.2);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(201, 106, 69, 0.1);
}

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

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

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


.footer {
  background-color: var(--text-primary);
  color: var(--bg-secondary);
  padding: 5rem 0 2rem;
}

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

.footer-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--bg-primary);
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-tagline {
  color: rgba(240, 235, 225, 0.7);
  max-width: 300px;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--bg-primary);
  margin-bottom: 1.5rem;
}

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

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

.footer-link {
  color: rgba(240, 235, 225, 0.7);
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--bg-primary);
}

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


.legal-header {
  padding: 180px 0 60px;
  text-align: center;
  background-color: var(--bg-secondary);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 0;
}

.legal-content h2 {
  text-align: left;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
}

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

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


.success-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 1.5rem;
}

.success-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(123, 143, 121, 0.1);
  color: var(--accent-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.success-icon svg {
  width: 40px;
  height: 40px;
}


.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--text-primary);
  color: var(--bg-primary);
  padding: 1rem 0;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

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

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-content p {
  margin: 0;
  color: var(--bg-secondary);
  font-size: 0.875rem;
}

.btn-cookie {
  padding: 0.5rem 1.5rem;
  background-color: var(--accent-primary);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
}


.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


@media (max-width: 992px) {
  .hero-overlay {
    background: linear-gradient(to right, rgba(250, 247, 242, 0.95) 0%, rgba(250, 247, 242, 0.85) 100%);
  }
  
  .author-container {
    flex-direction: column;
    text-align: center;
    padding: 3rem 2rem;
  }
  
  .author-content h2 {
    text-align: center;
  }
  
  .process-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 4rem 1rem;
  }
  
  h1 {
    font-size: 2.25rem;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--bg-primary);
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s ease-in-out;
    gap: 1.5rem;
  }
  
  .nav-links.open {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  
  .module {
    flex-direction: column;
    gap: 1rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}
