/* RESET & BASE --------------------------------- */
html {
  box-sizing: border-box;
  font-size: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #1b2432;
  background: #f8f9fc;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ol, ul {
  list-style-position: inside;
  margin: 0 0 1em 0;
  padding: 0;
}
a {
  color: #005B78;
  text-decoration: none;
  transition: color 0.15s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #94B230;
  outline: none;
}

/* TYPOGRAPHY ------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: .01em;
}
h1 {
  font-size: 2.5rem;
  color: #005B78;
  margin-bottom: 24px;
  line-height: 1.17;
  text-shadow: 0 4px 16px rgba(0,91,120,0.07);
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #005B78;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
p {
  margin-bottom: 18px;
}
strong {
  font-weight: 700;
  color: #94B230;
}

/* LAYOUT CONTAINER ------------------------------- */
.container {
  max-width: 1200px;
  padding: 0 18px;
  margin: 0 auto;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

@media (min-width: 769px) {
  .content-wrapper {
    gap: 32px;
  }
}

/* FLEX SPACING & ALIGNMENT PATTERNS (MANDATORY) -- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 16px 0 rgba(0,91,120,0.06);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(148,178,48,0.06);
  transition: box-shadow .2s;
  z-index: 0;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 28px -6px #94B23044;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f8f9fc;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(0,91,120,0.05);
  margin-bottom: 20px;
}
.testimonial-card blockquote {
  flex: 1;
  margin: 0;
  font-size: 1.13rem;
  line-height: 1.65;
  color: #222b38;
  font-style: italic;
  font-family: 'Open Sans', Arial, sans-serif;
}
.testimonial-meta {
  min-width: 150px;
  color: #005B78;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 768px) {
  .content-grid, .text-image-section, .card-container {
    flex-direction: column;
    gap: 20px;
  }
}

/* HEADER & NAV ---------------------------------- */
header {
  background: #005B78;
  color: #fff;
  box-shadow: 0 8px 32px 0 rgba(0,91,120,0.10);
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 92px;
}
header img {
  height: 46px;
}
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #fff;
  font-size: 1.05rem;
  transition: color .14s, background .2s;
  padding: 8px 2px;
  border-radius: 4px;
}
.main-nav a:hover, .main-nav a:focus {
  color: #94B230;
  background: #01425c;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  background: #94B230;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  border-radius: 22px;
  border: none;
  text-transform: uppercase;
  letter-spacing: .04em;
  box-shadow: 0 2px 12px 0 rgba(148, 178, 48, 0.14);
  cursor: pointer;
  transition: background .16s, box-shadow .18s, color .16s;
  outline: none;
  margin-left: 12px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #005B78;
  color: #fff;
  box-shadow: 0 8px 32px 0 rgba(0,91,120,.08);
}

@media (max-width: 1000px) {
  header .container {
    flex-direction: row;
    gap: 12px;
  }
  .main-nav {
    gap: 18px;
  }
}

@media (max-width: 820px) {
  header .container {
    flex-wrap: wrap;
    height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .main-nav {
    gap: 10px;
    font-size: 1rem;
  }
  .btn-primary {
    margin-left: 0;
  }
}

/* MOBILE MENU (BURGER) -------------------------- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 24px;
  right: 22px;
  z-index: 80;
  font-size: 2rem;
  background: #94B230;
  color: #fff;
  border: none;
  border-radius: 14px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,91,120,0.10);
  cursor: pointer;
  transition: background .18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #005B78;
  color: #fff;
}

@media (max-width: 920px) {
  .main-nav,
  header .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #005B78;
  color: #fff;
  z-index: 100;
  transform: translateX(-110vw);
  transition: transform .35s cubic-bezier(.65,0,.35,1);
  display: flex;
  flex-direction: column;
  padding: 38px 26px 30px 26px;
  box-shadow: 4px 0 20px 0 rgba(0,91,120,0.13);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #94B230;
  margin-top: 6px;
  margin-bottom: 38px;
  cursor: pointer;
  transition: color .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.28rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 14px 6px;
  border-radius: 8px;
  transition: background .16s, color .16s;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #01425c;
  color: #94B230;
}

/* MAIN & PAGE CONTENT --------------------------- */
main {
  margin-top: 24px;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: transparent;
}
@media (max-width: 600px) {
  section {
    padding: 24px 0 20px 0;
    margin-bottom: 36px;
  }
  .section {
    margin-bottom: 36px;
    padding: 24px 8px;
  }
}

/* HERO SECTION ---------------------------------- */
section:first-of-type {
  background: linear-gradient(90deg, #005B78 69%, #94B230 100%);
  color: #fff;
  border-radius: 0 0 48px 48px;
}
section:first-of-type h1, section:first-of-type h2, section:first-of-type p {
  color: #fff;
}
section:first-of-type a.btn-primary {
  background: #fff;
  color: #005B78;
  box-shadow: 0 2px 12px #fff4;
}
section:first-of-type a.btn-primary:hover,
section:first-of-type a.btn-primary:focus {
  background: #94B230;
  color: #fff;
}

/* FEATURE LISTS --------------------------------- */
ul {
  list-style: none;
}
ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 7px;
  margin-bottom: 6px;
  font-size: 1.06rem;
  line-height: 1.55;
}
ul li img {
  width: 28px;
  height: 28px;
  margin-right: 7px;
  flex-shrink: 0;
}
@media (max-width: 560px) {
  ul li img {
    width: 21px;
    height: 21px;
  }
  ul li {
    gap: 7px;
    font-size: 0.99rem;
  }
}

/* LISTINGS & CARDS ------------------------------ */
.listing-offer, .teaser-box {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 18px 0 rgba(0,91,120,0.07);
  padding: 32px 24px 24px 24px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 8px solid #94B230;
  transition: box-shadow .2s, border-color .18s;
  z-index: 0;
}
.listing-offer:hover, .teaser-box:hover {
  box-shadow: 0 8px 32px -2px #005B7840;
  border-left: 8px solid #005B78;
}
.listing-offer a, .teaser-box a {
  color: #005B78;
  font-weight: 600;
  font-size: 1.02rem;
  border-bottom: 2px solid #94B230;
  margin-top: 10px;
  transition: border-color .14s, color .15s;
}
.listing-offer a:hover, .teaser-box a:hover {
  color: #94B230;
  border-color: #005B78;
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-wrap: wrap;
}
@media (min-width: 700px) {
  .article-list {
    flex-direction: row;
    gap: 32px;
    align-items: stretch;
  }
  .teaser-box {
    flex: 1 1 290px;
    min-width: 270px;
    max-width: 48%;
  }
}

.category-tags {
  padding-top: 10px;
  color: #005B78;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .01em;
}

/* MAP PLACEHOLDER ------------------------------- */
.map-placeholder {
  min-height: 80px;
  background: #f8f9fc;
  border-radius: 10px;
  color: #005B78;
  padding: 18px 16px;
  box-shadow: 0 2px 8px #005B7814;
  font-size: 1rem;
  margin-bottom: 16px;
  text-align: center;
}

/* FOOTER --------------------------------------- */
footer {
  background: #005B78;
  color: #fff;
  padding: 0 0 0 0;
  border-radius: 42px 42px 0 0;
  box-shadow: 0 -6px 18px -4px #005B7825;
  position: relative;
  z-index: 1;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 54px 18px 14px 18px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 170px;
}
.footer-nav a {
  color: #fff;
  font-size: 1.04rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: color .14s, text-shadow .18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #94B230;
  text-shadow: 0 2px 14px #f8f9fc33;
}
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin-bottom: 8px;
}
.footer-contact li {
  font-size: 0.97rem;
  margin-bottom: 5px;
  color: #f8f9fc;
}
.footer-contact span {
  font-weight: 600;
  color: #94B230;
  font-size: 0.92rem;
  letter-spacing: .01em;
}
footer img {
  height: 42px;
  margin-bottom: 24px;
}
.copyright {
  text-align: center;
  background: #00384d;
  color: #fff;
  padding: 10px 0;
  font-size: 0.98rem;
  letter-spacing: .02em;
  border-radius: 0 0 36px 36px;
  margin-top: 0;
}
@media (max-width: 920px) {
  footer .container {
    flex-direction: column;
    align-items: center;
    padding-top: 38px;
    gap: 26px;
  }
  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 18px;
  }
}

/* BUTTONS & LINK STYLES ------------------------ */
button, .btn-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  outline: none;
  border: none;
  cursor: pointer;
}
button:focus {
  outline: 2px solid #94B230;
}
/* Utility for secondary style */
.btn-secondary {
  display: inline-block;
  background: #005B78;
  color: #fff;
  border-radius: 22px;
  padding: 11px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 700;
  letter-spacing: .03em;
  margin-left: 8px;
  margin-top: 6px;
  transition: background .16s, color .16s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #94B230;
  color: #fff;
}

/* MICRO-INTERACTIONS, HOVER STATES ------------- */
.card, .listing-offer, .teaser-box, .btn-primary, .btn-secondary, .testimonial-card {
  transition: box-shadow 0.24s cubic-bezier(.55,0,.1,1), background 0.16s, border-color 0.17s;
}
.card:hover, .listing-offer:hover, .teaser-box:hover {
  box-shadow: 0 14px 40px 0 #005B7840;
  border-color: #94B230;
  z-index: 2;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 #94B23033;
}

/* OL/UL STYLES ---------------------------------- */
ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}
ol li {
  margin-bottom: 7px;
  font-size: 1rem;
}

/* RESPONSIVE TYPOGRAPHY SIZES ------------------- */
@media (max-width: 900px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.25rem; }
  .btn-primary { font-size: 1rem; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.39rem; }
  h2 { font-size: 1.08rem; }
  h3 { font-size: 1rem; }
  .main-nav {
    flex-direction: column; gap: 7px;
    font-size: 0.89rem;
  }
  .btn-primary, .btn-secondary { font-size: 0.98rem; padding: 10px 16px;  }
}

/* SECTION-LEVEL FEATURE CONTAINERS -------------- */
.features, .card-grid, .offer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  margin-top: 20px;
  margin-bottom: 18px;
}
.offer-grid > * { flex: 1 1 220px; min-width: 200px; }

/* COOKIE CONSENT BANNER & MODAL ----------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  border-top: 4px solid #94B230;
  box-shadow: 0 -4px 20px rgba(0,91,120,0.11);
  color: #222b38;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 18px 8px;
  animation: fadeInBanner 0.44s cubic-bezier(.55,0,.1,1);
}
@keyframes fadeInBanner { from { opacity:0; transform: translateY(40px);} to {opacity:1; transform: translateY(0);} }
.cookie-banner p {
  margin-bottom: 0;
  font-size: 1.02rem;
  text-align: center;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-top: 4px;
}
.cookie-banner button {
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.cookie-banner .accept {
  background: #94B230;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #005B78;
  color: #fff;
}
.cookie-banner .reject {
  background: #F8F9FC;
  color: #005B78;
  border: 1.5px solid #005B78;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #ffe9ec;
  color: #005B78;
}
.cookie-banner .settings {
  background: #fff;
  color: #94B230;
  border: 1.5px solid #94B230;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #f8f9fc;
  color: #005B78;
}

/* Cookie Modal Styles */
.cookie-modal {
  position: fixed;
  z-index: 10010;
  left:0; top:0;
  width:100vw; height:100vh;
  background: rgba(34, 43, 56, 0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal .24s cubic-bezier(.55,0,.1,1);
}
@keyframes fadeInModal { from {opacity:0;} to {opacity:1;} }
.cookie-modal .modal-content {
  background: #fff;
  color: #005B78;
  padding: 32px 24px 22px 24px;
  border-radius: 19px;
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 6px 42px -4px #005B7865;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal .modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.23rem;
  font-weight: 700;
  color: #94B230;
  margin-bottom: 14px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}
.cookie-modal .toggle-switch {
  width: 40px;
  height: 22px;
  background: #f0f5e8;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
}
.cookie-modal .toggle-switch[aria-checked="true"],
.cookie-modal .toggle-switch.enabled {
  background: #94B230;
}
.cookie-modal .toggle-switch::before {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: left .16s;
}
.cookie-modal .toggle-switch.enabled::before,
.cookie-modal .toggle-switch[aria-checked="true"]::before {
  left: 21px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: transparent;
  border: none;
  color: #94B230;
  font-size: 1.75rem;
  cursor: pointer;
  z-index: 2;
}
.cookie-modal .cookie-modal-close:hover {
  color: #005B78;
}

/* ACCESSIBILITY --------------------------------- */
:focus-visible {
  outline: 2.5px solid #94B230;
  outline-offset: 2px;
}

/* SCROLLBAR & SELECTION ------------------------- */
::selection {
  background: #94B230;
  color: #fff;
}
::-webkit-scrollbar {
  width: 10px;
  background: #f8f9fc;
}
::-webkit-scrollbar-thumb {
  background: #d1d8e2;
  border-radius: 12px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94B230;
}

/* HIGH-ENERGY, VIBRANT OVERRIDES ---------------- */
h2, h3, h4 {
  text-transform: none;
  letter-spacing: .01em;
  font-family: 'Montserrat', Arial, sans-serif;
}
.section, .card, .listing-offer, .teaser-box, .testimonial-card, .article-list > * {
  border-radius: 21px;
}
.btn-primary, .btn-secondary {
  box-shadow: 0 2px 18px 0 rgba(148,178,48,0.13), 0 2px 8px 0 rgba(0,91,120,0.08);
  text-shadow: none;
  transition: box-shadow 0.12s, background 0.16s, color 0.14s;
}
.btn-primary:active, .btn-secondary:active {
  box-shadow: 0 2px 2px 0 #005B7823;
}
.testimonial-card {
  background: #ffffff;
  border-left: 5px solid #94B230;
  box-shadow: 0 8px 28px -8px #005B7840;
}
.testimonial-card blockquote {
  color: #222b38;
}
.testimonial-meta {
  color: #005B78;
}

/* MEDIA QUERIES - RESPONSIVE ---------------------- */
@media (max-width: 900px) {
  .container {
    padding-left: 7px; padding-right: 7px;
  }
  .footer-contact ul { font-size: 0.92rem; }
}
@media (max-width: 600px) {
  .container {
    padding-left: 3px; padding-right: 3px;
  }
  .section, .card, .listing-offer, .teaser-box {
    border-radius: 14px;
    padding: 18px 7px 14px 10px;
  }
  .footer-contact li, .footer-contact span { font-size: 0.86rem; }
}

/* ENSURE ALL FLEXBOX NO GRID ------------------- */
/*
 - All core layouts use display: flex per requirements
 - No grid-related CSS anywhere
*/

/* UTILITY CLASSES ------------------------------ */
.text-center {
  text-align: center;
}
.mt-24 { margin-top: 24px !important; }
.mb-20 { margin-bottom: 20px !important; }
.gap-16 {
  gap: 16px !important;
}

/* Z-INDEX LAYER UTILITY FOR OVERLAYS ----------- */
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.z-100 { z-index: 100; }

/* MISC OVERRIDES ------------------------------- */
[hidden] { display: none !important; }

/* END OF CSS */
