:root {
  --primary: #3C4A79;
  --primary-dark: #2a3558;
  --primary-light: #5a6a9e;
  --accent: #F4A261;
  --accent-contrast: #E76F51;
  --bg-light: #F4F6FA;
  --bg-dark: #1E2438;
  --bg-alt: #E8ECF4;
  --text-dark: #1a1f33;
  --text-light: #ffffff;
  --text-muted: #4a5568;
  --section-alt: #DDE3F0;
  --section-dark: #2E3A5C;
  --border: #c5cde0;
  --shadow: 0 4px 24px rgba(60, 74, 121, 0.12);
  --radius: 8px;
  --transition: 0.3s ease;
  --max-width: 1200px;
  --header-height: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-contrast);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.disclaimer-bar {
  background: var(--bg-dark);
  color: var(--text-light);
  font-size: 0.8rem;
  text-align: center;
  padding: 0.5rem 1rem;
  line-height: 1.4;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--text-light);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link img {
  height: 40px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a {
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-size: 1.5rem;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius);
  cursor: pointer;
  line-height: 1;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.hero-split.reverse {
  direction: rtl;
}

.hero-split.reverse > * {
  direction: ltr;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 2.5rem;
  background: var(--primary);
  color: var(--text-light);
}

.hero-content h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.05rem;
  opacity: 0.92;
  margin-bottom: 1.5rem;
  max-width: 520px;
}

.hero-image {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: var(--text-dark);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-contrast);
  border-color: var(--accent-contrast);
  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(--primary);
}

.btn-dark {
  background: var(--primary);
  color: var(--text-light);
  border-color: var(--primary);
}

.btn-dark:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--text-light);
}

section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--section-alt);
}

.section-dark {
  background: var(--section-dark);
  color: var(--text-light);
}

.section-dark a {
  color: var(--accent);
}

.section-dark .text-muted {
  color: rgba(255, 255, 255, 0.78);
}

.section-primary {
  background: var(--primary);
  color: var(--text-light);
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: inherit;
  margin-bottom: 0.75rem;
}

.section-header p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--text-muted);
}

.section-dark .section-header p,
.section-primary .section-header p {
  color: rgba(255, 255, 255, 0.85);
}

.text-muted {
  color: var(--text-muted);
}

.masonry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.masonry-item {
  background: var(--text-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.masonry-item.tall {
  grid-row: span 2;
}

.masonry-item.wide {
  grid-column: span 2;
}

.masonry-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.masonry-item.tall img {
  height: 280px;
}

.masonry-body {
  padding: 1.5rem;
  flex: 1;
}


.masonry-body h3 i,
.feature-card h3 i {
  color: var(--accent-contrast);
  margin-right: 0.35rem;
}

.section-dark .masonry-body h3 i,
.section-dark .feature-card h3 i,
.section-primary .masonry-body h3 i,
.section-primary .feature-card h3 i {
  color: var(--accent);
}

.masonry-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.section-dark 
.masonry-body h3 i,
.feature-card h3 i {
  color: var(--accent-contrast);
  margin-right: 0.35rem;
}

.section-dark .masonry-body h3 i,
.section-dark .feature-card h3 i,
.section-primary .masonry-body h3 i,
.section-primary .feature-card h3 i {
  color: var(--accent);
}

.masonry-body h3 {
  color: var(--accent);
}

.masonry-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.section-dark .masonry-item {
  background: var(--bg-dark);
}

.section-dark .masonry-body p {
  color: rgba(255, 255, 255, 0.82);
}

.icon-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.icon-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.icon-list i {
  font-size: 1.5rem;
  color: var(--accent-contrast);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.section-dark .icon-list i,
.section-primary .icon-list i {
  color: var(--accent);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.two-col img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
  max-height: 400px;
}

.two-col img.img-full {
  object-fit: contain;
  max-height: none;
  height: auto;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--text-light);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
}

.feature-card h3 {
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.section-dark .feature-card {
  background: rgba(255, 255, 255, 0.08);
  border-left-color: var(--accent);
}

.section-dark .feature-card h3 {
  color: var(--accent);
}

.section-dark .feature-card p {
  color: rgba(255, 255, 255, 0.85);
}

.numbered-list {
  counter-reset: item;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.numbered-list li {
  counter-increment: item;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--text-light);
  padding: 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.numbered-list li::before {
  content: counter(item);
  background: var(--primary);
  color: var(--text-light);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.numbered-list li p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: var(--radius);
}

.stat-item i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: block;
}

.stat-item strong {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.stat-item span {
  font-size: 0.85rem;
  opacity: 0.85;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--text-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question i {
  color: var(--accent-contrast);
  transition: transform var(--transition);
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.event-card {
  background: var(--text-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--primary);
  display: flex;
  gap: 1rem;
}

.event-date {
  background: var(--primary);
  color: var(--text-light);
  padding: 0.75rem;
  border-radius: var(--radius);
  text-align: center;
  min-width: 64px;
  flex-shrink: 0;
}

.event-date strong {
  display: block;
  font-size: 1.5rem;
  line-height: 1;
}

.event-date span {
  font-size: 0.75rem;
  text-transform: uppercase;
}

.event-info h3 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.event-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.health-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.health-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--text-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.health-item i {
  font-size: 1.75rem;
  color: var(--primary);
  flex-shrink: 0;
}

.health-item h4 {
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.health-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.test-container {
  max-width: 720px;
  margin: 0 auto;
  background: var(--text-light);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.test-progress {
  height: 6px;
  background: var(--bg-alt);
  border-radius: 3px;
  margin-bottom: 2rem;
  overflow: hidden;
}

.test-progress-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  transition: width var(--transition);
  width: 0;
}

.test-question {
  display: none;
}

.test-question.active {
  display: block;
}

.test-question h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.test-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.test-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}

.test-option:hover {
  border-color: var(--primary-light);
  background: var(--bg-alt);
}

.test-option input {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
}

.test-result {
  display: none;
  text-align: center;
}

.test-result.visible {
  display: block;
}

.test-score {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1rem 0;
}

.test-score-label {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.test-tips {
  text-align: left;
  background: var(--bg-alt);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-top: 1.5rem;
}

.test-tips h4 {
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.test-tips ul {
  list-style: disc;
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.test-tips li {
  margin-bottom: 0.5rem;
}

.test-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  gap: 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--accent-contrast);
  flex-shrink: 0;
}

.contact-form {
  background: var(--text-light);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--primary);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition);
  background: var(--bg-light);
  color: var(--text-dark);
}

.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;
  gap: 0.75rem;
  align-items: flex-start;
}

.checkbox-group input {
  margin-top: 0.25rem;
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.checkbox-group label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

.map-container {
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: 0;
  display: block;
}

.site-footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-grid h4 {
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-grid p,
.footer-grid a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.footer-grid a:hover {
  color: var(--accent);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-legal {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 1.25rem;
  z-index: 9999;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform var(--transition);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}

.cookie-text {
  flex: 1;
  min-width: 240px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-text a {
  color: var(--accent);
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-btn {
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}

.cookie-btn-accept {
  background: var(--accent);
  color: var(--text-dark);
}

.cookie-btn-accept:hover {
  background: var(--accent-contrast);
  color: var(--text-light);
}

.cookie-btn-reject {
  background: var(--text-light);
  color: var(--primary);
  border-color: var(--text-light);
}

.cookie-btn-reject:hover {
  background: var(--bg-alt);
  border-color: var(--bg-alt);
  color: var(--primary-dark);
}

.cookie-btn-settings {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.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(--text-light);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-modal-content h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.cookie-category {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.cookie-category:last-of-type {
  border-bottom: none;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.cookie-category h4 {
  color: var(--primary);
  font-size: 0.95rem;
}

.cookie-category p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--border);
  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(--text-light);
  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-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.cookie-modal-reject {
  background: var(--text-light);
  color: var(--primary);
  border: 2px solid var(--border);
}

.cookie-modal-reject:hover {
  background: var(--bg-alt);
  border-color: var(--primary);
  color: var(--primary-dark);
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 0;
}

.policy-content h1 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 2rem;
}

.policy-content h2 {
  color: var(--primary);
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
}

.policy-content p,
.policy-content li {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.policy-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.policy-content code {
  font-family: Consolas, Monaco, "Courier New", monospace;
  font-size: 0.88em;
  background: var(--bg-alt);
  color: var(--primary-dark);
  padding: 0.15em 0.45em;
  border-radius: 4px;
  word-break: break-word;
}

.success-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1rem;
}

.success-box {
  background: var(--text-light);
  padding: 3rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 560px;
}

.success-box i {
  font-size: 4rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.success-box h1 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.success-box p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.page-hero {
  background: var(--primary);
  color: var(--text-light);
  padding: 3rem 0;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.page-hero p {
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

.highlight-box {
  background: var(--primary);
  color: var(--text-light);
  padding: 2rem;
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

.highlight-box h3 {
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.cta-section {
  text-align: center;
  padding: 3rem 0;
}

.cta-section h2 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

@media (max-width: 992px) {
  .masonry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .masonry-item.wide {
    grid-column: span 1;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--text-light);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 999;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav a {
    padding: 0.85rem 0;
    width: 100%;
    border-bottom: 1px solid var(--bg-alt);
  }

  .hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-content {
    padding: 2.5rem 1.5rem;
    order: 2;
  }

  .hero-image {
    order: 1;
    min-height: 240px;
  }

  .hero-split.reverse {
    direction: ltr;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .masonry-grid {
    grid-template-columns: 1fr;
  }

  .masonry-item.tall {
    grid-row: span 1;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.5rem;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
    text-align: center;
  }

  .test-container {
    padding: 1.5rem;
  }

  .test-nav {
    flex-direction: column;
  }

  .test-nav .btn {
    width: 100%;
  }

  .map-container iframe {
    height: 280px;
  }
}

@media (max-width: 320px) {
  html {
    font-size: 14px;
  }

  .container {
    padding: 0 0.75rem;
  }

  .header-inner {
    min-height: 60px;
  }

  .logo-link img {
    height: 32px;
  }

  .hero-content {
    padding: 2rem 1rem;
  }

  .feature-card,
  .contact-form {
    padding: 1.25rem;
  }

  .disclaimer-bar {
    font-size: 0.72rem;
  }
}

.trust-bar {
  background: var(--text-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.trust-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.trust-item i {
  font-size: 1.35rem;
  color: var(--accent-contrast);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.trust-item strong {
  display: block;
  color: var(--primary);
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
}

.trust-item span {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.ads-disclaimer-box {
  background: var(--bg-alt);
  border-left: 4px solid var(--primary);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

.ads-disclaimer-box p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.ads-disclaimer-box p:last-child {
  margin-bottom: 0;
}

.test-disclaimer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: left;
}

.map-placeholder {
  background: var(--bg-alt);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
  text-align: center;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.map-placeholder p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 420px;
  line-height: 1.5;
}

.map-placeholder i {
  color: var(--accent-contrast);
  font-size: 2rem;
}

.footer-bottom p {
  margin-bottom: 0.35rem;
}

.footer-bottom p:last-child {
  margin-bottom: 0;
}

.footer-contact-line {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.5rem;
}

.footer-contact-line a {
  color: rgba(255, 255, 255, 0.78);
}
