/* ==== 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 { box-sizing: border-box; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.5;
  background: #F1F6F8; /* brand accent color as classic paper look */
  color: #205072;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 16px;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: #205072; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #3AB0A2; }
ul, ol { list-style: none; padding-left: 0; }

/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: #205072;
  font-weight: 700;
}
h1 { font-size: 2.75rem; margin-bottom: 24px; letter-spacing: .02em; }
h2 { font-size: 2rem;   margin-bottom: 20px; }
h3 { font-size: 1.2rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 10px; }
p, li { color: #2e3e4e; font-family: 'Georgia', 'Times New Roman', serif; font-size: 1rem; margin-bottom: 12px; line-height: 1.7; }
.subtitle {
  font-size: 1.25rem;
  color: #3AB0A2;
  font-style: italic;
  margin-bottom: 24px;
}
strong, b { font-weight: bold; }

/* ==== LAYOUT CONTAINERS ==== */
.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 22px rgba(32, 80, 114, 0.06);
}

/* ==== MAIN NAVIGATION ==== */
header {
  background: #fff;
  border-bottom: 1px solid #dbeaf2;
  box-shadow: 0 2px 8px rgba(32, 80, 114, 0.05);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 101;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}
header img {
  height: 54px;
  width: auto;
  margin-right: 20px;
}
nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
nav a {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1rem;
  color: #205072;
  opacity: 0.88;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
nav a:hover, nav a:focus {
  color: #3AB0A2;
  background: #F1F6F8;
  text-decoration: underline;
}
.cta-btn {
  background: #205072;
  color: #fff !important;
  border: none;
  border-radius: 40px;
  font-family: 'Georgia', 'Times New Roman', serif;
  padding: 8px 28px;
  font-size: 1rem;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(32,80,114,0.07);
  margin-left: 6px;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: background .2s, color .2s, box-shadow .2s, transform .2s;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #3AB0A2;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(32,176,162,0.14);
  transform: translateY(-2px) scale(1.03);
}

/* ==== MOBILE BURGER MENU ==== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #205072;
  cursor: pointer;
  padding: 10px 10px;
  z-index: 200;
  border-radius: 8px;
  transition: background .15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F1F6F8;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 8px 40px rgba(32, 80, 114, 0.17);
  z-index: 1002;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.86,0,.07,1);
  padding: 30px 22px 0 22px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  color: #205072;
  margin-bottom: 18px;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background .12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F1F6F8;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.2rem;
  color: #205072;
  opacity: 0.98;
  padding: 12px 4px;
  border-radius: 7px;
  transition: background .2s, color .2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #3AB0A2;
  color: #fff;
}

/* Hide desktop nav on mobile, show burger */
@media (max-width: 991px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (min-width: 992px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ==== SECTIONS & FLEX STRUCTURES ==== */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-top: 16px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 14px rgba(32,80,114,0.06);
  flex: 1 1 244px;
  max-width: 320px;
  min-width: 220px;
  padding: 28px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow .25s, transform .2s;
  border: 1px solid #e8eef3;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 8px 36px rgba(32,176,162,0.09);
  transform: translateY(-2px) scale(1.01);
  border-color: #bfe1db;
}
.feature-grid img {
  height: 46px;
  width: 46px;
  margin-bottom: 8px;
}
.feature-grid h3 {
  color: #205072;
  font-size: 1.13rem;
  font-family: 'Georgia', 'Times New Roman', serif;
  margin-bottom: 4px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(32,80,114,0.10);
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

/* ==== TESTIMONIALS ==== */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 24px 18px 24px;
  background: #f8fcfc;
  border-radius: 14px;
  border: 1px solid #e0eae8;
  box-shadow: 0 2px 8px rgba(32, 176, 162, 0.07);
  min-width: 240px;
  max-width: 340px;
  margin-bottom: 20px;
  transition: box-shadow .2s;
}
.testimonial-card p {
  font-family: 'Georgia', serif;
  font-size: 1.05rem;
  color: #205072;
  font-style: italic;
  margin-bottom: 6px;
}
.testimonial-name {
  font-size: 1rem;
  font-family: 'Georgia', serif;
  color: #3AB0A2;
  font-weight: 700;
  align-self: flex-end;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 22px rgba(32,80,114,0.13);
}

/* ==== TEXT SECTIONS ==== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 10px;
}
.text-section ul, .text-section ol {
  margin-left: 22px;
  margin-bottom: 14px;
  list-style: disc inside;
}
.text-section li {
  font-size: 1rem;
  color: #205072;
  margin-bottom: 8px;
  position: relative;
  padding-left: 0;
}
.text-section li img {
  height: 20px; width: 20px; margin-right: 8px; display: inline-block; vertical-align: middle;
}

/* Hint text in prices */
.hint {
  color: #8a998f;
  font-size: .98rem;
  margin-top: 12px;
  font-style: italic;
}

/* ==== BUTTONS & INTERACTIVE ELEMENTS ==== */
button,
[type="button"],
[type="submit"] {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  outline: none;
  box-shadow: none;
  background: #3AB0A2;
  color: #fff;
  border-radius: 40px;
  padding: 8px 26px;
  font-weight: 700;
  transition: background .15s, box-shadow .18s, transform .13s;
}
button:hover, button:focus,
[type="button"]:hover, [type="button"]:focus,
[type="submit"]:hover, [type="submit"]:focus {
  background: #205072;
  color: #fff;
  box-shadow: 0 3px 12px rgba(32,80,114,0.09);
  transform: translateY(-1px) scale(1.02);
}

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

/* ===== FOOTER ===== */
footer {
  background: #205072;
  color: #fff;
  padding-top: 32px;
  padding-bottom: 18px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #3AB0A2;
}
.footer-top img {
  height: 42px;
  width: auto;
}
footer nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
footer nav a {
  color: #fff;
  opacity: 0.88;
  font-family: 'Georgia', 'Times New Roman', serif;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: .97rem;
}
footer nav a:hover, footer nav a:focus {
  background: #3AB0A2;
  color: #F1F6F8;
}
footer .cta-btn {
  background: #3AB0A2;
  color: #205072 !important;
  margin-left: 12px;
  margin-right: 0;
}
.footer-bottom {
  font-size: .95rem;
  margin-top: 13px;
  color: #e1f1e9;
  letter-spacing: .01em;
  padding-top: 7px;
  text-align: left;
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 10000;
  background: #fff;
  border-top: 2px solid #205072;
  box-shadow: 0 -3px 18px rgba(32,80,114,0.11);
  padding: 28px 18px 18px 18px;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transition: transform .30s cubic-bezier(.8,0,.2,1), opacity .2s;
  opacity: 1;
}
.cookie-banner.hide {
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  color: #205072;
  font-size: 1rem;
  font-family: 'Georgia', 'Times New Roman', serif;
  margin-right: 16px;
  flex: 1 1 340px;
  min-width: 160px;
}
.cookie-banner .cookie-btn {
  background: #3AB0A2;
  color: #fff;
  font-weight: 700;
  border-radius: 24px;
  padding: 8px 22px;
  font-size: .98rem;
  margin-left: 6px;
  border: none;
  transition: background .18s;
}
.cookie-banner .cookie-btn.secondary {
  background: #f8fcfc;
  color: #205072;
  border: 1px solid #3AB0A2;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #205072;
  color: #fff;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(32,80,114,0.36);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity .25s;
}
.cookie-modal-overlay.hide {
  opacity: 0; pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 36px rgba(32,176,162,0.14);
  padding: 34px 24px 22px 24px;
  min-width: 300px;
  max-width: 420px;
  width: 90vw;
  position: relative;
  animation: fadeInPop .38s;
}
@keyframes fadeInPop {
  0% { opacity:0; transform: scale(0.89) translateY(24px);}
  99% { opacity: 1; transform: scale(1.008) translateY(-3px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h2 {
  color: #205072;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.18rem;
  margin-bottom: 16px;
}
.cookie-modal-list {
  display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px;
}
.cookie-modal-category {
  display: flex; align-items: center; justify-content: space-between;
  background: #F1F6F8; padding: 8px 14px; border-radius: 8px; color: #205072;
}
.cookie-modal-category .switch {
  margin-left: 14px;
}
.switch {
  position: relative;
  display: inline-block;
  width: 34px; height: 20px;
}
.switch input { display: none; }
.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #bfe1db;
  border-radius: 20px;
  transition: background .13s;
}
.switch-slider:before {
  position: absolute;
  content: "";
  height: 16px; width: 16px;
  left: 2px; bottom: 2px;
  background: #fff;
  border-radius: 50%;
  transition: transform .12s;
  box-shadow: 0 1px 4px rgba(32,176,162,0.10);
}
.switch input:checked + .switch-slider {
  background: #3AB0A2;
}
.switch input:checked + .switch-slider:before {
  transform: translateX(14px);
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 12px; right: 10px;
  background: none;
  border: none;
  color: #205072;
  font-size: 1.3rem;
  border-radius: 7px;
  padding: 3px 8px;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  background: #F1F6F8;
}

/* ==== PAGE-SPECIFIC STYLING ==== */
/* About/team icons */
.feature-grid .team-icon {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  background: #ececec;
  padding: 7px;
  margin-bottom: 6px;
}

/* Pricing tables */
.feature-grid ul {
  margin-left: 18px;
  margin-bottom: 0;
  list-style: disc inside;
  color: #205072;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1rem;
}
.feature-grid ul li {
  font-size: .99rem;
  margin-bottom: 8px;
}

/* ==== RESPONSIVENESS ==== */
@media (max-width: 991px) {
  .container {
    max-width: 94vw;
    padding-left: 14px;
    padding-right: 14px;
  }
  .feature-grid {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .section {
    margin-bottom: 36px;
    padding: 20px 6px;
    border-radius: 8px;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .feature-grid > div {
    max-width: 100%;
    min-width: 140px;
    padding: 16px 12px 14px 14px;
    border-radius: 8px;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  .testimonial-card {
    min-width: 0;
    padding: 14px 10px 12px 13px;
    border-radius: 8px;
  }
  .content-wrapper {
    gap: 12px;
  }
  .cookie-banner { flex-direction: column; padding: 18px 4px; gap: 12px; align-items: flex-start;}
  .cookie-banner .cookie-text { margin-right: 0;}
  .cookie-modal { padding: 22px 7px 15px 13px; min-width: 0; }
}
@media (max-width: 480px) {
  html { font-size: 15px; }
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.13rem; }
}

/* ==== VISUAL HIERARCHY, MICRO-INTERACTIONS ==== */
.card, .feature-grid > div, .testimonial-card, .section, .cookie-modal, .footer-top, .footer-bottom {
  transition: box-shadow .2s, border-color .15s, background .15s;
}
a, .cta-btn, button, .cookie-btn {
  transition: color .2s, background .2s, box-shadow .17s, transform .13s;
}

/* ==== PRINT FRIENDLY ==== */
@media print {
  header, footer, .cookie-banner, .mobile-menu {display:none !important;} 
  section, .section, .container {box-shadow:none !important; background: transparent !important;}
}
