:root {
  --primary: #5987ae;
  --primary-dark: #456a8a;
  --primary-light: #7aa3c4;
  --cream: #f8f6f2;
  --cream-dark: #ebe6de;
  --text: #2c3e50;
  --text-light: #4a5f73;
  --white: #ffffff;
  --accent: #d4a574;
  --section-alt: #e8eef3;
  --section-warm: #f0ebe4;
  --shadow: 0 4px 20px rgba(44, 62, 80, 0.1);
  --radius: 12px;
  --max-width: 1140px;
  --transition: 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  min-width: 320px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--primary);
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.25;
  color: var(--text);
}

h1 { font-size: clamp(1.75rem, 5vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 4vw, 2rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.1rem, 3vw, 1.35rem); margin-bottom: 0.75rem; }

p { margin-bottom: 1rem; color: var(--text-light); }

ul, ol { margin: 0 0 1rem 1.25rem; color: var(--text-light); }
li { margin-bottom: 0.5rem; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.disclaimer-bar {
  background: var(--text);
  color: var(--cream);
  font-size: 0.8rem;
  text-align: center;
  padding: 0.5rem 1rem;
  line-height: 1.4;
}

.disclaimer-bar p {
  color: var(--cream);
  margin: 0;
}

.trust-panel {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
  margin-top: 1.5rem;
}

.trust-panel h3 {
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.trust-panel ul {
  margin-bottom: 0;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-list li {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--cream-dark);
}

.service-list li:last-child {
  border-bottom: none;
}

.service-list strong {
  color: var(--text);
  font-size: 1.05rem;
}

.site-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-link img {
  height: 40px;
  width: auto;
}

.logo-text {
  font-family: Georgia, serif;
  font-size: 0.95rem;
  color: var(--primary-dark);
  font-weight: 600;
  margin-left: 0.5rem;
  display: none;
}

@media (min-width: 480px) {
  .logo-text { display: inline; }
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 2px solid var(--primary);
  border-radius: 6px;
  padding: 8px 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 1rem 1.25rem 1.5rem;
  flex-direction: column;
  gap: 0.25rem;
}

.main-nav.open {
  display: flex;
}

.main-nav a {
  display: block;
  padding: 0.65rem 0;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--cream-dark);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }

  .main-nav {
    display: flex;
    position: static;
    flex-direction: row;
    box-shadow: none;
    padding: 0;
    gap: 1.25rem;
    background: transparent;
  }

  .main-nav a {
    border: none;
    padding: 0.25rem 0;
    font-size: 0.95rem;
  }
}

.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  background: var(--primary-dark) center/cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.75) 0%, rgba(89, 135, 174, 0.55) 100%);
  transition: opacity var(--transition);
}

.hero:hover::before {
  opacity: 0.85;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 1.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transform: translateY(0);
  transition: transform var(--transition);
}

.hero:hover h1 {
  transform: translateY(-4px);
}

.hero-lead {
  color: var(--cream);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  max-width: 640px;
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.hero-lead a {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-lead a:hover {
  color: var(--white);
}

.hero-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: var(--white);
  flex: 1 1 140px;
  max-width: 200px;
  transition: transform var(--transition), background var(--transition);
}

.hero-card:hover {
  transform: translateY(-6px) scale(1.02);
  background: rgba(255, 255, 255, 0.28);
}

.hero-card strong {
  display: block;
  font-size: 1.5rem;
  color: var(--white);
}

.hero-card span {
  font-size: 0.85rem;
  opacity: 0.95;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: var(--white) !important;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  text-align: center;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white) !important;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary-dark) !important;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--section-alt);
}

.section-warm {
  background: var(--section-warm);
}

.section-primary {
  background: var(--primary);
}

.section-primary h2,
.section-primary h3,
.section-primary p,
.section-primary li {
  color: var(--white);
}

.section-primary .material-icons {
  color: var(--cream) !important;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.section-header p {
  font-size: 1.05rem;
}

.icon-heading {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.icon-heading .material-icons {
  color: var(--accent);
  font-size: 2rem;
  flex-shrink: 0;
}

.section-primary .icon-heading .material-icons {
  color: var(--cream);
}

.grid-2 {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
}

.grid-3 {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  height: 100%;
}

.card h3 {
  color: var(--primary-dark);
}

.card-dark {
  background: var(--primary-dark);
}

.card-dark h3,
.card-dark p,
.card-dark li {
  color: var(--cream);
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--cream-dark);
}

.feature-list .material-icons {
  color: var(--primary);
  flex-shrink: 0;
}

.numbered-steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}

.numbered-steps li {
  counter-increment: step;
  position: relative;
  padding: 1rem 1rem 1rem 3.5rem;
  margin-bottom: 1rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.numbered-steps li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 2rem;
  height: 2rem;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.image-block {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .image-block { grid-template-columns: 1fr 1fr; }
  .image-block.reverse { direction: rtl; }
  .image-block.reverse > * { direction: ltr; }
}

.image-block figure {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-block figcaption {
  font-size: 0.85rem;
  color: var(--text-light);
  padding: 0.5rem 0;
  text-align: center;
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
}

.stat-box {
  flex: 1 1 120px;
  max-width: 180px;
  text-align: center;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  border-top: 4px solid var(--primary);
  box-shadow: var(--shadow);
}

.stat-box strong {
  display: block;
  font-size: 1.75rem;
  color: var(--primary);
}

.faq-list details {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-list summary {
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list details[open] summary {
  background: var(--primary);
  color: var(--white);
}

.faq-list .faq-answer {
  padding: 1rem 1.25rem 1.25rem;
}

.events-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 0.95rem;
}

.events-table th,
.events-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--cream-dark);
  color: var(--text-light);
}

.events-table th {
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
}

.events-table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 600px) {
  .events-table thead { display: none; }
  .events-table tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid var(--cream-dark);
    border-radius: 8px;
  }
  .events-table td {
    display: block;
    padding: 0.5rem 1rem;
    border: none;
  }
  .events-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--text);
    display: block;
    margin-bottom: 0.25rem;
  }
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  color: var(--text);
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--cream-dark);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 1rem;
  background: var(--white);
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.checkbox-row {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.checkbox-row input {
  width: auto;
  margin-top: 0.25rem;
}

.checkbox-row label {
  font-weight: 400;
  font-size: 0.9rem;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  width: 100%;
  min-height: 280px;
  border: 0;
  display: block;
}

.contact-info-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-info-card p {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.contact-info-card .material-icons {
  color: var(--primary);
}

.site-footer {
  background: var(--text);
  color: var(--cream);
  padding: 2.5rem 0 1.5rem;
}

.site-footer a {
  color: var(--cream);
}

.site-footer a:hover {
  color: var(--primary-light);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 600px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.site-footer h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.site-footer p,
.site-footer li {
  color: var(--cream);
  font-size: 0.9rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li { margin-bottom: 0.4rem; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
}

.footer-bottom p {
  color: var(--cream);
  margin: 0;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  padding: 1.25rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.cookie-banner h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.cookie-banner p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.cookie-actions .btn {
  font-size: 0.85rem;
  padding: 0.6rem 1rem;
}

.btn-secondary {
  background: var(--cream-dark);
  color: var(--text) !important;
}

.btn-secondary:hover {
  background: #ddd8d0;
}

.cookie-settings {
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--cream-dark);
}

.cookie-settings.open { display: block; }

.cookie-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--cream-dark);
}

.cookie-toggle label {
  font-weight: 500;
  color: var(--text);
}

.cookie-toggle input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
}

.cookie-toggle.disabled {
  opacity: 0.7;
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0 3rem;
}

.policy-content h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.policy-content h3 {
  margin-top: 1.5rem;
}

.success-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.25rem;
}

.success-box {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 520px;
}

.success-box .material-icons {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.highlight-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

.highlight-box p,
.highlight-box li {
  color: var(--cream);
}

.quote-block {
  border-left: 4px solid var(--primary);
  padding: 1rem 1.5rem;
  background: var(--white);
  margin: 1.5rem 0;
  font-style: italic;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.quote-block cite {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text-light);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 1rem 0;
  padding: 0;
}

.tag-list li {
  background: var(--primary);
  color: var(--white);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.85rem;
  margin: 0;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.comparison-table th,
.comparison-table td {
  padding: 0.75rem;
  border: 1px solid var(--cream-dark);
  color: var(--text-light);
  font-size: 0.9rem;
}

.comparison-table th {
  background: var(--section-alt);
  color: var(--text);
}

.page-hero {
  min-height: 280px;
}

.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: var(--cream);
}

.breadcrumb a {
  color: var(--cream);
}

@media (max-width: 320px) {
  .container { padding: 0 0.75rem; }
  .hero-card { max-width: 100%; }
  .btn { width: 100%; }
  .cookie-actions .btn { flex: 1 1 100%; }
}
