/* =======================================================
    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 {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
body {
  line-height: 1;
  background: #F5F7FA;
  color: #0B3556;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
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;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
}
button, input[type="submit"] {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* =======================================================
   GEOMETRIC STRUCTURED: COLOR, TYPOGRAPHY & UTILITIES
   ======================================================= */
:root {
  --primary: #0B3556;
  --secondary: #31A6CE;
  --accent: #F5F7FA;
  --dark: #0B3556;
  --light: #fff;
  --gray: #E7ECF1;
  --border-radius: 14px;
  --radius-card: 20px;
  --radius-pill: 30px;
  --shadow-small: 0 2px 8px rgba(11,53,86,0.08);
  --shadow-medium: 0 6px 24px rgba(11,53,86,0.10);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

body {
  font-family: var(--font-body);
  background: var(--accent);
  color: var(--primary);
  font-size: 16px;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--primary);
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}
h4 {
  font-size: 1rem;
  margin-bottom: 14px;
}
p, ul, ol {
  color: #23384C;
  font-size: 1rem;
  line-height: 1.7;
}
ul, ol {
  padding-left: 22px;
}
ul li, ol li {
  margin-bottom: 10px;
  position: relative;
}
ul li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 2px;
  margin-right: 10px;
  vertical-align: middle;
}
strong {
  font-weight: 700;
  color: var(--primary);
}
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

/* =======================================================
   HEADER & NAVIGATION
   ======================================================= */
header {
  background: var(--light);
  box-shadow: var(--shadow-small);
  border-bottom-left-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
  margin-bottom: 16px;
  z-index: 50;
  position: sticky;
  top: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 24px;
}
header a img {
  height: 36px;
  display: block;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.01em;
  color: var(--primary);
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 7px 18px;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
header nav a:hover,
header nav a:focus {
  background: var(--secondary);
  color: #fff;
}
header .cta-button {
  margin-left: 18px;
  padding: 12px 28px;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--primary);
  background: none;
  border: none;
  margin-left: 18px;
  z-index: 150;
}

/* =======================================================
   MOBILE NAVIGATION
   ======================================================= */
.mobile-menu {
  display: none;
  position: fixed;
  z-index: 2100;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: var(--primary);
  color: var(--light);
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.61,1.4,.26,1);
  flex-direction: column;
  padding: 0;
  align-items: center;
  justify-content: flex-start;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu .mobile-menu-close {
  align-self: flex-end;
  margin: 24px 24px 12px 0;
  font-size: 2rem;
  color: var(--secondary);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu .mobile-menu-close:hover{
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 12px;
  padding: 32px 28px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.2rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 14px 0 14px 12px;
  border-radius: var(--radius-pill);
  width: 100%;
  transition: background 0.18s, color 0.18s;
  margin-bottom: 4px;
  min-width: 210px;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: #fff;
}

/* =======================================================
   MAIN CONTENT LAYOUTS
   ======================================================= */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid > div {
  background: var(--light);
  border-radius: var(--radius-card);
  flex: 1 1 220px;
  min-width: 220px;
  box-shadow: var(--shadow-small);
  padding: 28px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  border-top: 5px solid var(--secondary);
  transition: box-shadow 0.22s, transform 0.18s;
}
.feature-grid > div:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-3px) scale(1.025);
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--light);
  border-radius: var(--radius-card);
  margin-bottom: 20px;
  box-shadow: var(--shadow-small);
  position: relative;
  transition: box-shadow 0.19s, transform 0.18s;
  padding: 28px 22px 22px 22px;
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px) scale(1.011);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: var(--radius-card);
  padding: 20px;
  box-shadow: 0 3px 14px rgba(11,53,86,0.10);
  margin-bottom: 20px;
  flex-direction: column;
}
.testimonial-card p {
  font-size: 1.13rem;
  font-family: var(--font-display);
  font-weight: 500;
  color: #0B3556;
  margin-bottom: 6px;
  text-align: center;
}
.testimonial-card span {
  font-size: 1rem;
  color: var(--secondary);
  align-self: flex-end;
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  font-size: 1rem;
}

/*--- ACCORDION/FAQ ---*/
.accordion-list, .faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.accordion-list > div, .faq-list > div {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-small);
  padding: 18px 18px 14px 18px;
  transition: box-shadow 0.19s, transform 0.14s;
}
.accordion-list > div:hover, .faq-list > div:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px) scale(1.01);
}
.accordion-list h3, .faq-list h3 {
  font-size: 1.05rem;
  color: var(--primary);
}
.accordion-list p, .faq-list p {
  margin-bottom: 6px;
}

.callout-block {
  background: var(--secondary);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 18px 30px;
  font-weight: 600;
  margin: 16px 0;
  font-family: var(--font-display);
  box-shadow: var(--shadow-small);
  letter-spacing: 0.02em;
  text-align: center;
}
.cta-banner {
  margin-top: 32px;
  padding: 24px 18px;
  border-radius: var(--radius-card);
  color: #fff;
  text-align: center;
}
.cta-banner .cta-button {
  margin-top: 16px;
}

/* =======================================================
   BUTTONS
   ======================================================= */
.cta-button {
  display: inline-block;
  background-color: var(--secondary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: 0.03em;
  border-radius: var(--radius-pill);
  padding: 13px 34px;
  border: none;
  box-shadow: 0 2px 8px rgba(49,166,206,0.06);
  text-align: center;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.16s;
}
.cta-button:hover, .cta-button:focus {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 25px rgba(49,166,206,0.18);
  transform: translateY(-2px) scale(1.045);
}

/* =======================================================
   TABLES
   ======================================================= */
table {
  width: 100%;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-small);
  overflow: hidden;
  margin-bottom: 16px;
  font-size: 1rem;
}
th, td {
  padding: 16px 10px;
  text-align: left;
  border-bottom: 1px solid var(--gray);
}
th {
  background: var(--secondary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
}
tr:last-child td {
  border-bottom: none;
}

/* =======================================================
   FOOTER
   ======================================================= */
footer {
  background: var(--primary);
  color: #fff;
  padding: 38px 0 10px 0;
  margin-top: 50px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
}
footer a img {
  filter: brightness(90%) invert(0.04);
  height: 42px;
  margin-bottom: 12px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #BBD9EB;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 0.17s;
}
footer nav a:hover {
  color: #fff;
}
.contact-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  margin-top: 8px;
}
.contact-footer p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #E5EDF6;
}
.contact-footer img {
  width: 18px;
  height: 18px;
}

/* =======================================================
   MAP (contact)
   ======================================================= */
.map-embed {
  background: #fff;
  border: 1.5px solid var(--secondary);
  border-radius: var(--radius-card);
  padding: 22px 14px;
  text-align: center;
  margin-top: 16px;
  font-family: var(--font-display);
}

/* =======================================================
   COOKIE CONSENT BANNER & MODAL
   ======================================================= */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 2500;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 -2px 16px rgba(11,53,86,0.17);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 28px;
  font-size: 1rem;
  font-family: var(--font-body);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  animation: cookie-slideup 0.6s cubic-bezier(.81,1.6,.27,1);
}
@keyframes cookie-slideup {
  0% { transform: translateY(100%); opacity:0; }
  100% { transform: translateY(0); opacity:1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}
.cookie-actions .cookie-btn {
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  font-size: 1em;
  font-family: var(--font-display);
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  background: var(--gray);
  color: var(--primary);
}
.cookie-actions .cookie-btn.accept {
  background: var(--secondary);
  color: #fff;
}
.cookie-actions .cookie-btn.accept:hover,
.cookie-actions .cookie-btn.accept:focus {
  background: var(--primary);
}
.cookie-actions .cookie-btn.reject {
  background: #fff;
  color: var(--secondary);
  border: 1.5px solid var(--secondary);
}
.cookie-actions .cookie-btn.reject:hover,
.cookie-actions .cookie-btn.reject:focus {
  background: var(--secondary);
  color: #fff;
}
.cookie-actions .cookie-btn.settings {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--secondary);
}
.cookie-actions .cookie-btn.settings:hover {
  background: var(--secondary);
  color: #fff;
}

/* Cookie preferences modal */
.cookie-modal {
  z-index: 3000;
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(11,53,86,0.70);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.21s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-medium);
  max-width: 420px;
  padding: 40px 32px 28px 32px;
  position: relative;
  animation: modalAnim 0.45s cubic-bezier(.3,1.4,.32,1);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
@keyframes modalAnim {
  0% { transform: scale(0.85); opacity:0; }
  100% { transform: scale(1); opacity:1; }
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 1.6rem;
  background: none;
  border: none;
  color: var(--secondary);
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal .cookie-modal-close:hover{
  color: var(--primary);
}
.cookie-modal .cookie-modal-title {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--accent);
  border-radius: var(--border-radius);
  padding: 14px 16px;
  margin-top: 7px;
  margin-bottom: 7px;
}
.cookie-modal .cookie-category .toggle {
  margin-left: auto;
  margin-right: 4px;
}
.toggle {
  appearance: none;
  width: 44px;
  height: 26px;
  background: var(--gray);
  border-radius: 18px;
  transition: background 0.13s;
  outline: none;
  position: relative;
  cursor: pointer;
}
.toggle:checked {
  background: var(--secondary);
}
.toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 4px;
  top: 4px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.13s;
  box-shadow: 0 1px 3px #31A6CE26;
}
.toggle:checked:before {
  left: 22px;
}
.cookie-modal .cookie-btn {
  margin-top: 10px;
  min-width: 120px;
  align-self: flex-end;
}

/* =======================================================
   MEDIA QUERIES: RESPONSIVE DESIGN
   ======================================================= */
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
  }
  .feature-grid {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  header nav {
    gap: 12px;
  }
  .feature-grid > div {
    min-width: 180px;
    padding: 22px 14px 16px 14px;
  }
  .content-wrapper { gap: 14px; }
  .card-container { gap: 16px; }
}
@media (max-width: 768px) {
  header .container {
    gap: 10px;
    height: 65px;
    padding-right: 5px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block !important;
  }
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .testimonial-card { min-width: unset; }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .section {
    margin-bottom: 32px;
    padding: 24px 6px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .cta-banner { padding: 15px 8px; font-size: 1rem; }
}
@media (max-width: 480px) {
  .container { padding-left: 5px; padding-right: 5px; }
  .feature-grid > div, .card, .accordion-list > div, .faq-list > div {
    padding: 12px 8px 12px 8px;
    font-size: 0.96rem;
  }
  .cta-button { font-size: 0.98rem; padding: 10px 16px; }
}

/* =======================================================
   GEOMETRY & VISUAL EFFECTS
   ======================================================= */
.feature-grid > div, .card, .testimonial-card, .accordion-list > div, .faq-list > div {
  /* geometric shadow & edge */
  border-radius: var(--radius-card);
  box-shadow: 0 0 0 2px var(--accent), 0 2px 12px 0 rgba(11,53,86,0.07);
  border-top-left-radius: 40px 20px;
  border-bottom-right-radius: 40px 20px;
}
.cta-button {
  /* angular font family */
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
h1, h2, h3, h4 {
  /* angular font, geometric weight */
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.025em;
}

/* Visual separation for sections */
.section:not(:last-child) {
  border-bottom: 2px solid var(--gray);
}

/* ==========================================
   OL / LISTS (geometric styled numbers)
   ========================================== */
ol {
  counter-reset: geom-ol;
  list-style: none;
}
ol li {
  counter-increment: geom-ol;
  position: relative;
  margin-bottom: 13px;
  padding-left: 38px;
}
ol li::before {
  content: counter(geom-ol);
  position: absolute;
  left: 0;
  top: 1px;
  width: 26px;
  height: 26px;
  background: var(--secondary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px 0 10px 0;
}

/* ==========================================
   MISC LAYOUT FIXES & UTILITIES
   ========================================== */
.mb-0 { margin-bottom: 0 !important; }
.align-center { align-items: center !important; justify-content: center !important; }
.text-center { text-align: center !important; }
.mt-0 { margin-top: 0 !important; }
gap-0  { gap: 0 !important; }

/* Loading spinner (for cookie/modal future use) */
.spinner {
  display: inline-block;
  width: 25px;
  height: 25px;
  border: 3px solid var(--gray);
  border-top: 3px solid var(--secondary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* ==========================================
   A11Y & SELECTION
   ========================================== */
::selection {
  background: var(--secondary);
  color: #fff;
}
a:focus, button:focus, .cta-button:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
  z-index: 10;
}

/* ==========================================
   CUSTOM FOCUS VISIBLE
   ========================================== */
a:focus-visible, button:focus-visible {
  outline: 2.5px solid var(--primary);
  outline-offset: 1px;
}

/* ==========================================
   PRINT OPTIMIZATION
   ========================================== */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { background: #fff; }
}
