/* ====================== 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, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  box-sizing: border-box;
  font: inherit;
}
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  min-height: 100vh;
  background: #FFFDF7;
  color: #28372C;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
a {
  color: #577C5C;
  text-decoration: none;
  transition: color 0.25s;
}
a:focus, a:hover {
  color: #28372C;
  outline: none;
}
ul, ol {
  list-style: none;
}
button, input, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

/* ================== BRAND AND GLOBAL VARIABLES ================== */
:root {
  --primary: #28372C;
  --secondary: #B9C2AE;
  --accent: #FFFDF7;
  --pastel-green: #DCE7DD;
  --pastel-peach: #F8E8D7;
  --pastel-blue: #D6E6F2;
  --pastel-yellow: #FFF9DD;
  --pastel-lavender: #E9E6F6;
  --brand-gradient: linear-gradient(90deg, #dce7dd 0%, #e9e6f6 100%);
  --shadow: 0 1.5px 10px 0 rgba(40, 55, 44, 0.06), 0 1px 2px rgba(40,55,44,0.06);
  --border-radius: 18px;
  --radius-lg: 32px;
  --white: #FFFDF7;
  --text-dark: #28372C;
  --text-light: #fff;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --transition: all 0.25s cubic-bezier(.4,0,.2,1);
}

/* ==================== TYPOGRAPHY SYSTEM ==================== */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--primary);
  margin-bottom: 20px;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--primary);
}
h4, .h4 {
  font-size: 1.05rem;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--primary);
}
p, li, .subheadline {
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--primary);
  line-height: 1.7;
}
strong, b {
  font-weight: 600;
  color: var(--primary);
}
.subheadline {
  font-size: 1.13rem;
  margin-bottom: 18px;
  color: var(--primary);
  font-family: var(--font-body);
  opacity: 0.85;
}
.price {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  background: var(--pastel-green);
  color: var(--primary);
  margin-left: 12px;
  border-radius: var(--border-radius);
  padding: 4px 14px;
}

/* ==================== CONTAINER & SECTION SPACING ==================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
main {
  min-height: 60vh;
}
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ==================== FLEXBOX LAYOUTS ==================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 22px;
}
.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-green);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  flex-direction: column;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ================ HERO SECTION ================ */
.hero {
  background: var(--brand-gradient);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 32px 0 rgba(40, 55, 44, 0.07);
  margin-top: 32px;
  margin-bottom: 48px;
  padding-top: 64px;
  padding-bottom: 64px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 24px;
}
.hero h1 {
  font-size: 2.6rem;
  background: -webkit-linear-gradient(90deg,#28372C 60%,#577C5C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .cta-primary {
  margin-top: 18px;
}

/* ================== NAVBAR ================== */
header {
  position: relative;
  width: 100%;
  background: var(--white);
  z-index: 200;
  box-shadow: 0 3px 16px 0 rgba(40,55,44,0.07);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: flex-start;
  padding: 20px 0;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  padding: 9px 14px;
  color: var(--primary);
  border-radius: 12px;
  transition: background .18s, color .18s;
}
.main-nav a.cta-primary {
  background: var(--pastel-green);
  color: var(--primary);
  box-shadow: 0 2px 12px rgba(45,80,65, .09);
  border-radius: 16px;
  padding: 8px 22px;
  font-weight: 700;
  transition: background .18s, color .20s;
}
.main-nav a.cta-primary:hover,
.main-nav a.cta-primary:focus {
  background: var(--secondary);
  color: var(--primary);
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--pastel-lavender);
  color: var(--primary);
}
.main-nav img {
  height: 42px;
  width: auto;
}

.mobile-menu-toggle {
  display: none;
  background: var(--pastel-green);
  color: var(--primary);
  border-radius: 50%;
  border: none;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 210;
  box-shadow: 0 1px 10px 2px rgba(40,55,44,0.12);
  transition: background .2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--secondary);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100dvh;
  width: 100vw;
  background: rgba(220, 231, 221, 0.95);
  box-shadow: 0 6px 48px 8px rgba(40,55,44,.13);
  z-index: 340;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.33s cubic-bezier(.77,0,.18,1), opacity 0.22s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: var(--primary);
  color: var(--white);
  font-size: 2.2rem;
  border: none;
  position: absolute;
  top: 20px;
  right: 20px;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  z-index: 350;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .20s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: var(--secondary);
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 84px 34px 24px 34px;
  gap: 16px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.18rem;
  padding: 14px 0;
  color: var(--primary);
  border-radius: 10px;
  width: 100%;
  font-weight: 500;
  transition: background .16s, color .16s;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: var(--pastel-lavender);
  color: var(--primary);
}


/* ================= CTA BUTTONS ================= */
.cta-primary, .cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 24px;
  font-size: 1.12rem;
  font-family: var(--font-display);
  font-weight: 600;
  border: none;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(40,55,44,0.08);
  outline: none;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 12px;
}
.cta-primary {
  background: var(--pastel-green);
  color: var(--primary);
}
.cta-secondary {
  background: var(--pastel-lavender);
  color: var(--primary);
  border: 2px solid var(--secondary);
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 4px 22px 2px rgba(40,55,44,0.13);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--pastel-peach);
  border-color: var(--secondary);
  color: var(--primary);
  box-shadow: 0 8px 24px 2px rgba(40,55,44,0.11);
}

/* ========== FEATURES / SERVICES PANELS / LISTS ========== */
ul.services-list,
.recent-posts,
.categories-list ul,
.faq-teasers ul,
.expert-advice ul,
.decor-tips-grid ul,
ul.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 20px;
}
ul.services-list li,
.recent-posts li,
.categories-list ul li,
.faq-teasers ul li,
.expert-advice ul li,
.decor-tips-grid ul li,
ul.contact-details li {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 18px;
  box-shadow: 0 1px 9px 1px rgba(40,55,44,0.03);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
ul.services-list li h3,
.recent-posts li h3 {
  margin-bottom: 6px;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-cards .text-section {
  flex: 1 1 280px;
  min-width: 220px;
  background: var(--pastel-blue);
  border-radius: var(--border-radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  transition: box-shadow .18s;
}
.service-cards .text-section:hover {
  box-shadow: 0 5px 24px 2px rgba(40,55,44,0.13);
}
.price {
  margin-left: 12px;
  background: var(--pastel-lavender);
  color: var(--primary);
}

/* =================== TESTIMONIALS =================== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: var(--pastel-green);
  color: var(--primary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 20px 26px;
  margin-bottom: 20px;
  font-size: 1.08rem;
  position: relative;
  transition: box-shadow .19s;
}
.testimonial-card:before {
  content: '"';
  font-size: 2.2rem;
  color: var(--secondary);
  opacity: 0.18;
  position: absolute;
  top: 10px;
  left: 12px;
  z-index: 0;
}
.testimonial-card blockquote {
  font-family: var(--font-display);
  font-size: 1.13rem;
  font-style: italic;
  margin-bottom: 10px;
  color: var(--primary);
  z-index: 1;
  position: relative;
}
.testimonial-card p {
  font-size: .96rem;
  color: var(--primary);
  opacity: 0.93;
  margin: 0;
  z-index: 1;
}
.testimonial-card:hover {
  box-shadow: 0 7px 32px 3px rgba(40,55,44,0.16);
}

/* ============== FAQ / CATEGORIES / POST LISTS ============== */
.categories-list h2,
.faq-teasers h2,
.expert-advice h2,
.decor-tips-grid h2 {
  font-family: var(--font-display);
  margin-bottom: 8px;
  font-size: 1.19rem;
}

/* ============== CONTACT/ADDRESS ============== */
.footer-contact, address {
  font-style: normal;
  font-size: .97rem;
  color: var(--primary);
  margin-top: 14px;
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-contact img, address img {
  width: 19px;
  height: 19px;
  vertical-align: middle;
  margin-right: 8px;
}
address strong {
  font-weight: bold;
}
.footer-contact a {
  color: var(--primary);
  border-bottom: 1px dashed var(--secondary);
  transition: border-color .18s;
}
.footer-contact a:hover,
.footer-contact a:focus {
  border-bottom: 1px solid var(--primary);
  color: var(--primary);
}

/* ===================== FOOTER ===================== */
footer {
  background: var(--pastel-blue);
  padding: 36px 0 22px 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -3px 12px 0 rgba(40,55,44,0.04);
  text-align: left;
}
.footer-nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 8px;
}
.footer-nav a {
  color: var(--primary);
  font-size: 1rem;
  font-family: var(--font-body);
  padding: 7px 12px;
  border-radius: 7px;
  transition: background .13s, color .13s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: var(--pastel-green);
  color: var(--primary);
}

/* ===================== COOKIE CONSENT BANNER ===================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--pastel-peach);
  color: var(--primary);
  box-shadow: 0 -3px 24px 6px rgba(40,55,44,0.10);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 5000;
  transition: transform 0.3s cubic-bezier(.7,.1,.9,1), opacity .18s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 16px;
  border: none;
  padding: 10px 22px;
  font-size: 1rem;
  margin: 0 2px;
  box-shadow: 0 1px 5px 1px rgba(40,55,44,0.07);
  cursor: pointer;
  transition: background .16s, color .15s, box-shadow .18s;
}
.cookie-banner .accept {
  background: var(--pastel-green);
  color: var(--primary);
}
.cookie-banner .accept:hover {
  background: var(--secondary);
}
.cookie-banner .reject {
  background: var(--pastel-lavender);
  color: var(--primary);
}
.cookie-banner .reject:hover {
  background: var(--pastel-blue);
}
.cookie-banner .settings {
  background: var(--pastel-yellow);
  color: var(--primary);
  border: 1.2px solid var(--secondary);
}
.cookie-banner .settings:hover {
  background: var(--pastel-peach);
}

/* =============== COOKIE PREFERENCES MODAL =============== */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(1);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 26px 28px 26px;
  z-index: 5100;
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 8px 48px 6px rgba(40,55,44,0.17);
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 1;
  transition: opacity 0.18s, transform 0.34s cubic-bezier(.7,.1,.9,1);
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%,-50%) scale(0.92);
}
.cookie-modal .cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.cookie-modal .cookie-modal-header h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--primary);
}
.cookie-modal .cookie-modal-close {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background .18s;
}
.cookie-modal .cookie-modal-close:hover,
.cookie-modal .cookie-modal-close:focus {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--secondary);
}
.cookie-modal .cookie-category:last-child {
  border-bottom: none;
}
.cookie-modal .cookie-toggle {
  width: 36px;
  height: 20px;
  background: var(--pastel-green);
  border-radius: 9px;
  margin-left: 12px;
  position: relative;
  cursor: pointer;
  display: inline-block;
  transition: background .16s;
}
.cookie-modal .cookie-toggle[aria-checked="true"] {
  background: var(--secondary);
}
.cookie-modal .cookie-toggle[aria-checked="true"] .toggle-dot {
  left: 18px;
  background: var(--primary);
}
.cookie-modal .cookie-toggle[aria-checked="false"] .toggle-dot {
  left: 2px;
  background: var(--secondary);
}
.cookie-modal .toggle-dot {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--secondary);
  transition: left 0.14s, background 0.17s;
}
.cookie-modal .cookie-category[aria-disabled="true"] {
  opacity: .6;
  pointer-events: none;
}
.cookie-modal .cookie-category span {
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--primary);
}
.cookie-modal .cookie-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 14px;
}
.cookie-modal .cookie-modal-footer button {
  font-family: var(--font-display);
  padding: 10px 24px;
  border-radius: 14px;
  border: none;
  font-size: 1rem;
  background: var(--pastel-green);
  color: var(--primary);
  transition: background .13s;
}
.cookie-modal .cookie-modal-footer .save-btn:hover {
  background: var(--secondary);
}

/* =================== RESPONSIVE DESIGN (MOBILE FIRST) =================== */
@media (max-width: 1150px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 11px;
    font-size: .97rem;
    flex-wrap: wrap;
  }
  .footer-nav {
    gap: 14px;
  }
  .service-cards {
    gap: 15px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero {
    margin-top: 16px;
    padding-top: 38px;
    padding-bottom: 38px;
  }
  .footer-contact, address {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .service-cards {
    flex-direction: column;
    gap: 12px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .section, section {
    padding: 26px 7px;
  }
  .testimonial-card,
  .card {
    padding: 16px 8px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  h1, .h1 {
    font-size: 1.38rem;
    margin-bottom: 12px;
  }
  h2, .h2 {
    font-size: 1.19rem;
    margin-bottom: 8px;
  }
  .hero h1 {
    font-size: 1.28rem;
  }
  .footer-nav {
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
  }
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
}
@media (max-width: 480px) {
  .cookie-banner {
    padding: 18px 6px;
    align-items: flex-start;
  }
  .cookie-modal {
    padding: 20px 5px 18px 5px;
    min-width: 160px;
  }
}

/* =================== UTILITY CLASSES =================== */
.bg-pastel-green { background: var(--pastel-green); }
.bg-pastel-peach { background: var(--pastel-peach); }
.bg-pastel-blue { background: var(--pastel-blue); }
.bg-pastel-yellow { background: var(--pastel-yellow); }
.bg-pastel-lavender { background: var(--pastel-lavender); }
.text-center { text-align: center; }
.text-left { text-align: left; }
.mb-32 { margin-bottom: 32px; }
.mb-20 { margin-bottom: 20px; }
.mb-12 { margin-bottom: 12px; }
.mt-24 { margin-top: 24px; }
.mt-16 { margin-top: 16px; }
.w-100 { width: 100%; }
.rounded { border-radius: var(--border-radius); }
.box-shadow { box-shadow: var(--shadow); }
.gap-20 { gap: 20px; }

/* ============== TRANSITIONS AND MICRO-INTERACTIONS ============== */
.card, .testimonial-card, .service-cards .text-section {
  transition: box-shadow .19s, transform .19s;
}
.card:hover, .testimonial-card:hover, .service-cards .text-section:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 5px 22px 0 rgba(40,55,44,0.14);
}
.cta-primary, .cta-secondary, .main-nav a, .mobile-nav a, .footer-nav a {
  transition: background .17s, color .20s, box-shadow .18s;
}

/* =============== FOCUS STYLES =============== */
a:focus, button:focus, .cta-primary:focus, .cta-secondary:focus, .mobile-menu-close:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 1px;
}

/* =============== ACCESSIBILITY =============== */
::selection {
  background: var(--pastel-green);
  color: var(--primary);
}

/* =============== PRINT =============== */
@media print {
  header, nav, footer, .mobile-menu, .cookie-banner, .cookie-modal {
    display: none !important;
  }
  section, main {
    padding: 0 !important;
  }
  body { background: #fff !important; }
}

/* ================= END ========================= */
