/* === 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: 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.6;
  background: #F8FAFB;
  color: #25435E;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #59AAB8;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #003366;
  text-decoration: underline;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 20px;
}
li {
  margin-bottom: 10px;
}

/* === BRAND/FONT SETUP === */
:root {
  --primary: #003366;
  --secondary: #59AAB8;
  --accent: #F2F2F2;
  --pastel-blue: #E3F2FD;
  --pastel-green: #E2F6F3;
  --pastel-yellow: #FFF7E6;
  --pastel-pink: #FFF0F6;
  --pastel-purple: #EDE7F6;
  --shadow: 0 2px 12px rgba(89, 170, 184, 0.10), 0 1.5px 10px rgba(51,95,146,0.05);
  --border-radius: 18px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1.18;
}
h1 { font-size: 2.667rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p, ul, ol, span, label, input, textarea, select {
  font-family: var(--font-body);
}

strong, b { font-weight: 700; }

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 12px;
}

/* === FLEX PATTERNS & CARD LAYOUTS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: var(--pastel-blue);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  flex: 1 1 0;
}
.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;
  background: var(--pastel-purple);
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 18px rgba(89, 170, 184, 0.11);
  margin-bottom: 24px;
  min-width: 240px;
  max-width: 520px;
  color: #242F3B;
}
.testimonial-card p {
  color: #1E3146;
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.testimonial-card span {
  color: var(--primary);
  font-weight: 600;
}
.testimonial-card div {
  color: #FFD700;
  font-size: 1.17rem;
  margin-bottom: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--pastel-green);
  padding: 24px 18px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  min-width: 210px;
}

.service-teasers {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-teasers > div {
  background: var(--pastel-yellow);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  flex: 1 1 240px;
  min-width: 210px;
  padding: 26px 20px 22px 20px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.blog-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.blog-preview > div {
  flex: 1 1 240px;
  min-width: 240px;
  background: var(--pastel-pink);
  border-radius: var(--border-radius);
  padding: 26px 20px 20px 20px;
  margin-bottom: 10px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.category-filter {
  margin-bottom: 15px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.category-filter span {
  background: var(--pastel-green);
  color: var(--primary);
  font-size: 0.98rem;
  border-radius: 13px;
  padding: 3px 12px;
}

/* === HEADER & NAVIGATION === */
header {
  width: 100%;
  background: linear-gradient(90deg, #E2F6F3 0%, #FFF0F6 100%);
  padding: 0;
  box-shadow: 0 2px 10px rgba(89,170,184,0.06);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: 10px 16px;
  position: relative;
}
.logo img {
  height: 42px;
  width: auto;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 600;
  font-size: 1.07rem;
  padding: 7px 14px;
  border-radius: 12px;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  background: var(--pastel-blue);
  color: var(--secondary);
}
.cta-primary {
  background: linear-gradient(90deg,#59AAB8 0%,#E2F6F3 100%);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  padding: 10px 26px;
  border-radius: 23px;
  box-shadow: 0 2px 10px rgba(89, 170, 184, 0.10);
  border: none;
  cursor: pointer;
  margin-left: 16px;
  transition: background 0.25s, color 0.18s, transform 0.15s;
  display: inline-block;
  text-align: center;
}
.cta-primary:hover, .cta-primary:focus {
  background: #003366;
  color: #FFF0F6;
  transform: translateY(-2px) scale(1.03);
}
.cta-secondary {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  padding: 8px 22px;
  border-radius: 23px;
  transition: background 0.21s, color 0.15s, border 0.18s, transform 0.15s;
  display: inline-block;
  margin-top: 12px;
  margin-bottom: 0;
  text-align: center;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--secondary);
  color: #fff;
  border: 2px solid var(--primary);
  transform: translateY(-2px) scale(1.03);
}

button, .cta-primary, .cta-secondary {
  cursor: pointer;
  outline: none;
  font-family: var(--font-display);
  transition: box-shadow 0.2s, background 0.17s, color 0.17s, transform 0.15s;
}
button:active, .cta-primary:active, .cta-secondary:active {
  transform: scale(0.98);
}

/* === MOBILE BURGER MENU === */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  border: none;
  color: var(--primary);
  font-size: 2rem;
  border-radius: 13px;
  padding: 6px 12px;
  margin-left: 18px;
  box-shadow: 0 2px 10px rgba(89,170,184,0.08);
  cursor: pointer;
  transition: background 0.16s, color 0.13s;
  position: relative;
  z-index: 1400;
}
.mobile-menu-toggle:focus {
  background: var(--primary);
  color: #fff;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: linear-gradient(125deg,#E2F6F3 30%, #FFF0F6 100%);
  z-index: 1200;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.7, 0.1, 0.25, 1);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--primary);
  color: #fff;
  font-size: 2.2rem;
  border: none;
  border-radius: 13px;
  padding: 6px 16px;
  margin: 18px 0 22px 20px;
  cursor: pointer;
  align-self: flex-start;
  box-shadow: none;
  transition: background 0.13s, color 0.13s, transform 0.12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--secondary);
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  margin-left: 36px;
  margin-top: 10px;
}
.mobile-nav a {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.18rem;
  padding: 10px 0;
  border-radius: 12px;
  transition: background 0.18s, color 0.15s;
  min-width: 180px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-blue);
  color: var(--secondary);
  padding-left: 10px;
}

/* === MAIN LAYOUT SECTIONS === */
main {
  width: 100%;
  min-height: 60vh;
  padding: 0 0 32px 0;
}
section {
  width: 100%;
  margin-bottom: 36px;
}

/* === FOOTER === */
footer {
  width: 100%;
  padding: 0;
  background: linear-gradient(90deg, #EDE7F6 0%, #E2F6F3 100%);
  border-top: 1px solid #e2ecf8;
  box-shadow: 0 -2px 10px rgba(89,170,184,0.04);
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 36px 16px 30px 16px;
}
.footer-logo img {
  height: 46px;
  width: auto;
  margin-bottom: 12px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3px;
  margin-top: 2px;
}
footer nav a {
  color: var(--primary);
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 500;
  opacity: 0.83;
  border-radius: 9px;
  padding: 5px 12px;
  transition: background 0.2s, color 0.17s;
}
footer nav a:hover, footer nav a:focus {
  opacity: 1;
  color: var(--secondary);
  background: var(--pastel-blue);
}
.footer-contact {
  color: #37709A;
  font-size: 0.98rem;
  font-family: var(--font-body);
  text-align: center;
  margin: 4px 0 0 0;
}
.footer-copy {
  font-size: 0.89rem;
  color: #6F8FA6;
  text-align: center;
  margin-top: 8px;
}

/* === FORMS, INPUTS, DETAILS === */
input, textarea, select {
  background: var(--pastel-blue);
  border: 1px solid #b2cdf3;
  border-radius: 11px;
  font-size: 1rem;
  padding: 8px 14px;
  margin-bottom: 16px;
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
  outline: none;
  box-shadow: 0 2px 6px rgba(89, 170, 184, 0.13);
}
label {
  font-weight: 600;
  color: var(--primary);
  display: block;
  margin-bottom: 8px;
}

/* === COOKIE CONSENT BANNER & MODAL === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  z-index: 1500;
  background: linear-gradient(90deg,#EDE7F6 0%, #FFF7E6 80%);
  box-shadow: 0 -1px 18px rgba(89,170,184,0.13);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
  padding: 18px 18px 18px 28px;
  font-size: 1rem;
  border-top-left-radius: var(--border-radius);
  border-top-right-radius: var(--border-radius);
  transition: transform 0.32s cubic-bezier(0.7, 0.1, 0.25, 1), opacity 0.23s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner__msg {
  color: #2E2A46;
  flex: 1 1 auto;
}
.cookie-banner__btns {
  display: flex;
  gap: 13px;
  flex-direction: row;
}
.cookie-btn {
  font-family: var(--font-display);
  border-radius: 14px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  padding: 8px 17px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(89,170,184,0.08);
  transition: background 0.2s, color 0.15s, transform 0.13s;
}
.cookie-btn.accept {
  background: var(--secondary);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--primary);
  color: #fff;
}
.cookie-btn.reject {
  background: var(--pastel-blue);
  color: var(--primary);
  border: 1px solid #b2cdf3;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #fff;
  color: var(--secondary);
}
.cookie-btn.settings {
  background: var(--pastel-pink);
  color: var(--primary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--pastel-yellow);
  color: var(--secondary);
}

.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(44,48,71,0.13);
  z-index: 1600;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.21s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: linear-gradient(120deg,#E2F6F3 45%, #EDE7F6 100%);
  border-radius: 23px;
  box-shadow: 0 6px 36px rgba(89,170,184,0.18);
  padding: 36px 28px 30px 28px;
  min-width: 270px;
  max-width: 96vw;
  width: 420px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeSlideUpModal 0.3s;
}
@keyframes fadeSlideUpModal {
  0% { opacity: 0; transform: translateY(40px); }
 100% { opacity: 1; transform: translateY(0); }
}
.cookie-modal h2 {
  margin-bottom: 7px;
  font-size: 1.29rem;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.cookie-modal-category label {
  font-weight: 600;
  margin-bottom: 0;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 21px;
  background: var(--pastel-blue);
  border-radius: 12px;
  border: 1.5px solid #B2CDF3;
  position: relative;
  outline: none;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(89,170,184,0.12);
  transition: background 0.20s;
}
.cookie-toggle:checked {
  background: var(--secondary);
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 3px; top: 2.1px;
  width: 17px; height: 17px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 3px #bbb;
  transition: left 0.21s, background 0.14s;
}
.cookie-toggle:checked:before {
  left: 18px;
  background: #E6FEFD;
}
.cookie-modal-btns {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
}
.cookie-close-modal {
  position: absolute;
  right: 18px;
  top: 18px;
  background: transparent;
  border: none;
  color: var(--primary);
  font-size: 1.6rem;
  border-radius: 7px;
  padding: 2px 8px;
  cursor: pointer;
  transition: background 0.11s, color 0.13s;
}
.cookie-close-modal:hover, .cookie-close-modal:focus {
  background: var(--accent);
  color: var(--secondary);
}

/* === UTILITIES & MICROINTERACTIONS === */
.shadow { box-shadow: var(--shadow); }
.rounded { border-radius: var(--border-radius); }
.mt-20 { margin-top: 20px; }
.mb-24 { margin-bottom: 24px; }
.text-center { text-align: center; }

/* === RESPONSIVE: MOBILE-FIRST ADJUSTMENTS === */
@media (max-width: 1024px) {
  h1 { font-size: 2.10rem; }
  h2 { font-size: 1.46rem; }
  .container { padding: 0 12px; }
  .section { padding: 34px 8px; }
}
@media (max-width: 768px) {
  header nav,
  .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding: 0 6px;
  }
  .service-teasers, .blog-preview, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .testimonial-card, .card, .feature-item, .service-teasers > div, .blog-preview > div {
    max-width: 100%;
    min-width: unset;
  }
  .section {
    margin-bottom: 40px;
    padding: 22px 6px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 9px 13px 16px;
    gap: 15px;
    font-size: 0.97rem;
  }
  footer .container {
    padding: 20px 4px 18px 4px;
    gap: 12px;
  }
  .footer-logo img { height: 36px; }
  footer nav { gap: 11px; }
}
@media (max-width: 520px) {
  .cookie-modal {
    width: 96vw;
    min-width: unset;
    padding: 18px 7px 18px 14px;
  }
  .cookie-modal-btns {
    gap: 8px;
  }
}
