/* --- CSS RESET & NORMALIZATION --- */
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, menu, 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, 
main, 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 {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  line-height: 1.5;
  background: #F7F8FA;
  color: #273043;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
ul, ol {
  padding-left: 1.6em;
  margin-bottom: 1.5em;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #273043;
}
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
p, li {
  font-size: 1rem;
  color: #3D405B;
  line-height: 1.8;
}
strong {
  font-weight: 600;
}
input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
  border-radius: 7px;
}
:focus {
  outline: 2px solid #C48D3C;
  outline-offset: 2px;
}

/* --- SOFT PASTEL COLOR PALETTE USING BRAND COLORS --- */
:root {
  --primary: #273043;
  --secondary: #F5F3F6;
  --accent: #C48D3C;
  --pastel-pink: #FFE9F0;
  --pastel-blue: #E3EEF9;
  --pastel-mint: #E7FAF3;
  --pastel-lavender: #F0EAFE;
  --shadow: 0 3px 16px rgba(55,56,92,.07), 0 1.5px 4px rgba(155,150,180,.10);
  --border-radius: 18px;
  --header-bg: #FCFAFD;
  --footer-bg: #F5F3F6;
  --cta-gradient: linear-gradient(90deg,#FFEDBC 0%,#F0EAFE 100%);
}

/* --- LAYOUT HELPERS --- */
.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  transition: box-shadow .22s, transform .18s;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(39,48,67,0.13);
  transform: translateY(-2px) 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: center;
  gap: 20px;
  background: #FFF;
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 20px 28px;
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 390px;
  border: 1.5px solid #F0EAFE;
  transition: box-shadow .19s, border .22s;
}
.testimonial-card:hover {
  box-shadow: 0 12px 32px rgba(39,48,67,0.12);
  border: 1.5px solid #C48D3C44;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFF;
  border-radius: 16px;
  padding: 24px;
}

/* --- HEADER AND NAVIGATION --- */
header {
  width: 100%;
  background: var(--header-bg);
  border-bottom: 1px solid #ECE8F5;
  box-shadow: 0 1.5px 8px 0 rgba(200,190,240,0.03);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 26px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #273043CC;
  padding: 6px 8px;
  border-radius: 7px;
  transition: background .15s, color .18s;
}
header nav a:hover, header nav a:focus {
  color: var(--primary);
  background: var(--pastel-blue);
}
.cta-primary {
  background: var(--pastel-pink);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.07rem;
  border: none;
  border-radius: 999px;
  padding: 10px 24px;
  margin-left: 5px;
  box-shadow: 0 2px 11px rgba(230,190,200,0.09);
  transition: background .16s, color .18s,box-shadow.18s;
  cursor: pointer;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--accent);
  color: #FFF;
  box-shadow: 0 6px 25px rgba(196,141,60,0.13);
}
.cta-link {
  color: var(--accent);
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  text-decoration: underline dotted;
  margin-top: 18px;
  transition: color .15s;
}
.cta-link:hover {
  color: #ae7b36;
}

.mobile-menu-toggle {
  display: none;
  background: var(--pastel-blue);
  border: none;
  font-size: 2rem;
  color: var(--primary);
  padding: 7px 12px;
  border-radius: 13px;
  margin-left: 16px;
  cursor: pointer;
  transition: background .15s, color .15s;
  z-index: 1201;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--accent);
  color: #FFF;
}

/* --- MOBILE MENU --- */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(245,243,246,0.98);
  z-index: 1200;
  transition: transform 0.45s cubic-bezier(.78,.07,.12,.95), opacity 0.25s;
  will-change: transform,opacity;
  transform: translateX(100vw);
}
.mobile-menu.active {
  display: block;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  top: 16px; right: 20px;
  background: var(--pastel-blue);
  border: none;
  font-size: 2.18rem;
  color: var(--primary);
  border-radius: 11px;
  width: 47px; height: 47px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 1250;
  transition: background .14s, color .14s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--accent);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 80px;
  align-items: flex-start;
  padding-left: 34px;
}
.mobile-nav a {
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  background: none;
  border-radius: 8px;
  padding: 11px 8px;
  transition: background .14s, color .13s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #fff;
  background: var(--accent);
}

/* --- MAIN & SECTIONS --- */
main {
  min-height: 60vh;
  width: 100%;
}
section {
  background: #FFF;
  border-radius: 22px;
  margin-bottom: 36px;
  box-shadow: 0 1.5px 12px 0 rgba(210,200,220,0.07);
}

/* --- HERO & FEATURE CARDS (INDEX) --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.feature-grid > div {
  background: var(--pastel-lavender);
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(210,200,220,0.085);
  flex: 1 1 210px;
  min-width: 190px;
  max-width: 265px;
  padding: 28px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow .19s;
}
.feature-grid > div img {
  margin-bottom: 15px;
  width: 38px;
  height: 38px;
  background: var(--pastel-mint);
  border-radius: 6px;
  padding: 5px;
  box-shadow: 0 1.5px 8px 0 rgba(120,200,190,0.09);
}
.feature-grid > div h3 {
  margin-bottom: 7px;
}
.feature-grid > div p {
  font-size: 0.99rem;
}
.feature-grid > div:hover {
  box-shadow: 0 7px 22px 0 rgba(196,141,60,0.09);
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 8px;
}
.service-cards > div {
  background: var(--pastel-mint);
  border-radius: 18px;
  flex: 1 1 230px;
  min-width: 210px;
  max-width: 280px;
  box-shadow: 0 2px 11px 0 rgba(190,230,200,0.085);
  padding: 24px 19px 22px 19px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .19s;
}
.service-cards > div h3, .service-cards > div p {
  font-family: 'Montserrat', Arial, sans-serif;
}
.service-cards > div:hover {
  box-shadow: 0 9px 29px 0 rgba(196,141,60,0.09);
}

/* --- TESTIMONIALS (SLIDER) --- */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  justify-content: flex-start;
}
.testimonial-card p {
  color: #29304D;
  font-size: 1.02rem;
  text-align: center;
}
.star-rating {
  font-size: 1.25rem;
  color: #FFC785;
  letter-spacing: 1.2px;
  margin: 4px 0 6px 0;
  font-family: 'Montserrat', Arial, sans-serif;
}
.testimonial-card strong {
  font-size: 1.02rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
}

/* FAQ */
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 32px;
}
.faq-list > div {
  background: var(--pastel-blue);
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(120,160,200,0.07);
  padding: 18px 20px 15px 20px;
  flex: 1 1 260px;
  min-width: 210px;
  max-width: 380px;
  margin-bottom: 12px;
}
.faq-list > div h2 {
  font-size: 1.22rem;
  margin-bottom: 9px;
}
.faq-list > div p {
  font-size: 1rem;
}
.more-questions {
  margin-top: 22px;
  background: var(--pastel-pink);
  padding: 18px 19px;
  border-radius: 13px;
  box-shadow: 0 2px 8px 0 rgba(250,220,230,0.08);
  color: #273043;
}
.more-questions a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
}

/* BLOG LIST & SEARCH */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 18px;
}
.blog-post-teaser {
  background: var(--pastel-lavender);
  border-radius: 13px;
  padding: 20px 22px;
  box-shadow: 0 2px 7px 0 rgba(70,60,120,0.05);
  flex: 1 1 236px;
  min-width: 190px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .18s;
}
.blog-post-teaser:hover {
  box-shadow: 0 8px 22px 0 rgba(39,48,67,0.12);
}
.blog-post-teaser h2 {
  font-size: 1.18rem;
  margin-bottom: 5px;
  color: #273043;
}
.blog-post-teaser a {
  align-self: flex-start;
  background: var(--pastel-mint);
  color: var(--accent);
  padding: 6px 15px;
  border-radius: 100px;
  font-size: .97rem;
  margin-top: 6px;
  font-weight: 500;
  transition: background .14s, color .16s;
  box-shadow: 0 1.5px 6px 0 rgba(173,185,170,0.09);
}
.blog-post-teaser a:hover {
  background: var(--accent);
  color: #fff;
}
.categories-search {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 18px;
}
.categories {
  display: flex;
  align-items: center;
  gap: 13px;
}
.categories a {
  color: var(--accent);
  background: var(--pastel-blue);
  padding: 3px 14px;
  border-radius: 20px;
  transition: background .15s, color .13s;
  font-weight: 500;
}
.categories a:hover {
  color: #fff;
  background: var(--accent);
}
.search-function {
  display: flex;
  align-items: center;
  gap: 10px;
}
#blog-search {
  padding: 7px 13px;
  border-radius: 7px;
  border: 1px solid #DAD9EA;
  background: #fff;
  width: 150px;
  transition: border .14s;
}
#blog-search:focus {
  border: 1px solid var(--accent);
}

/* --- FOOTER --- */
footer {
  background: var(--footer-bg);
  padding: 40px 0 18px 0;
  border-top: 1px solid #ECE8F5;
  margin-top: 45px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
footer nav {
  display: flex;
  gap: 20px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
footer nav a {
  color: #767880;
  font-size: 0.97rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 8px;
  transition: background .13s, color .14s;
  background: none;
}
footer nav a:hover {
  color: var(--accent);
  background: var(--pastel-lavender);
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  justify-content: center;
  font-size: 0.98rem;
  color: #273043;
}
.footer-contact img {
  width: 19px;
  vertical-align: -4px;
  margin-right: 4px;
  opacity: 0.86;
}
footer p {
  color: #A2A4B2;
  font-size: 0.9rem;
  margin: 0;
  text-align: center;
}

/* --- OTHER UTILITY & GLOBAL --- */
.text-section {
  margin-bottom: 24px;
}
.text-section ul {
  padding-left: 1.2em;
  margin-bottom: 0.8em;
}
.text-section ul li {
  margin-bottom: 4px;
}
.content-wrapper ul {
  margin-bottom: 12px;
}
.content-wrapper ol {
  margin-bottom: 15px;
}

/* --- BUTTONS --- */
button, .cta-primary {
  transition: background .17s, box-shadow .18s, color .15s;
}

/* Cookie Banner Styles */
#cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff9f4;
  color: #273043;
  box-shadow: 0 -3px 24px 0 rgba(39,48,67,0.11);
  z-index: 2020;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 20px 18px 18px 18px;
  font-size: 1.05rem;
  border-radius: 19px 19px 0 0;
  animation: cookieslidein .5s cubic-bezier(.22,1,.36,1) 1;
}
@keyframes cookieslidein {
  from { transform: translateY(100%); opacity: .55; }
  to   { transform: translateY(0); opacity: 1; }
}
#cookie-consent-banner p {
  margin-bottom: 6px;
  text-align: center;
  color: #3D405B;
  font-size: 1rem;
}
.cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}
#cookie-accept, #cookie-reject, #cookie-settings {
  border: none;
  border-radius: 100px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 22px;
  cursor: pointer;
  font-weight: 600;
  transition: background .14s, color .14s;
}
#cookie-accept {
  background: var(--accent);
  color: #fff;
}
#cookie-accept:hover, #cookie-accept:focus {
  background: #a37629;
}
#cookie-reject {
  background: #FFF;
  color: #273043;
  border: 2px solid #E3EEF9;
}
#cookie-reject:hover, #cookie-reject:focus {
  background: #F0EAFE;
}
#cookie-settings {
  background: var(--pastel-blue);
  color: #273043;
}
#cookie-settings:hover, #cookie-settings:focus {
  background: #E7FAF3;
  color: #273043;
}

/* Cookie Modal */
#cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(39,48,67,.33);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  animation: cookiefadein .24s cubic-bezier(.67,.07,.29,1.02) 1;
}
@keyframes cookiefadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
#cookie-modal.active {
  display: flex;
}
.cookie-modal-content {
  background: #FFF;
  color: #273043;
  border-radius: 14px;
  box-shadow: 0 9px 41px 0 rgba(39,48,67,0.14);
  padding: 30px 24px 24px 24px;
  max-width: 95vw;
  min-width: 270px;
  width: 350px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal-content h2 {
  font-size: 1.25rem;
  margin-bottom: 5px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--pastel-blue);
  border-radius: 9px;
  padding: 10px 9px;
  margin-bottom: 7px;
}
.cookie-category label {
  font-weight: 500;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  width: 19px; height: 19px;
  accent-color: var(--accent);
}
#cookie-modal-close {
  position: absolute;
  top: 14px; right: 13px;
  background: var(--pastel-blue);
  border-radius: 9px;
  border: none;
  font-size: 1.23rem;
  color: var(--primary);
  padding: 7px 12px;
  cursor: pointer;
  transition: background .14s, color .12s;
}
#cookie-modal-close:hover, #cookie-modal-close:focus {
  background: var(--accent);
  color: #fff;
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 1024px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 896px) {
  .feature-grid, .blog-list, .testimonial-slider, .faq-list, .categories-search, .service-cards {
    gap: 17px;
  }
}
@media (max-width: 768px) {
  html { font-size: 17px; }
  header .container {
    gap: 8px;
    padding-left: 7px;
    padding-right: 7px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .section {
    margin-bottom: 36px;
    padding: 23px 5px;
  }
  .content-wrapper {
    gap: 18px;
  }
  section, main section {
    border-radius: 13px;
  }
  .feature-grid, .service-cards, .blog-list, .testimonial-slider, .faq-list, .categories-search {
    gap: 11px;
    flex-direction: column;
    align-items: stretch;
  }
  .feature-grid > div, .service-cards > div, .blog-post-teaser, .testimonial-card, .faq-list > div {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .footer-contact {
    flex-direction: column;
    gap: 7px;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 15px;
  }
  section {
    margin-bottom: 27px;
    padding: 13px 3px;
  }
}
@media (max-width: 650px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .testimonial-card {
    max-width: 98vw;
    min-width: 0;
    padding: 13px 6px;
  }
}
@media (max-width: 500px) {
  html { font-size: 15px; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.14rem; }
  .section { padding: 9px 2px; margin-bottom: 20px; }
  .footer-contact, footer nav {
    font-size: 0.93rem;
  }
}

/* --- ANIMATIONS & MICRO-INTERACTIONS --- */
.card, .feature-grid > div, .service-cards > div {
  transition: box-shadow .18s, transform .13s;
}
.card:active, .feature-grid > div:active, .service-cards > div:active {
  transform: scale(0.985);
}
.cta-primary:active {
  transform: scale(0.98);
}

/* Hide scroll when menu or modal open */
body.mobile-menu-open,
body.cookie-modal-open {
  overflow: hidden;
}
