/* --- CSS RESET & BASE STYLES --- */
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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.4;
  min-height: 100vh;
  background: #FAF8F5;
  color: #23496D;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #23496D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #F2A93B;
}
ul, ol {
  list-style: none;
}
button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}
::-webkit-input-placeholder {color: #999;}
::-moz-placeholder {color: #999;}
:-ms-input-placeholder {color: #999;}
::placeholder {color: #999;}

/* --- TYPOGRAPHY --- */
h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin-bottom: 24px;
  color: #23496D;
  text-transform: uppercase;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  margin-bottom: 18px;
  color: #23496D;
  text-transform: uppercase;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #23496D;
  text-transform: uppercase;
}
p, li {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #23496D;
}
p {
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}

/* --- UTILITY CLASSES --- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}
.text-section ul,
.text-section ol {
  margin-bottom: 16px;
  padding-left: 0;
}
.text-section li {
  margin-bottom: 12px;
  padding-left: 0;
}

/* --- FLEXBOX LAYOUTS & SPACING --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.card-container,
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(35,73,109,0.07);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 28px 24px 28px;
  border: 2.5px solid #F2A93B;
}
.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: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  box-shadow: 0 3px 18px rgba(35,73,109,0.09);
  border-radius: 16px;
  border-left: 7px solid #F2A93B;
  min-width: 0;
  max-width: 460px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-bottom: 8px;
}
.brand-contact {
  font-size: 0.95rem;
  color: #23496D;
}

/* --- HEADER & NAVIGATION --- */
header {
  width: 100%;
  background: #fff;
  border-bottom: 2.5px solid #23496D;
  position: sticky;
  top: 0;
  z-index: 120;
  padding: 0 0 0 0;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}
header .container, header .content-wrapper {
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
header > a img {
  height: 44px;
  width: auto;
  margin: 16px 24px 16px 0;
  display: block;
}
.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  color: #23496D;
  text-transform: uppercase;
  position: relative;
  transition: background 0.2s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F2A93B;
  color: #fff;
}
.mobile-menu-toggle {
  display: none;
  background: #F2A93B;
  color: #fff;
  font-size: 2rem;
  padding: 8px 16px;
  border-radius: 10px;
  margin-left: auto;
  transition: background 0.2s, box-shadow 0.2s;
  border: 2px solid #F2A93B;
  z-index: 300;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #23496D;
  color: #F2A93B;
  box-shadow: 0 2px 14px rgba(35,73,109,0.20);
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 100vw;
  width: 100vw;
  height: 100vh;
  background: #23496D;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  z-index: 9999;
  transition: transform 0.34s cubic-bezier(.86,.39,.31,1.26), left 0s 0.34s;
  overflow-y: auto;
  /* Hidden by default */
  transform: translateX(0);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  left: 0;
  pointer-events: auto;
  opacity: 1;
  transition: transform 0.36s cubic-bezier(.68,-0.4,.27,1.46);
}
.mobile-menu-close {
  display: block;
  background: none;
  color: #fff;
  font-size: 2.4rem;
  align-self: flex-end;
  margin: 22px 28px 10px 0;
  border-radius: 7px;
  padding: 4px 14px 2px;
  transition: background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #F2A93B;
  color: #23496D;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 16px;
  margin-top: 24px;
  padding: 10px 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  padding: 14px 0 14px 4px;
  border-radius: 8px;
  text-transform: uppercase;
  transition: background 0.18s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F2A93B;
  color: #23496D;
}

/* --- BUTTONS & CTAs --- */
.cta-btn,
button.cta-btn {
  display: inline-block;
  background: #F2A93B;
  color: #23496D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.125rem;
  border-radius: 14px;
  padding: 14px 32px;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 16px rgba(35,73,109,0.12);
  border: 2px solid #F2A93B;
  transition: background 0.2s, color 0.16s, box-shadow 0.16s;
  margin-top: 18px;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: #23496D;
  color: #fff;
  border-color: #23496D;
  box-shadow: 0 3px 24px rgba(35,73,109,0.18);
}

/* --- CARDS & LISTS --- */
ul {
  padding: 0;
  margin: 0;
}
li {
  padding-left: 0;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.08rem;
}
li img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin-right: 8px;
}
/* --- TESTIMONIALS --- */
.testimonial-card {
  background: #fff;
  color: #23496D;
  border-left: 7px solid #F2A93B;
  box-shadow: 0 4px 18px rgba(35,73,109,0.10);
  border-radius: 16px;
  margin-bottom: 20px;
  padding: 32px 32px 26px 32px;
  min-width: 0;
  max-width: 480px;
  font-size: 1.08rem;
  transition: box-shadow 0.15s, transform 0.12s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 32px rgba(35,73,109,0.17);
  transform: translateY(-2px) scale(1.01);
}
.testimonial-card p {
  color: #23496D;
  font-size: 1.13rem;
  font-style: italic;
  margin-bottom: 12px;
}
.testimonial-card strong {
  color: #23496D;
}
.testimonial-card img {
  height: 22px;
  width: 22px;
  vertical-align: sub;
  margin-left: 1.5px;
}

/* --- FOOTER --- */
footer {
  background: #23496D;
  color: #fff;
  padding: 34px 0 24px 0;
  margin-top: 60px;
}
footer p {
  color: white;
}
footer .container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}
footer .content-wrapper {
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  display: flex;
  flex-wrap: wrap;
}
footer .footer-nav {
  gap: 26px;
}
footer .footer-nav a {
  color: #F2A93B;
  font-weight: 600;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color 0.17s;
}
footer .footer-nav a:hover, footer .footer-nav a:focus {
  color: #fff;
  text-decoration: underline;
}
footer .brand-contact {
  color: #fff;
  font-size: 0.94rem;
}

/* --- COOKIE CONSENT BANNER + MODAL --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  color: #23496D;
  box-shadow: 0 -2px 14px rgba(35,73,109,0.08);
  z-index: 99998;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 26px;
  gap: 28px;
  border-top: 4px solid #F2A93B;
  animation: cookieSlideUp 0.5s 0.15s cubic-bezier(.68,-0.4,.27,1.46);
}
@keyframes cookieSlideUp {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__message {
  flex: 1;
  font-size: 1.08rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  padding: 10px 20px;
  border-radius: 9px;
  color: #23496D;
  background: #F2A93B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  border: 2px solid #F2A93B;
  transition: color 0.16s, background 0.16s;
  margin-right: 2px;
}
.cookie-btn.white {
  background: #fff;
  color: #23496D;
  border-color: #23496D;
}
.cookie-btn.grey {
  background: #eee;
  color: #23496D;
  border-color: #eee;
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: #23496D;
  color: #fff;
  border-color: #23496D;
}

/* --- COOKIE MODAL WINDOW --- */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(35,73,109,0.28);
  z-index: 100000;
}
.cookie-modal-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #fff;
  color: #23496D;
  min-width: 320px;
  max-width: 98vw;
  width: 420px;
  border-radius: 16px;
  box-shadow: 0 6px 44px rgba(35,73,109,0.20);
  padding: 32px 26px 24px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: modalFadeIn 0.33s cubic-bezier(.68,-0.4,.27,1.46);
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.88); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal h3 {
  color: #23496D;
  font-size: 1.17rem;
  margin-bottom: 15px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}
.cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  gap: 14px;
}
.cookie-switch {
  /* custom toggle switch */
  position: relative;
  width: 46px;
  height: 26px;
}
.cookie-switch input {
  opacity: 0; width: 0; height: 0;
}
.cookie-switch-label {
  background: #eee;
  border-radius: 18px;
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  transition: background 0.22s;
}
.cookie-switch input:checked + .cookie-switch-label {
  background: #F2A93B;
}
.cookie-switch-slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.23s;
  box-shadow: 0 1px 4px rgba(35,73,109,0.10);
}
.cookie-switch input:checked ~ .cookie-switch-slider {
  transform: translateX(20px);
}
.cookie-category span {
  font-size: 1rem;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  margin-bottom: 0;
}
.cookie-modal-close {
  background: #F2A93B;
  border-radius: 8px;
  color: #23496D;
  font-size: 1.3rem;
  font-weight: 800;
  align-self: flex-end;
  margin-bottom: 5px;
  margin-left: auto;
  margin-right: -10px;
  padding: 2px 12px 1px 12px;
  line-height: 1.2;
  border: none;
  transition: background 0.15s, color 0.13s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #fff;
  color: #23496D;
  border: 2px solid #F2A93B;
}

/* --- GEOMETRIC SHAPE ACCENTS (example only, can be placed absolutely for deco bg) --- */
.geometric-accent {
  position: absolute;
  pointer-events: none;
  opacity: 0.13;
  z-index: 1;
  top: 8%;
  right: -80px;
  width: 170px;
  height: 170px;
  background: #F2A93B;
  clip-path: polygon(0 0, 100% 0, 70% 100%, 0 70%);
}

/* --- RESPONSIVE --- */
@media (max-width: 1080px) {
  .container {
    max-width: 98vw;
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 9px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .testimonial-card, .card {
    padding-left: 16px; padding-right: 16px;
  }
}
@media (max-width: 786px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1rem; }

  .section {
    padding: 27px 5px;
    margin-bottom: 32px;
  }
  .testimonial-card, .card {
    padding: 20px 9px;
  }
  .content-wrapper, .content-grid {
    gap: 15px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  header > a img {
    height: 36px;
    margin: 9px 12px 9px 0;
  }
  .footer-nav {
    gap: 9px;
  }
  footer .content-wrapper {
    gap: 15px;
  }
}
@media (max-width: 678px) {
  h1 {
    font-size: 1.25rem;
    margin-bottom: 12px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .testimonial-card, .card {
    min-width: 0;
    max-width: 99vw;
  }
  .section, .container {
    padding-left: 2vw;
    padding-right: 2vw;
  }
}

/* --- MICRO-INTERACTIONS & TRANSITIONS --- */
.card, .testimonial-card {
  transition: box-shadow 0.16s, transform 0.13s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 7px 28px rgba(35,73,109,0.13);
  transform: translateY(-2.5px) scale(1.01);
}
li img, .main-nav a, .footer-nav a, .cta-btn, .cookie-btn,
.mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.17s, color 0.14s, box-shadow 0.14s;
}

/* --- Z-INDEX RULES FOR INTERACTIVE ELEMENTS --- */
.mobile-menu, .cookie-banner, .cookie-modal-overlay { z-index: 99999; }

/* --- FORMATTING OL --- */
ol {
  counter-reset: geo-struct-ol;
  margin-bottom: 20px;
}
ol > li {
  counter-increment: geo-struct-ol;
  position: relative;
  padding-left: 30px;
  font-size: 1rem;
  margin-bottom: 15px;
}
ol > li::before {
  content: counter(geo-struct-ol) '.';
  position: absolute;
  left: 0; top: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #F2A93B;
}

/* --- TABLES (if any, e.g., in info pages) --- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: #fff;
  box-shadow: 0 1px 8px rgba(35,73,109,0.07);
}
th, td {
  border: 1.5px solid #F2A93B;
  padding: 12px 16px;
  text-align: left;
  font-size: 1rem;
}
th {
  background: #F2A93B;
  color: #23496D;
  font-family: 'Montserrat', Arial, sans-serif;
}
tr:nth-child(even) td {
  background: #FAF8F5;
}

/* --- SCROLLBAR STYLES (modern browsers) --- */
::-webkit-scrollbar {
  width: 9px;
  background-color: #eee;
}
::-webkit-scrollbar-thumb {
  background-color: #F2A93B;
  border-radius: 8px;
}

/* --- SELECTION COLOR --- */
::selection {
  background: #F2A93B;
  color: #fff;
}

/* --- HIDE ELEMENTS UTILITY --- */
.hidden, [hidden] {
  display: none !important;
}

/* --- END OF STYLES --- */
