:root {
  --primary-color: #1A345A;
  --accent-color: #697B8C;
  --background-light: #F5F7F9;
  --text-dark: #333333;
  --text-light: #FFFFFF;
  --text-muted: #555;
  --border-color: #e0e0e0;
  --font-family: 'Lato', sans-serif;
  --spacing-unit: 8px;
  --header-height: 80px;
}

/* --- RESET & BASE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  color: var(--text-dark);
  background-color: #FFFFFF;
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-color);
  margin-bottom: calc(var(--spacing-unit) * 3);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
p { margin-bottom: calc(var(--spacing-unit) * 2); }
a { color: var(--accent-color); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--primary-color); }
ul, ol { list-style-position: inside; }
img { max-width: 100%; height: auto; display: block; }

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
.container-medium { max-width: 960px; }
.container-narrow { max-width: 800px; }
.container-article { max-width: 750px; }

/* --- HEADER --- */
.site-header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 0 calc(var(--spacing-unit) * 2);
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}
.logo:hover { color: var(--accent-color); }

.main-nav ul {
  display: flex;
  list-style: none;
  gap: calc(var(--spacing-unit) * 4);
}

.main-nav a {
  font-weight: 700;
  color: var(--text-dark);
  padding: calc(var(--spacing-unit) * 2) 0;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a.active {
  color: var(--primary-color);
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 220px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  z-index: 1;
  list-style: none;
  flex-direction: column;
  gap: 0;
  padding: var(--spacing-unit) 0;
  border-radius: 4px;
}

.dropdown:hover .dropdown-content {
  display: flex;
}

.dropdown-content li {
    width: 100%;
}

.dropdown-content a {
  color: var(--text-dark);
  padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 2);
  display: block;
  width: 100%;
  font-weight: 400;
}

.dropdown-content a:hover,
.dropdown-content a.active {
  background-color: var(--background-light);
  color: var(--primary-color);
}
.dropdown-content a::after { display: none; }


.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 22px;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-toggle span:nth-child(3) { bottom: 0; }


/* --- HERO SECTIONS --- */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--text-light);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--spacing-unit) * 8) 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(26, 52, 90, 0.8) 20%, transparent 100%),
    rgba(26, 52, 90, 0.5);
  z-index: 1;
}

.hero-home {
    background-image: url('https://images.pexels.com/photos/19317897/pexels-photo-19317897.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940');
    min-height: 100vh;
}
.hero-short {
    min-height: 40vh;
    align-items: center;
    text-align: center;
}
.hero-short::before {
    background: rgba(26, 52, 90, 0.6);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-content h1 {
  color: var(--text-light);
}
.hero-content .subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  opacity: 0.9;
  max-width: 70ch;
  margin: 0 auto;
}
.hero-short .subtitle { margin-top: var(--spacing-unit); }

.breadcrumb {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: var(--spacing-unit);
}
.breadcrumb a {
    color: var(--text-light);
    opacity: 0.8;
}
.breadcrumb a:hover {
    opacity: 1;
}

/* --- SECTION BLOCKS (BOLD BLOCKS STYLE) --- */
.section-block {
  padding: clamp(60px, 10vw, 120px) 0;
}
.section-block.bg-light { background-color: var(--background-light); }
.section-block.bg-primary { background-color: var(--primary-color); }
.section-block.text-light h1, .section-block.text-light h2, .section-block.text-light h3 {
    color: var(--text-light);
}
.section-block.text-light p, .section-block.text-light li { color: rgba(255,255,255,0.85); }
.section-block.text-light a { color: #fff; text-decoration: underline; }
.section-block.text-light a:hover { color: #ccc; }
.section-block.no-padding-bottom { padding-bottom: 0; }

.section-title {
  text-align: center;
  margin-bottom: calc(var(--spacing-unit) * 6);
}

.lead {
    font-size: 1.2rem;
    color: var(--text-muted);
}
.text-center { text-align: center; }

/* --- Components --- */
.content-image-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: calc(var(--spacing-unit) * 5);
  align-items: center;
}
.content-image-split .image-part img {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  width: 100%;
}
.showcase-image {
    margin-top: calc(var(--spacing-unit) * 4);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: calc(var(--spacing-unit) * 4);
}
.card {
  background-color: var(--primary-color); /* Overridden for bg-primary section */
  border: 1px solid var(--accent-color);
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.card-content {
  padding: calc(var(--spacing-unit) * 4);
}
.card-content h3 {
  margin-top: 0;
}
.card .text-link {
    font-weight: 700;
    color: var(--text-light);
    display: inline-block;
    margin-top: var(--spacing-unit);
    text-decoration: none;
}
.card .text-link:hover {
    text-decoration: underline;
}

.feature-list {
    list-style: none;
    padding-left: 0;
}
.feature-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: calc(var(--spacing-unit) * 2);
}
.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* --- ARTICLE CONTENT --- */
.article-content {
    line-height: 1.8;
}
.article-content h2,
.article-content h3 {
    margin-top: calc(var(--spacing-unit) * 6);
    margin-bottom: calc(var(--spacing-unit) * 3);
}
.article-content p,
.article-content.ul,
.article-content ol {
    margin-bottom: calc(var(--spacing-unit) * 3);
}
.article-content figure {
    margin: calc(var(--spacing-unit) * 5) 0;
}
.article-content figcaption {
    text-align: center;
    font-style: italic;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: var(--spacing-unit);
}
.article-content img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.article-content .schema-container {
    background-color: var(--background-light);
    padding: calc(var(--spacing-unit) * 4);
    border-radius: 8px;
    margin: calc(var(--spacing-unit) * 5) 0;
    border: 1px solid var(--border-color);
}
.schema {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
}
.schema-level {
    display: flex;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    flex-wrap: wrap;
}
.schema-box {
    background-color: #fff;
    border: 2px solid var(--accent-color);
    color: var(--primary-color);
    padding: 0.8rem 1.2rem;
    border-radius: 4px;
    text-align: center;
    font-weight: 700;
    flex-grow: 1;
    min-width: 150px;
}
.schema-box.large {
    width: 100%;
    max-width: 400px;
    flex-grow: 0;
}
.schema-arrows, .arrow-down {
    display: flex;
    justify-content: space-around;
    width: 100%;
    color: var(--accent-color);
    font-size: 1.5rem;
}
.arrow-down { justify-content: center; }

/* Sticky CTA */
.sticky-cta {
    background-color: #fff;
    border-top: 1px solid var(--border-color);
    position: sticky;
    bottom: -100px;
    left: 0;
    width: 100%;
    z-index: 900;
    padding: var(--spacing-unit) * 2;
    transition: bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 -4px 15px rgba(0,0,0,0.08);
}
.sticky-cta.is-visible {
    bottom: 0px;
}
.sticky-cta .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-unit);
    flex-wrap: wrap;
    text-align: center;
}
.sticky-cta p {
    margin: 0;
    font-weight: 700;
}
.sticky-cta a {
    font-weight: 700;
}

/* --- CONTACT PAGE --- */
.contact-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: calc(var(--spacing-unit) * 8);
}
.contact-info h2 { margin-top: 0; }
address { font-style: normal; line-height: 1.6; margin-bottom: var(--spacing-unit) * 3; }
.contact-details { list-style: none; padding: 0; }
.contact-details li { margin-bottom: var(--spacing-unit)*2; }

/* --- FORM STYLES --- */
.form-group {
    margin-bottom: calc(var(--spacing-unit) * 3);
}
.form-group label {
    display: block;
    margin-bottom: var(--spacing-unit);
    font-weight: 700;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: calc(var(--spacing-unit) * 1.5);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(105, 123, 140, 0.2);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 4);
    border-radius: 4px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}
.btn-primary:hover {
    background-color: var(--accent-color);
}
.btn-secondary {
    background-color: var(--accent-color);
    color: var(--text-light);
}
.btn-secondary:hover {
    background-color: var(--primary-color);
}

/* Map Container */
.map-container {
  width: 100%;
  height: 450px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-top: calc(var(--spacing-unit) * 5);
}
.map-container iframe { width: 100%; height: 100%; border: none; }

/* THANK YOU / 404 PAGE */
.thank-you-section {
  min-height: calc(100vh - var(--header-height) - 300px); /* Adjust footer approx height */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--spacing-unit) * 10) calc(var(--spacing-unit) * 2);
}
.thank-you-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}
.thank-you-icon.alert-icon { background: #d32f2f; }
.thank-you-icon svg { width: 40px; height: 40px; color: white; }
.thank-you-section h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 20px; }
.thank-you-section p { font-size: 1.2rem; color: var(--text-muted); max-width: 600px; margin-bottom: 30px; }

/* --- FOOTER --- */
.site-footer-dark {
  background-color: var(--primary-color);
  color: rgba(255,255,255,0.7);
  padding: calc(var(--spacing-unit) * 8) 0 0;
  font-size: 0.9rem;
}
.site-footer-dark h4 { color: var(--text-light); }
.site-footer-dark a { color: rgba(255,255,255,0.8); }
.site-footer-dark a:hover { color: var(--text-light); }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: calc(var(--spacing-unit) * 4);
  margin-bottom: calc(var(--spacing-unit) * 6);
}
.footer-column ul {
    list-style: none;
    padding: 0;
}
.footer-column li {
    margin-bottom: var(--spacing-unit);
}
.footer-bottom {
  border-top: 1px solid var(--accent-color);
  padding: calc(var(--spacing-unit) * 3) 0;
  text-align: center;
  margin-top: calc(var(--spacing-unit) * 4);
}
.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
}

/* DISCLAIMER SECTION */
.disclaimer-section {
  background-color: rgba(255,255,255, 0.05);
  color: inherit;
  padding: 20px 30px;
  margin: 30px 0 0 0;
  border-radius: 8px;
  text-align: left;
  font-size: 13px;
  line-height: 1.6;
  border: 1px solid var(--accent-color);
}
.disclaimer-section p {
    margin: 0;
}
.disclaimer-section strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 3);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: calc(var(--spacing-unit) * 3);
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
  flex-wrap: wrap;
}
.cookie-banner p {
  margin: 0;
  flex-grow: 1;
  font-size: 0.9rem;
}
.cookie-banner a {
  color: var(--text-light);
  text-decoration: underline;
}
.cookie-buttons {
  display: flex;
  gap: calc(var(--spacing-unit) * 2);
  flex-shrink: 0;
}
.cookie-buttons button {
  padding: var(--spacing-unit) calc(var(--spacing-unit) * 3);
  background-color: var(--text-light);
  color: var(--primary-color);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
}
.cookie-buttons button.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--accent-color);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: calc(var(--spacing-unit) * 6);
  }
}

@media (max-width: 850px) {
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    flex-direction: column;
    padding: calc(var(--spacing-unit) * 2);
    border-top: 1px solid var(--border-color);
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav ul {
    flex-direction: column;
    width: 100%;
    gap: var(--spacing-unit);
  }
  .main-nav a { display: block; width: 100%; padding: var(--spacing-unit) * 2; }
  .main-nav a::after { display: none; }
  .main-nav a:hover, .main-nav a.active {
    background-color: var(--background-light);
    color: var(--primary-color);
    border-radius: 4px;
  }
  .dropdown:hover .dropdown-content { display: none; } /* Disable on click-based mobile */
  .dropdown-content {
    position: static;
    box-shadow: none;
    background-color: transparent;
    padding: 0 0 0 calc(var(--spacing-unit) * 2);
    min-width: unset;
    display: none;
  }
  .dropdown.open > .dropdown-content {
      display: flex;
  }
  .dropdown-content a {
      padding: var(--spacing-unit);
  }

  .menu-toggle {
    display: block;
  }
  .menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg);
    top: 50%;
  }
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg);
    top: 50%;
  }
  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
    .content-image-split { grid-template-columns: 1fr; }
    .content-image-split.reversed .image-part { order: -1; }
    .map-container { height: 350px; }
}