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

:root {
  --bg-cream: #FAF6F0;
  --bg-beige: #F0E8D8;
  --text-brown: #2C1A0E;
  --accent-terracotta: #C17A4A;
  --accent-terracotta-hover: #a8663a;
  --accent-light: #e6b290;
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  --spacing-section: 5rem;
  --container-width: 1100px;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-brown);
  background-color: var(--bg-cream);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

p {
  margin-bottom: 1rem;
}

a {
  color: var(--accent-terracotta);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover, a:focus {
  color: var(--accent-terracotta-hover);
}

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

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

section {
  padding: var(--spacing-section) 0;
}

.text-center { text-align: center; }
.section-title { font-size: 2.2rem; margin-bottom: 2rem; }
.section-subtitle { font-size: 1.1rem; opacity: 0.8; margin-bottom: 3rem; }

.btn {
  display: inline-block;
  background-color: var(--accent-terracotta);
  color: #fff;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover, .btn:focus {
  background-color: var(--accent-terracotta-hover);
  color: #fff;
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 2px solid var(--text-brown);
  outline-offset: 4px;
}

.site-header {
  padding: 1.5rem 0;
  background-color: var(--bg-cream);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(44, 26, 14, 0.05);
}

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

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

.hero {
  padding: 4rem 0 6rem;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 3rem;
}

.hero-content {
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: rgba(44, 26, 14, 0.8);
}

.hero-image {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(44, 26, 14, 0.08);
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

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

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

.feature-list {
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.feature-list li::before {
  content: '•';
  color: var(--accent-terracotta);
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -4px;
}

.instructor-card {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.instructor-img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(44, 26, 14, 0.1);
}

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

.portfolio-item img {
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(44, 26, 14, 0.05);
  transition: transform 0.3s ease;
}
.portfolio-item img:hover {
  transform: scale(1.02);
}

.faq-item {
  border-bottom: 1px solid rgba(44, 26, 14, 0.1);
  padding: 1.5rem 0;
}
.faq-question {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-answer {
  margin-top: 1rem;
  display: none;
  color: rgba(44, 26, 14, 0.8);
}
.faq-item.active .faq-answer {
  display: block;
}

.form-section {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: left;
  margin-top: 2rem;
  background-color: #fff;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(44, 26, 14, 0.05);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.95rem;
  font-weight: 500;
}

.form-group input {
  padding: 0.875rem 1rem;
  border: 1px solid rgba(44, 26, 14, 0.2);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: var(--bg-cream);
  color: var(--text-brown);
  transition: border-color 0.3s ease;
}

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

.site-footer {
  background-color: var(--text-brown);
  color: var(--bg-cream);
  padding: 4rem 0 2rem;
  font-size: 0.9rem;
}

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

.footer-col h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer-col p {
  color: rgba(250, 246, 240, 0.7);
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: rgba(250, 246, 240, 0.7);
  display: block;
  margin-bottom: 0.5rem;
}

.footer-col a:hover {
  color: var(--accent-terracotta);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(250, 246, 240, 0.1);
  padding-top: 2rem;
  color: rgba(250, 246, 240, 0.5);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 0;
}
.legal-content h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}
.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.legal-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.success-message {
  text-align: center;
  padding: 8rem 0;
}
.success-message h1 {
  font-size: 3rem;
  color: var(--accent-terracotta);
  margin-bottom: 1rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--text-brown);
  color: var(--bg-cream);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

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

.cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(250, 246, 240, 0.8);
}

.cookie-banner a {
  color: var(--accent-terracotta);
  text-decoration: underline;
}

.cookie-btn {
  background-color: var(--accent-terracotta);
  color: #fff;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
}
.cookie-btn:hover {
  background-color: var(--accent-terracotta-hover);
}

@media (min-width: 768px) {
  :root {
    --spacing-section: 7rem;
  }
  
  .hero {
    flex-direction: row;
    text-align: left;
    padding: 6rem 0 8rem;
  }
  
  .hero-content {
    flex: 1;
    text-align: left;
  }
  
  .hero h1 {
    font-size: 3.5rem;
  }
  
  .hero-image {
    flex: 1;
  }
  
  .grid-2 {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  
  .section-title {
    font-size: 2.8rem;
  }
  
  .instructor-card {
    flex-direction: row;
    justify-content: center;
    gap: 4rem;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .cookie-banner {
    flex-direction: row;
    justify-content: center;
    text-align: left;
  }
}
