/* --- CSS RESET AND NORMALIZATION --- */
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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background: #F8F9FB;
  color: #261D16;
  font-family: 'Georgia', serif;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
  border: 0;
}
a {
  color: #16325C;
  text-decoration: none;
  transition: color .2s;
}
a:focus,
a:hover {
  color: #20C1A6;
  outline: none;
}
ul, ol {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

/* --- TYPOGRAPHY --- */
body {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 16px;
  background: #F8F9FB;
  color: #2A2630;
}
h1, .h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #16325C;
  margin-bottom: 24px;
  line-height: 1.15;
}
h2, .h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.1rem;
  font-weight: 500;
  color: #16325C;
  margin-bottom: 20px;
  line-height: 1.2;
}
h3, .h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: #16325C;
  margin-bottom: 12px;
  line-height: 1.3;
}
p {
  font-family: 'Georgia', serif;
  font-size: 1.05rem;
  margin-bottom: 16px;
  color: #2A2630;
}
strong, b {
  font-weight: 600;
  color: #16325C;
}

/* --- CONTAINER --- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* --- HEADER --- */
header {
  background: #fff;
  border-bottom: 1px solid #ECECEC;
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
header img {
  height: 48px;
  margin-right: 18px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  font-size: 1rem;
}
.main-nav a {
  font-family: 'Georgia', serif;
  color: #16325C;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-bottom .2s, color .2s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #20C1A6;
  border-bottom: 2px solid #20C1A6;
}
.cta-button {
  font-family: 'Georgia', serif;
  background: #16325C;
  color: #fff;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  font-weight: 600;
  border-radius: 30px;
  border: none;
  padding: 13px 34px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(22,50,92,0.08);
  transition: background-color .18s, color .18s, box-shadow .24s;
  margin-left: 20px;
  display: inline-block;
}
.cta-button:hover,
.cta-button:focus {
  background: #20C1A6;
  color: #16325C;
  box-shadow: 0 4px 20px rgba(32,193,166,0.11);
}

/* --- MOBILE MENU BUTTON --- */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: 1.5px solid #ECECEC;
  border-radius: 8px;
  font-size: 2rem;
  color: #16325C;
  height: 48px;
  width: 48px;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 1051;
  cursor: pointer;
  transition: background-color .17s, color .17s, border .18s;
}
.mobile-menu-toggle:focus {
  background: #20C1A6;
  color: #fff;
  border: 1.5px solid #20C1A6;
  outline: none;
}

/* --- MOBILE MENU --- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 6px 40px rgba(22,50,92,0.23);
  transform: translateX(-100vw);
  transition: transform .36s cubic-bezier(.68,-0.55,.27,1.55);
  z-index: 1200;
  opacity: 0.98;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  font-size: 2.1rem;
  margin: 14px 24px 0 0;
  color: #16325C;
  cursor: pointer;
  transition: color .18s;
  z-index: 1300;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #20C1A6;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 40px 32px;
  width: 100%;
  margin-top: 22px;
}
.mobile-nav a {
  font-family: 'Georgia', serif;
  font-size: 1.22rem;
  color: #16325C;
  font-weight: 500;
  padding: 12px 0 12px 0;
  width: 100%;
  text-align: left;
  border-radius: 0 10px 10px 0;
  transition: padding-left .19s, background .18s, color .18s;
  margin-bottom: 2px;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #F3F3F7;
  color: #20C1A6;
  padding-left: 18px;
}

/* --- MAIN --- */
main {
  padding-bottom: 64px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 32px rgba(22,50,92,0.05);
  padding: 34px 24px;
}

.text-section {
  margin-bottom: 18px;
}
.text-section:last-child {
  margin-bottom: 0;
}

.section ul > li,
.content-wrapper ul > li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 1.07rem;
  color: #2A2630;
  font-family: 'Georgia', serif;
  letter-spacing: 0.01em;
}
.content-wrapper ul > li img {
  width: 28px;
  height: 28px;
}

/* --- CARD CONTAINER, GRID, FEATURE, TEXT-IMAGE --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(22,50,92,0.04);
  padding: 32px 26px;
  flex: 1 1 310px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .18s, transform .14s, border-color .18s;
  border: 1.5px solid #ECECEC;
  min-width: 260px;
  max-width: 350px;
}
.card:hover {
  box-shadow: 0 8px 36px rgba(32,193,166,0.10), 0 2px 8px rgba(22,50,92,0.04);
  transform: translateY(-7px) scale(1.025);
  border-color: #20C1A6;
  z-index: 1;
}

.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: 20px;
  padding: 20px;
  background: #F3F3F7;
  border-radius: 12px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(22,50,92,0.035);
  border-left: 5px solid #20C1A6;
  transition: box-shadow .18s;
  color: #2A2630;
  font-family: 'Georgia', serif;
  font-size: 1.04rem;
}
.testimonial-card p {
  color: #2A2630;
  font-family: 'Georgia', serif;
  font-style: italic;
  margin-bottom: 0;
}
.testimonial-card span {
  align-self: flex-end;
  font-size: 0.99rem;
  font-weight: 500;
  color: #16325C;
  font-family: 'Georgia', serif;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(22,50,92,0.09);
}

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

/* --- BUTTONS --- */
button,
input[type="button"],
input[type="submit"] {
  font-family: 'Georgia', serif;
  background: #16325C;
  color: #fff;
  font-size: 1.03rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 30px;
  border: none;
  padding: 11px 32px;
  cursor: pointer;
  transition: background-color .15s, color .15s, box-shadow .22s, transform .13s;
  box-shadow: 0 2px 10px rgba(22,50,92,0.07);
}
button:hover, button:focus,
input[type="button"]:hover, input[type="button"]:focus,
input[type="submit"]:hover, input[type="submit"]:focus {
  background: #20C1A6;
  color: #16325C;
  box-shadow: 0 6px 28px rgba(32,193,166,0.14);
  outline: none;
}

/* --- FOOTER --- */
footer {
  background: #16325C;
  padding: 40px 0 24px 0;
}
footer .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 38px;
  flex-wrap: wrap;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Georgia', serif;
  font-size: 1.03rem;
  font-weight: 400;
  margin-bottom: 8px;
  transition: color .16s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #20C1A6;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: #CCCCDB;
  font-size: 0.99rem;
  font-family: 'Georgia', serif;
  font-style: italic;
  letter-spacing: 0.01em;
  text-align: right;
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-contact {
    text-align: left;
    align-items: flex-start;
  }
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
  header .container {
    gap: 8px;
    padding-left: 10px;
    padding-right: 10px;
    min-height: 60px;
  }
  .main-nav {
    gap: 14px;
    font-size: 0.96rem;
  }
  .cta-button {
    padding: 11px 22px;
    font-size: 1rem;
    margin-left: 10px;
  }
  .content-wrapper {
    padding: 22px 10px;
  }
}
@media (max-width: 990px) {
  .container {
    max-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }
  .content-wrapper {
    padding: 18px 6px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 0;
  }
  .main-nav {
    display: none;
  }
  .cta-button {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  main {
    padding-bottom: 16px;
  }
  .content-wrapper {
    padding: 10px 3px;
    border-radius: 10px;
    gap: 16px;
  }
  .testimonial-card {
    padding: 14px;
    border-radius: 9px;
    gap: 12px;
    font-size: 0.97rem;
  }
  .section {
    margin-bottom: 38px;
    padding: 24px 10px;
  }
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .card {
    min-width: 90%;
    max-width: 98%;
    padding: 16px 8px;
    border-radius: 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}
@media (max-width: 520px) {
  h1, .h1 {
    font-size: 1.65rem;
    margin-bottom: 14px;
  }
  h2, .h2 {
    font-size: 1.16rem;
    margin-bottom: 12px;
  }
  h3, .h3 {
    font-size: 1.04rem;
    margin-bottom: 7px;
  }
  .section {
    margin-bottom: 20px;
    padding: 18px 3px;
  }
}

/* --- SPACING & GENERAL FLEXBOX PATTERNS (MANDATORY CLASSES) --- */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* --- INTERACTIVE STATES & MICRO-INTERACTIONS --- */
.cta-button, button, input[type="button"], input[type="submit"], .card, .main-nav a, .mobile-nav a {
  transition: background-color .18s, color .18s, box-shadow .17s, border .16s, transform .14s, padding-left .17s;
}
.card, .testimonial-card {
  transition: box-shadow .16s, border-color .13s, transform .14s;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 24px rgba(22,50,92,0.12);
  padding: 24px 18px 22px 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 1rem;
  font-family: 'Georgia', serif;
  z-index: 2500;
  opacity: 0.98;
  animation: cookieBannerIn .57s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes cookieBannerIn {
  0% {transform: translateY(80px); opacity: 0;}
  100% {transform: translateY(0); opacity: 1;}
}
.cookie-banner-info {
  flex: 1;
  color: #16325C;
  font-size: 1.01rem;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-banner button {
  font-size: 0.97rem;
  font-family: 'Georgia', serif;
  font-weight: 600;
  border-radius: 30px;
  padding: 10px 26px;
  border: none;
  background: #ECECEC;
  color: #16325C;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(22,50,92,0.04);
  transition: background .18s, color .14s;
}
.cookie-banner button.accept {
  background: #20C1A6;
  color: #fff;
}
.cookie-banner button.accept:hover, .cookie-banner button.accept:focus {
  background: #16325C;
  color: #fff;
}
.cookie-banner button.reject {
  background: #ECECEC;
  color: #16325C;
}
.cookie-banner button.reject:hover, .cookie-banner button.reject:focus {
  background: #16325C;
  color: #fff;
}
.cookie-banner button.settings {
  background: #fff;
  color: #20C1A6;
  border: 1.5px solid #20C1A6;
}
.cookie-banner button.settings:hover, .cookie-banner button.settings:focus {
  background: #20C1A6;
  color: #fff;
}
@media (max-width: 720px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 8px 16px 8px;
  }
  .cookie-banner-actions {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
  }
}

/* --- COOKIE CONSENT MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2900;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(22,50,92,0.44);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieOverlayIn .32s ease;
}
@keyframes cookieOverlayIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 52px rgba(22,50,92,0.25);
  padding: 38px 30px 30px 30px;
  max-width: 420px;
  width: 90vw;
  font-family: 'Georgia', serif;
  animation: cookieModalIn .34s cubic-bezier(.68,-0.55,.27,1.55);
  display: flex;
  flex-direction: column;
  gap: 22px;
  color: #16325C;
  position: relative;
}
@keyframes cookieModalIn {
  0% {transform: translateY(30px) scale(.98);opacity:0;}
  100% {transform: translateY(0) scale(1);opacity:1;}
}
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 18px;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: #16325C;
  cursor: pointer;
  padding: 4px;
  transition: color .13s;
}
.cookie-modal-close:focus,
.cookie-modal-close:hover {
  color: #20C1A6;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 7px 0;
}
.cookie-category .label {
  font-weight: 600;
  color: #16325C;
  font-family: 'Georgia', serif;
}
.cookie-category .desc {
  font-size: 0.97rem;
  color: #67637A;
}
.cookie-category .switch {
  margin-left: auto;
  display: flex;
  align-items: center;
}
/* Custom toggle switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
  margin-right:8px;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #ECECEC;
  border-radius: 14px;
  transition: background .18s;
}
.toggle-switch input:checked + .toggle-slider {
  background: #20C1A6;
}
.toggle-slider:before {
  content: '';
  position: absolute;
  left: 4px; top: 4px;
  width: 12px; height: 12px;
  background: #fff;
  border-radius: 14px;
  transition: transform .22s;
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(16px);
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 22px;
}
.cookie-modal-actions button {
  font-size: 0.98rem;
  font-family: 'Georgia', serif;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  background: #20C1A6;
  color: #fff;
  transition: background .15s, color .15s;
}
.cookie-modal-actions button.reject {
  background: #ECECEC;
  color: #16325C;
}
.cookie-modal-actions button.reject:hover, .cookie-modal-actions button.reject:focus {
  background: #16325C;
  color: #fff;
}
.cookie-modal-actions button.save {
  background: #16325C;
  color: #fff;
}
.cookie-modal-actions button.save:hover, .cookie-modal-actions button.save:focus {
  background: #20C1A6;
  color: #fff;
}
@media (max-width: 440px) {
  .cookie-modal {
    padding: 14px 5vw;
    max-width: 99vw;
  }
}

/* --- UTILITIES --- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-16 { margin-top: 16px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }

/* --- FOCUS STYLES --- */
a:focus, button:focus, .cta-button:focus, .mobile-menu-toggle:focus {
  outline: 2px solid #20C1A6;
  outline-offset: 1px;
}

/* --- SCROLLBAR (Elegance) --- */
::-webkit-scrollbar {
  width: 10px;
  background: #ECECEC;
}
::-webkit-scrollbar-thumb {
  background: #d9dbdf;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #b7bac5;
}

/* --- CUSTOM CLASSES FOR INDICATED HTML --- */
.content-wrapper > ul {
  margin-bottom: 22px;
}
.content-wrapper ul > li:last-child {
  margin-bottom: 0;
}

/* --- HIDE MOBILE-MENU OVERLAY WHEN NOT OPEN --- */
.mobile-menu {
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  pointer-events: auto;
  opacity: 1;
}

/* Always ensure .mobile-menu overlays content */
.mobile-menu {
  z-index: 1200;
}

/* Hide main-nav, show mobile toggle on mobile */
@media (max-width: 990px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 991px) {
  .mobile-menu-toggle {
    display: none !important;
  }
  .mobile-menu {
    display: none !important;
  }
}

/* --- END OF CSS --- */
