/* 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,
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F7EFE6;
  color: #38423B;
  font-family: 'Montserrat', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #38423B;
  text-decoration: none;
  transition: color .2s;
}
a:focus {
  outline: 2px dotted #C2B9AD;
}
ul, ol {
  margin-left: 1.3em;
  margin-top: 12px;
  margin-bottom: 12px;
}
li {
  margin-bottom: 6px;
}
button {
  background: none;
  font-family: inherit;
  font-size: inherit;
  border: none;
  cursor: pointer;
}
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* FONTS */
h1, h2, h3, h4, .display {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: #38423B;
}
h1 { font-size: 2.25rem; line-height: 1.15; margin-bottom: 20px; }
h2 { font-size: 1.7rem;  margin-bottom: 18px; }
h3 { font-size: 1.2rem;  margin-bottom: 10px; }
h4 { font-size: 1rem; }

p, ul, ol, span, li, address {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #38423B;
}
.subheadline {
  font-size: 1.125rem;
  color: #38423B;
}
.tagline {
  color: #C2B9AD;
  font-size: 1.1rem;
  font-style: italic;
}
@media (min-width: 600px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.4rem; }
  .subheadline { font-size: 1.22rem; }
}

/* GENERAL SECTION SPACING */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 3px 16px rgba(56,66,59,0.07);
  position: sticky;
  top: 0;
  z-index: 30;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-size: 1rem;
}
.main-nav > a {
  padding: 8px 14px;
  border-radius: 6px;
  transition: background .19s, color .2s;
}
.main-nav > a:not(.cta-primary):hover, .main-nav > a.active {
  background: #F7EFE6;
  color: #38423B;
}
.main-nav img {
  height: 42px;
  margin-right: 18px;
}
.cta-primary {
  background: linear-gradient(90deg, #38423B 0%, #C2B9AD 100%);
  color: #fff !important;
  padding: 10px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 25px;
  margin-left: 12px;
  letter-spacing: 0.04em;
  box-shadow: 0 7px 28px rgba(56,66,59,.11);
  transition: background 0.2s, box-shadow 0.2s;
  border: none;
  outline: none;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, #C2B9AD 0%, #38423B 100%);
  box-shadow: 0 4px 16px rgba(56,66,59, .20);
  color: #fff !important;
}
.cta-secondary {
  background: #F7EFE6;
  color: #38423B;
  padding: 10px 21px;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 25px;
  border: 1px solid #C2B9AD;
  margin-top: 10px;
  box-shadow: 0 3px 12px rgba(194,185,173,0.08);
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #C2B9AD;
  color: #fff;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  background: #38423B;
  color: #fff;
  font-size: 2rem;
  border-radius: 6px;
  border: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  margin-right: 6px;
  z-index: 55;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left:0;
  height: 100vh;
  width: 100vw;
  background: rgba(56,66,59,0.97);
  transition: transform .30s cubic-bezier(.7,0,.3,1);
  transform: translateX(-100vw);
  z-index: 1000;
  box-shadow: 2px 0 18px rgba(56,66,59, .14);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  margin: 14px 22px 18px 0;
  padding: 3px 12px 3px 3px;
  cursor: pointer;
  border-radius: 5px;
  transition: background .18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #C2B9AD;
  color: #38423B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 0;
  margin-left: 38px;
}
.mobile-nav a {
  font-size: 1.19rem;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 7px 0;
  transition: color .18s, background .17s;
  border-radius: 18px;
  min-height: 36px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #C2B9AD;
  background: rgba(247,239,230,.11);
  padding-left: 12px;
}

@media (max-width: 991px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 992px) {
  .mobile-menu,
  .mobile-menu-toggle { display: none !important; }
  .main-nav { display: flex; }
}

/* HERO Section (index) */
.hero {
  background: linear-gradient(117deg, #C2B9AD 0%, #F7EFE6 100%);
  border-radius: 0 0 40px 40px;
  min-height: 56vh;
  padding-top: 60px;
  padding-bottom: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .container {
  justify-content: center;
  align-items: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 19px;
}
@media (max-width: 768px) {
  .hero {
    min-height: 40vh;
    border-radius: 0 0 24px 24px;
    padding: 32px 0;
  }
}

/* FEATURES */
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.feature-item {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 18px rgba(194,185,173,0.12);
  padding: 24px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 270px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: transform .14s, box-shadow .2s;
}
.feature-item img {
  height: 44px;
  width: 44px;
}
.feature-item h3 {
  font-size: 1.12rem;
  margin-bottom: 4px;
}
.feature-item:hover {
  transform: translateY(-7px) scale(1.03);
  box-shadow: 0 8px 30px rgba(56,66,59,0.13);
}

/* CARDS & CONTAINERS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 4px 18px rgba(56,66,59,.08);
  transition: box-shadow 0.18s, transform 0.16s;
  position: relative;
}
.card:hover {
  box-shadow: 0 10px 36px rgba(56,66,59,.14);
  transform: translateY(-5px) scale(1.01);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 22px 24px 20px 24px;
}

.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;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 18px; }
  .content-grid { flex-direction: column; gap: 14px; }
  .features .feature-grid,
  .card-container { flex-direction: column; gap: 16px; }
}

/* SERVICES + SERVICE CARD */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
}
.service-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 15px rgba(194,185,173,0.13);
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 270px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  transition: box-shadow .18s, transform .17s;
}
.service-card:hover {
  box-shadow: 0 8px 36px rgba(56,66,59,0.14);
  transform: translateY(-6px) scale(1.02);
}

/* TESTIMONIALS CARDS */
.testimonials, .testimonial-preview, .testimonial-slider {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.testimonial-card {
  background: #fff;
  color: #38423B;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  border-radius: 18px;
  box-shadow: 0 3px 14px rgba(56,66,59,.08);
  font-style: italic;
  font-size: 1.055rem;
  margin-bottom: 20px;
  min-width: 0;
  max-width: 640px;
  transition: box-shadow .18s, transform .15s;
  position: relative;
}
.testimonial-card span {
  font-size: .98rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-style: normal;
  color: #C2B9AD;
  font-weight: 600;
  margin-left: auto;
}
.testimonial-card:hover {
  box-shadow: 0 7px 28px rgba(56,66,59, .17);
  transform: translateY(-4px) scale(1.012);
}

/* BLOG PREVIEWS */
.post-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.post-preview {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 10px rgba(194,185,173,0.10);
  padding: 21px 17px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 290px;
  margin-bottom: 20px;
  transition: box-shadow .17s, transform .13s;
}
.post-preview:hover {
  box-shadow: 0 7px 28px rgba(56,66,59, .19);
  transform: translateY(-3px) scale(1.015);
}

/* CALL TO ACTION */
.cta {
  background: linear-gradient(92deg,#C2B9AD 0%, #F7EFE6 100%);
  border-radius: 26px;
  box-shadow: 0 2px 24px rgba(194,185,173,.16);
  padding: 40px 22px;
  margin: 38px 0;
  text-align: center;
}
.cta h2 { margin-bottom: 14px; }
.cta p { margin-bottom: 21px; color: #38423B; font-size: 1.1rem; }

/* NEWSLETTER */
.newsletter {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 24px rgba(194,185,173,0.10);
  text-align: center;
}

/* LEGAL SECTION */
.legal-policy {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(194,185,173,0.10);
  padding: 36px 24px;
  margin-bottom: 44px;
}

/* FOOTER */
footer {
  background: #38423B;
  color: #fff;
  padding: 38px 0 0 0;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  box-shadow: 0 -2px 18px rgba(56,66,59, .06);
}
.footer-main {
  display: flex;
  align-items: center;
  gap: 30px;
  justify-content: space-between;
  border-bottom: 1px solid #C2B9AD;
  padding-bottom: 22px;
  margin-bottom: 18px;
}
.footer-main img {
  height: 39px;
}
.footer-menu {
  display: flex;
  gap: 24px;
}
.footer-menu a {
  color: #fff;
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 1rem;
  transition: background 0.16s, color 0.16s;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: #C2B9AD;
  color: #38423B;
}
.footer-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  font-size: 0.97rem;
  margin-bottom: 16px;
}
.contact-info-mini {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.contact-info-mini img {
  height: 19px;
  margin-right: 6px;
  vertical-align: middle;
}
.privacy-note {
  color: #C2B9AD;
  font-size: 0.92rem;
  margin-top: 8px;
}
@media (max-width: 768px) {
  .footer-main, .footer-info { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* GAPS for Core Layout Containers */
.card-container,
.card-grid,
.content-grid,
.features .feature-grid,
.post-previews,
.service-cards {
  gap: 24px;
}
.section, section { margin-bottom: 60px; padding: 40px 20px; }
.card { margin-bottom: 20px; }
.content-grid { gap: 20px; }
.text-image-section { gap: 30px; }
.testimonial-card { gap: 20px; padding: 20px; }
.feature-item { gap: 15px; }

/* Modal & Overlay (cookie dialog) */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  color: #38423B;
  box-shadow: 0 -5px 24px rgba(56,66,59,.13);
  z-index: 2222;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px 20px 16px;
  gap: 24px;
  flex-wrap: wrap;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  animation: cookie-show .34s ease;
}
@keyframes cookie-show {
  from { transform: translateY(120px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-banner-content {
  max-width: 580px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 13px;
  align-items: center;
}
.cookie-banner button, .cookie-banner .cookie-actions button {
  padding: 9px 22px;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  margin-left: 0;
  margin-right: 0;
  cursor: pointer;
  transition: background .19s, color .18s, box-shadow .19s;
}
.cookie-banner .accept {
  background: #38423B;
  color: #fff;
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: #C2B9AD;
  color: #38423B;
}
.cookie-banner .reject {
  background: #fff;
  color: #38423B;
  border: 1px solid #C2B9AD;
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: #F7EFE6;
}
.cookie-banner .settings {
  background: #C2B9AD;
  color: #38423B;
}
.cookie-banner .settings:hover,
.cookie-banner .settings:focus {
  background: #38423B;
  color: #fff;
}

.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(56,66,59,0.19);
  z-index: 2223;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in-modal .15s ease;
}
@keyframes fade-in-modal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 5px 38px rgba(56,66,59,.21);
  padding: 38px 28px 24px 28px;
  max-width: 430px;
  width: 96vw;
  z-index: 5001;
  animation: modal-pop .22s cubic-bezier(.33,.39,.5,1.28);
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
}
@keyframes modal-pop {
  from { transform: scale(.90) translateY(50px); opacity: 0; }
  to { transform: scale(1.0) translateY(0); opacity: 1; }
}
.cookie-modal h2 { margin-bottom: 12px; font-size: 1.23rem; }
.cookie-modal .cookie-category {
  background: #F7EFE6;
  border-radius: 12px;
  padding: 10px 13px;
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: space-between;
}
.cookie-modal .cookie-category label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .toggle-switch {
  height: 26px;
  width: 46px;
  background: #C2B9AD;
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  transition: background .15s;
  margin-left: 6px;
}
.cookie-modal .toggle-switch input[type="checkbox"] {
  display: none;
}
.cookie-modal .toggle-slider {
  position: absolute;
  left: 3px;
  top: 3px;
  height: 20px;
  width: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(56,66,59,0.10);
  transition: transform .20s;
}
.cookie-modal .toggle-switch input[type="checkbox"]:checked + .toggle-slider {
  transform: translateX(20px);
}
.cookie-modal .toggle-switch input[type="checkbox"]:checked ~ .toggle-slider {
  background: #38423B;
}
.cookie-modal .always-on { color: #38423B; font-size: .98rem; }
.cookie-modal .modal-actions { display: flex; gap: 12px; margin-top: 20px; }
.cookie-modal .modal-actions button {
  padding: 9px 22px;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background .19s, color .17s;
}
.cookie-modal .modal-actions .save {
  background: #38423B;
  color: #fff;
}
.cookie-modal .modal-actions .save:hover,
.cookie-modal .modal-actions .save:focus {
  background: #C2B9AD;
  color: #38423B;
}
.cookie-modal .modal-actions .cancel {
  background: #F7EFE6;
  color: #38423B;
  border: 1px solid #C2B9AD;
}
.cookie-modal .modal-actions .cancel:hover,
.cookie-modal .modal-actions .cancel:focus {
  background: #C2B9AD;
  color: #fff;
}

/* ONLY FLEXBOX LAYOUTS FOR CONTAINERS - NO GRID/COLUMNS */
/* Previously defined above for each layout class */

/* OVERRIDE: NEVER USE display:grid, grid-*, columns-*, or break-inside */
/* Ensure no grid or columns appear anywhere! */

/* Miscellaneous micro-interactions */
button, 
.cta-primary, 
.cta-secondary, 
.main-nav > a, 
.card,
.service-card,
.feature-item,
.post-preview,
.testimonial-card,
.footer-menu a {
  transition: background 0.18s, color 0.18s, box-shadow 0.17s, transform .13s;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
  .section, section { padding: 30px 8px; margin-bottom: 38px; }
  .container { padding: 0 7px; }
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.22rem; }
  .cta, .newsletter, .legal-policy { padding: 24px 9px; border-radius: 10px; }
  .footer-main img { height: 22px; }
}

/* Utilities */
.text-center { text-align: center; }
.flex-row { display: flex; flex-direction: row; }
.flex-column { display: flex; flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.gap-20 { gap: 20px; }

/* Hide print elements (if any) */
@media print {
  header, footer, .cookie-banner, .cookie-modal-overlay { display: none !important; }
}
