/* ========================
   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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F7F7F7;
  color: #222;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #17406D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #35A766;
  text-decoration: underline;
}
ul, ol {
  list-style-position: inside;
  margin-left: 0;
  margin-bottom: 20px;
}

/* ============================
   TYPOGRAPHY — CLASSIC ELEGANCE
   ============================ */
body {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  background: #F7F7F7;
  color: #222;
  font-size: 16px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: #17406D;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 24px;
  line-height: 1.13;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #17406D;
  line-height: 1.2;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  font-weight: 600;
  color: #235388;
}
p, ul li, ol li, address {
  font-size: 1.1rem;
  color: #293546;
  letter-spacing: 0.01em;
}
strong {
  font-weight: 700;
  color: #17406D;
}

/* =========================
   LAYOUT CONTAINERS & SPACING
   ========================= */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (max-width: 768px) {
  .section {
    margin-bottom: 40px;
    padding: 24px 8px;
  }
  .container {
    max-width: 100%;
    padding: 0 8px;
  }
  .content-wrapper {
    gap: 16px;
  }
}

/* ===========================
   HEADER & NAVIGATION
   =========================== */
header {
  background: #fff;
  border-bottom: 1px solid #E3E3E3;
  position: sticky;
  top: 0;
  z-index: 101;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 24px;
  display: block;
}
header nav {
  display: flex;
  gap: 30px;
}
header nav a {
  font-size: 1.1rem;
  color: #17406D;
  padding: 8px 2px 8px 2px;
  font-family: 'Georgia', serif;
  position: relative;
  transition: color .18s;
}
header nav a:hover,
header nav a:focus {
  color: #35A766;
}
.cta-primary {
  background: #17406D;
  color: #fff;
  border: none;
  font-family: 'Georgia', serif;
  padding: 10px 32px;
  font-size: 1.1rem;
  border-radius: 32px;
  font-weight: 700;
  letter-spacing: .03em;
  box-shadow: 0 2px 8px rgba(23,64,109,0.07);
  cursor: pointer;
  transition: background 0.18s, transform 0.18s, color 0.16s;
  margin-left: 24px;
  outline: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: #35A766;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 16px rgba(23,64,109,0.10);
}
.cta-secondary {
  background: #fff;
  color: #17406D;
  border: 1.5px solid #17406D;
  font-family: 'Georgia', serif;
  padding: 10px 32px;
  font-size: 1.08rem;
  border-radius: 32px;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: none;
  transition: all 0.18s;
  cursor: pointer;
  margin-top: 16px;
  align-self: flex-start;
}
.cta-secondary:hover, .cta-secondary:focus {
  color: #fff;
  background: #35A766;
  border-color: #35A766;
}

/* =======================
   MOBILE MENU
   ======================= */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #17406D;
  cursor: pointer;
  margin-left: 20px;
  transition: color 0.16s, transform 0.13s;
  z-index: 111;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #35A766;
}
.mobile-menu {
  display: none;
}
@media (max-width: 1024px) {
  header nav,
  .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 1300;
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(0.79, 0.14, 0.15, 0.86);
    box-shadow: 2px 0 32px rgba(23,64,109,0.13);
  }
  .mobile-menu.open {
    transform: translateX(0);
    display: flex;
  }
  .mobile-menu-close {
    align-self: flex-end;
    margin: 22px 28px 8px auto;
    background: none;
    border: none;
    font-size: 2.1rem;
    color: #17406D;
    cursor: pointer;
    z-index: 1350;
    transition: color 0.13s;
  }
  .mobile-menu-close:focus {
    outline: 2px solid #35A766;
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
    margin: 46px 32px;
  }
  .mobile-nav a {
    font-size: 1.33rem;
    font-family: 'Georgia', serif;
    color: #17406D;
    padding: 12px 0;
    font-weight: 600;
    letter-spacing: .01em;
    border-bottom: 1px solid #E3E3E3;
    width: 100%;
    transition: color 0.16s, background 0.14s;
  }
  .mobile-nav a:focus, .mobile-nav a:hover {
    color: #35A766;
    background: #E6F4EA;
  }
}

/* =============================
   HERO SECTION
   ============================= */
.hero {
  background: #E6F0F7;
  padding: 60px 0 54px 0;
  margin-bottom: 0;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  max-width: 684px;
  margin: 0 auto;
  gap: 20px;
  align-items: flex-start;
  text-align: left;
}
.hero h1 {
  color: #17406D;
}
.hero p {
  color: #355;
  margin-bottom: 16px;
  font-size: 1.18rem;
}
.hero .cta-primary {
  margin-top: 14px;
  font-size: 1.12rem;
}

@media (max-width: 768px) {
  .hero {
    padding: 36px 0 24px 0;
  }
  .hero .content-wrapper {
    text-align: left;
    max-width: 97vw;
  }
}

/* ===============================
   FLEXBOX PATTERNS
   =============================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1.5px 9px rgba(23,64,109,0.07);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  max-width: 370px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.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: flex-start;
  gap: 12px;
  padding: 24px 28px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(23,64,109,0.08);
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 540px;
  color: #21344D;
  font-size: 1.14rem;
}
.testimonial-card span {
  font-size: .98rem;
  color: #586278;
  margin-top: 6px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 900px) {
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card {
    max-width: unset;
    width: 100%;
    min-width: 0;
  }
  .testimonial-card {
    max-width: 98vw;
    min-width: 0;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

/* ================
   ADDRESS BLOCK 
   ================ */
.text-section {
  margin-bottom: 14px;
}
address {
  font-style: normal;
  background: #EEF4F7;
  border-radius: 10px;
  padding: 18px 20px 12px;
  color: #293546;
  margin-bottom: 12px;
  line-height: 1.65;
  font-size: 1.07rem;
}
.neutral-block {
  background: #F0F1F2;
  border-radius: 8px;
  padding: 8px 14px;
  color: #7b8798;
  font-size: .95rem;
  margin: 8px 0 0 0;
  font-style: italic;
  display: inline-block;
}

/* ================
   FOOTER
   ================ */
footer {
  background: #fff;
  border-top: 1px solid #E3E3E3;
  padding: 40px 0 28px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand img {
  height: 40px;
  margin-bottom: 24px;
}
.footer-nav,
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a, .footer-legal a {
  color: #17406D;
  font-size: 1.04rem;
  transition: color 0.12s;
}
.footer-nav a:hover,
.footer-legal a:hover {
  color: #35A766;
}
.footer-legal {
  margin-top: 8px;
  font-size: 0.97rem;
}
@media (max-width: 900px) { 
  footer .container {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .footer-brand img {
    margin-bottom: 12px;
  }
}

/* ================
   SECTION LISTS
   ================ */
ul {
  padding-left: 0;
  margin-bottom: 10px;
}
li {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #355;
}

/* ================
   COOKIE BANNER
   ================ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #293546;
  font-size: 1rem;
  font-family: 'Georgia', serif;
  box-shadow: 0 -2px 12px rgba(23,64,109,0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1500;
  padding: 18px 10px 12px 10px;
  gap: 12px;
  transition: transform 0.28s cubic-bezier(0.59,0.71,0.39,1.03);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}
.cookie-banner button {
  font-family: 'Georgia', serif;
  font-size: 1.03rem;
  padding: 8px 20px;
  border-radius: 22px;
  border: none;
  cursor: pointer;
  margin-right: 4px;
  transition: background .14s, color .13s;
  font-weight: 600;
}
.cookie-banner .accept {
  background: #17406D;
  color: #fff;
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: #35A766;
}
.cookie-banner .reject {
  background: transparent;
  color: #17406D;
  border: 1px solid #17406D;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #F6FCF8;
  color: #35A766;
  border-color: #35A766;
}
.cookie-banner .settings {
  background: #F7F7F7;
  color: #586278;
  border: 1px solid #E3E3E3;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #EEF4F7;
  color: #17406D;
}
@media (max-width: 600px) {
  .cookie-banner .cookie-actions {
    flex-direction: column;
    gap: 7px;
    width: 100%;
    align-items: stretch;
  }
  .cookie-banner button {
    width: 100%;
  }
}

/* =====================
   COOKIE MODAL
   ===================== */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34, 52, 77, 0.18);
  z-index: 1700;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  width: 98vw;
  max-width: 420px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(23,64,109,0.12);
  padding: 36px 26px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  animation: fadeInModal 0.24s cubic-bezier(0.55,0.11,0.53,0.88);
}
@keyframes fadeInModal {
  0% { opacity:0; transform: translateY(40px); }
  100% { opacity:1; transform: translateY(0); }
}

.cookie-modal h2 {
  color: #17406D;
  margin-bottom: 8px;
  font-size: 1.35rem;
  font-family: 'Georgia', serif;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 12px 0 14px 0;
}
.cookie-modal label {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Georgia', serif;
}
.cookie-modal input[type=checkbox] {
  accent-color: #35A766;
  width: 18px; height: 18px;
  margin-right: 6px;
}
.cookie-modal .essential {
  color: #979797;
  font-size: 0.97rem;
  margin-left: 12px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.cookie-modal .modal-actions button {
  font-family: 'Georgia', serif;
  font-size: 1.07rem;
  padding: 8px 22px;
  border-radius: 22px;
  border: none;
  cursor: pointer;
  transition: background .13s, color .13s;
  font-weight: 600;
}
.cookie-modal .save {
  background: #17406D;
  color: #fff;
}
.cookie-modal .save:hover, .cookie-modal .save:focus {
  background: #35A766;
}
.cookie-modal .close-modal {
  background: transparent;
  color: #17406D;
  border: 1px solid #17406D;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: #EEF4F7;
  color: #35A766;
  border-color: #35A766;
}

/* ===============
   ANIMATIONS
   =============== */
.button, .cta-primary, .cta-secondary, .mobile-menu-toggle, .mobile-menu-close, .cookie-banner button, .cookie-modal .modal-actions button {
  transition: background 0.17s, color 0.16s, transform 0.14s;
}
.cta-primary:active, .cta-secondary:active, .mobile-menu-toggle:active, .mobile-menu-close:active, .cookie-banner button:active, .cookie-modal .modal-actions button:active {
  transform: scale(0.97);
}

/* =============
   SCROLLBAR
   ============= */
body, html {
  scrollbar-color: #17406D #E6F0F7;
  scrollbar-width: thin;
}
::-webkit-scrollbar {
  width: 8px;
  background: #E6F0F7;
}
::-webkit-scrollbar-thumb {
  background: #17406D;
  border-radius: 4px;
}

/* ===============================
   GENERAL ELEMENTS & COLOR SYSTEM
   =============================== */
::-selection { background: #E6F0F7; }
section {
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(23,64,109,0.06);
  background: #fff;
  margin-bottom: 42px;
}
@media (max-width: 768px){
  section {
    margin-bottom: 28px;
    border-radius: 9px;
  }
}

/* ===================
   UTILITIES
   =================== */
.d-none { display: none!important; }
.d-flex { display: flex!important; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }

/* Extra breathing room for cards and sections */
.card + .card,
.testimonial-card + .testimonial-card,
.section + .section,
.card-container + .card-container {
  margin-top: 20px;
}

/* ===============
   PRINT
   =============== */
@media print {
  header, footer, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  section, .card, .testimonial-card { box-shadow: none !important; }
}
