
:root {
  --color-bg: #F9F6F0;
  --color-text: #3E2C20;
  --color-accent: #C86745;
  --color-accent-hover: #A84F30;
  --color-secondary-bg: #EBE1D5;
  --color-border: #D6C7B8;
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

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

.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(--color-accent);
  color: #fff;
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

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

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(249, 246, 240, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-accent);
}

.nav__links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 101;
}

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

.hero {
  padding-top: 140px;
  padding-bottom: 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

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

.hero__text p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.hero__image-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(62, 44, 32, 0.1);
}

.hero__image-wrapper img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
}

.section {
  padding: 100px 0;
}

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

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

.format__card {
  background-color: var(--color-bg);
  padding: 40px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

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

.format__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(62, 44, 32, 0.05);
}

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

.program__item {
  border-bottom: 1px solid var(--color-border);
  padding: 30px 0;
}

.program__item:first-child {
  border-top: 1px solid var(--color-border);
}

.program__number {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-accent);
  margin-bottom: 10px;
  display: block;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery__item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.gallery__item.wide {
  aspect-ratio: 1/1;
}

.gallery__item.landscape {
  aspect-ratio: 16/9;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  transition: transform 0.7s ease;
}

.gallery__item:hover img {
  transform: scale(1.05);
}

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

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

.author__image img {
  aspect-ratio: 3/4;
}

.author__text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.lead-form {
  max-width: 500px;
  margin: 0 auto;
  background-color: var(--color-bg);
  padding: 50px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(62, 44, 32, 0.08);
}

.form-group {
  margin-bottom: 24px;
}

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

.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: transparent;
  color: var(--color-text);
  transition: var(--transition);
}

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

.lead-form .btn {
  width: 100%;
  margin-top: 10px;
}

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

.faq__item {
  border-bottom: 1px solid var(--color-border);
  padding: 24px 0;
  cursor: pointer;
}

.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
}

.faq__icon {
  position: relative;
  width: 20px;
  height: 20px;
}

.faq__icon::before, .faq__icon::after {
  content: '';
  position: absolute;
  background-color: var(--color-accent);
  transition: var(--transition);
}

.faq__icon::before {
  top: 9px;
  left: 0;
  width: 20px;
  height: 2px;
}

.faq__icon::after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 20px;
}

.faq__item.active .faq__icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  opacity: 0;
}

.faq__item.active .faq__answer {
  max-height: 300px;
  opacity: 1;
  padding-top: 16px;
}

.footer {
  background-color: #2D2018;
  color: #EBE1D5;
  padding: 80px 0 40px;
}

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

.footer__logo {
  color: #fff;
  margin-bottom: 20px;
  display: inline-block;
}

.footer__title {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 12px;
}

.footer__links a {
  opacity: 0.8;
}

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

.footer__bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(235, 225, 213, 0.1);
  opacity: 0.6;
  font-size: 0.9rem;
}

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

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #2D2018;
  color: #fff;
  padding: 20px;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

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

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

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

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  border: 1px solid var(--color-accent);
  transition: var(--transition);
}

.cookie-btn--accept {
  background-color: var(--color-accent);
  color: #fff;
}

.cookie-btn--reject {
  background-color: transparent;
  color: var(--color-accent);
}

.cookie-btn:hover {
  opacity: 0.9;
}

@media (max-width: 992px) {
  .hero__content,
  .author__content {
    grid-template-columns: 1fr;
  }
  
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .nav__links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--color-bg);
    flex-direction: column;
    padding: 40px 20px;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-150%);
    opacity: 0;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  }

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

  .gallery__grid {
    grid-template-columns: 1fr;
  }
  
  .footer__grid {
    grid-template-columns: 1fr;
  }
  
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
}
