/* CSS RESET & BASELINE NORMALIZATION */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
  background: #fff;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #171717;
  background: #fff;
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
img, svg {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #065789;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #000;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.4em;
  margin-bottom: 1.25em;
}
li {
  margin-bottom: 0.7em;
}
strong {
  font-weight: 600;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #111;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 22px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  font-weight: 600;
}
.content-wrapper > p, .content-wrapper > ul, .content-wrapper > ol {
  font-size: 1.06rem;
  color: #232323;
  margin-bottom: 1.2em;
}

/* CONTAINER */
.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

/* HEADER & NAVIGATION */
header {
  background: #fff;
  border-bottom: 1px solid #eaeaea;
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 18px;
}
.logo img {
  height: 46px;
  width: auto;
  display: block;
  filter: grayscale(1) contrast(1.2);
  transition: filter 0.2s;
}
.logo:focus img, .logo:hover img {
  filter: grayscale(0) contrast(1.6);
}
.main-nav {
  display: flex;
  gap: 26px;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  color: #111;
  font-weight: 500;
  font-size: 1.06rem;
  padding: 7px 4px;
  position: relative;
}
.main-nav a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: #111;
  transition: width 0.18s;
  border-radius: 2px;
}
.main-nav a:hover::after,
.main-nav a:focus::after {
  width: 100%;
  background: #065789;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  background: #111;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 28px;
  padding: 9px 26px;
  margin-left: 16px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
  border: none;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.2s;
}
.cta-button:hover, .cta-button:focus {
  background: #065789;
  color: #fff;
  box-shadow: 0 8px 30px rgba(6,87,137,0.08);
  text-decoration: none;
}
.mobile-menu-toggle {
  display: none;
  background: #fff;
  color: #111;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(10,10,10,0.07);
  transition: background 0.18s;
  z-index: 101;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #111;
  color: #fff;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 96vw;
  max-width: 350px;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 26px rgba(20,20,20,0.13);
  z-index: 120;
  transform: translateX(110%);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #fff;
  border: none;
  font-size: 1.9rem;
  color: #111;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  margin: 18px 18px 0 0;
  transition: background 0.2s, color 0.2s;
  z-index: 121;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #111;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0 32px;
}
.mobile-nav a {
  color: #111;
  font-size: 1.17rem;
  font-weight: 600;
  padding: 11px 0;
  letter-spacing: 0.01em;
  border-radius: 5px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #065789;
  color: #fff;
}

@media (max-width: 1020px) {
  header .container {
    flex-wrap: wrap;
    gap: 12px;
  }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .cta-button {
    margin-left: 6px;
    padding: 9px 18px;
    font-size: 1.04rem;
  }
}

/* SECTIONS & FLEX LAYOUTS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}
.card-container,
.card-grid,
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #f7f7f7;
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 rgba(20,20,20,0.08);
  padding: 30px 23px;
  flex: 1 1 320px;
  min-width: 270px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 32px 0 rgba(6,87,137,0.13), 0 2px 18px 0 rgba(20,20,20,0.07);
  transform: translateY(-2px) scale(1.01);
}
.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: 20px;
  }
  .container, section {
    padding: 0 8px;
  }
}

/* FEATURES & CARDS */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fafafb;
  border-radius: 15px;
  box-shadow: 0 2.5px 12px rgba(0,0,0,0.06);
  padding: 26px 18px 23px 18px;
  min-width: 210px;
  max-width: 100%;
}
.feature-item img {
  width: 46px;
  height: 46px;
  filter: grayscale(1) contrast(1.25);
}
.feature-item h3 {
  font-size: 1.18rem;
  color: #111;
  margin-bottom: 4px;
}
.feature-item p {
  font-size: 0.97rem;
  color: #232323;
}

/* TESTIMONIAL CARD */
.testimonial-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fafafa;
  border-radius: 13px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  border-left: 6px solid #111;
}
.testimonial-card p {
  color: #1e1e1e;
  font-size: 1.13rem;
  font-style: italic;
  flex: 1;
}
.testimonial-info span {
  color: #171717;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    gap: 7px;
    padding: 16px;
  }
}

/* ADDRESS & FOOTER */
footer {
  background: #171717;
  color: #efefef;
  padding: 40px 0 24px 0;
  border-top: 1px solid #141414;
  letter-spacing: 0.01em;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  letter-spacing: 0.01em;
  font-weight: 500;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #8DC63F;
}
footer address, footer p {
  color: #f2f2f2;
  font-size: 0.98rem;
}
footer img {
  width: 20px;
  height: 20px;
  display: inline-block;
  margin-right: 7px;
  vertical-align: middle;
  filter: grayscale(1) contrast(1.15);
}
footer a {
  color: #8DC63F;
  text-decoration: none;
}
footer a:hover, footer a:focus { color: #fff; }

/* LISTS, HIGHLIGHTS, MISC CARDS */
.highlight-box, .map-snippet, .tip-box, .tip-list, .faq-list {
  background: #f3f3f3;
  border-radius: 13px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 26px 18px;
  margin-top: 22px;
  margin-bottom: 20px;
}
.highlight-box h2, .map-snippet h2, .tip-box h3, .faq-list h3, .tip-list h3 {
  margin-top: 0;
  margin-bottom: 14px;
  color: #111;
}

/* WEATHER WIDGET */
.weather-widget {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #ededed;
  border-radius: 11px;
  padding: 14px 17px;
  margin-bottom: 18px;
  box-shadow: 0 1.5px 6px rgba(0,0,0,0.03);
}
.weather-widget img {
  width: 32px;
  height: 32px;
}
.weather-widget p {
  font-size: 1rem;
  color: #333;
  margin: 0;
}

/* CONTACT & SOCIAL LINKS */
.contact-details, .faq-list {
  background: #f9f9f9;
  border-radius: 11px;
  box-shadow: 0 1.5px 8px rgba(0,0,0,0.04);
  padding: 20px 18px 15px 18px;
  margin-bottom: 24px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  color: #065789;
  font-weight: 500;
  margin-right: 22px;
  font-size: 1rem;
  transition: color 0.19s;
}
.social-link img {
  width: 22px;
  height: 22px;
  margin-right: 6px;
  vertical-align: middle;
  filter: grayscale(1) contrast(1.2);
}
.social-link:hover, .social-link:focus {
  color: #111;
}

.map-snippet img {
  width: 40px;
  height: 40px;
  filter: grayscale(1);
}

/* BUTTON BASE STYLES */
button,
input[type="button"],
input[type="submit"] {
  appearance: none;
  border: none;
  font: inherit;
  cursor: pointer;
  background: #111;
  color: #fff;
  border-radius: 30px;
  padding: 10px 28px;
  font-weight: 600;
  font-size: 1.06rem;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  outline: none;
}
button:hover, button:focus {
  background: #065789;
  color: #fff;
}
/* SCROLLBAR (Elegant, subtle) */
::-webkit-scrollbar {
  width: 9px;
  background: #dadada;
}
::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 9px;
}

/* COOKIE BANNER & MODAL */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #171717;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 2vw 20px 2vw;
  box-shadow: 0 -4px 24px 0 rgba(20,20,20,0.14);
  z-index: 2000;
  gap: 26px;
  font-size: 1.04rem;
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}
.cookie-consent-banner[hidden] {
  transform: translateY(120%);
}
.cookie-banner-text {
  color: #fff;
  max-width: 740px;
  line-height: 1.4;
}
.cookie-banner-actions {
  display: flex;
  gap: 14px;
}
.cookie-accept {
  background: #8DC63F;
  color: #121212;
  border-radius: 30px;
  padding: 10px 24px;
  font-weight: 600;
  border: none;
  transition: background 0.19s, color 0.19s;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #065789;
  color: #fff;
}
.cookie-reject {
  background: #fff;
  color: #121212;
  border-radius: 30px;
  padding: 10px 24px;
  font-weight: 600;
  border: 1px solid #8DC63F;
  transition: background 0.19s, color 0.19s;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #8DC63F;
  color: #fff;
}
.cookie-settings {
  background: #065789;
  color: #fff;
  border-radius: 30px;
  padding: 10px 24px;
  font-weight: 500;
  border: none;
  transition: background 0.19s, color 0.19s;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #8DC63F;
  color: #111;
}
/* COOKIE PREFERENCES MODAL */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 2200;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(20,20,20,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.22s;
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 38px 0 rgba(45,45,45,0.19);
  max-width: 420px;
  width: 92vw;
  padding: 34px 22px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalAppear 0.24s cubic-bezier(.6,.1,.4,1);
  z-index: 2210;
}
@keyframes modalAppear {
  0% { opacity: 0; transform: scale(0.90); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal h2 {
  font-size: 1.42rem;
  margin-bottom: 15px;
  color: #065789;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #f7f8f7;
  border-radius: 8px;
  padding: 9px 14px 10px 10px;
}
.cookie-category input[type=checkbox] {
  accent-color: #8DC63F;
  width: 20px;
  height: 20px;
  border-radius: 5px;
}
.cookie-category label {
  font-size: 1.01rem;
  color: #232323;
  font-weight: 500;
}
.cookie-category .locked {
  font-size: 1.01rem;
  color: #999;
  font-style: italic;
  margin-left: 8px;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
/* Hide modal/overlay by default */
.cookie-modal-backdrop[hidden],
.cookie-consent-banner[hidden] {
  display: none !important;
}

/* Z-INDEX SAFEGUARD */
header, .mobile-menu, .cookie-consent-banner, .cookie-modal-backdrop {
  z-index: 60;
}

/* RESPONSIVE - MOBILE FIRST */
@media (max-width: 700px) {
  .container {
    padding: 0 4vw;
  }
  .section, section {
    padding: 32px 2vw;
  }
  .feature-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .footer-nav {
    gap: 10px;
    flex-wrap: wrap;
  }
  .cookie-consent-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 21px 4vw 18px 4vw;
    font-size: 1rem;
  }
}
@media (max-width: 420px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.14rem; }
  .cta-button, button { padding: 9px 11px; font-size: 1rem; }
}

/* UTILITY CLASSES & MICROINTERACTIONS */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.8s both cubic-bezier(.4,0,.2,1);
}
@keyframes fadeIn {
  to { opacity: 1; }
}
/* Elegant subtle shadow */
.shadow {
  box-shadow: 0 4px 26px rgba(18,18,18,0.13);
}
.bg-dark {
  background: #111;
  color: #fff;
}
.bg-light {
  background: #fff;
  color: #111;
}

/* Misc. align tweaks for monochrome sophistication */
h1, h2, h3 { color: #111; }
.feature-item img, .testimonial-card img, .contact-details img, .map-snippet img {
  filter: grayscale(1) contrast(1.18);
}
.card, .feature-item, .testimonial-card, .highlight-box, .tip-box, .tip-list, .faq-list, .map-snippet {
  border: 1px solid #e2e2e2;
}

/* Prevent absolute for content cards (decor only, e.g., backgrounds/accents) */

/* Focus style for accessibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid #065789;
  outline-offset: 2px;
}

/* Ensure no element overlaps | Minimum 20px margin */
.card, .feature-item, .testimonial-card, .highlight-box, .map-snippet, .contact-details, .tip-box, .tip-list, .faq-list {
  margin-bottom: 22px;
}

/* <ul> and <ol> special spacing in content*/
.content-wrapper ul, .content-wrapper ol {
  padding-left: 1.2em;
  margin-bottom: 1em;
}
.content-wrapper li {
  margin-bottom: 0.8em;
}

/* Ensure min gap between all flex children */
.card-container > *, .feature-grid > *, .content-grid > *, .testimonial-card + .testimonial-card {
  margin-bottom: 20px;
}

/* Hide elements not matching screen size */
@media (max-width: 900px) {
  .main-nav, .footer-nav {
    flex-direction: column;
    gap: 12px;
  }
}
