/* ========================================================================
   CSS RESET & NORMALIZE (minimal, not to interfere with minimalist whitespace)
=========================================================================== */
html { box-sizing: border-box; font-size: 16px; }
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; }
body, html { height: 100%; background: #fff; color: #1A2530; font-family: 'Open Sans', Arial, Helvetica, sans-serif; font-weight: 400; }
img { max-width: 100%; display: block; border: 0; height: auto; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; background: none; border: none; outline: none; }
a { color: inherit; text-decoration: none; transition: color 0.20s; }

/* ========================================================================
   BRAND COLOR & TYPOGRAPHY VARIABLES (Fallbacks included)
=========================================================================== */
:root {
  --color-primary: #204464;
  --color-primary-rgb: 32,68,100;
  --color-secondary: #53982C;
  --color-secondary-rgb: 83,152,44;
  --color-accent: #F4EED8;
  --color-body: #fff;
  --color-neutral-100: #FAFAFB;
  --color-neutral-200: #F2F3F5;
  --color-neutral-300: #E5E9EF;
  --color-neutral-800: #1A2530;
  --color-shadow: rgba(32, 68, 100, 0.05);

  --font-display: 'Roboto Slab', serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

body {
  background: var(--color-body, #fff);
  color: var(--color-neutral-800, #1A2530);
  font-family: var(--font-body), Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display), 'Roboto Slab', serif;
  color: var(--color-primary, #204464);
  font-weight: 700;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.2rem; margin-bottom: 24px; }
h2 { font-size: 1.5rem; margin-bottom: 20px; }
h3 { font-size: 1.15rem; margin-bottom: 15px; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 10px; }

p, li, ul, ol {
  font-size: 1rem;
  color: #333;
}

strong, b { font-weight: 600; }

/* ========================================================================
   LAYOUT: Containers, Sections & Spacing
=========================================================================== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section:not(:last-child) {
  border-bottom: 1px solid var(--color-neutral-200);
}

.text-section {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.map-section {
  margin-bottom: 32px;
}

/* ========================================================================
   FLEX LAYOUTS for Responsive Spacing
=========================================================================== */
.card-container, .service-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px var(--color-shadow, rgba(32,68,100,0.06));
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
  min-width: 260px;
  flex: 1 1 270px;
  transition: box-shadow 0.20s;
  border: 1px solid var(--color-neutral-200);
}
.card:hover {
  box-shadow: 0 4px 20px rgba(32,68,100,0.10);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(32, 68, 100, 0.07);
  border: 1px solid var(--color-neutral-200);
  min-width: 240px;
  max-width: 420px;
  color: #192230;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px rgba(32,68,100,0.13);
}
.testimonial-card strong {
  font-size: 1rem;
  color: var(--color-primary, #204464);
  font-family: var(--font-body), Arial, sans-serif;
  letter-spacing: 0;
  font-weight: 600;
  margin-top: 8px;
}

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

.service-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(32, 68, 100, 0.07);
  padding: 24px 20px;
  margin-bottom: 20px;
  flex: 1 1 260px;
  border: 1px solid var(--color-neutral-200);
  transition: box-shadow 0.18s;
}
.service-card:hover {
  box-shadow: 0 8px 24px rgba(32,68,100,0.09);
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 20px;
  justify-content: center;
}

/* Flexible edge for main footer text-section */
footer .text-section {
  margin-bottom: 0;
  text-align: center;
  color: #888;
}

/* ========================================================================
   HEADER, LOGO, NAVIGATION
=========================================================================== */
header {
  width: 100%;
  padding: 0;
  background: #fff;
  border-bottom: 1px solid var(--color-neutral-300);
  box-shadow: 0 2px 8px var(--color-shadow, rgba(32,68,100,0.03));
  z-index: 102;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}
.logo img {
  height: 44px;
  width: auto;
  vertical-align: middle;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 500;
  transition: color 0.20s;
  border-radius: 5px;
  padding: 4px 8px;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-secondary);
  background: var(--color-accent);
}

.button.button-primary {
  background: var(--color-secondary);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  padding: 12px 28px;
  font-size: 1rem;
  border: none;
  margin-left: 28px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(83,152,44,0.10);
  transition: background 0.24s, box-shadow 0.20s;
  display: inline-block;
  line-height: 1.2;
}
.button.button-primary:hover, .button.button-primary:focus {
  background: #407B22; /* darken secondary */
  box-shadow: 0 5px 18px rgba(83,152,44,0.14);
}
.button {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
  border-radius: 6px;
  padding: 10px 22px;
  cursor: pointer;
  user-select: none;
  border: none;
  transition: background 0.19s, box-shadow 0.15s, color 0.19s;
}

/* ========================================================================
   MOBILE MENU (hamburger navigation)
=========================================================================== */
.mobile-menu-toggle {
  display: none;
  background: var(--color-accent);
  color: var(--color-primary);
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  position: absolute;
  right: 16px;
  top: 12px;
  z-index: 1201;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(32,68,100,0.08);
  transition: background 0.16s;
}
.mobile-menu-toggle:hover {
  background: var(--color-secondary);
  color: #fff;
}
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 8px 32px rgba(32,68,100,0.08);
  z-index: 1300;
  transform: translateX(-110%);
  transition: transform 0.3s cubic-bezier(.55,.14,.36,1.12);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow-y: auto;
  padding-top: 60px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--color-accent);
  color: var(--color-primary);
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 1310;
  cursor: pointer;
  transition: background 0.15s;
  text-align: center;
}
.mobile-menu-close:hover {
  background: var(--color-secondary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 30px 20px;
  gap: 22px;
}
.mobile-nav a {
  padding: 14px 12px;
  font-size: 1.13rem;
  color: var(--color-primary);
  border-radius: 7px;
  background: none;
  font-weight: 600;
  transition: background 0.18s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}

@media (max-width: 1090px) {
  .container {
    max-width: 98vw;
    padding-right: 10px;
    padding-left: 10px;
  }
}

@media (max-width: 920px) {
  .main-nav {
    gap: 12px;
  }
  .button.button-primary {
    margin-left: 16px;
    padding: 10px 16px;
    font-size: 0.97rem;
  }
}
@media (max-width: 870px) {
  .main-nav { gap: 6px; }
  .footer-nav { gap: 18px; }
}

/* HIDE DESKTOP NAV AND SHOW BURGER ON MOBILE */
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
  }
  .main-nav { display: none; }
  .button.button-primary {
    margin-left: 0;
    padding: 9px 11px;
    font-size: 1rem;
  }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* ========================================================================
   SECTIONS, CTA, LISTS, CONTENT BLOCKS
=========================================================================== */
section {
  display: flex;
  flex-direction: column;
  /* section spacing from .section class */
}

ul, ol {
  margin-left: 1.5em;
  margin-bottom: 18px;
  font-size: 1rem;
  color: #1A2530;
}
ul li, ol li {
  margin-bottom: 11px;
  line-height: 1.7;
  position: relative;
}
ul li:before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-secondary, #53982C);
  margin-right: 12px;
  vertical-align: middle;
}
ul ul, ol ol, ul ol, ol ul {
  margin-bottom: 0;
}
ol li:before {
  content: none !important;
}

.text-section p, .map-section p {
  margin-bottom: 10px;
}

ol {
  list-style: decimal;
  margin-left: 1.2em;
}

/* ========================================================================
   CALL TO ACTION & BUTTONS
=========================================================================== */
.button {
  border-radius: 6px;
  padding: 10px 24px;
  background: var(--color-accent);
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  transition: background 0.14s, box-shadow 0.18s, color 0.13s;
  box-shadow: 0 1px 3px rgba(32,68,100,0.05);
  margin-top: 12px;
}
.button:hover, .button:focus {
  background: var(--color-secondary);
  color: #fff;
}
.button.button-primary {
  background: var(--color-secondary);
  color: #fff;
  margin-top: 16px;
}

.button:active {
  transform: translateY(1px);
}

/* ========================================================================
   RESPONSIVE ADJUSTMENTS
=========================================================================== */
@media (max-width: 1200px) {
  .service-grid, .card-container, .content-grid { gap: 16px; }
}
@media (max-width: 1000px) {
  .service-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .service-card, .card {
    min-width: 140px;
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 40px;
    padding: 30px 8px;
  }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1rem; }
  .container { padding: 0 6px; }
  .content-grid, .service-grid {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section, .feature-item, .card-content, .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .footer-nav {
    gap: 12px;
    font-size: 0.97rem;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.25rem; margin-bottom: 18px; }
  h2 { font-size: 1.1rem; margin-bottom: 12px; }
  .section { padding: 20px 4px; margin-bottom: 30px; }
  .button, .button.button-primary { padding: 9px 10px; font-size: 0.98rem; }
}

/* ========================================================================
   COOKIE CONSENT BANNER & MODAL
=========================================================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #1D2831;
  z-index: 2200;
  box-shadow: 0 -2px 12px rgba(32,68,100,0.09);
  padding: 24px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--color-neutral-200);
  animation: cookie-banner-slidein 0.5s ease;
}
@keyframes cookie-banner-slidein {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner-content {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 6px;
  text-align: center;
}
.cookie-banner-actions {
  display: flex;
  gap: 12px;
}
.cookie-banner .button {
  padding: 8px 15px;
  font-size: 1rem;
  border-radius: 7px;
  min-width: 100px;
}
.button-accept {
  background: var(--color-secondary);
  color: #fff;
}
.button-accept:hover { background: #407B22; }
.button-reject {
  background: #DFE6DC;
  color: var(--color-secondary);
}
.button-reject:hover { background: #B5CCB0; }
.button-settings {
  background: var(--color-accent);
  color: var(--color-primary);
}
.button-settings:hover {
  background: var(--color-neutral-200);
}

/* Cookie Modal */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  z-index: 2500;
  background: rgba(32,68,100,0.18);
  align-items: center;
  justify-content: center;
}
.cookie-modal.active { display: flex; }
.cookie-modal-dialog {
  background: #fff;
  border-radius: 16px;
  max-width: 360px;
  width: calc(100vw - 33px);
  padding: 32px 23px 18px 23px;
  box-shadow: 0 8px 32px rgba(32,68,100,0.21);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  animation: modal-fade-in 0.2s ease;
}
@keyframes modal-fade-in {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal-title {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 18px;
  text-align: center;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  background: var(--color-neutral-100);
  padding: 10px 8px;
  border-radius: 6px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-secondary, #53982C);
  width: 22px; height: 22px;
}
.cookie-category .essential {
  color: var(--color-secondary); font-weight: 600;
}
.cookie-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.cookie-modal .button { font-size: 1rem; min-width: 90px; }

/* Essential cookies: always ON, so no toggle */
.cookie-category .essential-toggle { opacity: 0.7; pointer-events: none; }

@media (max-width: 600px) {
  .cookie-modal-dialog { max-width: 94vw; padding: 19px 7px 13px 7px; }
  .cookie-modal-title { font-size: 1.07rem; }
}

/* ========================================================================
   FOOTER
=========================================================================== */
footer {
  background: #fff;
  border-top: 1px solid var(--color-neutral-300);
  padding: 32px 0 18px 0;
  font-size: 1rem;
  color: #7A8492;
  z-index: 10;
}

/* ========================================================================
   MISC UTILITIES
=========================================================================== */
.hidden { display: none !important; }

/* ========================================================================
   MICRO-INTERACTIONS & TRANSITIONS
=========================================================================== */
a, .button, .main-nav a, .button-primary, .service-card, .testimonial-card, .mobile-menu-toggle, .mobile-menu-close {
  transition: all 0.17s cubic-bezier(.4,.2,.6,1);
}

button:focus, .button:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* ========================================================================
   COLOR CONTRAST ENFORCEMENT FOR TESTIMONIALS & REVIEWS
=========================================================================== */
.testimonial-card {
  color: #192230;
  background: #fff;
  border: 1px solid var(--color-neutral-200);
}

/* ========================================================================
   PRINT STYLES
=========================================================================== */
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal, footer { display: none !important; }
  section, .container, main { padding: 0 !important; margin: 0 !important; }
}

/* ========================================================================
   BRAND FONT FACES (Google Fonts Fallbacks)
=========================================================================== */
@font-face {
  font-family: 'Roboto Slab';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto Slab'), local('RobotoSlab'), url('https://fonts.gstatic.com/s/robotoslab/v21/BngMUXZYTXPIvIBgJJSb6ufN5qE.woff2') format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans'), local('OpenSans'), url('https://fonts.gstatic.com/s/opensans/v34/mem8YaGs126MiZpBA-UFVZ0e.ttf') format('truetype');
}
section {
  padding: 20px 0;
}
/* ========================================================================
   END OF MINIMALIST, BRAND-AUTHENTIC, FLEXBOX-ONLY, RESPONSIVE CSS
=========================================================================== */
