/* 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 {
  font-size: 16px;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F6F8FC;
  color: #32323C;
  line-height: 1.7;
  min-height: 100vh;
}
img {
  max-width: 100%; display: block;
}
ul, ol {
  list-style: none;
  margin: 0; padding: 0;
}
a {
  color: #254E70;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E84C3D;
  outline: none;
}

/* --- FONT FACE IMPORTS FOR MONTSERRAT & ROBOTO --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Roboto:wght@400;500;700&display=swap');

/* --- COLOR PALETTE & PASTEL EXTENSIONS --- */
:root {
  --bb-primary: #254E70;
  --bb-secondary: #E84C3D;
  --bb-accent: #F7F7F8;
  --bb-pastel-blue: #B8C6E6;
  --bb-pastel-pink: #FFE4EA;
  --bb-pastel-mint: #D3E9E3;
  --bb-pastel-yellow: #FFF9D6;
  --bb-pastel-purple: #F6E6FF;
  --bb-bg: #F6F8FC;
  --bb-text-dark: #32323C;
  --bb-card-bg: #FFFFFF;
  --bb-shadow: 0 4px 24px rgba(20, 43, 74, 0.07);
  --bb-radius: 20px;
}

/* --- TYPOGRAPHY & HEADINGS --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  color: var(--bb-primary);
  margin-bottom: 16px;
  font-weight: 700;
}
h1 { font-size: 2.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2rem;  margin-bottom: 12px; }
h3 { font-size: 1.5rem; margin-bottom: 8px; }
h4 { font-size: 1.22rem; }
p, li, address { font-size: 1rem; font-family: 'Roboto', Arial, sans-serif; font-weight: 400; }

.container {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}
.content-wrapper {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

/* --- HEADER & NAVIGATION --- */
header {
  width: 100%;
  background: linear-gradient(90deg, var(--bb-pastel-blue) 0%, var(--bb-pastel-mint) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 0;
  box-shadow: 0 1px 12px rgba(20, 43, 74, 0.03);
  z-index: 100;
  position: relative;
}
header nav {
  display: flex;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: var(--bb-primary);
  padding: 8px 14px;
  border-radius: 12px;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  background: var(--bb-pastel-purple);
  color: var(--bb-secondary);
}
header > a > img {
  height: 42px;
}

.cta-primary {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  background: var(--bb-secondary);
  color: #fff;
  border-radius: 20px;
  padding: 12px 32px;
  font-size: 1.15rem;
  box-shadow: 0 4px 16px rgba(232, 76, 61, 0.12);
  border: none;
  outline: none;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
  display: inline-block;
  letter-spacing: 0.02em;
}
.cta-primary:hover, .cta-primary:focus {
  background: #D63D30;
  transform: translateY(-2px) scale(1.042);
  box-shadow: 0 8px 24px rgba(232, 76, 61, 0.16);
}

/* --- BURGER MENU --- */
.mobile-menu-toggle {
  position: fixed;
  top: 20px; right: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  font-size: 2rem;
  background: var(--bb-pastel-yellow);
  border: none;
  border-radius: 16px;
  color: var(--bb-primary);
  box-shadow: var(--bb-shadow);
  z-index: 2200;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--bb-pastel-pink);
  color: var(--bb-secondary);
}
@media (min-width: 1024px) {
  .mobile-menu-toggle { display: none !important; }
}

/* --- MOBILE MENU OVERLAY --- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(247,247,248,0.98);
  box-shadow: 0 6px 32px rgba(37,78,112,0.12);
  z-index: 2500;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.68,-0.35,.56,1.54);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 24px 8px 0;
  background: var(--bb-pastel-mint);
  border: none;
  font-size: 2.3rem;
  color: var(--bb-primary);
  border-radius: 14px;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: var(--bb-shadow);
  transition: background 0.16s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--bb-pastel-pink);
  color: var(--bb-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px 38px;
  margin-top: 16px;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  color: var(--bb-primary);
  padding: 13px 4px 13px 0;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--bb-pastel-blue);
  color: var(--bb-secondary);
}

/* Hide nav on mobile, show mobile toggle */
@media (max-width: 1023px) {
  header nav,
  header .cta-primary {
    display: none;
  }
  header {justify-content: flex-start;}
}
@media (min-width: 1024px) {
  .mobile-menu { display:none !important;}
}

/* --- LAYOUT FLEX SPACING UTILITIES --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: var(--bb-card-bg);
  border-radius: var(--bb-radius);
  box-shadow: var(--bb-shadow);
  padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(37, 78, 112, 0.13);
  transform: translateY(-3px) scale(1.018);
}
.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: 18px;
  padding: 28px 32px;
  margin-bottom: 20px;
  background: var(--bb-pastel-mint);
  color: var(--bb-text-dark);
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(80,165,151,0.06);
  font-size: 1.08rem;
  min-width: 210px;
  max-width: 520px;
}
.testimonial-card p {
  color: var(--bb-text-dark);
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-card span {
  color: var(--bb-secondary);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- LIST STYLES FOR FEATURE/ICON LISTS --- */
.content-wrapper ul li {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 46px;
  margin-bottom: 12px; /* Safe spacing between points */
}
.content-wrapper ul li img {
  width: 32px; height: 32px; object-fit: contain;
  background: var(--bb-pastel-blue);
  border-radius: 8px;
  padding: 3px;
}

/* --- CALL TO ACTION LIST LINKS --- */
.content-wrapper a {
  font-weight: 600;
  text-decoration: underline;
  color: var(--bb-secondary);
  margin-right: 8px;
  transition: color 0.18s;
}
.content-wrapper a:hover, .content-wrapper a:focus {
  color: var(--bb-primary);
}

/* --- BUTTON GLOBALS --- */
button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 14px;
  padding: 10px 18px;
  background: var(--bb-primary);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
  outline: none;
}
button:hover, button:focus {
  background: var(--bb-secondary);
}

/* --- FOOTER --- */
footer {
  background: var(--bb-pastel-purple);
  color: var(--bb-primary);
  padding: 46px 0 16px 0;
  font-size: 0.97rem;
  margin-top: 80px;
  border-radius: var(--bb-radius) var(--bb-radius) 0 0;
  box-shadow: 0 -2px 24px rgba(23,60,90,0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  justify-content: center;
}
.footer-nav a {
  color: var(--bb-primary);
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--bb-pastel-yellow);
  transition: background 0.18s, color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--bb-secondary);
  color: #fff;
}
address {
  font-style: normal;
  text-align: center;
}
footer small {
  color: #A0A2B1;
  font-size: 0.92rem;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3200;
  background: linear-gradient(90deg, var(--bb-pastel-pink) 0%, var(--bb-pastel-yellow) 100%);
  color: var(--bb-primary);
  width: 100vw;
  padding: 18px 18px 16px 18px;
  box-shadow: 0 -4px 32px rgba(221, 128, 153, 0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: cookieBannerFadeIn 0.7s ease;
}
@keyframes cookieBannerFadeIn {
  from { opacity: 0; transform: translateY(80px);}
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
  margin-top: 4px;
}
.cookie-banner__btn {
  padding: 10px 22px;
  border-radius: 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  outline: none;
  box-shadow: var(--bb-shadow);
  transition: background 0.18s, color 0.18s, transform 0.11s;
}
.cookie-banner__btn.accept {
  background: var(--bb-secondary);
  color: #fff;
}
.cookie-banner__btn.reject {
  background: #fff;
  color: var(--bb-secondary);
}
.cookie-banner__btn.settings {
  background: var(--bb-pastel-mint);
  color: var(--bb-primary);
}
.cookie-banner__btn:hover {
  transform: translateY(-2px) scale(1.06);
}

/* Cookie consent modal popup */
.cookie-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(58, 39, 70, 0.25);
  z-index: 3300;
  align-items: center;
  justify-content: center;
}
.cookie-modal.active {
  display: flex;
}
.cookie-modal__content {
  background: var(--bb-card-bg);
  border-radius: 16px;
  max-width: 420px;
  padding: 32px 26px 22px 26px;
  box-shadow: 0 8px 32px rgba(20, 43, 74, 0.15);
  position: relative;
  animation: fadeInScale 0.34s;
}
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.92) translateY(24px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal__close {
  position: absolute;
  right: 18px; top: 14px;
  font-size: 1.46rem;
  background: transparent;
  border: none;
  color: var(--bb-primary);
  cursor: pointer;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color: var(--bb-secondary);
}
/* Cookie modal switches */
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 22px 0 16px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-category label {
  font-weight: 500;
  color: var(--bb-primary);
}
.cookie-switch {
  appearance: none;
  width: 38px; height: 22px;
  background: var(--bb-pastel-pink);
  border-radius: 14px;
  position: relative;
  outline: none;
  transition: background 0.18s;
}
.cookie-switch:checked {
  background: var(--bb-secondary);
}
.cookie-switch:disabled {
  background: var(--bb-pastel-mint);
  opacity: 0.7;
  cursor: not-allowed;
}
.cookie-switch::before {
  content: '';
  position: absolute;
  left: 4px; top: 3px;
  width: 15px; height: 15px;
  background: white;
  border-radius: 50%;
  transition: left 0.18s;
}
.cookie-switch:checked::before {
  left: 19px;
}

/* --- GENERAL SECTION & CARD SPACING --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--bb-bg);
  border-radius: var(--bb-radius);
  box-shadow: 0 2px 18px rgba(37, 78, 112, 0.08);
}
section h2 {
  margin-bottom: 12px;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 900px) {
  .container { max-width: 100%; padding: 0 8px; }
  section { padding: 36px 10px; }
  .testimonial-card { padding: 18px 14px; }
  header nav a { padding: 7px 7px; }
}
@media (max-width: 768px) {
  .section, section { padding: 28px 8px; }
  .testimonial-card { font-size: 1rem; min-width: 0; max-width: 100%;}
  .content-wrapper { gap: 16px; }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.32rem; }
  .cta-primary { padding: 10px 12px; font-size: 1rem; }
  .container { padding: 0 4px; }
}

/* --- WHITE SPACE --- */
main {
  margin-top: 36px;
}

/* --- MICRO-INTERACTIONS --- */
.card, .testimonial-card, .cta-primary, .footer-nav a {
  transition: box-shadow 0.18s, background 0.2s, color 0.16s, transform 0.16s;
}
.card:active, .testimonial-card:active { transform: scale(0.98); }

/* --- SELECTION COLORS --- */
::selection {
  background: var(--bb-pastel-pink);
  color: var(--bb-primary);
}

/* --- MISCELLANEOUS --- */
hr {
  border: none;
  border-top: 1px solid var(--bb-pastel-blue);
  margin: 32px 0;
}

/* --- ACCESSIBILITY --- */
:focus-visible {
  outline: 2px solid var(--bb-secondary);
  outline-offset: 3px;
}

/* --- PRINT --- */
@media print {
  body, html { background: #fff !important; color: #222 !important; }
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
}
