@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  --primary: #8DA79A;
  --primary-dark: #6B8578;
  --primary-light: #B5C9BF;
  --accent: #2C3E36;
  --accent-light: #3D5248;
  --text-dark: #1A2420;
  --text-light: #F5F7F6;
  --text-muted: #4A5C54;
  --bg-light: #F0F4F2;
  --bg-dark: #2A3832;
  --bg-contrast: #E8EDEA;
  --bg-artistic: #D4DFD9;
  --white: #FFFFFF;
  --shadow: rgba(42, 56, 50, 0.12);
  --transition: 0.3s ease;
  --radius: 8px;
  --radius-lg: 16px;
  --max-width: 1200px;
  --header-height: 72px;
  --disclaimer-height: 56px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.7;
  overflow-x: hidden;
  padding-top: calc(var(--disclaimer-height) + var(--header-height));
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p { margin-bottom: 1rem; }

ul, ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Disclaimer */
.disclaimer-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background-color: var(--accent);
  color: var(--text-light);
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.78rem;
  line-height: 1.45;
}

@media (max-width: 480px) {
  .disclaimer-bar {
    font-size: 0.7rem;
    padding: 0.5rem 0.75rem;
  }
}

/* Header */
.site-header {
  position: fixed;
  top: var(--disclaimer-height);
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(42, 56, 50, 0.95);
  backdrop-filter: blur(10px);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-link img {
  width: 42px;
  height: 42px;
}

.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-nav a {
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a:hover {
  color: var(--primary-light);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-light);
  font-size: 1.5rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: calc(-1 * (var(--disclaimer-height) + var(--header-height)));
  padding-top: calc(var(--disclaimer-height) + var(--header-height));
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(42, 56, 50, 0.75) 0%,
    rgba(141, 167, 154, 0.45) 50%,
    rgba(26, 36, 32, 0.65) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 800px;
}

.hero-content h1 {
  color: var(--text-light);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  color: var(--text-light);
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-dark);
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--text-light);
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border-color: var(--text-light);
}

.btn-outline:hover {
  background: var(--text-light);
  color: var(--accent);
}

.btn-dark {
  background-color: var(--accent);
  color: var(--text-light);
  border-color: var(--accent);
}

.btn-dark:hover {
  background-color: var(--accent-light);
  border-color: var(--accent-light);
  color: var(--text-light);
}

/* Sections */
section {
  padding: 5rem 0;
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--text-light);
}

.section-dark p,
.section-dark li {
  color: var(--bg-contrast);
}

.section-contrast {
  background-color: var(--bg-artistic);
}

.section-light {
  background-color: var(--bg-light);
}

.section-primary {
  background-color: var(--primary-light);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header p {
  max-width: 700px;
  margin: 1rem auto 0;
  color: var(--text-muted);
}

.section-dark .section-header p {
  color: var(--primary-light);
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.section-dark .section-label {
  color: var(--primary);
}

/* Grid layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 4px 24px var(--shadow);
  transition: transform var(--transition);
}

.card:hover {
  transform: translateY(-4px);
}

.section-dark .card {
  background: var(--accent-light);
  color: var(--text-light);
}

.section-dark .card h3,
.section-dark .card h4 {
  color: var(--text-light);
}

.section-dark .card p {
  color: var(--bg-contrast);
}

.card-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-dark .card-icon {
  color: var(--primary);
}

/* Image blocks */
.image-block {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.image-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.image-block-frame {
  border: 3px solid var(--primary);
  padding: 0.5rem;
  border-radius: var(--radius-lg);
}

/* Feature list */
.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
}

.section-dark .feature-list li {
  background: rgba(61, 82, 72, 0.5);
}

.feature-list i {
  font-size: 1.4rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.section-dark .feature-list i {
  color: var(--primary);
}

/* Numbered steps */
.steps-list {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.steps-list li {
  counter-increment: step;
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 4.5rem;
  margin-bottom: 1rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px var(--shadow);
  color: var(--accent);
}

.steps-list li strong {
  color: var(--primary-dark);
}

.section-dark .steps-list li {
  background: var(--accent-light);
  color: var(--primary-light);
  border-left: 4px solid var(--primary);
}

.section-dark .steps-list li strong {
  color: var(--text-light);
}

.section-primary .steps-list li {
  color: var(--accent);
}

.section-primary .steps-list li strong {
  color: var(--primary-dark);
}

.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.25rem;
  height: 2.25rem;
  background: var(--primary);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
}

.section-dark .steps-list li::before {
  background: var(--primary);
  color: var(--accent);
}

/* Quote block */
.quote-block {
  border-left: 4px solid var(--primary);
  padding: 1.5rem 2rem;
  background: var(--bg-contrast);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--text-dark);
}

.section-dark .quote-block {
  background: var(--accent-light);
  color: var(--text-light);
  border-left-color: var(--primary);
}

/* Stats row */
.stats-row {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--primary-dark);
}

.section-dark .stat-item h3 {
  color: var(--primary);
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.section-dark .stat-item p {
  color: var(--primary-light);
}

/* FAQ */
.faq-list {
  list-style: none;
  padding: 0;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 2px 12px var(--shadow);
}

.section-dark .faq-item {
  background: var(--accent-light);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  text-align: left;
}

.section-dark .faq-question {
  color: var(--text-light);
}

.faq-question i {
  font-size: 1.2rem;
  color: var(--primary-dark);
  transition: transform var(--transition);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.25rem;
}

/* Events calendar */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.event-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
}

.section-dark .event-card {
  background: var(--accent-light);
}

.event-date {
  background: var(--primary);
  color: var(--text-dark);
  padding: 1rem;
  text-align: center;
  font-weight: 600;
}

.event-date span {
  display: block;
  font-size: 1.8rem;
  font-family: 'Cormorant Garamond', serif;
}

.event-body {
  padding: 1.25rem;
}

.event-body h4 {
  margin-bottom: 0.5rem;
}

/* Health guidelines */
.guidelines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.guideline-card {
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--primary);
  box-shadow: 0 4px 16px var(--shadow);
}

.section-dark .guideline-card {
  background: var(--accent-light);
}

.guideline-card i {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-dark .guideline-card i {
  color: var(--primary);
}

/* Sensory test */
.test-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 8px 32px var(--shadow);
}

.section-dark .test-container {
  background: var(--accent-light);
}

.test-question {
  margin-bottom: 2rem;
  display: none;
}

.test-question.active {
  display: block;
}

.test-question h3 {
  margin-bottom: 1.25rem;
}

.test-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.test-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--bg-contrast);
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}

.test-option:hover,
.test-option.selected {
  border-color: var(--primary);
  background: var(--primary-light);
}

.test-option input {
  accent-color: var(--primary-dark);
}

.test-progress {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.progress-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-artistic);
  transition: background var(--transition);
}

.progress-dot.active,
.progress-dot.completed {
  background: var(--primary);
}

.test-result {
  display: none;
  text-align: center;
  padding: 2rem;
}

.test-result.visible {
  display: block;
}

.result-recipe {
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 1.5rem;
  border: 2px solid var(--primary);
}

.result-recipe h3 {
  color: var(--accent);
  margin-bottom: 1rem;
}

.test-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--bg-artistic);
  border-radius: var(--radius);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--bg-light);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.checkbox-group input {
  margin-top: 0.3rem;
  accent-color: var(--primary-dark);
}

.checkbox-group label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-info-block {
  padding: 2rem 0;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-item i {
  font-size: 1.4rem;
  color: var(--accent);
  margin-top: 0.2rem;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 2rem;
  box-shadow: 0 4px 20px var(--shadow);
}

.map-container iframe {
  width: 100%;
  height: 350px;
  border: 0;
}

.map-consent-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px var(--shadow);
  margin-top: 2rem;
}

.map-consent-block p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.map-consent-block .btn {
  margin: 0.35rem;
}

.footer-links .btn-open-cookie-settings {
  color: var(--primary-light);
  cursor: pointer;
}

.footer-links .btn-open-cookie-settings:hover {
  color: var(--text-light);
}

/* Page hero (inner pages) */
.page-hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--accent-light) 100%);
  text-align: center;
  margin-top: 0;
}

.page-hero h1 {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.page-hero p {
  color: var(--primary-light);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Policy pages */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
}

.policy-content h2 {
  margin: 2.5rem 0 1rem;
  font-size: 1.6rem;
}

.policy-content h3 {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.2rem;
}

.policy-content ul {
  margin-bottom: 1.5rem;
}

.policy-content p {
  color: var(--text-muted);
}

.policy-content a {
  color: var(--primary-dark);
  text-decoration: underline;
}

.policy-content a:hover {
  color: var(--accent);
}

.policy-content code {
  background: var(--bg-contrast);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--accent);
}

/* Success page */
.success-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.25rem 4rem;
  margin-top: 0;
}

.success-icon {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

/* Footer */
.site-footer {
  background-color: var(--accent);
  color: var(--text-light);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  color: var(--primary-light);
  font-size: 0.95rem;
  margin-top: 1rem;
}

.footer-links h4 {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: var(--primary-light);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--text-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--primary-light);
}

.footer-bottom a {
  color: var(--text-light);
  text-decoration: underline;
}

.footer-bottom a:hover {
  color: var(--primary);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--accent);
  color: var(--text-light);
  padding: 1.5rem;
  z-index: 9999;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cookie-text {
  flex: 1;
  min-width: 250px;
  font-size: 0.9rem;
}

.cookie-text a {
  color: var(--primary-light);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cookie-buttons .btn {
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem;
}

.btn-cookie-accept {
  background: var(--primary);
  color: var(--text-dark);
  border-color: var(--primary);
}

.btn-cookie-reject {
  background: transparent;
  color: var(--text-light);
  border-color: var(--text-light);
}

.btn-cookie-settings {
  background: transparent;
  color: var(--primary-light);
  border-color: var(--primary-light);
}

/* Cookie settings modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cookie-modal.visible {
  display: flex;
}

.cookie-modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-modal-content h3 {
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.cookie-category {
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: var(--bg-contrast);
  border-radius: var(--radius);
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.cookie-category h4 {
  color: var(--text-dark);
  font-size: 1rem;
}

.cookie-category p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--bg-artistic);
  border-radius: 26px;
  cursor: pointer;
  transition: background var(--transition);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  bottom: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: transform var(--transition);
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--primary);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(22px);
}

.toggle-switch input:disabled + .toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-modal-buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  justify-content: flex-end;
}

/* Split content block */
.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px var(--shadow);
}

.split-block-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

/* Tag pills */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.tag-list li {
  background: var(--primary);
  color: var(--text-dark);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid var(--bg-light);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: calc(var(--disclaimer-height) + var(--header-height));
  left: 0;
  right: 0;
  background: var(--accent);
  padding: 1.5rem;
  z-index: 999;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
}

.mobile-nav li {
  margin-bottom: 0.75rem;
}

.mobile-nav a {
  color: var(--text-light);
  font-size: 1.1rem;
  display: block;
  padding: 0.5rem 0;
}

/* Responsive */
@media (max-width: 992px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-nav {
    display: block;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .contact-grid,
  .split-block {
    grid-template-columns: 1fr;
  }

  .split-block-image {
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 450px;
  }

  section {
    padding: 3.5rem 0;
  }

  .cookie-banner .container {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 480px) {
  :root {
    --header-height: 60px;
  }

  .container {
    padding: 0 1rem;
  }

  .hero-content {
    padding: 1.25rem;
  }

  .card {
    padding: 1.5rem;
  }

  .test-container {
    padding: 1.5rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .logo-text {
    font-size: 0.95rem;
  }

  .cookie-buttons .btn {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 320px) {
  html {
    font-size: 14px;
  }

  .logo-link img {
    width: 34px;
    height: 34px;
  }

  .logo-text {
    font-size: 0.8rem;
  }

  .btn {
    padding: 0.7rem 1.25rem;
    font-size: 0.85rem;
  }

  .hero {
    min-height: 380px;
  }

  .test-option {
    padding: 0.75rem;
    font-size: 0.9rem;
  }
}
