/* === CSS 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;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  height: 100%;
  box-sizing: border-box;
}
body {
  height: 100%;
  min-height: 100vh;
  background: #F2E9DC;
  color: #51433A;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  color: #A67A58;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #51433A;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.5em;
}
strong {
  font-weight: bold;
}

/* ==== BRAND FONTS === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', 'Georgia', serif;
  color: #51433A;
  font-weight: 700;
  letter-spacing: 0.015em;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.2rem;
  line-height: 1.1;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.section h2, .section h3 {
  font-family: 'Merriweather', 'Georgia', serif;
}
p {
  margin-bottom: 16px;
  color: #51433A;
  font-size: 1rem;
}

/* GEOMETRIC STRUCTURE: Layout Container Rules */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}
.section,
main section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px 0 rgba(81,67,58,0.07), 0 0.5px 2px 0 rgba(166,122,88,0.05);
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ==== HEADER & NAVIGATION ==== */
header {
  width: 100%;
  padding: 18px 0 10px 0;
  background: #fff;
  box-shadow: 0 3px 24px 0 rgba(166, 122, 88, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}
header > a img {
  max-height: 46px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.main-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #51433A;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 0;
  border-bottom: 2.5px solid transparent;
  transition: border-color 0.2s cubic-bezier(.4,0,.2,1);
}
.main-nav a:hover, .main-nav a:focus {
  border-bottom: 2.5px solid #A67A58;
  color: #A67A58;
}
.cta-btn {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 11px 34px;
  background: #A67A58;
  color: #fff;
  border: none;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: background 0.2s cubic-bezier(.4,0,.2,1), box-shadow 0.22s;
  box-shadow: 0 2px 10px 0 rgba(166,122,88,0.10);
  cursor: pointer;
  display: inline-block;
  outline: none;
  margin-left: 16px;
  margin-right: 8px;
  white-space: nowrap;
}
.cta-btn:hover, .cta-btn:focus {
  background: #51433A;
  color: #fff;
  box-shadow: 0 4px 24px 0 rgba(166,122,88,0.18);
}

/* === MOBILE MENU TOGGLE === */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 120;
  background: #fff;
  color: #51433A;
  border: none;
  font-size: 2.2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px 0 rgba(81,67,58,0.10);
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #A67A58;
  color: #fff;
}

/* === MOBILE MENU OVERLAY === */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background: #fff;
  position: fixed;
  top: 0;
  right: 0;
  width: 92vw;
  max-width: 420px;
  height: 100vh;
  z-index: 200;
  padding: 36px 18px 24px 26px;
  box-shadow: -12px 0 48px 0 rgba(81, 67, 58, 0.15);
  transform: translateX(102%);
  transition: transform 0.32s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  position: absolute;
  right: 26px;
  top: 26px;
  font-size: 1.8rem;
  color: #A67A58;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 46px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Merriweather', serif;
  font-size: 1.18rem;
  color: #51433A;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 14px 0;
  border-bottom: 2px solid #F2E9DC;
  transition: color 0.23s, background 0.25s;
  border-radius: 6px;
  outline: none;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #F2E9DC;
  color: #A67A58;
}

/* === HERO SECTION === */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  padding: 36px 4px 38px 4px;
  border-radius: 18px;
  background-color: #F9F6F2;
  box-shadow: 0 2px 16px 0 rgba(81,67,58,0.08);
  margin-bottom: 0;
}
.hero-section h1 {
  font-size: 2.5rem;
  color: #51433A;
  font-family: 'Merriweather', serif;
  font-weight: 900;
  letter-spacing: 0.02em;
}
.hero-section p {
  font-size: 1.18rem;
  color: #51433A;
}
.hero-section .cta-btn {
  margin-top: 14px;
}

/* ==== FEATURES & CARDS ==== */
.features-grid, .features-section .features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  align-items: stretch;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 8px 0 rgba(166,122,88,0.05);
  padding: 24px 20px 22px 20px;
  flex: 1 1 270px;
  min-width: 218px;
  max-width: 1fr;
  border: 2.5px solid #F2E9DC;
  transition: box-shadow .22s, border .18s;
  position: relative;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 4.5px 20px 0 rgba(166,122,88,0.16);
  border: 2.5px solid #A67A58;
  z-index: 2;
}
.feature-item img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  margin-bottom: 10px;
  background: #F2E9DC;
  padding: 7px;
  border-radius: 10px;
}
.feature-item h3 {
  color: #A67A58;
  font-size: 1.1rem;
  font-family: 'Merriweather', serif;
  letter-spacing: 0.06em;
  text-transform: none;
  margin-bottom: 4px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1.5px solid #F2E9DC;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(166,122,88,0.07);
  padding: 24px;
  min-width: 240px;
  flex: 1 1 330px;
  transition: border .16s, box-shadow .13s;
}
.card:hover, .card:focus-within {
  border: 2px solid #A67A58;
  box-shadow: 0 4px 24px 0 rgba(81,67,58,0.16);
  z-index: 1;
}

/* ==== TEXT SECTION & LAYOUTS ==== */
.text-section, .content-wrapper.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.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;
}

/* CTA SECTION */
.cta-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  background: #A67A58;
  color: #fff;
  border-radius: 14px;
  padding: 38px 24px;
  margin-bottom: 0;
  box-shadow: 0 3px 16px rgba(81,67,58,0.08);
}
.cta-section h2,
.cta-section p {
  color: #fff;
}
.cta-section .cta-btn {
  background: #fff;
  color: #A67A58;
  border-radius: 10px;
  font-weight: bold;
  border: none;
}
.cta-section .cta-btn:hover, .cta-section .cta-btn:focus {
  background: #51433A;
  color: #fff;
}

/* === TESTIMONIALS === */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px 18px 24px;
  background: #F2E9DC;
  border: 2px solid #A67A58;
  color: #51433A;
  border-radius: 16px;
  box-shadow: 0 1px 8px 0 rgba(81,67,58,0.06);
  min-width: 240px;
  max-width: 400px;
  flex: 1 1 280px;
  margin-bottom: 0;
}
.testimonial-card p {
  font-size: 1.11rem;
  font-style: italic;
  color: #51433A;
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 0.98rem;
  font-weight: 600;
  color: #A67A58;
}
.testimonial-card:after {
  content: '';
  display: block;
  width: 44px;
  height: 5px;
  background: #A67A58;
  border-radius: 4px;
  margin-top: 10px;
}

/* === CONTACT PAGE SPECIAL === */
.contact-section {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-information ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-information li {
  display: flex;
  align-items: center;
  font-size: 1.07rem;
  gap: 12px;
}
.contact-information img {
  width: 26px;
  height: 26px;
}
.contact-details {
  margin-top: 4px;
  color: #51433A;
}
.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  background: #fff;
  border: 1.5px dashed #A67A58;
  border-radius: 12px;
  padding: 18px 18px 14px 18px;
  font-size: 0.97rem;
  color: #51433A;
}
.map-placeholder img {
  width: 80px;
  height: 80px;
}

/* === LISTS IN STRUCTURED BLOCKS === */
.services-overview ul, .services-overview ol,
.features-list ul, .features-list ol,
.features-section ul, .features-section ol {
  margin: 0 0 14px 0;
  padding-left: 1.2em;
  font-size: 1rem;
}
.services-overview ol {
  counter-reset: steps;
}
.services-overview ol li {
  position: relative;
  margin-bottom: 10px;
}
.features-list ul,
.features-section ul {
  list-style: none;
  padding: 0;
}
.features-list ul li, .features-section ul li {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
  gap: 13px;
}
.features-list ul img, .features-section ul img {
  width: 28px;
  height: 28px;
  margin-right: 5px;
}
.craftsmanship-desc {
  margin-top: 18px;
  font-size: 1.06rem;
  color: #51433A;
}

.timeline {
  background: #F2E9DC;
  border-radius: 12px;
  padding: 22px 18px;
  margin-top: 18px;
  font-size: 1rem;
}
.timeline h3 {
  margin-bottom: 8px;
  color: #A67A58;
}
.timeline ul li {
  margin-bottom: 6px;
  padding-left: 0.7em;
}

/* === FOOTER === */
footer {
  background: #51433A;
  color: #fff;
  padding: 34px 0 16px 0;
  border-radius: 0 0 22px 22px;
  width: 100%;
  margin-top: 66px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #A67A58;
  font-size: 0.97rem;
  text-transform: uppercase;
  font-family: 'Merriweather', serif;
  font-weight: 600;
  letter-spacing: 0.09em;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
footer address {
  font-style: normal;
  color: #F2E9DC;
  font-size: 0.98rem;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 8px;
}
footer img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 6px;
  margin-left: 2px;
}
footer div {
  font-size: 0.89rem;
  color: #A67A58;
  margin-top: 9px;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #F2E9DC;
  color: #51433A;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 36px 0 rgba(81,67,58,0.07);
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  padding: 24px 22px 18px 22px;
  z-index: 10000;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(.4,0,.2,1);
}
.cookie-banner.show {
  opacity: 1;
  pointer-events: auto;
  animation: slideUpBanner 0.7s cubic-bezier(.4,0,.2,1);
}
@keyframes slideUpBanner {
  0% { transform: translateY(110%); }
  100% { transform: translateY(0); }
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 16px;
  margin: 8px 0 0 0;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #A67A58;
  color: #fff;
  border: none;
  border-radius: 9px;
  margin-right: 8px;
  padding: 10px 26px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.16s, color 0.17s, box-shadow 0.17s;
  box-shadow: 0 1.5px 6px 0 rgba(81,67,58,0.07);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #51433A;
  color: #fff;
}
.cookie-btn.settings {
  background: #F2E9DC;
  color: #A67A58;
  border: 2px solid #A67A58;
  padding: 10px 18px;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #A67A58;
  color: #fff;
}

/* Cookie modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(81,67,58,0.45);
  backdrop-filter: blur(1.3px);
  z-index: 10010;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.show {
  display: flex;
  animation: fadeInBg 0.4s;
}
@keyframes fadeInBg {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  color: #51433A;
  padding: 38px 32px 30px 32px;
  box-shadow: 0 4px 24px 0 rgba(81,67,58,.12);
  max-width: 430px;
  width: 94vw;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal h2 {
  color: #A67A58;
  font-size: 1.23rem;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.cookie-category input[type=checkbox] {
  accent-color: #A67A58;
  width: 19px; height: 19px;
}
.cookie-category .essential {
  font-weight: bold;
  color: #51433A;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 18px;
  font-size: 1.3rem;
  background: none;
  border: none;
  color: #A67A58;
  cursor: pointer;
  padding: 4px;
}

/* === PAGE SPACING UTILITIES === */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }

/* === ANIMATIONS & MICRO-INTERACTIONS === */
button, .cta-btn, .card, .feature-item, .testimonial-card, a {
  transition: box-shadow 0.15s, color 0.13s, background 0.18s, border 0.14s;
}

/* === RESPONSIVE MEDIA QUERIES === */
@media (max-width: 1020px) {
  .container {
    max-width: 96vw;
    padding: 0 8px;
  }
  .main-nav {
    gap: 16px;
  }
  .features-grid, .testimonials {
    flex-wrap: wrap;
  }
}
@media (max-width: 920px) {
  header {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}
@media (max-width: 820px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 820px) {
  header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .section, main section {
    padding: 30px 4vw 30px 4vw;
    margin-bottom: 34px;
    border-radius: 14px;
  }
  .content-grid, .features-grid, .testimonials {
    flex-direction: column;
    gap: 16px;
  }
  .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .hero-section h1 {
    font-size: 1.45rem;
  }
  .cta-section {
    padding: 22px 5vw;
    border-radius: 8px;
  }
  .testimonial-card {
    max-width: 100%;
  }
  .footer-nav {
    gap: 12px;
  }
  .text-image-section,
  .services-overview {
    flex-direction: column;
    gap: 19px;
  }
  .features-list ul,
  .features-section ul {
    gap: 11px;
  }
  .features-section .features-grid {
    gap: 14px;
  }
}
@media (max-width: 600px) {
  .section, main section, .hero-section, .cta-section {
    padding: 20px 2vw;
    border-radius: 7px;
  }
  .cookie-modal {
    padding: 25px 8px 22px 12px;
    border-radius: 10px;
  }
}
/* === END === */
