/* ----- 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, 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 {
  height: 100%;
}
body {
  min-height: 100%;
  background: #FCFAF8;
  color: #23314A;
  -webkit-font-smoothing: antialiased;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
ul, ol {
  list-style: disc inside;
  margin-left: 24px;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}

/* ----- FONT IMPORTS ----- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Lato:400,700&display=swap');

body {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  background: #FAF7F2;
  color: #23314A;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #23314A;
}
h1 { font-size: 2.25rem; font-weight: 700; margin-bottom: 24px; }
h2 { font-size: 1.5rem; font-weight: 600; margin-bottom: 20px; }
h3 { font-size: 1.125rem; font-weight: 500; margin-bottom: 16px; }
h4, h5, h6 { font-weight: 500; }

p, li, address, blockquote {
  font-size: 1rem;
  color: #23314A;
}
blockquote {
  font-style: italic;
  color: #A79B8E;
  background: #F8F5F1;
  border-left: 4px solid #D1C7E0;
  padding: 18px 24px;
  margin: 24px 0;
  border-radius: 8px;
}

strong {
  font-weight: 700;
}

/* ---------- GENERAL LAYOUT & CONTAINERS ---------- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(140,133,152,0.09);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  flex: 1 1 290px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 6px 20px 0 rgba(127,116,155,0.13);
}

.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;
  border-radius: 14px;
  background: #F3EEF9;
  box-shadow: 0 2px 8px 0 rgba(163,124,197,0.08);
  margin-bottom: 20px;
  color: #23314A;
  font-size: 1.07rem;
  flex-wrap: wrap;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 20px 0 rgba(127,116,155,0.14);
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #907EB6;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.text-section {
  padding: 8px 0;
}

/* ----- HERO SECTION / LANDING ----- */
.hero-section {
  background: linear-gradient(97deg, #F5F3FA 15%, #EEF6F5 100%);
  padding: 64px 0 48px 0;
  margin-bottom: 0;
}
.hero-section h1 {
  color: #5D6388;
  font-size: 2.5rem;
  letter-spacing: -1px;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero-section p {
  color: #6D7386;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.hero-section .cta-btn {
  margin-top: 8px;
}

/* ----- NAVIGATION ----- */
header {
  background: #FAF7F2;
  box-shadow: 0 2px 12px 0 rgba(140,133,152,0.03);
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  height: 72px;
  position: relative;
}
header img {
  height: 42px;
  margin-right: 15px;
}

.main-nav {
  display: flex;
  gap: 18px;
  margin-left: 18px;
  align-items: center;
  flex: 1 1 auto;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.04rem;
  color: #4B5273;
  border-radius: 8px;
  padding: 6px 10px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #F7E2E7;
  color: #9F69AD;
  outline: none;
}

.cta-btn {
  display: inline-block;
  background: #A79B8E;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  padding: 10px 26px;
  border-radius: 26px;
  box-shadow: 0 2px 8px 0 rgba(163,124,197,0.08);
  transition: background 0.17s, box-shadow 0.22s, transform 0.17s;
  margin-left: 18px;
  outline: none;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #907EB6;
  color: #fff;
  box-shadow: 0 8px 32px 0 rgba(144,126,182,0.14);
  transform: translateY(-2px) scale(1.035);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  color: #5D6388;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
  margin-left: 8px;
  z-index: 101;
  height: 48px;
  width: 48px;
  border: none;
  transition: background 0.22s;
}
.mobile-menu-toggle:focus, 
.mobile-menu-toggle:hover {
  background: #F3EEF9;
  outline: none;
}

.mobile-menu {
  position: fixed;
  inset: 0 0 0 100%;
  width: 100vw;
  height: 100vh;
  background: #F8F5F1;
  z-index: 200;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.75,0.04,0.46,0.86);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 36px 0 0 0;
  box-shadow: 0 8px 24px 0 rgba(156,139,175,0.13);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(-100vw);
  pointer-events: all;
}
.mobile-menu:not(.open) {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #A79B8E;
  font-size: 2rem;
  position: absolute;
  top: 18px;
  right: 18px;
  border: none;
  cursor: pointer;
  z-index: 210;
  border-radius: 50%;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.18s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #ECE8F6;
  color: #9F69AD;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 70px 36px 36px 36px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.27rem;
  color: #23314A;
  padding: 12px 0;
  border-bottom: 1px solid #E7E0F1;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  color: #A79B8E;
  background: #F7E2E7;
}

/* ----- FOOTER / ADDRESS ----- */
footer {
  background: #F8F5F1;
  padding: 40px 0 0 0;
  color: #7B7977;
}
footer .container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 36px;
}
footer img {
  height: 40px;
  margin-bottom: 14px;
}
footer address {
  font-style: normal;
  color: #A79B8E;
  font-size: 0.97rem;
  margin: 15px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #8A8682;
  font-size: 0.95rem;
  transition: color 0.18s;
}
.footer-nav a:focus,
.footer-nav a:hover {
  color: #907EB6;
}
.copyright {
  text-align: center;
  font-size: 0.85rem;
  color: #ADADAE;
  margin: 28px 0 6px 0;
  letter-spacing: 0.022em;
}

/* ----- BUTTONS & LINKS ----- */
button, .cta-btn {
  cursor: pointer;
  outline: none;
}
button:active, .cta-btn:active {
  transform: scale(0.97);
}

/* ----- PASTEL CARD VARIANTS ----- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 22px 0;
}
.feature-grid > div {
  background: #F3EEF9;
  border-radius: 16px;
  box-shadow: 0 1px 6px 0 rgba(175,148,205,0.07);
  padding: 32px 24px 20px 24px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 200px;
  transition: box-shadow 0.17s;
}
.feature-grid > div:hover {
  box-shadow: 0 3px 20px 0 rgba(169, 155, 200, 0.20);
}
.feature-grid img {
  width: 34px;
  margin-bottom: 6px;
}

/* ----- BLOG ----- */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.blog-list article {
  background: #F7F4FB;
  border-radius: 14px;
  padding: 22px 18px;
  box-shadow: 0 2px 12px 0 rgba(175,148,205,0.07);
  flex: 1 1 300px;
  min-width: 280px;
  transition: box-shadow 0.18s;
}
.blog-list article:hover {
  box-shadow: 0 8px 28px 0 rgba(169, 155, 200, 0.21);
}

.category-overview {
  margin-top: 12px;
  background: #F8F5FF;
  border-radius: 11px;
  padding: 20px 16px 12px 16px;
  box-shadow: 0 1px 8px 0 rgba(175,148,205,0.06);
  font-size: 1rem;
}

.category-overview h3 {
  font-size: 1.08rem;
  font-weight: 600;
  color: #7469A7;
  margin-bottom: 8px;
}
.category-overview ul {
  padding-left: 12px;
  list-style: disc inside;
  color: #6D7386;
}

/* ----- MAP PLACEHOLDER ---- */
.map-placeholder {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  background: #F5F3FA;
  border-radius: 10px;
  padding: 18px 24px;
  box-shadow: 0 1px 8px 0 rgba(163,124,197,0.05);
}
.map-placeholder img {
  width: 36px;
}

/* ----- SERVICE HIGHLIGHTS / OTHER CARD LISTS ----*/
.service-highlights ul {
  margin: 12px 0 0 0;
  padding-left: 18px;
  color: #504F53;
  font-size: 1.01rem;
}

/* ----------------------- SPACING SYSTEM ------------------- */
ul, ol {
  margin-bottom: 16px;
  margin-top: 6px;
}
ul > li, ol > li {
  margin-bottom: 8px;
}

/* ----------- MODAL / COOKIE CONSENT BANNER ------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #F8F5F1;
  color: #23314A;
  box-shadow: 0 -6px 28px 0 rgba(104, 94, 130, 0.08);
  z-index: 9999;
  padding: 26px 20px 20px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  font-size: 0.99rem;
  flex-wrap: wrap;
  animation: fadeInBanner 0.35s cubic-bezier(0.75,0.04,0.46,0.86);
}
@keyframes fadeInBanner {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  margin-left: 8px;
  margin-right: 6px;
  padding: 8px 22px;
  border-radius: 18px;
  font-size: 0.97rem;
  font-weight: 600;
  background: #A79B8E;
  color: #fff;
  transition: background 0.16s;
}
.cookie-banner button.cookie-reject {
  background: #FDECEC;
  color: #A79B8E;
  border: 1px solid #EFD8E6;
}
.cookie-banner button.cookie-reject:hover, .cookie-banner button.cookie-reject:focus {
  background: #F3EEF9;
  color: #9F69AD;
}
.cookie-banner button.cookie-settings {
  background: #F5F3FA;
  color: #887BA8;
  border: 1px solid #E0D6F7;
}
.cookie-banner button.cookie-settings:hover,
.cookie-banner button.cookie-settings:focus {
  background: #ECE8F6;
  color: #7469A7;
}
.cookie-banner button.cookie-accept {
  background: #907EB6;
  color: #fff;
}
.cookie-banner button.cookie-accept:hover,
.cookie-banner button.cookie-accept:focus {
  background: #A79B8E;
}

.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(95, 85, 109, 0.3);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
  animation: fadeInModal 0.27s cubic-bezier(0.75,0.04,0.46,0.86);
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 8px 40px 0 rgba(169, 155, 200, 0.14);
  padding: 36px 26px 24px 26px;
  max-width: 400px;
  min-width: 260px;
  width: 96%;
  color: #23314A;
  position: relative;
  display: flex;
  flex-direction: column;
}
.cookie-modal-content h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: #7469A7;
}
.cookie-modal-content label {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  cursor: pointer;
  color: #6D7386;
}
.cookie-toggle {
  accent-color: #A79B8E;
  width: 18px; height: 18px;
  border-radius: 6px;
}
.cookie-toggle[disabled] {
  opacity: 0.45;
}
.cookie-modal-close {
  position: absolute;
  top: 10px; right: 16px;
  background: none;
  border: none;
  color: #A79B8E;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 50%;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.14s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #F3EEF9;
  color: #7B67A2;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 18px;
  align-items: center;
  justify-content: flex-end;
}

/* ------------- RESPONSIVE DESIGN (Mobile-First) ------------- */
@media (max-width: 1100px) {
  .container { max-width: 94vw; }
}
@media (max-width: 900px) {
  header .container { gap: 10px; }
  .main-nav { gap: 11px; margin-left: 7px; }
  .footer-nav { gap: 7px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container {
    max-width: 99vw;
    padding: 0 10px;
  }
  .content-wrapper, .text-section {
    padding: 0;
  }
  .content-grid,
  .blog-list,
  .feature-grid,
  .card-container {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .feature-grid > div {
    min-width: unset; padding: 26px 12px 14px 12px;
  }
  .hero-section { padding: 40px 0 28px 0; }
  .hero-section h1 { font-size: 2rem; }
  .section { padding: 24px 6px; margin-bottom: 32px; }
  ul, ol { margin-left: 13px; }
  .testimonial-card { font-size: 0.99rem; }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 14px;
  }
  footer img { margin-bottom: 14px; }
  footer address { font-size: 0.95rem; }
}
@media (max-width: 650px) {
  .section { margin-bottom: 18px; padding: 12px 0; }
  .hero-section { padding: 28px 0 15px 0; }
}
@media (max-width: 600px) {
  html { font-size: 14px; }
  .main-nav { display: none !important; }
  .cta-btn { margin-left: 0; }
  .mobile-menu-toggle { display: flex !important; }
  header .container { gap: 9px; }
  .hero-section h1 { font-size: 1.38rem; }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 19px 12px 14px 12px;
  }
}

@media (max-width: 400px) {
  .section { padding: 4px 0; }
  .hero-section { padding: 10px 0; }
  .cookie-modal-content { min-width: 98vw; font-size: 0.91rem; }
}

/* -------------- UTILITY CLASSES, MINOR DETAILS ------------- */
[tabindex="0"]:focus {
  outline: 2px solid #907EB6 !important;
  outline-offset: 2px;
}
::-webkit-input-placeholder { color: #BBB3C6; }
::-moz-placeholder { color: #BBB3C6; }
:-ms-input-placeholder { color: #BBB3C6; }
::placeholder { color: #BBB3C6; }

/* ------------- MICRO-INTERACTIONS ------------- */
a, button, .cta-btn, .main-nav a, .footer-nav a, .mobile-nav a {
  transition: color 0.19s, background 0.19s, box-shadow 0.19s, transform 0.17s;
}

/* ------------- VISUAL PASTEL/GRADIENT DETAILS ------------- */
.section {
  background: transparent;
}
.text-section {
  background: #FFFFFFD9;
  border-radius: 16px;
  padding: 22px 18px;
  box-shadow: 0 1px 10px 0 rgba(216,202,218,0.07);
}

/* Remove list marker for certain elements, style them gently */
.text-section ul, .service-highlights ul, .category-overview ul {
  list-style: disc inside;
  padding-left: 5px;
}
.text-section ul > li { margin-bottom: 5px; }
/* Correctly space address icons and lines */
address img {
  display: inline-block;
  height: 16px;
  margin-right: 7px;
  vertical-align: middle;
}

/* ------------- ACCESSIBILITY & FOCUS ------------- */
.main-nav a:focus, .footer-nav a:focus, .mobile-nav a:focus {
  outline: 2px solid #907EB6;
  outline-offset: 3px;
}
.cta-btn:focus, button:focus {
  outline: 2px solid #907EB6;
}

/* ------------- VISUAL HIERARCHY FOR CARDS ------------- */
.card h3 {
  color: #6D7386;
  font-size: 1.11rem;
  margin-bottom: 7px;
}
.card p {
  color: #847CA1;
  margin-bottom: 0;
  font-size: 0.97rem;
}

/* --- Hide scroll on modal open (when open set overflow hidden on body) --- */
body.modal-open {
  overflow: hidden;
}

/* ----------- END ----------- */
