/* ----------------------------------------
   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; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.6;
  background: #F9FAFB;
  font-family: 'Roboto', Arial, sans-serif;
  color: #173A5E;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  border-style: none;
  max-width: 100%;
  display: block;
}
a {
  color: #1DBF73;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #173A5E;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.4em;
}
strong {
  font-weight: 700;
  color: #173A5E;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
button { cursor: pointer; }

/* ----------------------------------------
   VARIABLES (WITH FALLBACKS)
-----------------------------------------*/
:root {
  --primary: #173A5E;
  --secondary: #E4EEF5;
  --accent: #1DBF73;
  --pastel-pink: #F8EAF9;
  --pastel-lilac: #E7EAFB;
  --pastel-mint: #D7F9F1;
  --pastel-yellow: #FFF5D7;
  --pastel-blue: #D8EFFF;
  --shadow: 0 4px 18px rgba(23, 58, 94, 0.08), 0 1.5px 3px rgba(24,48,97,0.05);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* ----------------------------------------
   BASE TYPOGRAPHY
-----------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display, Montserrat), Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #173A5E;
}
h1 {
  font-size: 2.3rem;
  margin-bottom: 18px;
  line-height: 1.2;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  line-height: 1.3;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}
h4 {
  font-size: 1rem;
}
p, li, ul, ol {
  font-family: var(--font-body, Roboto), Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 14px;
  color: #2E4B6B;
}
p:last-child { margin-bottom: 0; }
small, .notes { font-size: 0.93em; color: #8A98B5; }

/* ----------------------------------------
   CONTAINER & SECTIONS SPACING
-----------------------------------------*/
.container {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.section,
main > section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}

/* ----------------------------------------
   FLEX PATTERNS & CARDS
-----------------------------------------*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--pastel-mint);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  padding: 28px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.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: center;
  gap: 20px;
  padding: 20px;
  background: var(--pastel-lilac);
  box-shadow: var(--shadow);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  width: 100%;
}
.testimonial-card p {
  color: #382963;
  font-size: 1.08rem;
  font-family: var(--font-body, Roboto);
  font-style: italic;
}
.testimonial-info {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #173A5E;
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  background: var(--pastel-yellow);
  border-radius: var(--radius-sm);
  padding: 20px 18px;
  margin-bottom: 20px;
}

/* -----------------------------
   TABLES (PRICE TABLES ETC.)
----------------------------- */
table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  margin-bottom: 16px;
  background: var(--pastel-blue);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  overflow: hidden;
  font-size: 1rem;
}
thead th {
  text-align: left;
  padding: 16px;
  background: var(--secondary, #E4EEF5);
  color: var(--primary);
  font-family: var(--font-display);
}
tbody td {
  padding: 14px 16px;
  border-top: 1px solid #E7EAFB;
}
tbody tr:last-child td {
  border-bottom: none;
}

/* ----------------------------------------
   BUTTONS & CTAs
-----------------------------------------*/
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display, Montserrat);
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: 12px 32px;
  font-size: 1.11rem;
  background: var(--accent);
  color: #fff;
  border: none;
  box-shadow: 0 2px 10px rgba(29,191,115,0.09);
  letter-spacing: 0.02em;
  margin-top: 8px;
  margin-bottom: 8px;
  transition: background 0.18s, transform 0.12s, box-shadow 0.12s;
}
.cta.primary {
  box-shadow: 0 4px 12px rgba(23,58,94,0.07);
  background: linear-gradient(88deg, var(--accent) 80%, #71ebba 100%);
}
.cta:hover, .cta:focus {
  background: #173A5E;
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 7px 18px rgba(29,191,115,0.18);
}

/* ----------------------------------------
   HEADER / NAVIGATION
-----------------------------------------*/
header {
  background: linear-gradient(90deg, var(--pastel-pink) 0%, var(--secondary) 100%);
  box-shadow: 0 1px 7px rgba(60,92,145,0.06);
  position: relative;
  z-index: 200;
}
header .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
header img {
  height: 44px;
}
.main-nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1.06rem;
  color: #173A5E;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 6px 0;
  border-radius: var(--radius-sm);
  transition: background 0.12s, color 0.17s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--accent);
  background: var(--secondary);
}

/* -----------------------------
   MOBILE NAVIGATION OVERLAY
----------------------------- */
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 2rem;
  border: none;
  align-items: center;
  justify-content: center;
  margin-left: 18px;
  transition: background 0.2s, box-shadow 0.18s;
  box-shadow: 0 2px 8px rgba(23,58,94,0.15);
  position: relative;
  z-index: 1101;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #173A5E;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, var(--pastel-pink) 50%, var(--pastel-lilac) 100%);
  box-shadow: 0 4px 24px rgba(23,58,94,0.22);
  overflow-y: auto;
  z-index: 1100;
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.36s cubic-bezier(0.7,0.2,0.3,1), opacity 0.27s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 28px 4px 0;
  background: #fff;
  color: var(--primary);
  font-size: 2.2rem;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  border: none;
  box-shadow: 0 1px 5px rgba(62,42,97,0.07);
  transition: background 0.16s, color 0.13s;
}
.mobile-menu-close:hover {
  background: var(--pastel-lilac);
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  margin-top: 40px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.28rem;
  color: #173A5E;
  font-weight: 600;
  background: rgba(232,238,251,0.89);
  border-radius: var(--radius-md);
  width: 82vw;
  max-width: 350px;
  text-align: center;
  padding: 16px 12px;
  margin-bottom: 5px;
  transition: background 0.16s, color 0.18s, box-shadow 0.12s;
  box-shadow: 0 1.5px 6px rgba(23,58,94,0.07);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--accent);
  box-shadow: 0 5px 18px rgba(29,191,115,0.10);
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ----------------------------------------
   FOOTER
-----------------------------------------*/
footer {
  background: linear-gradient(90deg, var(--pastel-blue), var(--secondary) 92%);
  border-radius: 0 0 20px 20px;
  box-shadow: 0 -2px 16px rgba(23,58,94,0.04);
  padding-top: 26px;
  padding-bottom: 22px;
  margin-top: 38px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 1rem;
  color: #4B668A;
  margin-bottom: 6px;
  justify-content: center;
}
.footer-links a {
  color: #7089af;
  padding: 2px 4px;
  border-radius: 6px;
  transition: background 0.16s, color 0.16s;
}
.footer-links a:hover, .footer-links a:focus {
  background: var(--pastel-pink);
  color: var(--primary);
}
.footer-contact {
  color: #4B668A;
  font-size: 0.98em;
}

/* ----------------------------------------
   RESPONSIVE DESIGN
-----------------------------------------*/
@media (max-width: 900px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.25rem; }
  .section, main > section { padding: 28px 6px; }
}
@media (max-width: 768px) {
  .container { padding-left: 8px; padding-right: 8px; }
  .section, main > section { margin-bottom: 32px; padding: 20px 3vw; }
  .content-wrapper {
    gap: 18px;
  }
  .text-image-section { flex-direction: column; gap: 18px; }
  .content-grid { flex-direction: column; gap: 18px; }
}
@media (max-width: 500px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.08rem; }
  .card, .testimonial-card, .section, main > section {
    padding: 13px 5px;
    font-size: 0.98rem;
  }
  .cta, .cta.primary { padding: 9px 16px; font-size: 0.98rem; }
  .mobile-nav a { font-size: 1rem; padding: 10px 2px; }
}

/* ----------------------------------------
   SPACING & FLEX CONTAINERS (REQUIRED 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;
}

/* ----------------------------------------
   CUSTOM UI ENHANCEMENTS, SHADOWS, RADIUS
-----------------------------------------*/
.card, .testimonial-card {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}
.cta, .cta.primary, .mobile-nav a, .main-nav a {
  border-radius: var(--radius-md);
}
input, textarea, select {
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid #E4EEF5;
  padding: 10px 12px;
  font-size: 1rem;
  margin-bottom: 12px;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--accent);
  border-color: var(--accent);
}

/* ----------------------------------------
   HOVER & MICRO-INTERACTIONS
-----------------------------------------*/
.card, .testimonial-card, .cta, .mobile-nav a {
  transition: box-shadow 0.16s, transform 0.16s, background 0.16s, color 0.18s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 10px 28px rgba(23,58,94,0.12);
  transform: translateY(-2px) scale(1.02);
}

/* ----------------------------------------
   COOKIE CONSENT BANNER
-----------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(90deg, var(--pastel-yellow), var(--secondary) 60%);
  box-shadow: 0 -2px 16px rgba(23,58,94,0.08);
  padding: 18px 14px 24px 14px;
  z-index: 1600;
  font-family: var(--font-body);
}
.cookie-banner p {
  color: #173A5E;
  font-size: 1rem;
  margin-bottom: 10px;
  text-align: center;
}
.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}
.cookie-buttons button {
  border-radius: var(--radius-md);
  padding: 10px 24px;
  font-family: var(--font-display);
  font-size: 1.01rem;
  font-weight: 600;
  border: none;
  margin: 0 2px;
  transition: background 0.18s, color 0.16s, box-shadow 0.18s, transform 0.12s;
}
.cookie-accept {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 7px rgba(29,191,115,0.09);
}
.cookie-accept:hover {
  background: #173A5E;
}
.cookie-reject {
  background: #fff;
  color: var(--primary);
  border: 1px solid #d2dbe4;
}
.cookie-reject:hover {
  background: #fddee8;
}
.cookie-settings {
  background: var(--pastel-lilac);
  color: var(--primary);
  border: 1px solid #d2dbe4;
}
.cookie-settings:hover {
  background: #ede3fc;
  color: var(--accent);
}

/* COOKIE MODAL POPUP */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 94vw;
  max-width: 400px;
  background: #fff;
  box-shadow: 0 6px 32px rgba(23,58,94,0.15);
  border-radius: var(--radius-lg);
  transform: translate(-50%, -50%) scale(0.96);
  opacity: 0;
  z-index: 1700;
  padding: 33px 24px 28px 24px;
  transition: opacity 0.29s, transform 0.32s;
  pointer-events: none;
}
.cookie-modal.open {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}
.cookie-modal h2 {
  font-size: 1.23rem;
  margin-bottom: 13px;
}
.cookie-modal ul {
  list-style: none;
  margin: 0;
  padding: 0 0 12px 0;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 9px;
  font-size: 1rem;
}
.cookie-toggle {
  appearance: none;
  width: 36px;
  height: 20px;
  border-radius: 10px;
  background: var(--pastel-mint);
  position: relative;
  outline: none;
  transition: background 0.18s;
  border: 1.2px solid #C6DDDF;
}
.cookie-toggle:checked {
  background: var(--accent);
}
.cookie-toggle:before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 1.6px;
  left: 2.3px;
  transition: left 0.2s;
  box-shadow: 0 1.5px 3px rgba(23,58,94,0.09);
}
.cookie-toggle:checked:before {
  left: 16.5px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 18px;
  color: #7c77c5;
  background: #f7f3fd;
  border-radius: 50%;
  border: none;
  font-size: 1.3rem;
  width: 30px;
  height: 30px;
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(23,58,94,0.09);
  transition: background 0.13s, color 0.11s;
}
.cookie-modal .cookie-modal-close:hover {
  background: var(--pastel-mint);
  color: var(--accent);
}

.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}
.cookie-modal-actions button {
  border-radius: var(--radius-md);
  padding: 10px 18px;
  font-size: 1rem;
  font-family: var(--font-display);
  border: none;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  transition: background 0.14s, color 0.11s;
}
.cookie-modal-actions .cookie-cancel-btn {
  background: #fff;
  color: var(--primary);
  border: 1px solid #e8eaf7;
}
.cookie-modal-actions .cookie-cancel-btn:hover {
  background: #fdf3fa;
  color: var(--accent);
}
.cookie-modal-actions .cookie-confirm-btn {
  background: var(--accent);
}
.cookie-modal-actions .cookie-confirm-btn:hover {
  background: #173A5E;
  color: #fff;
}

/* ----------------------------------------
   MISC/UTILITY CLASSES
-----------------------------------------*/
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }

/* ----------------------------------------
   ACCESSIBILITY: FOCUS STATES
-----------------------------------------*/
a:focus, button:focus, .cta:focus, input:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ----------------------------------------
   ICONS INSIDE LISTS/SECTIONS
-----------------------------------------*/
li img {
  vertical-align: middle;
  width: 20px;
  height: 20px;
  margin-right: 7px;
  opacity: .85;
}

/* ----------------------------------------
   CONTACT SHORT INFO
-----------------------------------------*/
.contact-short-info {
  background: var(--pastel-mint);
  border-radius: var(--radius-sm);
  padding: 12px 12px;
  margin-top: 17px;
  color: #23374a;
  font-size: 0.97em;
}

/* ------------------------------------
   PRINT (! disables burger & cookies)
-------------------------------------*/
@media print {
  .mobile-menu-toggle, .mobile-menu,
  .cookie-banner, .cookie-modal {
    display: none !important;
  }
}
