/* --- CSS RESET & NORMALIZE --- */
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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.7;
  background: #F5F5F1;
  font-family: 'Roboto', Arial, sans-serif;
  color: #213B5E;
  font-size: 16px;
  min-height: 100vh;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s;
}
im g {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

/* === VARIABLES (with fallbacks for legacy) === */
:root {
  --primary: #213B5E;
  --secondary: #A96E32;
  --accent: #F5F5F1;
  --on-primary: #fff;
  --on-secondary: #fff;
  --danger: #C72C2C;
}

/* --- TYPOGRAPHY (modern_bold style) --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: #213B5E;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
}
p, ul li, ol li {
  font-size: 1rem;
  color: #213B5E;
}
strong {
  font-weight: 700;
}
blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: bold;
  color: #213B5E;
  background: #F5F5F1;
  border-left: 5px solid #A96E32;
  padding: 16px 24px;
  margin-bottom: 12px;
  border-radius: 0 12px 12px 0;
}

/* --- BUTTONS --- */
.cta-button,
button.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  background: #A96E32;
  color: #fff;
  border-radius: 32px;
  padding: 14px 32px;
  margin-top: 18px;
  box-shadow: 0 2px 16px rgba(33,59,94,0.14);
  letter-spacing: 0.03em;
  transition: all 0.23s cubic-bezier(0.42,0,0.58,1);
  border: none;
  outline: none;
  position: relative;
  z-index: 2;
}
.cta-button:hover,
.cta-button:focus {
  background: #213B5E;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 24px rgba(169,110,50,0.18);
}

/* --- STRUCTURE --- */
.container {
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

/* --- SECTIONS & SPACING --- */
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(33,59,94,0.10);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.23s, transform 0.23s;
  padding: 24px 24px 16px 24px;
  min-width: 260px;
  max-width: 360px;
}
.card:hover {
  box-shadow: 0 6px 36px rgba(169,110,50,0.13);
  transform: translateY(-8px) scale(1.02);
}

.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;
  padding: 20px;
  margin-bottom: 24px;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(33,59,94,0.10);
  background: #F5F5F1;
  border-left: 5px solid #A96E32;
  transition: box-shadow 0.22s, transform 0.22s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 42px rgba(33,59,94,0.18);
  transform: scale(1.015);
}
.testimonial-card p {
  margin-bottom: 0;
  color: #213B5E;
  font-weight: 500;
  font-family: 'Roboto', Arial, sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- FEATURES BAR ON HOME --- */
.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 24px 0;
  justify-content: flex-start;
}
.features-list > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  min-width: 90px;
  box-shadow: 0 1px 7px rgba(33,59,94,0.07);
  padding: 18px;
  transition: box-shadow 0.22s, transform 0.22s;
}
.features-list > div:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 8px 32px rgba(33,59,94,0.13);
}
.features-list img {
  width: 36px;
  height: 36px;
  margin-bottom: 9px;
}
.features-list p {
  font-weight: 700;
  color: #A96E32;
  text-align: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}

/* --- NAVIGATION HEADER --- */
header {
  width: 100%;
  background: #213B5E;
  min-height: 72px;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 7px rgba(33,59,94,0.12);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 0;
  padding-bottom: 0;
  min-height: 72px;
  gap: 0;
}
header img {
  height: 46px;
  margin-right: 32px;
  min-width: 120px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  border-radius: 6px;
  padding: 5px 16px;
  transition: background 0.18s, color 0.18s;
  position: relative;
  z-index: 2;
}
.main-nav a:hover,
.main-nav a.active {
  color: #A96E32;
  background: #fff;
}
.main-nav .cta-button {
  margin-left: 12px;
  background: #A96E32;
  color: #fff;
  font-size: 1rem;
  padding: 8px 24px;
  border-radius: 30px;
}
.main-nav .cta-button:hover {
  background: #fff;
  color: #A96E32;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #fff;
  padding: 8px 20px;
  z-index: 90;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  color: #A96E32;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #213B5E;
  z-index: 120;
  transform: translateX(100vw);
  transition: transform 0.34s cubic-bezier(0.72,0.03,0.36,0.95);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  box-shadow: -4px 0 32px rgba(33,59,94,0.14);
  padding: 0 0 0 20px;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2rem;
  padding: 20px;
  margin-top: 6px;
  z-index: 130;
  cursor: pointer;
  align-self: flex-end;
  border: none;
  transition: color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #A96E32;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
  align-items: flex-start;
  width: 100%;
  padding-left: 28px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 2px;
  letter-spacing: 0.01em;
  border-radius: 8px;
  padding: 12px 18px;
  transition: background 0.16s, color 0.16s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a.active {
  color: #A96E32;
  background: #fff;
}

/* --- FOOTER --- */
footer {
  background: #213B5E;
  color: #fff;
  padding: 48px 0 24px 0;
}
footer .container {
  flex-direction: column;
  gap: 30px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #A96E32;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 5px 13px;
  border-radius: 6px;
  background: none;
  transition: background 0.17s, color 0.17s;
}
.footer-nav a:hover {
  background: #fff;
  color: #213B5E;
}
.brand-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1rem;
}
.brand-contact address {
  font-style: normal;
  color: #fff;
  font-weight: 500;
}
.brand-contact a {
  color: #fff;
  font-weight: 700;
  gap: 8px;
  display: inline-flex;
  align-items: center;
  font-size: 1rem;
  transition: color 0.14s;
}
.brand-contact a:hover {
  color: #A96E32;
}
.brand-contact img {
  width: 21px;
  height: 21px;
}
.brand-contact span {
  font-size: 0.98rem;
  color: #D9D8D6;
}

/* --- MAP LOCATION BLOCK --- */
.map-location {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  font-weight: 700;
  color: #A96E32;
}
.map-location img {
  width: 28px;
  height: 28px;
}

/* --- GENERAL ELEMENT SPACING & UTILITIES --- */
ul, ol {
  margin-left: 20px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
li {
  margin-bottom: 0;
  padding-left: 4px;
  position: relative;
}
li strong {
  color: #A96E32;
}
ol li {
  list-style-type: decimal;
  margin-left: 19px;
}

/* --- VISUAL GEOMETRIC ACCENTS --- */
section {
  position: relative;
}
section:before {
  content: '';
  display: block;
  position: absolute;
  top: -22px; left: 24px;
  width: 64px; height: 6px;
  background: #A96E32;
  border-radius: 8px;
  opacity: 0.14;
  z-index: 1;
}
section:first-of-type:before { /* Do not show line on first section */
  display: none;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1040px) {
  header .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 920px) {
  .container {
    max-width: 100%;
  }
}
@media (max-width: 840px) {
  .main-nav a {
    font-size: 0.97rem;
    padding: 5px 9px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header img {
    height: 38px;
    min-width: 90px;
    margin-right: 10px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .features-list {
    gap: 15px;
  }
  .testimonial-card {
    padding: 16px 10px;
    font-size: 0.98rem;
  }
  .section, section {
    padding-left: 8px;
    padding-right: 8px;
  }
  .content-grid, .card-container, .features-list {
    gap: 14px;
  }
  .footer-nav {
    gap: 11px;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.18rem; }
  .cta-button,
  button.cta-button {
    padding: 10px 16px;
    font-size: 0.99rem;
  }
  .features-list > div {
    min-width: 58px;
    padding: 10px 5px;
  }
  .card {
    min-width: 98%;
    padding: 13px 8px;
    font-size: 0.98rem;
  }
  .brand-contact {
    font-size: 0.93rem;
  }
}
@media (max-width: 600px) {
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

/* Ensure flexbox layouts */
.section, section, .content-grid, .card-container, .features-list, .footer-nav,
.brand-contact, .text-image-section, .feature-item {
  display: flex;
}
.section,
section, .content-wrapper, .brand-contact {
  flex-direction: column;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background: #213B5E;
  color: #fff;
  z-index: 2000;
  box-shadow: 0 -4px 32px rgba(33,59,94,0.22);
  padding: 22px 16px 22px 16px;
  font-size: 1rem;
  gap: 36px;
  transition: transform 0.42s cubic-bezier(0.48,0.04,0.52,1);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(160%);
}
.cookie-banner__text {
  flex: 2 1 0;
  padding-right: 24px;
  font-size: 1rem;
  color: #fff;
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner__btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 22px;
  padding: 9px 22px;
  font-weight: 700;
  border: none;
  outline: none;
  font-size: 1rem;
  transition: background 0.15s, color 0.15s, transform 0.2s;
  box-shadow: 0 2px 12px rgba(169,110,50,0.08);
  cursor: pointer;
  margin-left: 0;
}
.cookie-banner__btn.cookie-banner__accept {
  background: #A96E32;
  color: #fff;
}
.cookie-banner__btn.cookie-banner__accept:hover {
  background: #fff;
  color: #A96E32;
  transform: scale(1.06);
}
.cookie-banner__btn.cookie-banner__reject {
  background: #fff;
  color: #A96E32;
  border: 2px solid #A96E32;
}
.cookie-banner__btn.cookie-banner__reject:hover {
  background: #A96E32;
  color: #fff;
}
.cookie-banner__btn.cookie-banner__settings {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.cookie-banner__btn.cookie-banner__settings:hover {
  background: #fff;
  color: #213B5E;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    padding: 18px 10px 18px 10px;
  }
  .cookie-banner__text {
    padding-right: 0;
    font-size: 0.98rem;
  }
  .cookie-banner__actions {
    flex-direction: row;
    gap: 8px;
  }
}

/* --- COOKIE MODAL --- */
.cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(33,59,94,0.85);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.33s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal__content {
  background: #fff;
  border-radius: 22px;
  padding: 36px 32px 26px 32px;
  min-width: 320px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-family: 'Roboto', Arial, sans-serif;
  box-shadow: 0 10px 64px rgba(33,59,94,0.14);
  position: relative;
}
.cookie-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: none;
  background: transparent;
  color: #213B5E;
  font-size: 1.8rem;
  cursor: pointer;
}
.cookie-modal__title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: #A96E32;
  font-size: 1.3rem;
  margin-bottom: 4px;
}
.cookie-modal__category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  padding: 10px 0;
}
.cookie-modal__category-label {
  font-weight: 600;
  color: #213B5E;
  font-size: 1.04rem;
}
.cookie-modal__toggle {
  margin-left: auto;
}
/* Toggle Switch Style */
.cookie-modal input[type="checkbox"] {
  width: 37px; height: 21px;
  position: relative;
  appearance: none;
  background: #eee;
  border-radius: 14px;
  transition: background 0.19s;
  outline: none;
  vertical-align: middle;
}
.cookie-modal input[type="checkbox"]:checked {
  background: #A96E32;
}
.cookie-modal input[type="checkbox"]:before {
  content: '';
  display: block;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: left 0.19s;
}
.cookie-modal input[type="checkbox"]:checked:before {
  left: 19px;
}
.cookie-modal__note {
  font-size: 0.95rem;
  color: #213B5E;
  opacity: 0.76;
  margin-top: 6px;
}
.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 20px;
  justify-content: flex-end;
}
.cookie-modal__actions button {
  border-radius: 22px;
  padding: 9px 22px;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  outline: none;
  font-size: 1rem;
  transition: background 0.14s, color 0.14s;
  cursor: pointer;
  box-shadow: 0 2px 9px rgba(33,59,94,0.09);
}
.cookie-modal__actions .cookie-banner__accept {
  background: #A96E32;
  color: #fff;
}
.cookie-modal__actions .cookie-banner__accept:hover {
  background: #213B5E;
}
.cookie-modal__actions .cookie-banner__reject {
  background: #fff;
  color: #A96E32;
  border: 2px solid #A96E32;
}
.cookie-modal__actions .cookie-banner__reject:hover {
  background: #A96E32;
  color: #fff;
}

@media (max-width: 500px) {
  .cookie-modal__content {
    min-width: 90vw;
    padding: 18px 6px 14px 12px;
  }
}

/* --- SCROLLBAR STYLING --- */
::-webkit-scrollbar {
  width: 9px;
  background: #f0f0ef;
  border-radius: 16px;
}
::-webkit-scrollbar-thumb {
  background: #A96E32;
  border-radius: 15px;
}

/* --- FOCUSED OUTLINES --- */
a:focus, button:focus, .cta-button:focus, input:focus {
  outline: 2px solid #A96E32;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #A96E3229;
}

/* --- MICRO-ANIMATIONS --- */
.cta-button, .card, .features-list > div, .testimonial-card {
  will-change: transform, box-shadow;
}

/* --- A11Y & CONTRAST --- */
.testimonial-card,
blockquote, .testimonial-card p, .testimonial-card blockquote {
  color: #213B5E;
  background: #F5F5F1 !important;
}

/* --- MISC CLASSES OCCURRING IN HTML FOR FLEX SPACING --- */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* --- HIDE MOBILE MENU ON DESKTOP --- */
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}
