/* --- CSS RESET & NORMALIZATION --- */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.6;
  color: #324157;
  background: #FFF8F3;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
strong {
  font-weight: 600;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 800;
  color: #283C63;
  line-height: 1.2;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem;  }
h3 { font-size: 1.25rem; }
h4, h5, h6 { font-size: 1rem; }

/* --- SOFT PASTEL BRAND PALETTE --- */
:root {
  --primary: #283C63;
  --secondary: #F7C873;
  --accent: #FFFFFF;
  --pastel-peach: #FFE5D0;
  --pastel-lilac: #F2E6FA;
  --pastel-pink: #FFDEE9;
  --pastel-blue: #D6ECFA;
  --pastel-mint: #D0FFF7;
  --pastel-yellow: #FCF8E8;
  --gray-light: #F7F8FA;
  --gray-medium: #D0D3DA;
  --cta-bg: #F7C873;
  --cta-color: #283C63;
}

/* --- GENERAL LAYOUT --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--pastel-peach);
  border-radius: 28px;
  box-shadow: 0 4px 24px 0 rgba(40,60,99,0.06);
}
.text-section {
  background: var(--pastel-lilac);
  border-radius: 24px;
  padding: 32px 18px;
}
.main-cta, .cta-section {
  background: var(--pastel-mint);
  border-radius: 24px;
  text-align: center;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: linear-gradient(90deg, var(--pastel-mint) 60%, var(--pastel-yellow) 100%);
  box-shadow: 0 2px 15px 0 rgba(40,60,99,0.04);
  z-index: 90;
  position: relative;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 18px 0 12px 0;
}
header nav img {
  height: 48px;
  width: auto;
  display: block;
}
header nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}
header nav ul li {
  position: relative;
}
header nav ul li a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  color: var(--primary);
  transition: background 0.2s, color 0.2s;
}
header nav ul li a.cta {
  background: var(--cta-bg);
  color: var(--cta-color);
  box-shadow: 0 2px 8px 0 rgba(40,60,99,0.07);
  font-weight: 700;
}
header nav ul li a:not(.cta):hover,
header nav ul li a:not(.cta):focus {
  background: var(--pastel-blue);
  color: var(--primary);
}
header nav ul li a.cta:hover,
header nav ul li a.cta:focus {
  background: #f6b900;
  color: #fff;
  box-shadow: 0 4px 14px 0 rgba(247,200,115,0.17);
}
.mobile-menu-toggle {
  display: none;
  background: var(--cta-bg);
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  padding: 10px 16px;
  color: var(--cta-color);
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(40,60,99,0.08);
  transition: background 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--primary);
}
/* -- MOBILE MENU OVERLAY -- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(248,244,228,0.97);
  box-shadow: 0 0 50px 10px rgba(40,60,99,0.06);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 0;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 22px 25px 0 0;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--primary);
  cursor: pointer;
}
.mobile-nav {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
  gap: 10px;
  padding: 0 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  padding: 10px 0;
  width: 100%;
  border-radius: 18px;
  color: var(--primary);
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--pastel-blue);
  color: var(--primary);
}

@media (max-width: 1050px) {
  header nav ul {
    gap: 16px;
  }
}
@media (max-width: 850px) {
  header nav ul {
    gap: 7px;
  }
}
@media (max-width: 768px) {
  header nav ul {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header nav {
    gap: 12px;
  }
}

/* --- HERO & PAGE SECTIONS --- */
main section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: 24px;
  box-shadow: 0 4px 24px 0 rgba(40,60,99,0.04);
}
@media (max-width: 576px) {
  main section {
    padding: 24px 5px;
    margin-bottom: 40px;
  }
}

main h1, main h2 {
  text-shadow: 0 1px 2px #faf4fa;
}
main h1 {
  color: #283C63;
  font-size: 2.3rem;
  margin-bottom: 8px;
}
main h2 {
  color: #283C63;
  font-size: 1.75rem;
  margin-bottom: 8px;
}
main p, main ul, main blockquote {
  font-size: 1.06rem;
  color: #324157;
}
main blockquote {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-style: italic;
  background: var(--pastel-pink);
  color: var(--primary);
  border-radius: 18px;
  padding: 24px 18px;
  margin: 20px 0;
  box-shadow: 0 1.5px 8px 0 rgba(40,60,99,0.05);
}

/* --- SECTION/TEXT-IMAGE FLEX PATTERNS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--gray-light);
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(40,60,99,0.10);
  padding: 24px 18px;
  flex: 1 1 260px;
  min-width: 230px;
  max-width: 100%;
}
.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;
  background: var(--pastel-mint);
  border-radius: 20px;
  box-shadow: 0 2.5px 16px 0 rgba(40,60,99,0.09);
  margin-bottom: 20px;
  flex: 1 1 350px;
}
.testimonial-card p {
  color: #222b38;
  font-size: 1.1rem;
  line-height: 1.55;
}
.testimonial-card strong {
  color: #283C63;
  font-weight: 700;
  font-size: 1rem;
  margin-left: 10px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--gray-light);
  border-radius: 20px;
  box-shadow: 0 1.5px 7px 0 rgba(40,60,99,0.07);
  padding: 18px 16px;
  margin-bottom: 20px;
}

/* ---- SERVICE CARDS PATTERN ---- */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.service-cards > div {
  background: var(--pastel-blue);
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(40,60,99,0.08);
  padding: 24px 18px;
  flex: 1 1 260px;
  min-width: 230px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
  transition: box-shadow 0.19s cubic-bezier(.4,0,.2,1), transform 0.19s cubic-bezier(.4,0,.2,1);
}
.service-cards > div:hover {
  box-shadow: 0 6px 26px 0 rgba(40,60,99,0.18);
  transform: translateY(-4px) scale(1.03);
}
.service-cards strong {
  color: var(--primary);
  font-weight: 700;
}
.tag {
  background: var(--pastel-peach);
  color: var(--primary);
  font-size: 0.90rem;
  border-radius: 8px;
  padding: 2px 10px;
  margin-left: 6px;
}

/* ---- LIST & FAQ ---- */
ul, ol {
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}
.content-wrapper > ul,
ul.accordion-faq {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
ul li img {
  vertical-align: middle;
  margin-right: 12px;
  width: 24px;
  height: 24px;
}
ul li {
  color: #283C63;
  font-size: 1rem;
  padding-left: 0;
}
ul.accordion-faq li strong {
  color: var(--primary);
  font-weight: 700;
}

/* --- BUTTONS / CTA --- */
.cta {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  background: var(--cta-bg);
  color: var(--cta-color);
  border-radius: 24px;
  box-shadow: 0 2px 10px 0 rgba(247,200,115,0.13);
  padding: 12px 34px;
  border: none;
  cursor: pointer;
  margin-top: 8px;
  letter-spacing: .02em;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.17s;
}
.cta:hover,
.cta:focus {
  background: #f6b900;
  color: #fff;
  transform: scale(1.03);
  box-shadow: 0 6px 24px 0 rgba(247,200,115,0.19);
}

/* --- MAP EMBED/MAP SECTION --- */
.map-embed {
  background: var(--pastel-blue);
  border-radius: 18px;
  padding: 16px;
  margin-top: 8px;
  text-align: center;
  font-size: 1.05rem;
}

/* --- FOOTER --- */
footer {
  background: linear-gradient(90deg, var(--pastel-mint) 60%, var(--pastel-yellow) 100%);
  border-top: 2px solid #f7c87320;
  font-size: 1rem;
}
footer .container {
  padding: 36px 0 14px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin-bottom: 0 !important;
}
footer section {
  flex: 1 1 240px;
  min-width: 172px;
  margin-bottom: 12px;
  text-align: left;
}
footer h3 {
  font-size: 1.1rem;
  margin-bottom: 7px;
  color: #2e3950;
}
footer p, footer a, footer small {
  font-size: .97rem;
  color: #35506e;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
footer nav a {
  color: #324157;
  border-radius: 16px;
  padding: 2px 8px;
  transition: background 0.18s, color .17s;
}
footer nav a:hover, 
footer nav a:focus {
  background: var(--cta-bg);
  color: var(--primary);
}
footer ul {
  display: flex;
  gap: 16px;
  align-items: center;
}
footer ul li img {
  width: 26px;
  height: 26px;
  opacity: 0.93;
  filter: drop-shadow(0 1px 2px #f7c87318);
  transition: opacity 0.17s;
}
footer ul li img:hover,footer ul li img:focus {
  opacity: 1;
}
footer small {
  width: 100%;
  text-align: center;
  margin-top: 18px;
  display: block;
  color: #76717d;
  font-size: 0.90rem;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* --- RESPONSIVE FLEX ADAPTATION --- */
@media (max-width: 1024px) {
  .service-cards, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: stretch !important;
  }
}
@media (max-width: 768px) {
  .service-cards, .card-container, .content-grid, .testimonial-card {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .content-wrapper {
    gap: 16px;
  }
  .section, main section {
    margin-bottom: 38px;
    padding: 24px 7px;
    border-radius: 16px;
  }
  .card, .service-cards > div, .testimonial-card {
    border-radius: 14px;
    padding: 15px 9px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .text-section {
    padding: 20px 5px;
    border-radius: 10px;
  }
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.30rem; }
}
@media (max-width: 540px) {
  .container {
    padding: 0 5px;
  }
  .section, main section {
    padding: 14px 2px;
  }
  h1 { font-size: 1.22rem; }
}

/* --- MICRO-INTERACTIONS, TRANSITIONS, HOVER --- */
a, .cta, button {
  transition: background 0.17s, color 0.17s, box-shadow 0.19s, transform 0.18s;
}
.card, .service-cards > div {
  transition: box-shadow 0.19s cubic-bezier(.4,0,.2,1), transform 0.19s cubic-bezier(.4,0,.2,1);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--pastel-peach);
  color: #283C63;
  box-shadow: 0 -2.5px 16px 0 rgba(40,60,99,0.07);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 10px 16px 10px;
  gap: 14px;
  font-size: 1.02rem;
  animation: banner-fade-in 0.38s cubic-bezier(.4,0,.2,1);
}
@keyframes banner-fade-in {
  from { opacity: 0; transform: translateY(38px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner-buttons {
  display: flex;
  gap: 14px;
  margin-top: 6px;
}
.cookie-banner button {
  font-family: 'Montserrat', sans-serif;
  border: none;
  border-radius: 20px;
  padding: 7px 20px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.19s;
}
.cookie-accept {
  background: var(--cta-bg);
  color: var(--cta-color);
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #f6b900;
  color: #fff;
}
.cookie-reject {
  background: #dfe7fa;
  color: var(--primary);
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #bac7e9;
  color: var(--primary);
}
.cookie-settings {
  background: var(--pastel-blue);
  color: var(--primary);
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #aedcf6;
}

/* --- COOKIE MODAL --- */
.cookie-modal {
  position: fixed;
  z-index: 1300;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(40,60,99,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fade-in 0.38s cubic-bezier(.4,0,.2,1);
}
@keyframes modal-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-content {
  background: var(--pastel-pink);
  border-radius: 22px;
  box-shadow: 0 6px 36px 6px rgba(40,60,99,0.12);
  padding: 32px 26px 24px 26px;
  min-width: 288px;
  max-width: 94vw;
  font-size: 1.01rem;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--primary);
  cursor: pointer;
  opacity: 0.72;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  opacity: 1;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.98rem;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--cta-bg);
  width: 16px;
  height: 16px;
}
.cookie-category .essential {
  font-style: italic;
  color: #9295a5;
}
/* --- ACCESSIBILITY --- */
:focus-visible {
  outline: 2px solid var(--cta-bg);
  outline-offset: 2px;
}

/* --- SCROLLBAR STYLE FOR SOFT PASTEL --- */
body::-webkit-scrollbar {
  width: 12px;
  background: #F3F8FF;
}
body::-webkit-scrollbar-thumb {
  background: var(--pastel-peach);
  border-radius: 6px;
}

/* --- Extra: THANK YOU PAGE & SIMPLE PAGES --- */
main a.cta {
  margin: 22px auto 0 auto;
  display: block;
}

/* -- ENSURE NO OVERLAPPING -- */
.card, .service-cards > div, .testimonial-card {
  margin-bottom: 20px;
  min-width: 0;
}
.section, main section, .card, .feature-item, .testimonial-card, .service-cards > div {
  box-sizing: border-box;
}

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