/* ===== CSS RESET & NORMALIZATION ===== */
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #f6f6f6;
  color: #222;
  line-height: 1.6;
  min-height: 100vh;
}
img, picture {
  max-width: 100%;
  height: auto;
  display: block;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #224265;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin-bottom: 0.6em;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }

ul, ol {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

strong { font-weight: 700; }
a {
  color: #224265;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFD100;
  outline: none;
}

button, .cta {
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
  border: none;
  outline: none;
}

/* === COLOR SCHEME & THEME === */
:root {
  --color-primary: #224265;
  --color-secondary: #D2C9B7;
  --color-accent: #FFD100;
  --color-danger: #f94f58;
  --color-success: #3ad29f;
  --color-bg: #ffffff;
  --color-bg-section: #f6f6f6;
  --color-dark: #1D2836;
}

/* ===== CONTAINER & LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-section);
  border-radius: 32px;
  box-shadow: 0 4px 24px rgba(34, 66, 101, 0.08);
}
@media (min-width: 768px) {
  .section {
    padding: 56px 40px;
  }
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 24px rgba(34,66,101,0.10);
  position: relative;
  z-index: 1000;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}
header img {
  height: 44px;
  margin-right: 18px;
}
.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  border-radius: 6px;
  padding: 7px 17px;
  transition: background 0.16s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus, .main-nav a.active {
  background: var(--color-accent);
  color: var(--color-primary);
}

.cta.primary {
  margin-left: 16px;
  background: var(--color-accent);
  color: var(--color-primary);
  font-size: 1.12rem;
  font-weight: 800;
  border-radius: 24px;
  padding: 12px 30px;
  box-shadow: 0 2px 10px rgba(255,209,0,0.09);
  outline: 2px solid transparent;
  border: 2px solid var(--color-accent);
  letter-spacing: 0.03em;
  transition: background 0.16s, color 0.16s, outline 0.18s;
  display: inline-block;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--color-primary);
  color: #FFD100;
  outline: 2px solid var(--color-accent);
}
.cta.secondary {
  background: var(--color-primary);
  color: var(--color-accent);
  border-radius: 22px;
  padding: 10px 26px;
  font-weight: 700;
  border: 2px solid var(--color-primary);
  outline: 2px solid transparent;
  transition: background 0.14s, color 0.14s;
  margin-top: 12px;
}
.cta.secondary:hover, .cta.secondary:focus {
  color: var(--color-primary);
  background: var(--color-accent);
  border: 2px solid var(--color-accent);
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  background: var(--color-accent);
  color: var(--color-primary);
  font-size: 2rem;
  border-radius: 12px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  border: none;
  box-shadow: 0 2px 8px rgba(255,209,0,0.07);
  z-index: 1100;
  transition: background 0.16s, color 0.16s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  outline: 2px solid var(--color-accent);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  color: var(--color-primary);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 0 0 0 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--color-primary);
  font-size: 2.2rem;
  padding: 18px 20px 8px 0;
  align-self: flex-end;
  border: none;
  cursor: pointer;
  transition: color 0.12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  margin-top: 40px;
}
.mobile-nav a {
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 13px 0;
  border-radius: 8px;
  width: 90vw;
  text-align: center;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: #224265;
}

@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}
@media (max-width: 1023.98px) {
  .main-nav {
    display: none;
  }
  .cta.primary {
    display: none;
  }
}


/* ===== HERO & CTA ===== */
.hero {
  background: linear-gradient(90deg, #224265 80%, #FFD100 140%);
  color: #fff;
  min-height: 350px;
  padding: 60px 0 42px 0;
  display: flex;
  align-items: center;
  margin-bottom: 0;
}
.hero .container {
  align-items: flex-start;
  flex-direction: column;
}
.hero h1 {
  color: #FFD100;
  font-size: 2.3rem;
  text-shadow: 0 2px 14px #1a2941cc;
  margin-bottom: 18px;
}
.hero p {
  max-width: 600px;
  margin-bottom: 35px;
  color: #fff9ea;
  font-size: 1.18rem;
  font-weight: 500;
}
@media (min-width: 600px) {
  .hero h1 { font-size: 2.9rem; }
  .hero { min-height: 420px; }
}

.cta_highlight_box, .cta.thank-you .content-wrapper {
  background: #FFD100;
  color: #1D2836;
  border-radius: 20px;
  padding: 30px 18px;
  text-align: center;
  box-shadow: 0 4px 26px rgba(34,66,101,0.09);
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.cta_highlight_box h2, .cta.thank-you h1 {
  color: #224265;
  font-size: 2rem;
}
.cta_highlight_box a, .cta.thank-you a.cta.secondary {
  margin-top: 17px;
}

/* ===== FLEXBOX LAYOUTS ===== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: #fff;
  box-shadow: 0 4px 18px rgba(34,66,101,0.09);
  border-radius: 18px;
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
  flex: 1 1 300px;
  min-width: 260px;
  transition: box-shadow 0.19s, transform 0.17s;
}
.card:hover {
  box-shadow: 0 6px 25px rgba(34,66,101,0.17);
  transform: translateY(-3px) scale(1.022);
}

.content-grid, .features .content-wrapper, .services .content-wrapper, .blog .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .content-grid, .features .content-wrapper, .services .content-wrapper {
    flex-direction: column;
    gap: 16px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 26px 18px 26px;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(34,66,101,0.13);
  font-size: 1.08rem;
  max-width: 540px;
  min-width: 220px;
  border-left: 8px solid #FFD100;
  transition: box-shadow 0.17s;
}
.testimonial-card p {
  font-size: 1.05rem;
  color: #1D2836;
  font-style: italic;
  margin: 0 0 7px 0;
}
.testimonial-author {
  font-size: 0.98rem;
  color: #224265;
  font-weight: 700;
}
.stars {
  font-size: 1rem;
  padding-left: 7px;
  color: #FFD100;
  letter-spacing: 0.09em;
}

/* Features (icon bullets) */
.features ul, .services ul, .feature-articles-teaser ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 12px;
  margin-bottom: 20px;
}
.features ul li, .services ul li, .feature-articles-teaser ul li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(34,66,101,0.12);
  padding: 22px;
  flex: 1 1 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  min-width: 210px;
  max-width: 350px;
  transition: box-shadow 0.17s, transform 0.16s;
  margin-bottom: 0;
  position: relative;
}
.features ul li:hover, .services ul li:hover {
  box-shadow: 0 7px 25px #FFD10099;
  transform: scale(1.025);
}
.features ul li img {
  height: 38px;
  margin-bottom: 9px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Card/Section Margin Enforcement */
.features ul li, .services ul li, .testimonial-card, .card, .section, .feature-articles-teaser ul li {
  margin-bottom: 20px;
}

/* ===== SERVICES LIST LAYOUT ===== */
.service-listing-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.service-listing-grid > div {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 12px rgba(34,66,101,0.10);
  flex: 1 1 260px;
  min-width: 220px;
  padding: 24px 17px 16px 17px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.17s, transform 0.15s;
  margin-bottom: 0;
}
.service-listing-grid > div:hover {
  box-shadow: 0 6px 22px #FFD10055;
  transform: translateY(-1.5px) scale(1.01);
}

@media (max-width: 1000px) {
  .service-listing-grid {
    flex-direction: column;
    gap: 19px;
  }
}

.benefit-points ul { margin-bottom:0; }

/* ==== BLOG STYLES ===== */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.blog-list li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px #FFD10055;
  padding: 18px 20px 15px 20px;
}
.search-bar {
  margin-bottom: 16px;
  width: 100%;
}
.search-bar input[type="search"] {
  width: 100%;
  padding: 12px 18px;
  border: 2px solid #FFD100;
  border-radius: 22px;
  font-size: 1.12rem;
  outline: none;
  background: #fff;
  transition: border 0.12s;
}
.search-bar input[type="search"]:focus {
  border-color: #224265;
}
.category-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.category-filters button {
  background: #FFD100;
  border-radius: 16px;
  color: #224265;
  font-weight: 700;
  padding: 6px 14px;
  font-size: 1rem;
  border: 2px solid #ffd100;
  transition: background 0.14s, color 0.14s;
}
.category-filters button:hover, .category-filters button:focus {
  background: #224265;
  color: #FFD100;
  border-color: #224265;
}

.newsletter-signup {
  background: #224265;
  color: #FFD100;
  border-radius: 15px;
  padding: 12px 18px;
  box-shadow: 0 2px 8px rgba(34,66,101,0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  font-size: 1rem;
  max-width: 380px;
}
.newsletter-signup h3 {
  color: #FFD100;
  margin-bottom: 6px;
  font-size: 1.12rem;
}

/* ===== CONTACT BLOCK ===== */
.contact-details, .contact-form-brief, .contact-form-detailed, .address-block, .phone-and-email, .opening-hours {
  margin-bottom: 1.2em;
  font-size: 1.15rem;
  line-height: 1.6;
}
.contact-details img, .phone-and-email img, .opening-hours img {
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
}

.contact-form-brief .cta.primary, .contact-form-detailed .cta.primary {
  margin-top: 8px;
}

.map-embed-code, .parking-info, .public-transport-info {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 10px #FFD10033;
  padding: 16px 16px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.03rem;
}
.map-embed-code img, .parking-info img, .public-transport-info img {
  height: 21px;
}

/* === Short facts, team intro === */
.short-facts, .team-short-intro {
  background: #224265;
  color: #FFD100;
  border-radius: 10px;
  padding: 14px 17px;
  margin-top: 10px;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px #22426511;
  font-size: 1.07rem;
}
.short-facts h3 { margin-bottom: 9px; font-size: 1.18rem;}
.short-facts ul { color: #FFD100; }

/* ===== PROJECT TAGS & RESULTS ===== */
.project-tags {
  margin-top: 11px;
  color: #224265;
  font-size: 1.1rem;
  font-weight: 600;
  background: #FFD10011;
  border-radius: 9px;
  padding: 7px 15px;
  display: inline-block;
}
.results-summary {
  color: #3ad29f;
  font-weight: 700;
  font-size: 1rem;
  display: block;
  margin-top: 4px;
}

/* ===== PRIVACY, TERMS, LEGAL SECTIONS ===== */
.privacy-policy, .gdpr, .cookie-policy, .terms-of-use {
  background: #fff;
  color: #224265;
  border-radius: 17px;
  box-shadow: 0 3px 12px #FFD10022;
  padding: 32px 18px;
  margin-top: 40px;
  margin-bottom: 60px;
  font-size: 1.13rem;
}
.privacy-policy h1, .gdpr h1, .cookie-policy h1, .terms-of-use h1 {
  color: #224265;
  font-size: 2rem;
  margin-bottom: 20px;
}

/* ===== FOOTER ===== */
footer {
  background: #224265;
  color: #FFF;
  margin-top: 64px;
  padding: 26px 0 12px 0;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
footer .footer-nav {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 10px;
}
footer .footer-nav a {
  color: #FFD100;
  font-weight: 700;
  font-size: 1rem;
  transition: color 0.19s;
}
footer .footer-nav a:hover, footer .footer-nav a:focus {
  color: #fff;
}
footer .footer-contact {
  color: #D2C9B7;
  font-size: 0.95rem;
  text-align: center;
}
footer .footer-contact a {
  color: #FFD100;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #1D2836;
  box-shadow: 0 -2px 32px #22426522;
  padding: 24px 18px;
  display: flex;
  flex-direction: row;
  gap: 24px;
  z-index: 2500;
  align-items: center;
  justify-content: center;
  width: 100%;
  transition: transform 0.32s cubic-bezier(.77,0,.18,1);
}
.cookie-banner.hide {
  transform: translateY(110%);
}
.cookie-banner__msg {
  flex: 1 1 auto;
  font-size: 1rem;
  margin-right: 24px;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 20px;
  padding: 9px 22px;
  font-size: 1rem;
  border: 2px solid var(--color-accent);
  color: var(--color-primary);
  background: var(--color-accent);
  transition: box-shadow 0.16s, background 0.16s, color 0.15s;
  box-shadow: 0 2px 6px var(--color-accent)22;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-primary);
  color: #FFD100;
  box-shadow: 0 2px 12px #FFD10066;
}
.cookie-btn.settings {
  background: #fff; color: var(--color-primary); border: 2px solid var(--color-primary); 
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--color-primary);
  color: #FFD100;
}
.cookie-btn.reject {
  background: #fff; color: #f94f58; border: 2px solid #f94f58;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #f94f58; color: #fff;
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    padding: 18px 8px;
  }
  .cookie-banner__msg {
    margin-right: 0;
  }
}

/* ===== COOKIE SETTINGS MODAL ===== */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2600;
  left: 0; top: 0; right: 0; bottom: 0;
  background: #21314dc2;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.show {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  color: #224265;
  border-radius: 18px;
  padding: 36px 22px 28px 22px;
  max-width: 400px;
  width: 94%;
  box-shadow: 0 6px 36px #22426544;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: popupScaleIn 0.34s cubic-bezier(.61,1.37,.73,.75);
}
@keyframes popupScaleIn {
  from {
    transform: scale(0.93);
    opacity: 0.6;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.cookie-modal h2 {
  color: #224265;
  font-size: 1.35rem;
  margin-bottom: 11px;
}
.cookie-modal .cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}
.cookie-modal label {
  font-size: 1rem;
}
.cookie-switch {
  width: 44px;
  height: 24px;
  position: relative;
  display: inline-block;
}
.cookie-switch input[type="checkbox"] {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #D2C9B7;
  border-radius: 15px;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-switch input:checked + .cookie-slider {
  background: #FFD100;
}
.cookie-slider:before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 4px;
  top: 3px;
  background: #224265;
  border-radius: 50%;
  transition: transform 0.17s, background 0.16s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(18px);
  background: #FFD100;
}

.cookie-modal .modal-btns {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 11px;
}
.cookie-modal .modal-btns .cookie-btn {
  min-width: 120px;
}

/* ====== ANIMATIONS, INTERACTIVE ===== */
a, .cta, button, .card, .features ul li, .testimonial-card, .cookie-btn, .cookie-slider {
  transition: all 0.15s cubic-bezier(.7,0,.18,1);
}

.card:hover, .service-listing-grid > div:hover, .testimonial-card:hover, .features ul li:hover, .blog-list li:hover {
  transform: translateY(-2.5px) scale(1.015);
  box-shadow: 0 10px 32px #FFD10066;
}

button:active, .cta:active {
  transform: scale(0.96);
}

/* ======= RESPONSIVE ======= */
@media (max-width: 768px) {
  .container {
    padding: 0 7px;
  }
  .section, .privacy-policy, .gdpr, .terms-of-use, .cookie-policy {
    padding: 22px 5px 26px 5px;
    border-radius: 15px;
  }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.25rem; }
  .features ul, .services ul, .feature-articles-teaser ul {
    flex-direction: column;
    gap: 12px;
  }
}

/* === Spacing for cards/sections on all screen sizes === */
@media (max-width: 520px) {
  .content-wrapper, .container {
    gap: 14px;
  }
  .card, .testimonial-card, .features ul li, .services ul li, .feature-articles-teaser ul li, .service-listing-grid > div {
    min-width: 0;
    padding: 17px 7px 15px 7px;
    font-size: 0.99rem;
  }
}

/* ENFORCE NO OVERLAP */
section, .section, .card, .testimonial-card, .features ul li, .services ul li {
  box-sizing: border-box;
  margin-bottom: 20px;
}

/* END OF STYLE.CSS */