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

:root {
  --bg: #FAF6F0;
  --primary: #B85C38;
  --primary-hover: #9c4c2d;
  --secondary: #D4A84B;
  --text: #2C1A0E;
  --muted: #7A6551;
  --white: #FFFFFF;
  --font-h: 'Playfair Display', serif;
  --font-p: 'Inter', sans-serif;
  --border: #e6dccf;
}

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

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

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary);
}

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

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

section {
  padding: 80px 0;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--bg);
  z-index: 100;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background-color: rgba(250, 246, 240, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo {
  font-family: var(--font-h);
  font-size: 28px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.nav__list {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav__link {
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.burger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 101;
}

.burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--text);
  transition: all 0.3s ease;
}

.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 9px; }
.burger span:nth-child(3) { bottom: 18px; }

.burger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 9px;
}

.btn {
  display: inline-block;
  background-color: var(--primary);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
}

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

.hero {
  padding-top: 140px;
  padding-bottom: 60px;
}

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

.hero__content {
  max-width: 500px;
}

.hero__title {
  font-size: 48px;
  margin-bottom: 24px;
}

.hero__text {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 40px;
}

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

.hero__image::after {
  content: '';
  display: block;
  padding-bottom: 75%;
}

.hero__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 36px;
}

.section-subtitle {
  color: var(--muted);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

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

.process__item {
  text-align: center;
}

.process__img-wrap {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 24px;
  border: 10px solid var(--white);
  box-shadow: 0 10px 30px rgba(44, 26, 14, 0.1);
}

.process__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.process__item h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.process__item p {
  color: var(--muted);
}

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

.split-section--reverse .split-content {
  order: -1;
}

.split-img {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.split-content h2 {
  font-size: 36px;
  margin-bottom: 24px;
}

.split-content p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 24px;
}

.form-section {
  background-color: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--bg);
  padding: 60px;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.form-wrapper h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 16px;
}

.form-wrapper p {
  text-align: center;
  color: var(--muted);
  margin-bottom: 40px;
}

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

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

.form-control {
  width: 100%;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background-color: var(--white);
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
  transition: border-color 0.3s ease;
}

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 32px;
}

.checkbox-group input {
  margin-top: 4px;
}

.checkbox-group label {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.form-wrapper .btn {
  width: 100%;
}

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

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: none;
  border: none;
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.faq-icon {
  position: relative;
  width: 16px;
  height: 16px;
}

.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-icon::before {
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
}

.faq-icon::after {
  top: 0;
  left: 7px;
  width: 2px;
  height: 16px;
}

.faq-item.active .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 24px;
}

.faq-answer p {
  color: var(--muted);
}

.footer {
  background-color: var(--text);
  color: var(--white);
  padding: 80px 0 40px;
}

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

.footer__logo {
  color: var(--white);
  margin-bottom: 16px;
  display: block;
}

.footer__company p {
  color: #a0958e;
  font-size: 14px;
  margin-bottom: 8px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__links a {
  color: #a0958e;
  font-size: 14px;
}

.footer__links a:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #a0958e;
}

.footer__legal-links {
  display: flex;
  gap: 24px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
  padding: 20px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

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

.cookie-text {
  font-size: 14px;
  color: var(--text);
}

.cookie-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.cookie-actions a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: underline;
}

.cookie-actions button {
  padding: 10px 24px;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
}

.page-header {
  padding: 160px 0 80px;
  background-color: var(--white);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-title {
  font-size: 42px;
}

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

.page-content h2 {
  font-size: 28px;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-content p {
  margin-bottom: 16px;
  color: var(--muted);
}

.page-content ul {
  margin-bottom: 16px;
  padding-left: 20px;
  color: var(--muted);
}

.page-content li {
  margin-bottom: 8px;
}

.success-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.success-content {
  max-width: 600px;
  margin: 0 auto;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--secondary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin: 0 auto 32px;
}

.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
}

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

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

@media (max-width: 992px) {
  .hero__inner, .split-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero__content, .split-content {
    max-width: 100%;
    text-align: center;
  }
  
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .burger {
    display: block;
  }
  
  .nav__list {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s ease;
  }
  
  .nav__list.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  
  .hero__title {
    font-size: 36px;
  }
  
  .process__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .form-wrapper {
    padding: 40px 20px;
  }
  
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .footer__bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}
