/* ===================================================================
   CSS RESET & BASE STYLES
   =================================================================== */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

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

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #26323b;
  background: #F8F9FB;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #355C3A;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #355C3A;
  text-decoration: underline;
}

/* Utility
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ===================================================================
   TYPOGRAPHY
   =================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial', Helvetica, sans-serif;
  color: #183045;
  font-weight: bold;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
}
h1 { font-size: 2.5rem; line-height: 1.15; }
h2 { font-size: 2rem;   line-height: 1.2; }
h3 { font-size: 1.25rem;line-height: 1.3; }
h4 { font-size: 1.1rem; line-height: 1.3; }

p, ul, ol, li, address {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #26323b;
}
strong { font-weight: bold; }
ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}

/* ===================================================================
   LAYOUT & SPACING
   =================================================================== */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
  background: transparent;
}
@media (max-width: 600px) {
  section {
    padding: 32px 0 0 0;
    margin-bottom: 40px;
  }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.text-section {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(24,48,69,0.08);
  padding: 24px 20px;
}

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

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(24,48,69,0.08);
  padding: 20px 18px;
  min-width: 240px;
  flex: 1 1 240px;
  transition: box-shadow 0.22s;
}
.feature-item:hover,
.feature-item:focus-within {
  box-shadow: 0 6px 24px 0 rgba(55,90,110,0.14);
  z-index: 2;
}

/* Cards & Lists */
.usp-list {
  background: #eaf2fa;
  border-radius: 10px;
  padding: 20px 18px;
  margin-top: 20px;
  margin-bottom: 16px;
}
.usp-list h3 {
  color: #355C3A;
  margin-bottom: 10px;
}
.usp-list ul {
  list-style: disc inside;
  padding-left: 0;
}

.map-snippet, .faq-snippet, .callout, .hours-display {
  background: #F0EDEE;
  border-radius: 8px;
  padding: 18px 18px 14px 18px;
  margin: 24px 0 0 0;
  color: #183045;
  font-size: 1rem;
  box-shadow: 0 1px 6px 0 rgba(24,48,69,0.05);
}

.callout strong {
  color: #355C3A;
}

.hours-display {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  margin-bottom: 10px;
}

/* Testimonials */
.testimonials {
  background: #EAF2FA;
  padding: 0;
  margin-bottom: 60px;
}
.testimonials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 10px 0 rgba(24,48,69,0.09);
  min-width: 240px;
  max-width: 340px;
  flex: 1 1 240px;
  margin-bottom: 20px;
}
.testimonial-card p {
  color: #233145;
  font-size: 1.05rem;
  font-style: italic;
  margin-bottom: 12px;
}
.testimonial-card strong {
  color: #355C3A;
  font-weight: 600;
  font-size: 1rem;
}

/* Cards for mobile
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (max-width: 800px) {
  .feature-grid,
  .testimonials-list {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item, .testimonial-card {
    min-width: 0;
    width: 100%;
  }
}

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  background: linear-gradient(90deg, #eaf2fa 0%, #F0EDEE 100%);
  padding: 40px 0 60px 0;
  margin-bottom: 0;
  border-bottom: 2px solid #EAF2FA;
}
.hero h1 {
  color: #355C3A;
  font-size: 2.4rem;
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.18rem;
  margin-bottom: 18px;
  color: #183045;
}
@media (max-width: 600px){
  .hero {
    padding: 28px 0 40px 0;
  }
  .hero h1{
    font-size: 1.65rem;
  }
  .hero p{
    font-size: 1rem;
  }
}

/* ===================================================================
   HEADER, NAVIGATION, CTA BUTTONS
   =================================================================== */
header {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  padding: 0 0 0 0;
  height: 70px;
  border-bottom: 1px solid #EAF2FA;
  position: relative;
  z-index: 100;
  box-shadow: 0 2px 9px 0 rgba(24,48,69,0.05);
}
.logo {
  display: flex;
  align-items: center;
  margin-left: 20px;
  height: 70px;
}
.logo img {
  height: 42px;
}
.main-nav {
  display: flex;
  gap: 18px;
  margin-left: 36px;
  flex: 1 0 auto;
}
.main-nav a {
  color: #233145;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.04rem;
  letter-spacing: 0.01em;
  padding: 10px 6px;
  border-radius: 5px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #EAF2FA;
  color: #355C3A;
}
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  padding: 10px 28px;
  margin-left: 18px;
  border-radius: 24px;
  background: #6FAADB;
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(55,90,110,0.07);
  transition: background 0.22s, box-shadow 0.22s, color 0.15s;
  text-align: center;
  outline: none;
}
.cta.primary {
  background: #355C3A;
  color: #fff;
}
.cta.primary:hover, .cta.primary:focus {
  background: #264425;
  color: #fff;
  box-shadow: 0 4px 24px 0 rgba(24,48,69,0.09);
}
.cta.big {
  font-size: 1.18rem;
  padding: 16px 48px;
  margin-top: 28px;
  border-radius: 30px;
}

/* Hide header navs on mobile */
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 990px) {
  .main-nav {
    display: none;
  }
  .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    background: none;
    border: none;
    font-size: 2rem;
    color: #355C3A;
    margin-right: 24px;
    cursor: pointer;
    padding: 8px 14px;
    z-index: 110;
    align-items: center;
    transition: background 0.15s;
  }
  .mobile-menu-toggle:active,
  .mobile-menu-toggle:focus {
    background: #EAF2FA;
    outline: none;
    border-radius: 5px;
  }
}

/* ===================================================================
   MOBILE MENU OVERLAY
   =================================================================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #ddeaf7ee;
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.7,.08,.2,1);
  will-change: transform;
  box-shadow: 0 10px 32px 0 rgba(24,48,69,0.11);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #355C3A;
  margin: 22px 28px 10px 0;
  align-self: flex-end;
  cursor: pointer;
  transition: background 0.13s;
  border-radius: 6px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #e0ecef;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 48px;
  gap: 22px;
  margin-top: 30px;
}
.mobile-nav a {
  color: #183045;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.18rem;
  padding: 12px 6px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  width: 100%;
  max-width: 340px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #eaf2fa;
  color: #355C3A;
}

@media (max-width: 600px) {
  .mobile-nav {
    padding-left: 16px;
    gap: 15px;
  }
  .mobile-menu-close {
    margin-right: 12px;
    font-size: 2rem;
  }
}

/* ===================================================================
   FOOTER
   =================================================================== */
footer {
  background: #F0EDEE;
  padding: 38px 0 0 0;
  border-top: 2px solid #EAF2FA;
  margin-top: 80px;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.footer-content img {
  height: 44px;
  margin-right: 28px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 12px;
}
.footer-nav a {
  color: #355C3A;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.88;
  transition: color 0.16s;
  margin-bottom: 6px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #274625;
}
address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 7px;
  font-size: 1rem;
}
address img {
  height: 18px;
  width: 18px;
  margin-right: 7px;
  display: inline-block;
  vertical-align: middle;
}
.footer-copy {
  text-align: center;
  margin-top: 32px;
  font-size: 0.95rem;
  color: #7b8a91;
  background: transparent;
  padding-bottom: 24px;
}

@media (max-width: 800px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* ===================================================================
   BUTTONS, INTERACTIONS, FORMS
   =================================================================== */
button, .cta, input[type=submit] {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  cursor: pointer;
  border: none;
}
button:focus, .cta:focus {
  outline: 2px solid #355C3A;
  outline-offset: 2px;
}
input, textarea, select {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #26323b;
  font-size: 1rem;
  border: 1px solid #EAF2FA;
  border-radius: 7px;
  padding: 11px 16px;
  background: #fff;
  margin-bottom: 12px;
  box-sizing: border-box;
  width: 100%;
  transition: border 0.16s, box-shadow 0.16s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #355C3A;
  outline: none;
  box-shadow: 0 0 0 2px #6FAADB22;
}

/* ===================================================================
   COOKIE CONSENT BANNER
   =================================================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 4000;
  background: #233145;
  color: #fff;
  padding: 28px 24px 18px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-shadow: 0 -4px 32px 0 rgba(24,48,69,0.21);
  transition: transform 0.35s, opacity 0.28s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: 7px;
  background: #6FAADB;
  color: #fff;
  border: none;
  font-weight: 500;
  margin: 0;
  transition: background 0.18s, color 0.16s;
}
.cookie-banner button.accept {
  background: #355C3A;
}
.cookie-banner button.accept:hover,
.cookie-banner button.accept:focus {
  background: #264425;
}
.cookie-banner button.reject {
  background: #7b8a91;
}
.cookie-banner button.reject:hover,
.cookie-banner button.reject:focus {
  background: #52646b;
}
.cookie-banner button.settings {
  background: #EAF2FA;
  color: #355C3A;
}
.cookie-banner button.settings:hover,
.cookie-banner button.settings:focus {
  background: #cfe5fa;
}

/* Cookie Pref Modal */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(1);
  background: #fff;
  color: #183045;
  z-index: 4100;
  border-radius: 16px;
  padding: 38px 24px 32px 28px;
  box-shadow: 0 7px 48px 0 rgba(24,48,69,0.20);
  max-width: 94vw;
  min-width: 320px;
  max-width: 430px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: opacity 0.27s, transform 0.33s;
  opacity: 1;
  pointer-events: all;
}
.cookie-modal.hide {
  opacity: 0;
  transform: translate(-50%, -40%) scale(0.88);
  pointer-events: none;
}
.cookie-modal h2 {
  font-size: 1.38rem;
  margin-bottom: 14px;
  color: #355C3A;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category label {
  font-size: 1rem;
  font-weight: 500;
  color: #233145;
  cursor: pointer;
}
.cookie-modal .cookie-switch {
  position: relative;
  display: flex;
  align-items: center;
  height: 22px;
}
.cookie-modal input[type=checkbox] {
  appearance: none;
  width: 44px;
  height: 22px;
  background: #EAF2FA;
  border-radius: 13px;
  outline: none;
  box-shadow: 0 1px 3px 0 #0001;
  cursor: pointer;
  position: relative;
  transition: background 0.18s;
}
.cookie-modal input[type=checkbox]:checked {
  background: #6FAADB;
}
.cookie-modal input[type=checkbox]::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.18s;
  position: absolute;
  left: 2.5px;
  top: 2px;
}
.cookie-modal input[type=checkbox]:checked::before {
  transform: translateX(22px);
}
.cookie-modal .cookie-category .desc {
  font-size: 0.97rem;
  color: #7b8a91;
  margin-left: 10px;
  font-weight: 400;
}

.cookie-modal .modal-btns {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  justify-content: flex-end;
}
.cookie-modal .modal-btns button {
  font-size: 1rem;
  padding: 7px 19px;
  border-radius: 7px;
}

/* Overlay for cookie modal */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: #23314588;
  z-index: 4090;
  opacity: 1;
  transition: opacity 0.25s;
}
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}

/* ===================================================================
   RESPONSIVE DESIGN
   =================================================================== */
@media (max-width: 768px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .footer-content {
    padding: 0 8px;
  }
  .section,.content-wrapper { padding: 24px 0 0 0; }
  .feature-item, .testimonial-card, .card {
    padding: 16px 10px;
    border-radius: 9px;
  }
}

@media (max-width: 500px) {
  h1 { font-size: 1.25rem; }
  h2 { font-size: 1.05rem; }
  .cookie-modal {
    min-width: 90vw;
    padding: 18px 8px 18px 10px;
  }
  .cookie-banner {
    font-size: 0.9rem;
    padding: 14px 8px 10px 8px;
    border-radius: 0;
  }
}

/* Additional micro-interactions */
.card, .feature-item, .testimonial-card {
  transition: box-shadow 0.22s, transform 0.14s;
}
.card:hover, .feature-item:hover, .testimonial-card:hover {
  box-shadow: 0 8px 24px 0 rgba(24,48,69,0.16);
  transform: translateY(-2px) scale(1.02);
}

.cta, .cookie-banner button, .cookie-modal .modal-btns button {
  transition: background 0.17s, box-shadow 0.15s, color 0.15s, transform 0.13s;
}
.cta:active, .cookie-banner button:active, .cookie-modal .modal-btns button:active {
  transform: scale(0.97);
  box-shadow: 0 1px 4px 0 #254f2512;
}

/* Utility for visually hidden (for accessibility) */
.visually-hidden {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}

/* ===================================================================
   END OF CSS
   =================================================================== */
