:root {
  --color-cream: #fdfcf8;
  --color-gold: #a67c00;
  --color-sage: #4a704a;
  --color-linen: #f2ede3;
  --color-dark: #1a1a1a;
  --color-light-gray: #e8e5e0;
  --font-serif: 'Lora', serif;
  --font-sans: 'Nunito Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-cream);
  color: var(--color-dark);
  line-height: 1.86;
  font-weight: 400;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--color-dark);
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-sage);
}

h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.2rem;
}

.container-main {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 140px;
}

@media (max-width: 1024px) {
  .container-main {
    padding: 0 60px;
  }
}

@media (max-width: 768px) {
  .container-main {
    padding: 0 30px;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.3rem;
  }
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(253, 252, 248, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--color-light-gray);
  transition: all 0.3s ease;
}

header.scroll-active {
  padding: 0.75rem 0;
}

.header-content {
  max-width: 1640px;
  margin: 0 auto;
  padding: 1.25rem 140px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 1024px) {
  .header-content {
    padding: 1rem 60px;
  }
}

@media (max-width: 768px) {
  .header-content {
    padding: 0.75rem 30px;
  }
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-dark);
  text-decoration: none;
  letter-spacing: 0.6px;
  transition: color 0.3s ease;
}

.logo:hover {
  color: var(--color-gold);
}

nav a {
  color: var(--color-dark);
  text-decoration: none;
  margin: 0 1.5rem;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  font-weight: 500;
  transition: color 0.3s ease;
  cursor: pointer;
}

nav a:hover {
  color: var(--color-gold);
}

@media (max-width: 768px) {
  nav a {
    margin: 0 0.75rem;
    font-size: 0.9rem;
  }
}

main {
  margin-top: 70px;
}

.hero {
  width: 100%;
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-linen) 100%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1640px;
  margin: 0 auto;
  padding: 0 140px;
}

@media (max-width: 768px) {
  .hero-content {
    padding: 0 30px;
  }
}

.hero-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  animation: fadeInUp 0.8s ease-out;
}

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

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  font-family: var(--font-serif);
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  color: var(--color-dark);
  line-height: 1.8;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

section {
  padding: 4rem 0;
  animation: fadeInUp 0.8s ease-out;
}

section:nth-child(odd) {
  background-color: var(--color-cream);
}

section:nth-child(even) {
  background-color: var(--color-linen);
}

.section-content {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 140px;
}

@media (max-width: 1024px) {
  .section-content {
    padding: 0 60px;
  }
}

@media (max-width: 768px) {
  .section-content {
    padding: 0 30px;
  }
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--color-gold);
  margin: 1rem auto 0;
}

.image-text-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.image-text-pair.reverse {
  grid-template-columns: 1fr 1fr;
  direction: rtl;
}

.image-text-pair.reverse > * {
  direction: ltr;
}

.image-text-pair img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.image-text-pair img:hover {
  transform: scale(1.02);
}

.image-text-pair p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-dark);
}

@media (max-width: 768px) {
  .image-text-pair, .image-text-pair.reverse {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    direction: ltr;
  }

  .image-text-pair img {
    max-height: 300px;
  }
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.card {
  background-color: var(--color-cream);
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid var(--color-light-gray);
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.card:hover {
  transform: scale(1.05);
  border-color: var(--color-gold);
  box-shadow: 0 15px 40px rgba(166, 124, 0, 0.15);
}

.card h4 {
  color: var(--color-sage);
  margin-bottom: 1rem;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-dark);
}

.card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.table-wrapper {
  overflow-x: auto;
  margin-bottom: 2rem;
  border-radius: 12px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--color-cream);
}

table th {
  background-color: var(--color-gold);
  color: white;
  padding: 1.25rem;
  text-align: left;
  font-weight: 600;
  font-family: var(--font-sans);
}

table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-light-gray);
  font-size: 0.95rem;
}

table tr:nth-child(even) {
  background-color: rgba(166, 124, 0, 0.05);
}

table tr:hover {
  background-color: rgba(166, 124, 0, 0.1);
}

@media (max-width: 768px) {
  table {
    font-size: 0.85rem;
  }

  table th, table td {
    padding: 0.75rem;
  }
}

.quote-block {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(166, 124, 0, 0.08) 0%, rgba(74, 112, 74, 0.08) 100%);
  border-radius: 12px;
  margin: 3rem 0;
  border-left: 5px solid var(--color-gold);
}

.quote-block p {
  font-size: 1.3rem;
  font-style: italic;
  color: var(--color-dark);
  margin-bottom: 1rem;
}

.quote-block-image {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .quote-block {
    padding: 2rem 1rem;
  }

  .quote-block p {
    font-size: 1.1rem;
  }
}

.faq {
  margin-top: 2rem;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
  background-color: var(--color-linen);
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: all 0.3s ease;
  border-left: 4px solid var(--color-gold);
}

.faq-question:hover {
  background-color: rgba(166, 124, 0, 0.08);
}

.faq-toggle {
  color: var(--color-gold);
  font-weight: bold;
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0;
  background-color: var(--color-cream);
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 1.5rem;
  max-height: 500px;
}

.faq-answer p {
  line-height: 1.8;
  color: var(--color-dark);
}

.disclaimer-box {
  background-color: rgba(74, 112, 74, 0.08);
  border-left: 4px solid var(--color-sage);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--color-dark);
}

.form-section {
  max-width: 500px;
  margin: 0 auto;
}

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

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-dark);
}

input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--color-light-gray);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(166, 124, 0, 0.1);
}

button {
  background-color: var(--color-gold);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  background-color: var(--color-sage);
  transform: scale(1.06);
}

button:active {
  transform: scale(0.98);
}

footer {
  background-color: var(--color-dark);
  color: white;
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-content {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 140px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 1024px) {
  .footer-content {
    padding: 0 60px;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-content {
    padding: 0 30px;
    grid-template-columns: 1fr;
  }
}

.footer-section h4 {
  color: var(--color-gold);
  margin-bottom: 1rem;
  font-family: var(--font-serif);
}

.footer-section a {
  color: white;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
  cursor: pointer;
}

.footer-section a:hover {
  color: var(--color-gold);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  max-width: 1260px;
  margin: 0 auto;
  padding-left: 140px;
  padding-right: 140px;
}

@media (max-width: 1024px) {
  .footer-bottom {
    padding-left: 60px;
    padding-right: 60px;
  }
}

@media (max-width: 768px) {
  .footer-bottom {
    padding-left: 30px;
    padding-right: 30px;
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--color-cream);
  padding: 2.5rem;
  border-radius: 12px;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-dark);
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--color-gold);
}

.modal-content h2 {
  text-align: left;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.modal-content p {
  line-height: 1.8;
  margin-bottom: 1rem;
}

.modal-content h3 {
  text-align: left;
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
  .modal-content {
    margin: 1rem;
    padding: 1.5rem;
    max-width: none;
  }
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-dark);
  color: white;
  padding: 1.5rem 140px;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  animation: slideUp 0.4s ease;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-text {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.6;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-buttons button {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-buttons .btn-accept {
  background-color: var(--color-gold);
  color: white;
  border: none;
}

.cookie-buttons .btn-accept:hover {
  background-color: var(--color-sage);
}

.cookie-buttons .btn-reject {
  background-color: transparent;
  color: white;
  border: 1px solid white;
}

.cookie-buttons .btn-reject:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.cookie-buttons .btn-learn-more {
  background-color: transparent;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  cursor: pointer;
}

.cookie-buttons .btn-learn-more:hover {
  background-color: rgba(166, 124, 0, 0.1);
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    padding: 1rem 30px;
    gap: 1rem;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
  }

  .cookie-buttons button {
    flex: 1;
    min-width: 100px;
  }
}

.success-message {
  display: none;
  background-color: rgba(74, 112, 74, 0.1);
  border-left: 4px solid var(--color-sage);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  color: var(--color-sage);
  font-weight: 600;
}

.success-message.show {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
