:root {
  --color-bg-soft: #f9f8f7;
  --color-bg-light: #f0eff0;
  --color-text-primary: #2d3436;
  --color-accent-primary: #1a3a52;
  --color-accent-secondary: #4a9ba8;
  --color-accent-tertiary: #d4b896;
  --color-border: #e8e8e8;
  --color-white: #ffffff;
  --radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--color-bg-soft);
  color: var(--color-text-primary);
  line-height: 1.6;
  font-size: 16px;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
  margin: 1.5rem 0 0.75rem 0;
  line-height: 1.2;
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
  color: var(--color-accent-primary);
}

h2 {
  font-size: 2rem;
  color: var(--color-accent-primary);
  margin-top: 2rem;
}

h3 {
  font-size: 1.5rem;
  color: var(--color-accent-primary);
}

p {
  margin: 1rem 0;
  line-height: 1.6;
  letter-spacing: 0.3px;
}

header {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background-color: var(--color-accent-primary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.9rem;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  color: var(--color-text-primary);
  font-weight: 500;
  font-size: 0.95rem;
}

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

.legal-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
}

.legal-links a {
  color: #666;
}

footer {
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
  margin-top: 3rem;
  padding: 2.5rem 0;
}

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

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

.footer-section h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--color-accent-primary);
}

.footer-section p,
.footer-section li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #555;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin: 0.5rem 0;
}

.footer-section a {
  color: #666;
}

.footer-divider {
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
  margin-top: 2rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: #888;
}

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

.hero {
  background-color: var(--color-bg-light);
  padding: 4rem 20px;
  text-align: center;
  animation: fadeIn 0.6s ease-in;
}

.hero-with-image {
  background: linear-gradient(135deg, var(--color-bg-light) 0%, var(--color-bg-soft) 100%);
  padding: 3rem 20px;
}

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

.hero-text h1 {
  text-align: left;
  margin-top: 0;
}

.hero-text p {
  text-align: left;
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
}

.hero-image {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.button-group {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.button-group.text-left {
  justify-content: flex-start;
}

.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background-color: var(--color-accent-tertiary);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: #c4a884;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 184, 150, 0.3);
}

.btn-secondary {
  background-color: var(--color-accent-primary);
  color: var(--color-white);
}

.btn-secondary:hover {
  background-color: #0f2738;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 58, 82, 0.3);
}

.btn-tertiary {
  background-color: var(--color-accent-secondary);
  color: var(--color-white);
}

.btn-tertiary:hover {
  background-color: #3a8b93;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 155, 168, 0.3);
}

.hero-strip {
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.hero-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

section {
  padding: 3rem 0;
  animation: fadeIn 0.6s ease-in;
}

section h2 {
  text-align: center;
  margin-bottom: 2.5rem;
}

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

.section-split.reverse {
  direction: rtl;
}

.section-split.reverse > * {
  direction: ltr;
}

.section-wide {
  display: block;
}

.section-wide img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

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

.card {
  background-color: var(--color-white);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.card h3 {
  margin-top: 0;
  color: var(--color-accent-primary);
}

.card p {
  font-size: 0.95rem;
  color: #666;
}

.quote {
  font-style: italic;
  padding: 1.5rem;
  border-left: 4px solid var(--color-accent-tertiary);
  background-color: var(--color-bg-soft);
  margin: 1.5rem 0;
  border-radius: 4px;
}

.quote p {
  margin: 0;
  color: var(--color-text-primary);
}

.quote-author {
  font-weight: 600;
  margin-top: 0.75rem;
  color: var(--color-accent-primary);
}

.faq-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--color-bg-soft);
  transition: background-color 0.3s ease;
}

.faq-item:hover .faq-question {
  background-color: var(--color-bg-light);
}

.faq-toggle {
  font-size: 1.5rem;
  color: var(--color-accent-primary);
  transition: transform 0.3s ease;
}

.faq-answer {
  display: none;
  padding: 1.5rem;
  border-top: 1px solid var(--color-border);
  color: #666;
  line-height: 1.8;
}

.faq-answer p {
  margin: 0.75rem 0;
}

.faq-item.active .faq-answer {
  display: block;
}

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

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

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

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

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-accent-primary);
  box-shadow: 0 0 0 3px rgba(26, 58, 82, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

input[type="checkbox"] {
  margin-top: 0.25rem;
  cursor: pointer;
  accent-color: var(--color-accent-primary);
}

.checkbox-group label {
  margin: 0;
  font-weight: normal;
  cursor: pointer;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form {
  order: 2;
}

.contact-image {
  order: 1;
}

.contact-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.glossary-item {
  background-color: var(--color-white);
  padding: 1.5rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--color-accent-tertiary);
}

.glossary-item h4 {
  color: var(--color-accent-primary);
  margin-top: 0;
}

.glossary-item p {
  font-size: 0.95rem;
  color: #666;
}

.thank-you-content {
  text-align: center;
  padding: 3rem;
  background-color: var(--color-bg-light);
  border-radius: var(--radius);
  margin-top: 2rem;
}

.thank-you-content h1 {
  color: var(--color-accent-secondary);
}

.thank-you-content p {
  font-size: 1.1rem;
  color: #666;
  margin: 1.5rem 0;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding: 1.5rem 20px;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  z-index: 999;
  animation: slideUp 0.3s ease;
  display: none;
}

.cookie-banner.active {
  display: block;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.cookie-text {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}

.cookie-text a {
  color: var(--color-accent-primary);
  font-weight: 600;
}

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

.cookie-buttons button {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.cookie-accept:hover {
  background-color: #c4a884;
}

.cookie-decline {
  background-color: var(--color-bg-light);
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
}

.cookie-decline:hover {
  background-color: var(--color-border);
}

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

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

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  nav ul {
    gap: 1rem;
    font-size: 0.9rem;
  }

  .hero-content,
  .section-split,
  .contact-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-split.reverse {
    direction: ltr;
  }

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

  .hero-text h1,
  .hero-text p {
    text-align: center;
  }

  .button-group,
  .button-group.text-left {
    justify-content: center;
  }

  .btn {
    padding: 0.65rem 1.2rem;
    font-size: 0.9rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .cookie-buttons {
    justify-content: center;
    width: 100%;
  }

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

  .legal-links {
    flex-direction: column;
    gap: 0.5rem;
  }

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

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

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  .hero {
    padding: 2rem 15px;
  }

  section {
    padding: 2rem 0;
  }

  nav ul {
    gap: 0.75rem;
    font-size: 0.85rem;
  }

  .button-group {
    gap: 0.5rem;
  }

  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .section-wide img {
    margin-bottom: 1rem;
  }

  .container {
    padding: 0 15px;
  }

  .header-container {
    padding: 0 15px;
  }
}
