/* =========================================================
   CSS RESET & NORMALIZE (Best Practice for Cross-Browser)
   ========================================================= */
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,
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body { line-height: 1; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }

/* =========================================
   BRAND FONTS
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600&display=swap');

:root {
  --color-primary: #20406A;
  --color-secondary: #D3D6D8;
  --color-accent: #F6B81A;
  --color-bg: #F9FAFB;
  --color-bg-dark: #192337;
  --color-border: #e5e7eb;
  --color-card-bg: #fff;
  --color-text: #20222C;
  --color-text-light: #858591;
  --color-gold: #F6B81A;
  --shadow: 0 4px 32px 0 rgba(32, 64, 106, 0.07), 0 1.5px 8px 0 rgba(246,184,26,0.05);
  --radius-lg: 18px;
  --radius: 12px;
  --radius-sm: 6px;
  --header-height: 74px;
}

html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--color-bg);
}
*, *:before, *:after { box-sizing: inherit; }

body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
}

img { max-width: 100%; border: 0; display: block; }

/* ================================
   TYPOGRAPHY
   ================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2.1rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p, li, ul, dl, dt, dd, blockquote {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 15px;
}
blockquote {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--color-primary);
  border-left: 4px solid var(--color-gold);
  padding-left: 20px;
  margin: 18px 0;
}
strong { font-weight: 700; color: var(--color-primary); }

/* ================================
   CONTAINER & SPACING
   ================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* ================================
   NAVIGATION
   ================================ */
header {
  background: var(--color-card-bg);
  box-shadow: 0 2px 12px 0 rgba(32,64,106,0.07);
  position: relative;
  z-index: 20;
  min-height: var(--header-height);
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 20px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  text-decoration: none;
  color: var(--color-primary);
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.18s, color 0.18s;
}
nav a.cta {
  padding: 7px 22px;
  border-radius: var(--radius);
  background: var(--color-gold);
  color: #312700;
  font-weight: 700;
  letter-spacing: .04em;
  box-shadow: 0 1.5px 12px 0 rgba(246,184,26,0.09);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  border: none;
}
nav a.cta:hover, nav a.cta:focus {
  background: #e0a903;
  color: var(--color-card-bg);
  box-shadow: 0 2.5px 16px 0 rgba(246,184,26,0.17);
}
nav a:hover, nav a:focus {
  background: var(--color-accent);
  color: #312700;
}
nav a.cta:active { background: #d19b04; }
nav img { height: 48px; width: auto; margin-right: 12px; }

/* Hamburger Button */
.mobile-menu-toggle {
  display: none;
  background: var(--color-gold);
  border: none;
  color: #312700;
  font-size: 2rem;
  padding: 7px 17px;
  border-radius: var(--radius-lg);
  cursor: pointer;
  margin-left: 18px;
  box-shadow: var(--shadow);
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #e0a903;
  outline: none;
}

@media (max-width:1024px) {
  nav img { height: 36px; }
}

@media (max-width: 900px) {
  nav {
    gap: 16px;
  }
}

/* ============
   MOBILE MENU
   ============ */
.mobile-menu {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(32,64,106,0.94);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.44s cubic-bezier(.61,.13,.38,.94);
  will-change: transform;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-gold);
  font-size: 2.25rem;
  font-weight: 700;
  margin: 24px 0 20px 28px;
  cursor: pointer;
  transition: color 0.2s;
  align-self: flex-start;
  z-index: 1;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff6e2;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  margin-left: 32px;
  margin-top: 12px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff6e2;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 10px 18px;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-gold);
  color: #20406A;
}

@media (max-width: 900px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ================================
   MAIN LAYOUT & FLEX PATTERNS
   ================================ */
.card-container, .feature-grid, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.card {
  background: var(--color-card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px 26px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 240px;
  flex: 1 1 260px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px 20px 22px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 18px 0 rgba(32, 64, 106, 0.12);
  margin-bottom: 20px;
  flex-direction: column;
  max-width: 460px;
}
.testimonial-card p {
  margin-bottom: 6px;
  font-size: 1.1rem;
  color: var(--color-primary);
  font-style: italic;
  font-weight: 600;
}
.testimonial-card span {
  color: var(--color-text-light);
  font-size: 0.97rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  align-self: flex-end;
}

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

/* Feature Grid cards */
.feature-grid > div {
  background: #f1f3f6;
  border-radius: var(--radius);
  box-shadow: 0 1.5px 8px 0 rgba(32, 64, 106, 0.05);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 210px;
  flex: 1 1 230px;
  gap: 13px;
  transition: box-shadow 0.28s, border 0.17s;
  border: 1.5px solid #ececec;
  margin-bottom: 20px;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 4px 24px 0 rgba(246,184,26,0.07), 0 1.5px 16px 0 rgba(32, 64, 106, 0.10);
  border: 1.5px solid var(--color-gold);
}
.feature-grid img {
  height: 44px;
  width: 44px;
  object-fit: contain;
}

/* Responsive Flex Direction */
@media (max-width: 850px) {
  .feature-grid, .card-container, .card-grid, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div {
    min-width: 0;
    width: 100%;
  }
  .card {
    min-width: 0;
    width: 100%;
  }
  .testimonial-card { width:100%; max-width: 100%; }
}
@media (max-width: 768px) {
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}

/* =========================
   BUTTONS, CTAs, INTERACTIONS
   ========================= */
a.cta, .cta, button.cta, input[type=submit].cta {
  background: var(--color-gold);
  color: #312700;
  font-family: 'Montserrat',Arial,sans-serif;
  font-size: 1.14rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-lg);
  padding: 14px 34px;
  margin-top: 7px;
  box-shadow: 0 4px 26px 0 rgba(246,184,26,0.13);
  cursor: pointer;
  letter-spacing: 0.018em;
  transition: background 0.17s, color 0.18s, box-shadow 0.22s, transform .12s;
  display: inline-block;
  text-decoration: none;
  outline: none;
}
a.cta:hover, .cta:hover, button.cta:hover, a.cta:focus, button.cta:focus {
  background: #e0a903;
  box-shadow: 0 8px 24px 0 rgba(246,184,26,0.20);
  color: var(--color-primary);
  transform: translateY(-2px) scale(1.035);
}
a.cta:active, button.cta:active { background: #d19b04; }

/* Links */
a {
  color: var(--color-primary);
  text-decoration: underline;
  transition: color 0.17s;
}
a:hover, a:focus {
  color: var(--color-gold);
  text-decoration: underline;
}

/* ================================
   TABLES
   ================================ */
table {
  width: 100%;
  border-spacing: 0;
  background: var(--color-card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 32px;
  font-size: 1rem;
  overflow: hidden;
  border-collapse: separate;
}
thead {
  background: var(--color-secondary);
}
th, td {
  padding: 14px 18px;
  text-align: left;
}
th {
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.08rem;
}
td {
  color: var(--color-text);
}
tr:not(:last-child) td {
  border-bottom: 1.5px solid var(--color-border);
}

/* ================================
   LISTS, DL
   ================================ */
ul, li {
  color: var(--color-text);
  margin-left: 20px;
  font-size: inherit;
  margin-bottom: 8px;
  list-style-type: disc;
}
ul li ul, ul li ol {
  margin-left: 20px;
}
li strong {
  color: var(--color-primary);
}
dt { font-weight: 700; color: var(--color-primary); margin-bottom: 3px; }
dd { margin-bottom: 15px; color: var(--color-text-light); }

/* ================================
   FOOTER
   ================================ */
footer {
  background: var(--color-bg-dark);
  width: 100%;
  padding: 40px 0 28px 0;
  color: #f9f6f1;
  border-top: 1.5px solid var(--color-gold);
}
footer .container {
  display: flex;
  flex-direction: row;
  gap: 34px;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: var(--color-gold);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  transition: color 0.18s;
  text-decoration: underline;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff6e2;
  text-decoration: underline;
}
.footer-contact {
  color: #dededa;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
footer a img {
  height: 48px;
  width: auto;
  margin-bottom: 10px;
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  footer {
    padding: 30px 0 12px 0;
  }
}

/* ====================================
   CONTACT DETAILS (Icons)
   ==================================== */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  color: var(--color-text);
}
.contact-details img {
  width: 23px; height: 23px;
}

.map-description {
  margin-bottom: 14px;
}

/* ================================
   COOKIE CONSENT BANNER & MODAL
   ================================ */
.cookie-consent-banner {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) translateY(100%);
  width: 98vw;
  max-width: 440px;
  background: #fff8eb;
  color: #2c2c22;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -6px 32px 0 rgba(32,64,106,0.14);
  z-index: 12000;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding: 26px 24px 22px 24px;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.44s cubic-bezier(.61,.13,.38,.94), opacity 0.35s;
}
.cookie-consent-banner.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-consent-banner p {
  color: inherit;
  font-size: 1.05rem;
  margin-bottom: 3px;
}
.cookie-buttons {
  display: flex;
  gap: 14px;
  margin-top: 2px;
}
.cookie-consent-banner button, .cookie-consent-banner .cta {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  padding: 10px 18px;
  cursor: pointer;
  transition: background 0.18s, color 0.17s, box-shadow 0.16s;
  outline: none;
  background: var(--color-gold);
  color: #312700;
}
.cookie-consent-banner button.reject {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-consent-banner button.reject:hover, .cookie-consent-banner button.reject:focus {
  background: #b5bac2;
  color: #1f2633;
}
.cookie-consent-banner button.settings {
  background: #fff;
  color: var(--color-primary);
  border: 1.4px solid var(--color-gold);
}
.cookie-consent-banner button.settings:hover, .cookie-consent-banner button.settings:focus {
  background: var(--color-gold);
  color: var(--color-primary);
}
.cookie-consent-banner .cta:hover, .cookie-consent-banner .cta:focus {
  background: #e0a903;
  color: var(--color-bg-dark);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-52%) scale(0.92);
  background: #fff;
  color: var(--color-text);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px 0 rgba(32,64,106,0.18);
  z-index: 15000;
  min-width: 330px;
  max-width: 96vw;
  padding: 32px 30px 24px 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.33s cubic-bezier(.61,.13,.38,.94);
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-52%) scale(1);
}
.cookie-modal h2 {
  color: var(--color-primary);
  font-size: 1.4rem;
  margin-bottom: 11px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 1.08rem;
  padding: 9px 0;
}
.cookie-toggle {
  min-width: 34px;
  height: 22px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cookie-toggle input[type='checkbox'] {
  width: 0; height: 0; opacity: 0; position: absolute;
}
.cookie-toggle span {
  display: inline-block;
  width: 34px; height: 22px;
  background: var(--color-secondary);
  border-radius: 11px;
  position: relative;
  transition: background 0.18s;
}
.cookie-toggle input:checked + span {
  background: var(--color-gold);
}
.cookie-toggle span:after {
  content: '';
  display: block;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px 0 rgba(32,64,106,0.14);
  position: absolute;
  left: 2px; top: 2px;
  transition: left 0.18s;
}
.cookie-toggle input:checked + span:after {
  left: 14px;
}
.cookie-category .lock {
  color: var(--color-gold);
  font-size: 1.15em;
  margin-left: 8px;
  vertical-align: middle;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 12px;
}
.cookie-modal button {
  font-family: 'Montserrat',Arial,sans-serif;
  font-size: 1.09rem;
  padding: 10px 16px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.cookie-modal button.primary {
  background: var(--color-gold);
  color: #312700;
}
.cookie-modal button.primary:hover, .cookie-modal button.primary:focus {
  background: #e0a903;
  color: var(--color-bg-dark);
}
.cookie-modal button.cancel {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-modal button.cancel:hover, .cookie-modal button.cancel:focus {
  background: #b5bac2;
  color: #1f2633;
}

@media (max-width: 600px) {
  .cookie-consent-banner {
    max-width: 99vw;
    padding: 16px 11px 13px 13px;
  }
  .cookie-modal {
    min-width: 0;
    padding: 19px 8vw 14px 8vw;
  }
}

/* =========================
   RESPONSIVENESS
   ========================= */
@media (max-width: 600px) {
  .container { padding: 0 8px; }
  .section { padding: 22px 4px; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
  .footer-contact { font-size: .98rem; }
}

/* =========================
   MICRO-INTERACTIONS & EFFECTS
   ========================= */
.card, .feature-grid > div, .testimonial-card, .cookie-consent-banner, .cookie-modal, .cta {
  transition: box-shadow 0.18s, border 0.14s, background 0.13s, transform .11s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 34px 0 rgba(246,184,26,0.07), 0 1.5px 14px 0 rgba(32, 64, 106, 0.13);
}

/* =========================
   MISC UTILITIES
   ========================= */
.mb-0 { margin-bottom: 0 !important; }
.mb-16 { margin-bottom: 16px !important; }
.mt-16 { margin-top: 16px !important; }
.flex { display: flex; }
.flex-start { align-items: flex-start; }
.flex-center { align-items: center; justify-content: center; }
.flex-col { flex-direction: column; }
.gap-24 { gap: 24px; }
.gap-8 { gap: 8px; }

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

/* =========================
   PRINT
   ========================= */
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal {
    display: none !important;
  }
  .container {
    max-width: none;
    padding: 0;
  }
}
