/* =====================
   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;
}
html {
  -webkit-tap-highlight-color: transparent;
}
body {
  background: #F3F6F9;
  color: #262626;
  font-family: 'Roboto', Georgia, Times, 'Times New Roman', serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
a {
  color: #224D89;
  text-decoration: none;
  transition: color 0.25s;
}
a:hover, a:focus {
  color: #21A366;
  outline: none;
}
ul, ol {
  margin-left: 1.35em;
  margin-bottom: 1.5em;
}
ul ul, ol ol, ul ol, ol ul {
  margin-bottom: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  appearance: none;
}
b, strong {
  font-weight: 700;
}

/* ========================
   TYPOGRAPHY: ELEGANT CLASSIC
   ======================== */
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700|Montserrat:400,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #224D89;
  margin-bottom: 18px;
  line-height: 1.13;
}
h1 { font-size: 2.5rem; margin-bottom: 28px; }
h2 { font-size: 2rem; margin-bottom: 24px; }
h3 { font-size: 1.35rem; margin-bottom: 18px; font-weight: 600; }
h4 { font-size: 1.12rem; margin-bottom: 14px; font-weight: 600; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
}

p, li, blockquote, cite {
  font-family: 'Roboto', Georgia, Times, serif;
  font-size: 1rem;
  color: #323232;
}
blockquote {
  font-style: italic;
  font-size: 1.15rem;
  color: #153358;
  border-left: 4px solid #224D89;
  padding-left: 16px;
  margin-bottom: 10px;
}
cite {
  font-size: 0.98rem;
  color: #224D89;
  font-style: normal;
}

hr {
  border: none;
  border-top: 1px solid #e0e2e7;
  margin: 32px 0;
}

/* =====================
   LAYOUT CONTAINERS
   ===================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0;
}
@media (min-width: 992px) {
  .content-wrapper {
    gap: 32px;
    padding: 0 26px;
  }
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(34,77,137,0.07);
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 32px;
    padding: 24px 8px;
    border-radius: 12px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 28px rgba(34,77,137,0.06);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
  min-width: 280px;
  max-width: 100%;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 36px rgba(34,77,137,0.14);
  transform: translateY(-2px) scale(1.02);
  z-index: 1;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: stretch;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  background: #F3F6F9;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(21,51,88,0.06);
  border-left: 4px solid #21A366;
  min-width: 260px;
  max-width: 600px;
}
.testimonial-card blockquote {
  margin: 0;
  color: #203068;
  font-size: 1.1rem;
}
.testimonial-card cite {
  color: #224D89;
  margin-left: 4px;
  font-size: 0.96rem;
}
@media (max-width: 768px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 18px 10px;
  }
}

.feature-list,
ul.feature-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 16px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.1rem;
  margin-bottom: 11px;
  color: #224D89;
}
.feature-list img {
  height: 28px; width: 28px;
  filter: grayscale(0.5) opacity(0.87);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.map-placeholder {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  padding: 18px;
  background: #FAFBFC;
  border: 1px solid #e4ebf1;
  border-radius: 13px;
  min-width: 240px;
}
.map-placeholder img {
  width: 44px; height: 44px;
  margin-right: 7px;
}

/* =====================
   HEADER & NAVIGATION
   ===================== */
header {
  width: 100%;
  box-shadow: 0 2px 16px rgba(34,77,137,0.06);
  background: #fff;
  z-index: 21;
  position: sticky;
  top: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  position: relative;
  padding: 10px 20px;
}
header img {
  height: 46px;
  width: auto;
  display: block;
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
nav a {
  font-size: 1rem;
  color: #224D89;
  font-family: 'Montserrat', serif;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.03em;
}
nav a:hover, nav a.active {
  background: #e1eaf0;
  color: #21A366;
}
.cta-btn {
  background: #21A366;
  color: #fff;
  font-family: 'Montserrat', serif;
  font-weight: 700;
  padding: 10px 26px;
  font-size: 1.1rem;
  border-radius: 24px;
  box-shadow: 0 2px 16px rgba(34,77,137,0.08);
  transition: background 0.17s, transform 0.21s;
  border: none;
  margin-left: 12px;
  display: inline-block;
  cursor: pointer;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: #188c52;
  transform: translateY(-2px) scale(1.03);
}

@media (max-width: 992px) {
  header .container {
    gap: 10px;
    padding: 8px 6px;
  }
  nav {
    gap: 10px;
  }
  .cta-btn {
    font-size: 1rem;
    padding: 9px 16px;
    margin-left: 6px;
  }
}

/* =============================
   MOBILE BURGER NAVIGATION
   ============================= */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  font-size: 2rem;
  color: #224D89;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  margin-left: 15px;
  padding: 4px 12px 2px 6px;
  transition: background 0.18s;
  z-index: 50;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #e1eaf0;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.75, 0.18, 0.19, 1.01);
  box-shadow: 0 0 32px rgba(21,51,88,0.18);
  opacity: 0.98;
  pointer-events: none;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 24px 14px 0;
  background: none;
  color: #224D89;
  font-size: 2.3rem;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.16s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #e1eaf0;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  padding: 24px;
}
.mobile-nav a {
  display: block;
  font-size: 1.19rem;
  font-family: 'Montserrat', serif;
  color: #224D89;
  padding: 12px 10px;
  border-radius: 8px;
  font-weight: 600;
  width: 100%;
  transition: background 0.18s, color 0.15s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: #21A366;
  color: #fff;
}

@media (max-width: 1024px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
  nav {
    display: flex !important;
  }
}

/* =====================
   MAIN CONTENT STYLES
   ===================== */
main {
  width: 100%;
  background: #F3F6F9;
  transition: background 0.3s;
  min-height: 560px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 0 16px rgba(44,82,144,0.06);
}
@media (max-width: 768px) {
  section {
    margin-bottom: 32px;
    padding: 24px 8px;
    border-radius: 10px;
  }
}

/* =====================
   FOOTER
   ===================== */
footer {
  width: 100%;
  background: #224D89;
  color: #fff;
  padding: 0;
  font-size: 1rem;
  margin-top: 32px;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  padding: 30px 20px;
  gap: 28px;
}
@media (max-width: 850px) {
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    padding: 18px 8px;
  }
}
.footer-menu {
  display: flex;
  flex-direction: row;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.footer-menu a {
  color: #bdebe1;
  font-size: 1rem;
  font-family: 'Roboto', serif;
  padding: 6px 10px;
  border-radius: 7px;
  transition: background .15s, color .14s;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: #21A366;
  color: #fff;
}
.contact-summary {
  font-size: 0.98rem;
  color: #e8f7f3;
  margin-bottom: 6px;
}
.contact-summary a {
  color: #93dbc2;
  text-decoration: underline;
  font-weight: 500;
}
.contact-summary a:hover {
  color: #fff;
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.social-links a img {
  height: 30px; width: 30px;
  filter: grayscale(0.58) contrast(1.12);
  transition: filter 0.18s;
}
.social-links a:hover img, .social-links a:focus img {
  filter: none;
}

/* =======================
   BUTTONS AND INTERACTIONS
   ======================= */
button, .cta-btn {
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.14s, transform 0.14s;
}
button:focus, .cta-btn:focus {
  outline: 2px dotted #21A366;
  outline-offset: 2px;
}

/* =====================
   LISTS, FORMS, MISC
   ===================== */
ul, ol {
  margin-bottom: 1.5em;
  line-height: 1.85;
  color: #224D89;
}
ul li, ol li {
  margin-bottom: 8px;
}
li strong {
  color: #224D89;
}

ol {
  list-style-type: decimal;
}
ul {
  list-style-type: disc;
}
/* Cards inside content */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 18px;
  gap: 10px;
  background: #f7fafd;
  border-radius: 13px;
}

/* =====================
   RESPONSIVE RULES
   ===================== */
@media (max-width: 650px) {
  .container {
    padding: 0 6px;
  }
  .footer-menu {
    flex-direction: column;
    gap: 8px;
  }
  h1 {
    font-size: 1.36rem;
  }
}

/* =====================
   COOKIES CONSENT BANNER
   ===================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  box-shadow: 0 -2px 20px rgba(34,77,137,0.09);
  width: 100vw;
  padding: 22px 12px 22px 16px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  z-index: 9999;
  gap: 24px;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.27s ease, opacity 0.32s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
}
.cookie-banner-text {
  color: #224D89;
  font-size: 1rem;
  font-family: 'Roboto', serif;
  max-width: 640px;
  margin-bottom: 7px;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 0;
}
.cookie-btn {
  background: #21A366;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 9px 19px;
  box-shadow: 0 1px 8px rgba(34,77,137,0.10);
  transition: background 0.14s, transform 0.12s, color 0.11s;
}
.cookie-btn.settings {
  background: #224D89;
}
.cookie-btn.reject {
  background: #e6e7eb;
  color: #153358;
  font-weight: 600;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #188c52;
  color: #fff;
  transform: scale(1.03);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #183E6D;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #d0d8e5;
  color: #224D89;
}
@media (max-width: 850px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px 8px 14px 8px;
  }
  .cookie-banner-actions {
    margin-top: 4px;
    gap: 6px;
  }
}

/* -------- Cookie MODAL --------- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(34,77,137,0.21);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.27s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-dialog {
  background: #fff;
  border-radius: 22px;
  padding: 38px 28px 18px 28px;
  box-shadow: 0 8px 34px rgba(34,77,137,0.22);
  min-width: 320px;
  max-width: 95vw;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.cookie-modal-title {
  font-family: 'Montserrat', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #224D89;
  margin-bottom: 24px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 17px;
  font-size: 1rem;
  margin-bottom: 17px;
}
.cookie-toggle {
  margin-left: auto;
}
.cookie-toggle input[type=checkbox] {
  accent-color: #21A366;
  width: 20px;
  height: 20px;
}
.cookie-modal-buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 28px;
  margin-bottom: 5px;
}
@media (max-width: 550px) {
  .cookie-modal-dialog {
    padding: 12px 4px 15px 6px;
  }
}

/* =====================
   MICRO INTERACTIONS
   ===================== */
.card, .cta-btn, .testimonial-card, .cookie-btn {
  transition: box-shadow 0.17s, background 0.18s, color 0.16s, transform 0.16s;
}
section, .card, .feature-item, .testimonial-card {
  transition: background 0.25s, box-shadow 0.20s, border 0.14s;
}

/* =====================
   VISUAL EFFECTS & SHADOWS
   ===================== */
section, .card, .testimonial-card, .map-placeholder, .cookie-modal-dialog {
  box-shadow: 0 2px 18px rgba(21,51,88,0.08);
}

/* =====================
   COLOR UTILS
   ===================== */
.bg-primary { background: #224D89 !important; }
.bg-secondary { background: #21A366 !important; }
.bg-accent { background: #F3F6F9 !important; }
.text-primary { color: #224D89 !important; }
.text-secondary { color: #21A366 !important; }
.text-accent { color: #F3F6F9 !important; }

/* =====================
   SCROLLBAR (Elegant)
   ===================== */
::-webkit-scrollbar {
  width: 12px;
  background: #F3F6F9;
}
::-webkit-scrollbar-thumb {
  background: #d6e4f0;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover {
  background: #b9cbe7;
}

/* =====================
   Z-INDEX SAFETY
   ===================== */
header { z-index: 21; }
.mobile-menu { z-index: 200; }
.cookie-banner { z-index: 9999; }
.cookie-modal { z-index: 10000; }

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