/* 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,
main, 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;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #F4F4F9;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: linear-gradient(135deg, #F4F4F9 0%, #D4C291 100%);
  color: #245271;
  line-height: 1.6;
  font-size: 16px;
  letter-spacing: 0.02em;
  transition: background-color 0.3s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: #245271;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #D4C291;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 18px;
}
.table, table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}
td, th {
  padding: 14px 10px;
  border-bottom: 1px solid #E9E9F1;
  text-align: left;
}
th {
  background: #F4F4F9;
  font-weight: 600;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #245271;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.14;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.4rem; /* 38-40px */
  margin-top: 12px;
}
h2 {
  font-size: 2rem;  /* 32px */
  margin-top: 18px;
}
h3 {
  font-size: 1.33rem;
}
.subheadline {
  color: #366488;
  font-size: 1.06rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 18px;
  line-height: 1.5;
}
p {
  margin-bottom: 14px;
}
strong {
  font-weight: 700;
}

/* SECTIONLAYOUT & CONTAINERS */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section,
.text-image-section {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  margin-bottom: 24px;
}
.text-section {
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 768px) {
  .text-image-section, .text-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgb(36 82 113 / 0.10), 0 1.5px 3px rgb(212 194 145 / 0.05);
  padding: 22px 20px 20px 20px;
  min-width: 220px;
  flex: 1 1 240px;
  max-width: 290px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-item img {
  width: 42px;
  margin-bottom: 3px;
}
.feature-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.feature-item p {
  font-size: 0.98rem;
  line-height: 1.6;
}
.feature-item:hover {
  box-shadow: 0 6px 24px rgb(36 82 113 / 0.17), 0 4px 20px rgb(212 194 145 / 0.10);
  transform: translateY(-4px) scale(1.02);
}

/* CARD LAYOUTS & TESTIMONIALS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgb(36 82 113 / 0.06), 0 1.5px 6px rgb(212 194 145 / 0.03);
  padding: 24px;
  transition: box-shadow 0.20s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 24px rgb(36 82 113 / 0.18), 0 6px 20px rgb(212 194 145 / 0.09);
  transform: translateY(-3px);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient(105deg, #FFF 65%, #F4F4F9 100%);
  box-shadow: 0 2.5px 16px rgb(36 82 113 / 0.10), 0 1.5px 6px rgb(212 194 145 / 0.06);
  margin-bottom: 20px;
  font-size: 1rem;
  color: #243246;
}
.testimonial-card blockquote {
  color: #245271;
  font-family: 'Montserrat', Arial, sans-serif;
  font-style: italic;
  font-size: 1.08rem;
  margin-bottom: 3px;
  line-height: 1.45;
}
.testimonial-card div {
  font-size: 0.97rem;
  color: #393939;
}
.testimonial-card span {
  font-weight: 600;
  color: #245271;
}

@media (max-width: 800px) {
  .features-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .feature-item, .card {
    min-width: 0;
    max-width: 100%;
  }
}

/* BUTTONS */
.btn-primary {
  display: inline-block;
  background: linear-gradient(90deg, #245271 76%, #D4C291 100%);
  color: #fff;
  border: none;
  border-radius: 28px;
  padding: 13px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  box-shadow: 0 1.5px 10px rgb(36 82 113 / 0.07);
  margin-top: 6px;
  margin-bottom: 6px;
  transition: background 0.18s, box-shadow 0.15s, transform 0.13s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #D4C291;
  color: #245271;
  box-shadow: 0 5px 15px rgb(36 82 113 / 0.11);
  transform: translateY(-1px) scale(1.035);
}

.btn-secondary {
  display: inline-block;
  background: #fff;
  color: #245271;
  border: 2px solid #D4C291;
  border-radius: 24px;
  padding: 10px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 5px;
  margin-bottom: 5px;
  transition: background 0.18s, color 0.12s, border-color 0.15s, box-shadow 0.17s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #D4C291;
  color: #fff;
  border-color: #D4C291;
  box-shadow: 0 3px 12px rgb(36 82 113 / 0.08);
}

/* HEADER & NAVIGATION */
header {
  background: linear-gradient(90deg, #245271 83%, #D4C291 100%);
  box-shadow: 0 4px 18px rgb(36 82 113 / 0.05);
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 76px;
  padding-top: 13px;
  padding-bottom: 13px;
}
.desktop-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.desktop-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 6px 2px;
  border-radius: 2px;
  transition: color 0.18s;
}
.desktop-nav a:hover, .desktop-nav a:focus {
  color: #D4C291;
  background: rgba(255,255,255,0.03);
}

/* Hide mobile menu button on desktop */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  margin-left: 10px;
  padding: 7px 10px;
  border-radius: 6px;
  transition: background 0.14s, color 0.12s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #D4C291;
  color: #245271;
}

@media (max-width: 1024px) {
  .container {
    max-width: 99%;
  }
}
@media (max-width: 900px) {
  header .container {
    gap: 8px;
    padding-left: 6px;
    padding-right: 6px;
  }
  .desktop-nav {
    gap: 12px;
  }
}
@media (max-width: 820px) {
  header .container {
    flex-wrap: wrap;
    gap: 0;
    min-height: 52px;
    padding-bottom: 8px;
  }
}

/* MOBILE NAVIGATION */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: linear-gradient(115deg, #245271 93%, #D4C291 100%);
  z-index: 9999;
  transform: translateX(-105vw);
  transition: transform 0.38s cubic-bezier(.76, .06, .34, .98);
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 24px 8px 0;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #fff;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s, color 0.13s;
  padding: 8px 14px 8px 8px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #D4C291;
  color: #245271;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: stretch;
  justify-content: center;
  flex: 1 1 auto;
  margin: 40px 0 0 0;
  width: 90vw;
  max-width: 400px;
  align-self: center;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  padding: 16px 21px;
  border-radius: 9px;
  transition: background 0.17s, color 0.13s;
  font-weight: 500;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #D4C291;
  color: #245271;
}

@media (min-width:769px) {
  .mobile-menu { display: none!important; }
}

/* FOOTER */
footer {
  background: linear-gradient(95deg, #245271 89%, #D4C291 100%);
  color: #fff;
  padding: 0 0 16px 0;
  font-size: 1rem;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 34px 0 19px 0;
  border-bottom: 1px solid rgba(212, 194, 145, 0.20);
}
.footer-menu {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-menu a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 2.8px;
  padding: 3px 5px;
  transition: background 0.13s, color 0.13s;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: #D4C291;
  color: #245271;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding: 9px 0 0 0;
  flex-wrap: wrap;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.98rem;
  margin-top: 9px;
}
.footer-contact img {
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-right: 9px;
  vertical-align: middle;
}
.footer-copy {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.95rem;
  color: #D4C291;
  opacity: 0.93;
  margin-bottom: 9px;
}

@media (max-width: 900px) {
  .footer-top, .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* MISC COMPONENTS */
.guide-highlight {
  background: #fffbe3;
  border-left: 4px solid #D4C291;
  border-radius: 8px;
  padding: 15px 18px;
  margin: 10px 0 20px 0;
  font-size: 0.99rem;
}
.map-placeholder {
  background: #ecede4;
  border: 1.5px solid #D4C291;
  border-radius: 8px;
  padding: 19px 12px 14px 15px;
  color: #245271;
  font-size: 1rem;
  margin-bottom: 16px;
  min-height: 73px;
}

/* FAQ & DL */
dl {
  margin-bottom: 12px;
}
dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #245271;
  margin-bottom: 6px;
}
dd {
  margin: 0 0 14px 0;
  color: #393939;
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  box-shadow: 0 -4px 18px rgb(36 82 113 / 0.07), 0 -1.5px 7px rgb(212 194 145 / 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10100;
  padding: 24px 18px 20px 18px;
  gap: 18px;
  width: 100vw;
  font-size: 1rem;
  animation: cookieBannerAppear 0.5s cubic-bezier(.55,.12,.23,1.2) both;
}
@keyframes cookieBannerAppear {
  0% { transform: translateY(110%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner-content {
  color: #245271;
  font-size: 1rem;
  line-height: 1.5;
  max-width: 800px;
  text-align: center;
}
.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 8px;
}
.cookie-btn {
  background: #245271;
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 12px 30px;
  margin: 0 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.12s, box-shadow 0.13s, transform 0.14s;
}
.cookie-btn.accept {
  background: #D4C291;
  color: #245271;
}
.cookie-btn.reject {
  background: #d14343;
  color: #fff;
}
.cookie-btn.settings {
  background: #fff;
  color: #245271;
  border: 2px solid #D4C291;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #fff6e4; color: #245271;
  box-shadow: 0 2px 10px rgb(36 82 113 / 0.10);
  transform: translateY(-2px) scale(1.03);
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 11000;
  background: rgba(36,82,113,0.36);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalAppear 0.5s cubic-bezier(.55,.12,.23,1.2) both;
}
@keyframes cookieModalAppear {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  padding: 36px 32px 28px 32px;
  border-radius: 22px;
  max-width: 420px;
  min-width: 290px;
  box-shadow: 0 5px 22px rgb(36 82 113 / 0.19);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 19px;
}
.cookie-modal-content h2 {
  color: #245271;
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 4px;
}
.cookie-categories {
  margin-bottom: 13px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
}
.cookie-category span {
  font-size: 1rem;
  color: #245271;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
.cookie-toggle {
  margin-left: auto;
  appearance: none;
  width: 36px; height: 22px;
  border-radius: 13px;
  background: #E5E6E9;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.19s;
}
.cookie-toggle:checked {
  background: #D4C291;
}
.cookie-toggle:before {
  content: "";
  display: block;
  width: 17px;
  height: 17px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2.5px;
  left: 2px;
  transition: left 0.18s;
}
.cookie-toggle:checked:before {
  left: 16px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 22px;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #245271;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s, color 0.12s;
  padding: 4px 9px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {background: #f4f1e2;color: #D4C291;}

@media (max-width:430px) {
  .cookie-modal-content { max-width: 98vw; padding: 23px 6vw 22px 6vw; }
}
@media (max-width: 600px) {
  .cookie-banner {
    padding: 19px 6px 17px 6px;
    font-size: 0.99rem;
  }
}

/* RESPONSIVE HEADINGS/TEXTS (MOBILE FIRST) */
@media (max-width: 540px) {
  h1 { font-size: 1.57rem; }
  h2 { font-size: 1.22rem; }
  h3 { font-size: 1.04rem; }
  body { font-size: 15px; }
  .footer-top { flex-direction: column; gap: 11px; }
  .footer-copy { font-size: 0.90rem; }
}

/* PRINT-FRIENDLY */
@media print {
  header, footer, .btn-primary, .btn-secondary {
    display: none !important;
  }
  html, body {
    background: #fff;
    color: #111;
  }
  .container { max-width: 100vw; }
}
