:root {
  --bg-main: #fcfbfa;
  --bg-alt: #f4f0e6;
  --bg-dark: #3a3836;
  --text-main: #2c2a29;
  --text-muted: #6b6661;
  --text-light: #fcfbfa;
  --accent: #c25f42;
  --accent-hover: #a85137;
  --secondary: #7f917c;
  --secondary-light: #e8ede6;
  --border: #e6dfd3;
  --white: #ffffff;

  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: Arial, Helvetica, sans-serif;

  --nav-height: 80px;
  --container-width: 1200px;
  --transition: all 0.3s ease;
}

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

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

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

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

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

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 100px 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background-color: var(--accent);
  margin: 15px auto 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(194, 95, 66, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

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

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background-color: transparent;
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  background-color: rgba(252, 251, 250, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-main);
}

.logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-size: 1rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--accent);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition);
}

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

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 50%;
  padding-right: 60px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 450px;
}

.problem-solution {
  background-color: var(--bg-main);
}

.ps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.ps-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.ps-content h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.ps-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

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

.ps-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.ps-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--secondary);
  font-weight: bold;
}

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

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

.program-card {
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.03);
  transition: var(--transition);
  border-top: 4px solid var(--border);
}

.program-card:hover {
  transform: translateY(-5px);
  border-top-color: var(--secondary);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.program-card span.step {
  display: inline-block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 10px;
}

.program-card h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.format {
  background-color: var(--secondary-light);
}

.format-wrap {
  display: flex;
  gap: 50px;
  align-items: center;
}

.format-img {
  flex: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 10px solid var(--white);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.format-info {
  flex: 1;
}

.format-item {
  margin-bottom: 30px;
}

.format-item h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.author {
  background-color: var(--bg-main);
}

.author-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
}

.author-img {
  border-radius: 8px 8px 8px 60px;
  overflow: hidden;
  box-shadow: -15px 15px 0 var(--accent);
}

.author-content h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.author-content .subtitle {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

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

.results-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.results-gallery img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 8px;
  transition: var(--transition);
}

.results-gallery img:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.testimonials {
  background-color: var(--bg-main);
}

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

.testi-card {
  background-color: var(--bg-alt);
  padding: 40px;
  border-radius: 8px;
  position: relative;
}

.testi-card::before {
  content: '«';
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--secondary);
  opacity: 0.2;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testi-text {
  font-size: 1.05rem;
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.testi-author {
  font-weight: 600;
  font-family: var(--font-heading);
}

.testi-level {
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

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

.faq-item {
  background-color: var(--white);
  margin-bottom: 15px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.faq-question {
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
}

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

.faq-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  line-height: 1;
  color: var(--secondary);
}

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

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-muted);
}

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

.cta-section {
  background-color: var(--secondary);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.cta-section p {
  margin-bottom: 40px;
  font-size: 1.1rem;
  opacity: 0.9;
}

.form-wrapper {
  background-color: var(--white);
  max-width: 500px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  color: var(--text-main);
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(194, 95, 66, 0.1);
}

.form-btn {
  width: 100%;
  font-size: 1.2rem;
  padding: 16px;
}

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

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

.footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--white);
}

.footer-brand p {
  opacity: 0.7;
}

.footer-links h4, .footer-legal h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent);
}

.footer-legal p {
  margin-bottom: 8px;
  opacity: 0.7;
  font-size: 0.9rem;
}

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

.cookie-banner {
  position: fixed;
  bottom: -100px;
  left: 0;
  width: 100%;
  background-color: var(--text-main);
  color: var(--white);
  padding: 15px 0;
  z-index: 2000;
  transition: bottom 0.5s ease;
  box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
}

.cookie-banner.show {
  bottom: 0;
}

.cookie-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.cookie-text {
  font-size: 0.9rem;
  opacity: 0.9;
}

.cookie-text a {
  text-decoration: underline;
  color: var(--secondary-light);
}

.cookie-btn {
  background-color: var(--white);
  color: var(--text-main);
  border: none;
  padding: 8px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.cookie-btn:hover {
  background-color: var(--secondary-light);
}

.legal-page {
  padding: 120px 0 80px;
  background-color: var(--bg-main);
  min-height: calc(100vh - 300px);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 50px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.legal-content h1 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 15px;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 30px 0 15px;
}

.legal-content p {
  margin-bottom: 15px;
  color: var(--text-muted);
}

.legal-content ul {
  margin: 0 0 15px 20px;
  color: var(--text-muted);
}

.legal-content li {
  margin-bottom: 5px;
}

.success-page {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--bg-alt);
}

.success-content {
  background-color: var(--white);
  padding: 60px 40px;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  max-width: 500px;
}

.success-icon {
  font-size: 4rem;
  color: var(--secondary);
  margin-bottom: 20px;
}

.success-content h1 {
  margin-bottom: 15px;
}

.success-content p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

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

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

@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3rem;
  }
  .author-grid {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background-color: var(--bg-main);
    flex-direction: column;
    padding-top: 40px;
    transition: var(--transition);
    border-top: 1px solid var(--border);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-links li {
    width: 100%;
    text-align: center;
  }
  
  .nav-links a {
    display: block;
    padding: 15px;
    font-size: 1.2rem;
  }
  
  .hero {
    flex-direction: column;
    padding-top: calc(var(--nav-height) + 40px);
    height: auto;
  }
  
  .hero-content {
    width: 100%;
    padding-right: 0;
    text-align: center;
    margin-bottom: 40px;
  }
  
  .hero p {
    margin: 0 auto 2.5rem;
  }
  
  .hero-bg {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 8px;
  }
  
  .ps-grid, .author-grid {
    grid-template-columns: 1fr;
  }
  
  .format-wrap {
    flex-direction: column;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .legal-content {
    padding: 30px 20px;
  }
}
