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

:root {
  --color-bg: #FDFBF7;
  --color-surface: #F5EFEB;
  --color-text: #4A3C38;
  --color-text-light: #7A6963;
  --color-accent: #C86B5E;
  --color-accent-hover: #A8564B;
  --color-secondary: #9B948C;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Raleway', sans-serif;
  --section-padding: 6rem 2rem;
}

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

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

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

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

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

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

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(253, 251, 247, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(74, 60, 56, 0.1);
  transition: all 0.3s ease;
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-text);
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.btn-primary {
  display: inline-block;
  background-color: var(--color-accent);
  color: white;
  padding: 0.8rem 1.8rem;
  border-radius: 4px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-align: center;
}

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

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-text);
  cursor: pointer;
}

.nav-mobile {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  z-index: 99;
  transform: translateY(-100%);
  transition: transform 0.4s ease-in-out;
}

.nav-mobile.open {
  transform: translateY(0);
}

.nav-mobile .nav-link {
  font-size: 1.5rem;
  font-family: var(--font-heading);
}

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

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.hero-content h1 i {
  color: var(--color-accent);
  font-style: italic;
}

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

.hero-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.hero-image img {
  width: 100%;
  height: auto;
  transform: scale(1.02);
}

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

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

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

.grid-reverse .content { order: 1; }
.grid-reverse .image { order: 2; }

@media (min-width: 768px) {
  .grid-reverse .content { order: 2; }
  .grid-reverse .image { order: 1; }
}

.image-wrapper {
  border-radius: 8px;
  overflow: hidden;
}

.content-block h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

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

.list-features {
  list-style: none;
  margin-bottom: 2rem;
}

.list-features li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.list-features li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-family: var(--font-heading);
}

.instructor {
  background-color: var(--color-surface);
  padding: var(--section-padding);
}

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

.result-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

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

.result-card-content {
  padding: 1.5rem;
}

.lead-section {
  background-color: var(--color-surface);
  text-align: center;
}

.form-container {
  max-width: 500px;
  margin: 0 auto;
  background: #fff;
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

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

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

.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(74, 60, 56, 0.2);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: var(--color-bg);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
}

.btn-submit {
  width: 100%;
  font-size: 1.1rem;
  padding: 1rem;
  margin-top: 1rem;
}

.form-note {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: 1rem;
  display: block;
}

footer {
  background-color: #3D2C2A;
  color: #FDFBF7;
  padding: 4rem 2rem 2rem;
}

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

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  color: var(--color-secondary);
}

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

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

.footer-links a {
  color: #FDFBF7;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  font-size: 0.9rem;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(253, 251, 247, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--color-secondary);
}

.legal-page {
  padding: 10rem 2rem 6rem;
  max-width: 800px;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

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

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

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-text);
  color: var(--color-bg);
  padding: 1rem 2rem;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

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

.cookie-banner p {
  font-size: 0.9rem;
  max-width: 800px;
}

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

.cookie-btn {
  background-color: var(--color-accent);
  color: white;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
}

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

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

.success-page h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.success-page p {
  font-size: 1.2rem;
  color: var(--color-text-light);
  margin-bottom: 2rem;
  max-width: 500px;
}

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

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

  .hero {
    grid-template-columns: 1fr;
    padding: 8rem 1.5rem 4rem;
    gap: 3rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .cookie-banner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
