/* Silent Moor – Elegant Classic CSS Theme */
/* 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, 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 {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*::before, *::after {
  box-sizing: inherit;
}
body {
  background: #F2E9E1;
  color: #23272B;
  font-family: 'Roboto', Georgia, Times New Roman, Times, serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  color: #23272B;
  font-family: 'Montserrat', Georgia, Times New Roman, Times, serif;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: 0.006em;
}
h1 {
  font-size: 2.8rem;
  margin-bottom: 28px;
}
h2 {
  font-size: 2.1rem;
  margin-bottom: 22px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1.16rem;
  margin-bottom: 8px;
}
p, ul, ol, blockquote {
  color: #23272B;
  font-family: 'Roboto', Georgia, Times New Roman, Times, serif;
  font-size: 1rem;
  margin-bottom: 16px;
}
ul, ol {
  margin-left: 28px;
  margin-bottom: 20px;
  padding-left: 14px;
}
strong {
  font-weight: 700;
}
em {
  font-style: italic;
}
blockquote {
  font-family: 'Montserrat', Georgia, Times New Roman, Times, serif;
  font-weight: 400;
  color: #6C7076;
  background: #fff;
  border-left: 4px solid #93A4B0;
  margin: 24px 0;
  padding: 18px 22px;
  font-size: 1.03rem;
  border-radius: 0 5px 5px 0;
}

/* LINKS */
a {
  color: #23272B;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #93A4B0;
  text-decoration: none;
}
nav a {
  text-decoration: none;
  color: #23272B;
  padding: 6px 8px;
  border-radius: 3px;
  font-weight: 500;
  position: relative;
  transition: background 0.18s,color .2s;
}
nav a.current,
nav a:active {
  background: #e5ded7;
  color: #23272B;
}
nav a:hover:not(.cta) {
  color: #93A4B0;
  background: #ece6df;
}

/* LAYOUT CLASSES */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section {
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1.5px 12px rgba(35,39,43,0.04), 0 0.5px 2px rgba(147,164,176,0.09);
  margin-bottom: 20px;
  position: relative;
  padding: 26px 24px;
  min-width: 250px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.24s, transform 0.23s;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(35,39,43,0.12),0 2px 8px rgba(147,164,176,0.14);
  transform: translateY(-4px) scale(1.015);
}
.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: 16px;
  padding: 20px 26px;
  background: #fff;
  border-left: 5px solid #93A4B0;
  border-radius: 9px;
  margin-bottom: 24px;
  margin-right: 0;
  box-shadow: 0 2px 14px rgba(35,39,43,0.07);
  color: #23272B;
  transition: box-shadow 0.19s, border-color 0.19s;
}
.testimonial-card:hover {
  box-shadow: 0 5px 26px rgba(147,164,176,0.17);
  border-left-color: #23272B;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1.5px 12px rgba(35,39,43,0.06), 0 0.5px 2px rgba(147,164,176,0.13);
  padding: 22px 20px;
  margin-bottom: 20px;
  min-width: 240px;
  transition: box-shadow 0.22s, transform 0.21s;
}
.feature-item:hover {
  box-shadow: 0 6px 18px rgba(35,39,43,0.13);
  transform: translateY(-3px);
}

/* FEATURE GRID SPECIAL (services, index) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 18px 0 0 0;
  justify-content: flex-start;
}
.feature-grid > div {
  flex: 1 1 250px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(147,164,176,0.08);
  padding: 28px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.22s, transform 0.2s;
  margin-bottom: 20px;
  position: relative;
}
.feature-grid > div img {
  max-width: 46px;
  margin-bottom: 6px;
  filter: grayscale(0.5) opacity(0.88);
}
.feature-grid > div h3 {
  font-size: 1.1rem;
  color: #23272B;
  margin-bottom: 8px;
  font-family: 'Montserrat', serif;
  font-weight: 700;
}
.feature-grid > div p {
  color: #23272B;
  line-height: 1.55;
}
.feature-grid > div strong {
  font-size: 1.02rem;
  color: #93A4B0;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.feature-grid > div:hover {
  box-shadow: 0 12px 32px rgba(147,164,176,0.17);
  transform: translateY(-5px);
}

/* HEADER/NAVIGATION */
header {
  background: #fff;
  border-bottom: 1.5px solid #ECE6DF;
  box-shadow: 0 1.5px 16px rgba(147,164,176,0.03);
  padding: 0 0 0 0;
  min-height: 76px;
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
}
header > nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 10px 22px 10px 20px;
}
header > nav img {
  max-height: 40px;
  margin-right: 24px;
}
header .cta.primary {
  margin-left: auto;
  margin-right: 18px;
  padding: 9px 28px;
}
header .cta.primary {
  background: #23272B;
  color: #fff !important;
  border: none;
  font-weight: 700;
  border-radius: 40px;
  font-size: 1.09rem;
  transition: background 0.2s, color 0.2s, box-shadow 0.18s, transform 0.15s;
  box-shadow: 0 2px 13px rgba(35,39,43,0.09);
  cursor: pointer;
}
header .cta.primary:hover, header .cta.primary:focus {
  background: #93A4B0;
  color: #23272B !important;
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 4px 18px rgba(35,39,43,0.14);
}

/* BUTTONS */
.cta {
  display: inline-block;
  background: #93A4B0;
  color: #fff;
  border-radius: 30px;
  padding: 10px 26px;
  font-family: 'Montserrat', serif;
  font-size: 1.08rem;
  font-weight: 600;
  border: none;
  box-shadow: 0 1px 7px rgba(35,39,43,0.08);
  transition: background 0.18s,color .20s, box-shadow 0.15s, transform 0.13s;
  text-decoration: none;
  cursor: pointer;
}
.cta:hover, .cta:focus {
  background: #23272B;
  color: #fff;
  box-shadow: 0 4px 19px rgba(35,39,43,0.14);
  transform: translateY(-2px) scale(1.03);
}
.cta.primary {
  background: #23272B;
  color: #fff !important;
}
.cta.primary:hover, .cta.primary:focus {
  background: #93A4B0;
  color: #23272B !important;
}

/* SECTION SPACING */
main {
  min-height: 60vh;
  padding-bottom: 60px;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: transparent;
}
/* Section: add subtle separation */
section:not(:last-child) {
  border-bottom: 1px solid #ECE6DF;
}

/* MOBILE MENU BURGER */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 22px;
  z-index: 1001;
  background: #fff;
  border: 1.5px solid #ECE6DF;
  border-radius: 9px;
  font-size: 2.1rem;
  color: #23272B;
  padding: 8px 16px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(147,164,176,0.10);
  transition: background 0.16s, box-shadow 0.17s;
}
.mobile-menu-toggle:focus {
  background: #f8f3ee;
  outline: 2px solid #93A4B0;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  width: 86vw;
  max-width: 380px;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 40px rgba(35,39,43,0.21);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.7,0,0.3,1);
  padding: 36px 26px 22px 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: 0;
  font-size: 2.3rem;
  color: #23272B;
  position: absolute;
  top: 26px;
  right: 24px;
  cursor: pointer;
  padding: 0 7px;
  transition: color 0.2s;
  z-index: 2020;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #93A4B0;
  background: #ece6df;
  border-radius: 5px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 36px;
  width: 95%;
}
.mobile-nav a {
  color: #23272B;
  font-size: 1.19rem;
  font-family: 'Montserrat', serif;
  padding: 12px 0 12px 8px;
  text-decoration: none;
  border-bottom: 1px solid #ECE6DF;
  border-radius: 0 10px 10px 0;
  transition: background 0.17s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #93A4B0;
  background: #ECE6DF;
}

@media (max-width: 1100px) {
  .container { max-width: 90vw; }
}
@media (max-width: 900px) {
  .container { max-width: 99vw; }
}
@media (max-width: 850px) {
  .feature-grid { gap: 20px; }
  .feature-grid > div { flex-basis: 49%; }
}
@media (max-width: 768px) {
  main { padding-bottom: 30px; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.35rem; }
  .feature-grid { gap: 16px; }
  .feature-grid > div { flex-basis: 100%; }
  section { padding: 28px 0; }
  .testimonial-card { padding: 16px 12px; }
  .card { padding: 18px 10px; }
}
@media (max-width: 700px) {
  .container { padding: 0 8px; }
  .feature-grid > div { padding: 14px 6px; }
}

@media (max-width: 620px) {
  .testimonial-card { font-size: 0.98rem; }
  header > nav a, .cta.primary { font-size: 1rem; }
}
@media (max-width: 520px) {
  .feature-grid>div img { max-width: 38px; }
  header>nav img { max-height: 32px; }
  .social-media-icons img { max-width: 22px !important; }
}
/* BURGER BUTTON ON MOBILE */
@media (max-width: 980px) {
  .mobile-menu-toggle {
    display: block;
  }
  header > nav, header .cta.primary {
    display: none !important;
  }
  header {
    justify-content: flex-start;
    min-height: 52px;
    padding: 0;
  }
}

/* Responsive: Flex containers */
@media (max-width: 850px) {
  .content-grid, .card-container, .feature-grid, .text-image-section {
    flex-direction: column !important;
    gap: 18px !important;
  }
  .content-wrapper { gap: 14px; }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
  }
}

/* FOOTER */
footer {
  background: #f8f6f3;
  border-top: 1.5px solid #ece6df;
  margin-top: 32px;
  padding: 36px 0 18px 0;
  font-size: 0.97rem;
  color: #23272B;
}
footer .container {
  max-width: 1050px;
  padding: 0 16px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: start;
  align-items: center;
  margin-bottom: 9px;
}
footer nav a {
  color: #23272B;
  font-size: 0.98rem;
  opacity: 0.80;
}
footer nav a:hover, footer nav a:focus {
  color: #93A4B0;
  background: #ece6df;
}
footer img {
  max-height: 36px;
  margin-bottom: 10px;
}
footer .social-media-icons {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
  align-items: center;
}
footer .social-media-icons img {
  max-width: 28px;
  opacity: 0.75;
  border-radius: 7px;
  transition: opacity 0.16s, background 0.13s;
  cursor: pointer;
}
footer .social-media-icons img:hover {
  opacity: 1;
  background: #ECE6DF;
}
footer .copyright {
  color: #6C7076;
  font-size: 0.91rem;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  color: #23272B;
  border-top: 1.5px solid #ECE6DF;
  box-shadow: 0 -1.5px 18px rgba(35,39,43,0.11);
  z-index: 2100;
  padding: 22px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  animation: cookie-banner-slide-in 0.7s cubic-bezier(0.72,0,0.37,0.98);
}
@keyframes cookie-banner-slide-in {
  from { transform: translateY(90px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner button {
  margin-right: 14px;
  margin-bottom: 8px;
  font-family: 'Montserrat', serif;
  font-size: 1.01rem;
  border: none;
  outline: none;
  padding: 9px 22px;
  border-radius: 26px;
  cursor: pointer;
  transition: background 0.16s, color 0.17s, box-shadow 0.17s;
}
.cookie-banner .btn-accept {
  background: #23272B;
  color: #fff;
  font-weight: 700;
}
.cookie-banner .btn-accept:hover, .cookie-banner .btn-accept:focus {
  background: #93A4B0;
  color: #23272B;
}
.cookie-banner .btn-reject {
  background: #ECE6DF;
  color: #23272B;
  font-weight: 500;
}
.cookie-banner .btn-reject:hover, .cookie-banner .btn-reject:focus {
  background: #93A4B0;
  color: #fff;
}
.cookie-banner .btn-settings {
  background: #93A4B0;
  color: #fff;
  font-weight: 500;
}
.cookie-banner .btn-settings:hover, .cookie-banner .btn-settings:focus {
  background: #23272B;
  color: #fff;
}

/* COOKIE MODAL OVERLAY */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(35,39,43,0.19);
  z-index: 2110;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-modal-bg 0.24s;
}
@keyframes fade-modal-bg {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 36px rgba(35,39,43,0.11);
  max-width: 400px;
  width: 94vw;
  padding: 32px 24px 22px 24px;
  z-index: 2120;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookie-modal-slide 0.35s cubic-bezier(.72,0,.37,.98);
  position: relative;
}
@keyframes cookie-modal-slide {
  from { transform: translateY(64px); opacity: 0.4; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  font-family: 'Montserrat', serif;
}
.cookie-modal label {
  font-size: 1rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #23272B;
  margin-right: 6px;
  width: 16px;
  height: 16px;
}
.cookie-modal button {
  margin-top: 8px;
  font-family: 'Montserrat', serif;
  background: #23272B;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 10px 22px;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(35,39,43,0.08);
  cursor: pointer;
  transition: background 0.18s, color 0.14s;
  align-self: flex-end;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #93A4B0;
  color: #fff;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 14px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #23272B;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal .cookie-modal-close:hover {
  color: #93A4B0;
}
.cookie-category {
  margin-bottom: 7px;
}
.cookie-category .cookie-toggle {
  margin-left: 10px;
}
.cookie-info {
  color: #6C7076;
  font-size: 0.98rem;
}

/* UTILITIES */
.hr {
  border: 0;
  border-top: 1px solid #ece6df;
  margin: 22px 0;
}
.center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.text-center {
  text-align: center;
}
.flex-row {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.flex-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

/* FORMS (contact, etc.) */
form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
input, textarea, select {
  border: 1.4px solid #ECE6DF;
  border-radius: 6px;
  padding: 10px 13px;
  font-size: 1rem;
  font-family: 'Roboto', serif;
  color: #23272B;
  background: #faf7f3;
  transition: border-color 0.14s;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid #93A4B0;
  border-color: #93A4B0;
}
label {
  font-family: 'Montserrat', serif;
  font-size: 0.98rem;
  color: #23272B;
  margin-bottom: 5px;
}

/* TABLES (for possible privacy policy) */
table {
  width: 100%;
  border-collapse: collapse;
}
td, th {
  padding: 12px;
  border-bottom: 1px solid #ece6df;
}
th {
  background: #ECE6DF;
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  font-weight: 700;
}

/* ACCESSIBILITY */
:focus-visible {
  outline: 2px solid #93A4B0;
  outline-offset: 2px;
}

/* ---- SCROLLBAR (subtle classic) ---- */
::-webkit-scrollbar { width: 9px; background: #ECE6DF; }
::-webkit-scrollbar-thumb { background: #93A4B0; border-radius: 7px; }

/* CARD & SECTION MARGIN ENFORCEMENT */
.feature-grid > div,
.card,
.feature-item,
.testimonial-card {
  margin-bottom: 20px;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 20px;
}
section .container:not(:last-child) {
  margin-bottom: 32px;
}
section .content-wrapper:not(:last-child) {
  margin-bottom: 24px;
}

/* PAGE SPECIFICS */
.text-section {
  padding-top: 16px;
  padding-bottom: 6px;
}
.text-section p:last-child {
  margin-bottom: 0;
}
.


/* PRINT OPTIMIZATION */
@media print {
  * { background: #fff !important; color: #23272B !important; box-shadow: none !important; }
  header, footer, .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  main, section, .container, .content-wrapper { margin: 0; padding: 0; }
}
