@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;700&family=Lato:wght@400;600&display=swap');

:root {
  --primary-bg: #fdfbf7;
  --accent-rose: #c68a9e;
  --accent-sage: #5f8c5f;
  --accent-beige: #f9f4eb;
  --text-dark: #2c2c2c;
  --text-light: #5a5a5a;
  --border-light: #e8e3d8;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--primary-bg);
  color: var(--text-dark);
  line-height: 1.88;
  font-size: 16px;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
}

h1 {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 0.6px;
  line-height: 1.2;
  margin-bottom: 24px;
}

h2 {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 0.6px;
  line-height: 1.2;
  margin-bottom: 20px;
  margin-top: 40px;
}

h3 {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.6px;
  line-height: 1.3;
  margin-bottom: 16px;
}

p {
  margin-bottom: 16px;
  color: var(--text-light);
}

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

a:hover {
  color: var(--accent-sage);
}

header {
  position: sticky;
  top: 0;
  background-color: rgba(253, 251, 247, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: all 0.3s ease;
}

header.scrolled {
  background-color: rgba(253, 251, 247, 0.92);
  padding: 12px 0;
}

nav {
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 160px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

header.scrolled nav {
  height: 62px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-menu a {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

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

.hero {
  background: linear-gradient(135deg, var(--primary-bg) 0%, var(--accent-beige) 100%);
  padding: 120px 160px;
  max-width: 1700px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(198, 138, 158, 0.15);
}

.hero-content h1 {
  color: var(--text-dark);
  margin-bottom: 24px;
}

.hero-content p {
  font-size: 18px;
  line-height: 1.88;
  margin-bottom: 32px;
}

section {
  max-width: 1700px;
  margin: 0 auto;
  padding: 100px 160px;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

section.visible {
  opacity: 1;
}

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

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 40px;
}

.content-grid.reverse {
  direction: rtl;
}

.content-grid.reverse > * {
  direction: ltr;
}

.content-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(198, 138, 158, 0.1);
}

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

.card {
  background: white;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 40px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.card:hover {
  border-color: var(--accent-rose);
  box-shadow: 0 10px 40px rgba(198, 138, 158, 0.2);
  transform: translateY(-5px);
  background: linear-gradient(135deg, rgba(253, 251, 247, 0.5) 0%, rgba(249, 244, 235, 0.5) 100%);
}

.card h3 {
  color: var(--accent-rose);
  margin-bottom: 12px;
}

.card p {
  font-size: 14px;
  line-height: 1.8;
}

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

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: var(--accent-rose);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover {
  background: var(--accent-sage);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(95, 140, 95, 0.3);
}

.table-wrapper {
  overflow-x: auto;
  margin: 40px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden;
}

table thead {
  background: var(--accent-rose);
  color: white;
}

table th {
  padding: 16px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
}

table td {
  padding: 16px;
  border-bottom: 1px solid var(--border-light);
}

table tbody tr:nth-child(odd) {
  background: rgba(95, 140, 95, 0.05);
}

table tbody tr:hover {
  background: rgba(198, 138, 158, 0.08);
}

.accordion {
  margin: 20px 0;
}

.accordion-item {
  border: 1px solid var(--border-light);
  margin-bottom: 12px;
  border-radius: 4px;
  overflow: hidden;
  background: white;
}

.accordion-header {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, var(--primary-bg) 0%, var(--accent-beige) 100%);
  font-weight: 600;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.accordion-header:hover {
  background: linear-gradient(90deg, var(--accent-beige) 0%, rgba(249, 244, 235, 0.8) 100%);
  border-left-color: var(--accent-rose);
}

.accordion-header.active {
  background: linear-gradient(90deg, rgba(198, 138, 158, 0.1) 0%, rgba(95, 140, 95, 0.1) 100%);
  border-left-color: var(--accent-rose);
}

.accordion-icon {
  transition: transform 0.3s ease;
  color: var(--accent-rose);
  font-size: 20px;
  font-weight: bold;
}

.accordion-header.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
}

.accordion-content.active {
  max-height: 500px;
  padding: 20px;
}

.accordion-content p {
  margin: 0;
}

.quote-section {
  background: linear-gradient(135deg, var(--accent-beige) 0%, rgba(95, 140, 95, 0.1) 100%);
  padding: 80px 160px;
  text-align: center;
  border-left: 4px solid var(--accent-rose);
}

.quote-section blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-dark);
  margin: 0;
}

.form-section {
  background: linear-gradient(135deg, var(--primary-bg) 0%, var(--accent-beige) 100%);
  padding: 100px 160px;
  max-width: 1700px;
  margin: 0 auto;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 14px;
}

.form-group input {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent-rose);
  box-shadow: 0 0 0 3px rgba(198, 138, 158, 0.1);
}

.form-disclaimer {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.6;
  padding: 16px;
  background: white;
  border-left: 3px solid var(--accent-rose);
  border-radius: 4px;
}

footer {
  background: var(--text-dark);
  color: white;
  padding: 60px 160px;
  max-width: 1700px;
  margin: 100px auto 0;
  border-top: 1px solid var(--border-light);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: var(--accent-rose);
  font-size: 16px;
  margin-bottom: 20px;
}

.footer-section p {
  color: #ccc;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.footer-section a {
  color: #ccc;
  font-size: 14px;
  display: block;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

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

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 40px 0;
}

.footer-bottom {
  text-align: center;
  font-size: 12px;
  color: #999;
}

.footer-links {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #ccc;
  font-size: 13px;
}

.educational-disclaimer {
  background: linear-gradient(90deg, rgba(198, 138, 158, 0.1) 0%, rgba(95, 140, 95, 0.1) 100%);
  border: 1px solid var(--accent-rose);
  border-radius: 4px;
  padding: 24px;
  margin: 40px 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-dark);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid var(--border-light);
  padding: 20px 160px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  z-index: 999;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

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

.cookie-text {
  font-size: 14px;
  color: var(--text-dark);
  flex: 1;
  line-height: 1.6;
}

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

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.cookie-btn-accept {
  background: var(--accent-rose);
  color: white;
}

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

.cookie-btn-reject {
  background: var(--accent-beige);
  color: var(--text-dark);
  border: 1px solid var(--border-light);
}

.cookie-btn-reject:hover {
  background: rgba(249, 244, 235, 0.8);
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  padding: 40px 20px;
}

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

.modal-content {
  background-color: white;
  border-radius: 8px;
  padding: 40px;
  max-width: 700px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: var(--text-dark);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

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

.modal-content h1,
.modal-content h2 {
  color: var(--accent-rose);
}

.modal-content p {
  font-size: 14px;
  line-height: 1.8;
}

.modal-content ul {
  margin: 20px 0 20px 20px;
}

.modal-content li {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.8;
}

.success-message {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 40px;
  border-radius: 8px;
  text-align: center;
  z-index: 3000;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.success-message.show {
  display: block;
}

.success-message h2 {
  color: var(--accent-sage);
  margin-bottom: 16px;
}

.success-message p {
  color: var(--text-light);
  margin-bottom: 24px;
}

.success-close-btn {
  background: var(--accent-sage);
  color: white;
  padding: 12px 32px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
}

.success-close-btn:hover {
  background: var(--accent-rose);
}

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

  header, section, .quote-section, footer, .form-section, .cookie-banner {
    padding-left: 60px;
    padding-right: 60px;
  }

  .hero {
    padding: 60px;
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 20px;
  }

  nav {
    padding: 0 30px;
    height: 60px;
  }

  .nav-menu {
    gap: 20px;
  }

  .nav-menu a {
    font-size: 12px;
  }

  header, section, .quote-section, footer, .form-section, .cookie-banner {
    padding-left: 30px;
    padding-right: 30px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
  }

  .cookie-buttons {
    width: 100%;
    gap: 10px;
  }

  .cookie-btn {
    flex: 1;
    padding: 10px 16px;
  }

  table {
    font-size: 12px;
  }

  table th, table td {
    padding: 12px 8px;
  }
}
