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

:root {
  --primary: #1a1f3a;
  --accent: #c4714a;
  --accent-hover: #a85f3e;
  --bg: #f5f0e8;
  --card: #fdfaf5;
  --text: #2b2b2b;
  --text-light: #555555;
  --border: #e0d8c8;
  --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

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

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

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

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

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

.btn {
  display: inline-block;
  background-color: var(--accent);
  color: #fff;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition);
  text-align: center;
}

.btn:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(253, 250, 245, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  font-weight: 500;
}

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

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

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

.hero {
  padding: 160px 0 80px;
  display: flex;
  align-items: center;
  min-height: 100vh;
}

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

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.hero-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(26, 31, 58, 0.1);
}

.hero-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}

section {
  padding: 100px 0;
}

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

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

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

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

.card {
  background-color: var(--card);
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  border: 1px solid var(--border);
  transition: transform var(--transition);
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  margin-bottom: 1rem;
}

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

.program-item {
  background-color: var(--card);
  margin-bottom: 1rem;
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent);
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.program-item h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

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

.process-step img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.process-step span.step-num {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  background-color: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

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

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

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(26, 31, 58, 0.9), transparent);
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
}

.review-card {
  background-color: var(--card);
  padding: 2rem;
  border-radius: 8px;
  font-style: italic;
  position: relative;
}

.review-card::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.2;
  position: absolute;
  top: 10px;
  left: 20px;
}

.review-author {
  margin-top: 1.5rem;
  font-style: normal;
  font-weight: 600;
  color: var(--primary);
}

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

.faq-item {
  background-color: var(--card);
  margin-bottom: 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem 2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--primary);
  user-select: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform var(--transition);
}

.faq-item.active .faq-question::after {
  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: 500px;
}

.lead-section {
  background-color: var(--primary);
  color: var(--bg);
}

.lead-section h2 {
  color: var(--card);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--card);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

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

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

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

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

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

footer {
  background-color: #111424;
  color: #a0a5b5;
  padding: 60px 0 30px;
  font-size: 0.9rem;
}

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

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1rem;
  display: block;
}

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

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

.footer-links a {
  color: #a0a5b5;
}

.footer-links a:hover {
  color: #fff;
}

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

.cookie-banner {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: var(--primary);
  color: #fff;
  padding: 1rem;
  z-index: 2000;
  transition: bottom 0.5s ease;
}

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

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

.cookie-container p {
  font-size: 0.9rem;
}

.cookie-btn {
  background-color: var(--accent);
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
}

.page-content {
  padding: 150px 0 100px;
  max-width: 800px;
  margin: 0 auto;
}

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

.page-content h2 {
  font-size: 1.5rem;
  text-align: left;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

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

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

.success-content {
  min-height: calc(100vh - 250px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 150px 20px;
}

.success-card {
  background-color: var(--card);
  padding: 4rem 3rem;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
  max-width: 600px;
}

.success-card h1 {
  margin-bottom: 1.5rem;
}

.success-card p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

@media (max-width: 1200px) {
  h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: rgba(253, 250, 245, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left 0.3s ease;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 1rem 0;
  }

  .nav-links a {
    font-size: 1.5rem;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }

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