/* =======================
   CSS RESET & BASE STYLES
   ======================= */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #163247;
  background: #F5F8FA;
  line-height: 1.6;
  font-size: 1rem;
  min-height: 100vh;
}
img, svg {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #163247;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.58,.01,.97,.96);
  outline: none;
}
a:focus,
a:hover {
  color: #D0AB57;
  text-decoration: underline;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #163247;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}

p, ul, ol {
  margin-bottom: 14px;
}
strong {
  font-weight: 700;
}
ul, ol {
  padding-left: 20px;
}
li {
  font-size: 1rem;
  margin-bottom: 8px;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

/*====================
  HEADER & NAVIGATION
====================*/
header {
  background-color: #fff;
  border-bottom: 4px solid #D0AB57;
  box-shadow: 0 2px 8px #0000000a;
  position: sticky;
  top: 0;
  z-index: 100;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  min-height: 64px;
  padding: 0 0 0 8px;
}
header nav > a img {
  height: 42px;
  margin-right: 4px;
}
header nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0 24px 0 0;
}
header nav ul li a {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 5px;
  letter-spacing: 0.02em;
  transition: background 0.25s, color 0.25s;
}
header nav ul li a:hover,
header nav ul li a:focus {
  background: #D0AB57;
  color: #163247;
  text-decoration: none;
}

header .cta {
  padding: 10px 24px;
  margin-left: 8px;
  background: #163247;
  color: #fff;
  border-radius: 24px;
  border: 2px solid #D0AB57;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.95rem;
  box-shadow: 0 2px 16px 0 #16324722;
  transition: background 0.2s, color 0.2s, border 0.2s, transform 0.15s;
}
header .cta:hover,
header .cta:focus {
  background: #D0AB57;
  color: #163247;
  border-color: #163247;
  transform: translateY(-2px) scale(1.03);
}

/*======================
    MOBILE NAVIGATION
========================*/
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  display: none;
}

@media (max-width: 1024px) {
  header nav ul {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  header nav ul {
    display: none;
  }
  header .cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 2.1rem;
    color: #163247;
    margin-right: 12px;
    cursor: pointer;
    z-index: 105;
    transition: color 0.2s;
    height: 48px;
    width: 48px;
    border-radius: 7px;
  }
  .mobile-menu-toggle:focus,
  .mobile-menu-toggle:hover {
    color: #D0AB57;
    background: #16324708;
  }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: fixed;
    left: 0; top: 0; right: 0; bottom: 0;
    background: #F5F8FA;
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(.62,-0.01,.26,1.1);
    box-shadow: -2px 0 16px 0 #00000023;
    padding: 32px 26px 32px 24px;
    pointer-events: none;
    opacity: 0;
  }
  .mobile-menu.open {
    transform: translateX(0);
    pointer-events: auto;
    opacity: 1;
  }
  .mobile-menu-close {
    background: #fff;
    color: #163247;
    border: none;
    font-size: 2.1rem;
    align-self: flex-end;
    cursor: pointer;
    margin-bottom: 16px;
    border-radius: 7px;
    padding: 0 6px;
    box-shadow: 0 0 8px 0 #D0AB571c;
    transition: background 0.2s, color 0.2s;
  }
  .mobile-menu-close:hover,
  .mobile-menu-close:focus {
    background: #D0AB57;
    color: #163247;
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 14px;
    margin-top: 22px;
  }
  .mobile-nav a {
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #163247;
    padding: 14px 0 14px 6px;
    border-radius: 6px;
    letter-spacing: 0.02em;
    transition: background 0.15s, color 0.15s;
    display: block;
  }
  .mobile-nav a:focus,
  .mobile-nav a:hover {
    background: #D0AB57;
    color: #163247;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 7px;
  }
}

/* Sections and Main Structure */
main {
  width: 100%;
  margin: 0 auto;
}
section {
  background: #fff;
  border-radius: 26px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 4px 24px 0 #1632470b;
  positions: relative;
}
.content-wrapper {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.cta-section {
  background: #163247;
  color: #fff;
  border-radius: 28px;
  box-shadow: 0 8px 32px #16324717;
  align-items: center;
  text-align: center;
}
.cta-section h2, .cta-section p { color: #fff; }

/* Feature Grids & Cards (Geometric Style) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0 0 0;
  width: 100%;
}
.feature-grid > div {
  background: #F5F8FA;
  border-radius: 18px;
  border: 2.5px solid #D0AB57;
  padding: 28px 20px;
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  box-shadow: 0 3px 11px #1632470a;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.16s;
}
.feature-grid > div:hover,
.feature-grid > div:focus-within {
  box-shadow: 0 8px 32px #D0AB5732;
  border-color: #163247;
  transform: translateY(-4px) scale(1.01);
}
.feature-grid img {
  height: 36px;
  width: auto;
  margin-bottom: 12px;
  filter: drop-shadow(0 2px 5px #16324712);
}
.feature-grid h3 {
  font-size: 1.18rem;
  color: #163247;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
  font-weight: 700;
}

/* Structured List Items (Geometric Bullets) */
ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1rem;
}
ul li:before {
  content: "";
  display: inline-block;
  position: absolute;
  left: 0; top: 8px;
  width: 14px; height: 14px;
  background: #D0AB57;
  border-radius: 3px;
}

/* Text Image Section */
.text-section, .text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 18px;
}
.text-section {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.text-image-section {
  flex-direction: row;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* Testimonials */
.testimonial-card {
  background: #F5F8FA;
  color: #163247;
  border-radius: 16px;
  border-left: 6px solid #D0AB57;
  box-shadow: 0 2px 12px #16324713;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  transition: box-shadow 0.2s, border-color 0.2s;
  position: relative;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 6px 30px #D0AB5730;
  border-left-color: #163247;
}
.testimonial-card p {
  font-size: 1.16rem;
  font-style: italic;
  font-weight: 500;
  flex: 1;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  color: #163247;
  font-weight: 500;
  min-width: 160px;
  text-align: right;
  opacity: 0.80;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 10px;
  }
  .testimonial-card span {
    text-align: left;
    min-width: 0;
  }
}

/* Cards General */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 20px #16324710;
  border: 2px solid #D0AB57;
  margin-bottom: 20px;
  padding: 30px 18px;
  position: relative;
  flex-basis: 290px;
  flex-grow: 1;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.14s;
}
.card:hover,
.card:focus-within {
  border-color: #163247;
  box-shadow: 0 8px 42px #16324728;
  transform: translateY(-4px);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

/* Feature Item */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Buttons */
.cta, .content-wrapper .cta, .text-section .cta, .cta-section .cta, a.cta, .card .cta {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 30px;
  background: #163247;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 1.07rem;
  border: 2px solid #D0AB57;
  box-shadow: 0 2px 22px #16324713;
  margin-top: 18px;
  margin-bottom: 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.18s, transform 0.15s;
}
.cta:hover,
.cta:focus {
  background: #D0AB57;
  color: #163247 !important;
  border-color: #163247;
  box-shadow: 0 8px 24px #16324731;
  transform: translateY(-2px) scale(1.04);
  text-decoration: none;
}

/* OL / Details (Faqs) */
ol {
  margin-bottom: 24px;
  padding-left: 22px;
}
ol li {
  font-size: 1rem;
  margin-bottom: 12px;
  position: relative;
  padding-left: 0;
  list-style-type: decimal;
}
details {
  margin-bottom: 14px;
  background: #F5F8FA;
  padding: 12px 16px;
  border-radius: 10px;
  border-left: 4px solid #D0AB57;
  font-size: 1.05rem;
  box-shadow: 0 2px 12px #1632470b;
  cursor: pointer;
  transition: box-shadow 0.2s, border-color 0.2s;
}
details[open] {
  box-shadow: 0 4px 32px #D0AB5721;
  border-left: 4px solid #163247;
}
summary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  margin-bottom: 8px;
}
details p {
  padding-left: 8px;
  margin-bottom: 0;
}

/* Address & Footer */
footer {
  background: #163247;
  color: #fff;
  padding: 38px 0 21px 0;
  border-top: 5px solid #D0AB57;
  font-size: 1rem;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
footer nav a {
  color: #D0AB57;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  margin-right: 12px;
  border-radius: 5px;
  padding: 6px 8px;
  transition: background 0.19s, color 0.19s;
}
footer nav a:hover,
footer nav a:focus {
  background: #D0AB57;
  color: #163247;
  text-decoration: none;
}
footer address {
  font-size: 0.95rem;
  color: #fff;
  font-style: normal;
  opacity: 0.87;
  border-top: 1px solid #D0AB57;
  padding-top: 11px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

/* Responsive Tweaks for Section and Cards */
@media (max-width: 900px) {
  section {
    padding: 28px 5px;
    margin-bottom: 36px;
  }
  .feature-grid, .content-grid, .card-container {
    gap: 14px;
  }
}
@media (max-width: 600px) {
  section {
    border-radius: 14px;
    padding: 16px 2px;
  }
  .feature-grid > div, .card {
    min-width: 120px;
    padding: 16px 8px;
  }
  .feature-grid, .content-grid, .card-container {
    gap: 7px;
  }
  .content-wrapper {
    gap: 14px;
  }
}

/* Cookie Consent Banner - Fixed Bottom */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #163247;
  color: #fff;
  z-index: 9000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 22px 10px 18px 10px;
  box-shadow: 0 -2px 24px #D0AB5777;
  gap: 22px;
  animation: slideUpBanner 0.44s cubic-bezier(.62,-0.01,.26,1.1);
}
@keyframes slideUpBanner {
  0% { transform: translateY(100%); opacity: 0; }
  80% { transform: translateY(-8px); }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex: 2;
  font-size: 1rem;
  margin-bottom: 0;
}
.cookie-banner .cookie-btn {
  background: #D0AB57;
  color: #163247;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 22px;
  padding: 11px 25px;
  margin-left: 9px;
  font-size: 0.97rem;
  cursor: pointer;
  transition: background 0.13s, color 0.13s, transform 0.14s, box-shadow 0.14s;
  box-shadow: 0 1px 6px #16324716;
  outline: none;
}
.cookie-banner .cookie-btn.settings {
  background: transparent;
  color: #D0AB57;
  border: 2px solid #D0AB57;
}
.cookie-banner .cookie-btn:hover,
.cookie-banner .cookie-btn:focus {
  background: #fff;
  color: #163247;
  transform: scale(1.04);
  box-shadow: 0 2px 14px #D0AB573b;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 7px 15px 7px;
  }
  .cookie-banner .cookie-btn {
    width: 100%;
    margin-left: 0;
    margin-bottom: 7px;
  }
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #163247ee;
  z-index: 12000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.25s;
}
.cookie-modal {
  background: #fff;
  color: #163247;
  border-radius: 19px 19px 0 0;
  box-shadow: 0 -6px 24px #D0AB5733;
  width: 100%;
  max-width: 425px;
  margin-bottom: 0;
  padding: 38px 29px 26px 29px;
  animation: slideUpBanner 0.37s;
}
.cookie-modal h2 {
  font-size: 1.37rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 13px;
}
.cookie-categories {
  margin: 14px 0 14px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  gap: 8px;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-category input[type=checkbox],
.cookie-category input[type=radio] {
  accent-color: #D0AB57;
  height: 22px; width: 22px;
}
.cookie-category label {
  font-size: 1rem;
  font-weight: 500;
}
.cookie-modal .cookie-btn {
  width: 100%;
  margin-bottom: 8px;
  background: #163247;
  color: #fff;
  border: 2px solid #D0AB57;
}
.cookie-modal .cookie-btn.secondary {
  background: #fff;
  color: #163247;
  border: 2px solid #163247;
}
.cookie-modal .cookie-btn:hover,
.cookie-modal .cookie-btn:focus {
  background: #D0AB57;
  color: #163247;
  border-color: #163247;
  box-shadow: 0 3px 20px #D0AB5742;
}
.cookie-modal .cookie-modal-close {
  background: transparent;
  color: #163247;
  font-size: 1.6rem;
  position: absolute;
  right: 23px; top: 29px;
  border: none;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal .cookie-modal-close:hover,
.cookie-modal .cookie-modal-close:focus {
  color: #D0AB57;
}
@media (max-width: 500px) {
  .cookie-modal { max-width: 100%; padding: 22px 7px 17px 7px; border-radius: 13px 13px 0 0; }
  .cookie-modal h2 { font-size: 1.05rem; }
}

/* Micro-interactions */
.card, .feature-grid > div, .testimonial-card, .details {
  transition: box-shadow 0.21s, border-color 0.18s, transform 0.13s;
}
.card:hover, .feature-grid > div:hover, .testimonial-card:hover {
  transform: translateY(-2px) scale(1.009);
}

/* Geometric Shapes (decorative - used only with pseudo-elements, not for content layout) */
.header:after, .footer:before {
  content: '';
  display: none;
}

/* Section Spacing (Mandatory) */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* Font Fallbacks and Import */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

/* Custom Scrollbar (modern, geometric) */
::-webkit-scrollbar { width: 12px; background: #F5F8FA; }
::-webkit-scrollbar-thumb { background: #D0AB57; border-radius: 6px; }

::selection { background: #D0AB5777; color: #163247; }

/* Utility Classes for Spacing */
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }

/* Accessibility focus */
:focus {
  outline: 2px solid #D0AB57;
  outline-offset: 2px;
}

/*--- Hide content visually but keep for screen readers (for accessibility) ---*/
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  border: 0 !important;
}
