/* =============================================================
   CSS RESET & BASE
   ============================================================= */
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #FFF8F3;
  color: #3A2E1E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 8px;
}
a {
  color: #B4975A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #2E2C3B;
  text-decoration: underline;
}
ul, ol {
  padding-left: 2rem;
}
b, strong {
  font-weight: 700;
}
input, button, textarea, select {
  font-family: 'Montserrat', Arial, sans-serif;
}

/* =============================================================
   TYPOGRAPHY & HEADINGS
   ============================================================= */
h1, .h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #2E2C3B;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -.01em;
}
h2, .h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #2E2C3B;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -.01em;
}
h3, .h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: #B4975A;
  font-weight: 600;
  margin-bottom: 12px;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  color: #2E2C3B;
  margin-bottom: 8px;
  font-weight: 600;
}
p {
  font-size: 1rem;
  color: #3A2E1E;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
.section p:last-child, .content-wrapper p:last-child { margin-bottom: 0; }
li {
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 8px;
}
blockquote {
  font-size: 1.125rem;
  font-style: italic;
  padding: 16px 24px;
  border-left: 4px solid #E9D9C3;
  color: #2E2C3B;
  background: #FAF3EA;
  border-radius: 12px;
  margin-bottom: 24px;
}

/* =============================================================
   CONTAINERS, SECTIONS, CARD AND FLEX LAYOUTS
   ============================================================= */
.container {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF8F3;
  border-radius: 20px;
}
.content-wrapper {
  max-width: 780px;
  margin: 0 auto;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF;
  border-radius: 20px;
  box-shadow: 0 2px 18px 0 rgba(180,151,90, 0.11);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.18s;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(46,44,59,.15);
  transform: translateY(-3px) scale(1.03);
}
.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: #FFF;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(46,44,59,.13);
  margin-bottom: 20px;
  flex-direction: column;
  transition: box-shadow .22s, transform .18s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px 0 rgba(180,151,90,.17);
  transform: translateY(-2px) scale(1.02);
}
.testimonial-card p {
  color: #2E2C3B;
  font-size: 1.1rem;
}
.testimonial-meta {
  font-size: 0.93rem;
  color: #967E59;
  margin-top: 10px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 14px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 16px 0;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.feature-grid > div {
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(233,217,195,.13);
  padding: 24px 20px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: box-shadow 0.22s, transform 0.17s;
}
.feature-grid > div:hover {
  box-shadow: 0 4px 26px 0 rgba(180,151,90,.13);
  transform: translateY(-4px) scale(1.04);
}
.feature-grid img {
  margin-bottom: 16px;
  width: 42px;
  height: 42px;
}

/* Generic list/flex layouts for FAQ and simple lists */
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.faq-list > div {
  flex: 1 1 270px;
  min-width: 220px;
  background: #FFF;
  box-shadow: 0 2px 10px 0 rgba(180,151,90,0.06);
  border-radius: 16px;
  padding: 20px 18px;
  margin-bottom: 20px;
}

/* Blog Featured Post */
.featured-post {
  background: #FFF;
  border-left: 5px solid #B4975A;
  border-radius: 8px;
  box-shadow: 0 2px 8px 0 rgba(233,217,195,.09);
  padding: 22px 18px;
  margin-bottom: 22px;
  transition: box-shadow .18s;
}
.featured-post:hover {
  box-shadow: 0 6px 20px 0 rgba(180,151,90,0.13);
}
.featured-post h3 {
  margin-bottom: 10px;
}
/* Newsletter callout */
.newsletter-signup ul {
  margin: 20px 0;
}
.newsletter-signup ul li {
  margin-bottom: 8px;
}

/* Thank You Page */
.thank-you .content-wrapper {
  text-align: center;
  padding: 40px 0 32px 0;
}

/* =============================================================
   HERO & CTA BANNER SECTIONS
   ============================================================= */
.hero {
  background: #E9D9C3 url('../assets/hero-bg.jpg') center/cover no-repeat;
  border-radius: 0 0 38px 38px;
  padding: 70px 0 50px 0;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  box-shadow: 0 8px 30px rgba(233,217,195,.12);
}
.hero .content-wrapper {
  text-align: center;
}
.hero h1 {
  color: #2E2C3B;
  font-size: 2.8rem;
  margin-bottom: 18px;
}
.hero p {
  color: #3A2E1E;
  font-size: 1.2rem;
  margin-bottom: 28px;
}
.hero .button-primary {
  margin-top: 12px;
}
.cta-banner-home, .cta-banner-about, .cta-banner-offer, .cta-banner-portfolio {
  background: #FFF3E7;
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 rgba(180,151,90,0.07);
  margin-bottom: 60px;
  padding: 36px 0 32px 0;
}
.cta-banner-home h2, .cta-banner-about h2, .cta-banner-offer h2, .cta-banner-portfolio h2 {
  color: #B4975A;
}
.cta-banner-home .button-primary,
.cta-banner-about .button-primary,
.cta-banner-offer .button-primary,
.cta-banner-portfolio .button-primary {
  margin-top: 24px;
}

/* =============================================================
   NAVIGATION & HEADER & MOBILE MENU
   ============================================================= */
header {
  background: #FFFDF8;
  box-shadow: 0 4px 18px 0 rgba(233,217,195,0.19);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  margin-bottom: 32px;
  position: relative;
  z-index: 101;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  color: #2E2C3B;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 8px;
  padding: 5px 13px;
  transition: background 0.16s, color 0.16s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #E9D9C3;
  color: #B4975A;
}
.button-primary {
  background: #B4975A;
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 24px;
  padding: 10px 32px;
  transition: background 0.18s, transform 0.16s, box-shadow 0.22s;
  box-shadow: 0 2px 10px 0 rgba(180,151,90,0.07);
  cursor: pointer;
  display: inline-block;
  margin-left: 16px;
}
.button-primary:hover,
.button-primary:focus {
  background: #967E59;
  color: #FFFDF8;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 18px 0 rgba(180,151,90,0.13);
}
.button-secondary {
  background: #2E2C3B;
  color: #FFF;
  border-radius: 24px;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 28px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, transform 0.14s;
}
.button-secondary:hover, .button-secondary:focus {
  background: #B4975A;
  color: #FFFDF8;
  box-shadow: 0 3px 18px 0 rgba(46,44,59,0.13);
  transform: translateY(-2px) scale(1.02);
}

/* Mobile nav hamburger */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #B4975A;
  cursor: pointer;
  margin-left: 14px;
  z-index: 105;
  padding: 0 10px;
  line-height: 1;
  border-radius: 13px;
  transition: background 0.16s;
}
.mobile-menu-toggle:focus {
  background: #E9D9C3;
  outline: none;
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: rgba(255, 248, 243, 0.97);
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.88,0.03,0.18,0.95);
  display: flex;
  flex-direction: column;
  padding: 22px 28px 32px 28px;
  box-shadow: -4px 0 32px 0 rgba(46,44,59,0.12);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #B4975A;
  align-self: flex-end;
  margin-bottom: 22px;
  cursor: pointer;
  border-radius: 12px;
  transition: background 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #E9D9C3;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-nav a {
  font-size: 1.1rem;
  color: #2E2C3B;
  font-weight: 600;
  border-radius: 14px;
  padding: 12px 14px;
  transition: background 0.17s, color 0.14s;
  letter-spacing: 0.013em;
  outline: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E9D9C3;
  color: #B4975A;
}

/* Hide nav on mobile, show mobile toggle */
@media (max-width: 992px) {
  .main-nav, .button-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 480px) {
  .mobile-menu {
    padding: 16px 6vw 22px 6vw;
  }
}

/* =============================================================
   FOOTER
   ============================================================= */
footer {
  background: #FFF9F2;
  border-radius: 36px 36px 0 0;
  padding: 48px 0 18px 0;
  margin-top: 70px;
  box-shadow: 0 -6px 32px 0 rgba(233,217,195,0.1);
}
.footer-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #B4975A;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.13s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #2E2C3B;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  color: #3A2E1E;
  font-size: 1rem;
}
.footer-contact img {
  width: 20px;
  margin-right: 7px;
  display: inline-block;
  vertical-align: middle;
  border-radius: 0;
}
.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  transition: transform 0.16s;
}
.footer-social a:hover, .footer-social a:focus {
  transform: scale(1.15) rotate(-3deg);
}
.footer-tagline {
  text-align: center;
  color: #B4975A;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-top: 10px;
  opacity: 0.92;
}
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* =============================================================
   TESTIMONIALS & AWARDS
   ============================================================= */
.testimonials-home .testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 32px 0 26px 0;
  justify-content: space-between;
}
.testimonials-home .testimonial-card {
  flex: 1 1 230px;
  min-width: 220px;
  max-width: 350px;
}
.awards-mentions ul {
  margin: 24px 0;
}
.awards-mentions ul li {
  margin-bottom: 7px;
  color: #3A2E1E;
}

/* =============================================================
   UTILITY CLASSES
   ============================================================= */
.d-flex {
  display: flex!important;
}
.align-center {
  align-items: center!important;
}
.justify-center {
  justify-content: center!important;
}
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 10px !important; }
.mb-1 { margin-bottom: 10px !important; }
.mt-2 { margin-top: 20px !important; }
.mb-2 { margin-bottom: 20px !important; }
.gap-2 { gap: 20px!important; }

/* =============================================================
   COOKIE CONSENT BANNER & MODAL
   ============================================================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #2E2C3B;
  color: #FFF;
  padding: 20px 26px 18px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 450;
  box-shadow: 0 -3px 18px 0 rgba(46,44,59,0.13);
  border-radius: 18px 18px 0 0;
  animation: banner-in 0.65s cubic-bezier(0.61,0.14,0.29,0.99);
}
@keyframes banner-in { 0% {transform: translateY(90px); opacity:0;} 100% {transform: translateY(0); opacity:1;}}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 14px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.cookie-banner button {
  border: none;
  border-radius: 20px;
  padding: 8px 20px;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  cursor: pointer;
  margin-bottom: 0;
  transition: background 0.16s, box-shadow 0.16s;
}
.cookie-banner .accept {
  background: #B4975A;
  color: #FFF;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #967E59;
}
.cookie-banner .reject {
  background: #FFF3E7;
  color: #2E2C3B;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #E9D9C3;
}
.cookie-banner .settings {
  background: transparent;
  color: #FFF;
  border: 2px solid #B4975A;
  padding: 8px 18px;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #B4975A;
  color: #FFF;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(46,44,59,0.12);
  z-index: 501;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  animation: fade-in .18s linear;
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal-content {
  background: #FFFDF8;
  color: #2E2C3B;
  border-radius: 21px;
  box-shadow: 0 2px 26px 0 rgba(46,44,59,.14);
  padding: 34px 30px 26px 30px;
  min-width: 340px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 26px;
  animation: scale-in .3s cubic-bezier(0.82,0.03,0.18,1.09);
}
@keyframes scale-in { from { transform: scale(0.93); opacity: 0; } to { transform: scale(1); opacity: 1;}}
.cookie-modal-content h2 {
  font-size: 1.3rem;
  color: #B4975A;
  margin-bottom: 12px;
}
.cookie-categories {
  margin: 0 0 18px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #3A2E1E;
}
.cookie-category label {
  font-weight: 500;
}
.cookie-category input[type="checkbox"] {
  accent-color: #B4975A;
  width: 17px;
  height: 17px;
}
.cookie-modal-btns {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
  flex-wrap: wrap;
}
.cookie-modal .close-modal {
  background: none;
  border: none;
  color: #B4975A;
  font-size: 1.8rem;
  position: absolute;
  top: 24px; right: 33px;
  cursor: pointer;
  padding: 0 5px;
  border-radius: 11px;
  transition: background 0.13s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: #E9D9C3;
}
@media (max-width:480px) {
  .cookie-modal-content { min-width: 90vw; padding: 18px 5vw;}
  .cookie-modal .close-modal { right: 10px; top: 10px; }
}

/* =============================================================
   RESPONSIVE DESIGN (Mobile First)
   ============================================================= */
@media (max-width:1100px) {
  .feature-grid > div,
  .testimonials-home .testimonial-card {
    max-width: 48vw;
  }
  .content-grid, .feature-grid, .card-container {
    gap: 16px;
  }
}
@media (max-width: 992px) {
  .container { padding-left: 8px; padding-right: 8px; }
  .main-nav { gap: 12px; }
  .section, .cta-banner-home, .cta-banner-about, .cta-banner-offer, .cta-banner-portfolio {
    padding-left: 10px; padding-right: 10px;
  }
}
@media (max-width: 768px) {
  .hero {
    padding: 36px 0 30px 0;
    border-radius: 0 0 28px 28px;
  }
  .footer-top, .content-grid, .feature-grid, .faq-list, .testimonial-grid {
    flex-direction: column;
    align-items: stretch!important;
    gap: 18px;
  }
  .testimonial-card {
    max-width: 98vw;
    min-width: 0;
    width: 100%;
  }
  .feature-grid > div {
    min-width: 0;
    width: 100%;
    max-width: 98vw;
  }
  .content-wrapper {
    padding: 0 0 16px 0;
  }
  .text-image-section {
    flex-direction: column;
    align-items: center;
  }
  .hero .content-wrapper {
    padding: 0 0 10px 0;
  }
  .section {
    padding: 28px 0;
    margin-bottom: 36px;
  }
  .card {
    padding: 16px 7px;
  }
}
@media (max-width: 540px) {
  h1, .h1 { font-size: 1.75rem; }
  h2, .h2 { font-size: 1.3rem; }
  h3, .h3 { font-size: 1.07rem; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1.02rem; }
  .container { padding: 0 1vw; }
  .section, .cta-banner-home, .cta-banner-about, .cta-banner-offer, .cta-banner-portfolio {
    padding: 16px 2vw;
  }
}

/* =============================================================
   MISC ENHANCEMENTS & MICRO-INTERACTIONS
   ============================================================= */
button, .button-primary, .button-secondary {
  outline: none;
}
button:focus-visible, a:focus-visible {
  outline: 2px solid #B4975A;
  outline-offset: 2px;
}
ul {
  list-style: disc inside;
  margin-bottom: 12px;
}
ol {
  list-style: decimal inside;
  margin-bottom: 12px;
}
::-webkit-scrollbar {
  width: 8px; background: #FFF3E7; border-radius: 6px; }
::-webkit-scrollbar-thumb { background: #E9D9C3; border-radius:6px; }

/* Icon image tweaks */
img[alt^="icon-"] {
  width: 20px;
  height: 20px;
  margin-right: 7px;
  display: inline-block;
  vertical-align: middle;
  border-radius: 0;
}

/* =============================================================
   PREVENT OVERLAP & SPACING SAFEGUARDS
   ============================================================= */
section, .section, .card, .feature-grid > div, .testimonial-card, .faq-list > div, .content-wrapper {
  margin-bottom: 20px;
}
section:last-child, .section:last-child, .content-wrapper:last-child {
  margin-bottom: 0!important;
}

/* Ensure no grid properties used (CRITICAL) */
/* No grid-* props, columns, or position: absolute for content. */

/* END CSS */