/* --- CSS RESET & BASE STYLES --- */
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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  background: #f1ece7;
  color: #37434a;
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  letter-spacing: 0.02em;
}
:root {
  --primary: #37434a;
  --secondary: #f1ece7;
  --accent: #be7641;
  --green-accent: #315e38;
  --natural-brown: #d2976c;
  --offwhite: #f7f5f2;
  --earth-dark: #746455;
  --shadow: 0 3px 16px 0 rgba(55, 67, 74, 0.09);
  --radius-lg: 26px;
  --radius-md: 14px;
  --radius-sm: 8px;
}
*, *:before, *:after {
  box-sizing: inherit;
}

img {
  max-width: 100%;
  border-radius: var(--radius-sm);
}
a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--green-accent);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.3rem;
  margin-bottom: 20px;
  line-height: 1.16;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 16px;
  line-height: 1.18;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  line-height: 1.25;
}
h4 {
  font-size: 1.12rem;
  margin-bottom: 6px;
}
p, ul, ol {
  margin-bottom: 16px;
}
strong {
  color: var(--primary);
  font-weight: 600;
}
ul, ol {
  padding-left: 24px;
}
li {
  margin-bottom: 10px;
}

/* --- CONTAINER UTILITY --- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: var(--offwhite);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 100;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0 14px 0;
}
.logo img {
  height: 42px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 30px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--primary);
  transition: color 0.18s;
  padding: 4px 0;
  position: relative;
}
.main-nav a:after {
  content: '';
  display: block;
  height: 2px;
  background: var(--accent);
  width: 0;
  margin: 4px auto 0 auto;
  border-radius: 2px;
  transition: width 0.22s cubic-bezier(.8,0,.5,1.1);
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--green-accent);
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 75%;
}

.cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--green-accent);
  color: #fff;
  padding: 12px 30px;
  border-radius: var(--radius-md) 38px var(--radius-lg) 38px / 19px 38px 24px 38px;
  box-shadow: 0 5px 22px 0 rgba(60, 97, 77, 0.14);
  font-size: 1rem;
  letter-spacing: 0.04em;
  font-weight: 700;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.18s, transform 0.12s;
  display: inline-block;
  text-align: center;
}
.cta-button:hover, .cta-button:focus {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px) scale(1.04);
}

.cta-link {
  color: var(--green-accent);
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.15s;
  font-size: 1.06rem;
}
.cta-link:hover, .cta-link:focus {
  color: var(--accent);
  text-decoration: none;
}

/* --- MOBILE NAVIGATION START --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--primary);
  cursor: pointer;
  padding: 6px 15px;
  transition: color 0.14s, transform 0.08s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: var(--green-accent);
  transform: scale(1.12);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(55,67,74,0.97);
  z-index: 150;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.76,.05,.07,.98);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 19px 22px 8px 0;
  cursor: pointer;
  transition: color 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--accent);
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 22px;
  padding: 0 32px 26px 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 0 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  transition: color 0.17s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--accent);
}

@media (max-width: 1024px) {
  .main-nav, .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu { display: none !important; }
}

/* --- FOOTER --- */
footer {
  background: var(--earth-dark);
  color: #fff;
  padding: 38px 0 22px 0;
  font-size: 1rem;
}
.footer-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-logo img {
  height: 40px;
  width: auto;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: #d0c5b7;
  font-size: 1rem;
  transition: color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--accent);
}
.footer-contact p {
  font-size: 0.97rem;
  color: #e6e6e2;
  margin-bottom: 4px;
}

@media (max-width: 800px) {
  .footer-flex {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}

/* --- SECTION SPACING & CARD LAYOUTS --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 30px 24px 24px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  flex: 1 1 260px;
  transition: box-shadow 0.22s, transform 0.19s;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 28px 0 rgba(70, 102, 65, 0.13);
  transform: translateY(-4px) scale(1.01);
}
.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;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 18px 0 rgba(27,64,42,0.08);
  border-radius: var(--radius-md);
  gap: 14px;
  padding: 20px;
  margin-bottom: 20px;
  min-width: 240px;
  transition: box-shadow 0.23s, transform 0.17s;
  border-left: 8px solid var(--accent);
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 10px 30px 0 rgba(55,97,74,0.12);
  transform: translateY(-2px) scale(1.01);
}
.testimonial-meta {
  margin-top: 8px;
  color: var(--green-accent);
  font-size: 0.99rem;
  font-weight: 600;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 768px) {
  .section {
    padding: 28px 7px;
    margin-bottom: 32px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    min-width: 0;
    width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* --- HERO & SPECIAL SECTIONS --- */
.hero, .catalog-hero, .inspiration-hero, .services-hero, .contact-hero, .about-teaser, .thank-you {
  background: linear-gradient(95deg, #e8ecd7 0%, #f1ece7 90%);
  border-radius: 0 0 60px 60px / 0 0 28px 28px;
  box-shadow: 0 3px 20px 0 rgba(55,67,74,0.07);
  margin-bottom: 48px;
  padding: 50px 0;
}
.hero h1, .catalog-hero h1, .inspiration-hero h1, .services-hero h1, .contact-hero h1, .thank-you h1 {
  color: var(--green-accent);
  font-size: 2.4rem;
}
.hero .cta-button {
  margin-top: 24px;
}
@media (max-width: 768px) {
  .hero, .catalog-hero, .inspiration-hero, .services-hero, .contact-hero,
  .about-teaser, .thank-you {
    padding: 27px 0;
    border-radius: 0 0 22px 22px / 0 0 13px 13px;
    margin-bottom: 22px;
  }
}

/* --- FEATURES --- */
.features .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.feature-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.feature-grid li {
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 260px;
  padding: 26px 18px 18px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s, transform 0.15s;
}
.feature-grid li:hover, .feature-grid li:focus-within {
  box-shadow: 0 7px 28px 0 rgba(64,97,64,.13);
  transform: translateY(-2px);
}
.feature-grid img {
  width: 44px;
  height: auto;
  margin-bottom: 16px;
}
.feature-grid h3 {
  color: var(--accent);
  margin-bottom: 6px;
  text-align: center;
  font-size: 1.1rem;
}
.feature-grid p {
  color: var(--primary);
  font-size: 0.99rem;
  text-align: center;
}
@media (max-width: 960px) {
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid li {
    max-width: 100%;
    width: 100%;
  }
}

/* --- ABOUT, PHILOSOPHY, SERVICE, LEGAL --- */
.about, .philosophy, .service-list, .legal, .contact-form, .store-info, .consultation-highlight, .catalog-listing, .catalog-highlights, .order-info, .inspiration-list, .seasonal-trends, .call-to-action {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: 60px;
  padding: 38px 28px 32px 28px;
}
@media (max-width: 768px) {
  .about, .philosophy, .service-list, .legal, .contact-form, .store-info, .consultation-highlight, .catalog-listing, .catalog-highlights, .order-info, .inspiration-list, .seasonal-trends, .call-to-action {
    margin-bottom: 28px;
    padding: 20px 7px 16px 7px;
    border-radius: var(--radius-md);
  }
}

/* --- CATALOG TAGS & TIPS --- */
.popular-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}
.tag {
  display: inline-block;
  background: #e8ecd7;
  color: var(--green-accent);
  font-size: 0.93rem;
  font-weight: 600;
  border-radius: 20px 26px 20px 24px / 16px 20px 14px 20px;
  padding: 8px 19px 8px 17px;
  margin-right: 4px;
}
.tag:hover, .tag:focus {
  background: var(--accent);
  color: #fff;
}
.style-tips {
  background: #e8ecd7;
  border-radius: var(--radius-md);
  padding: 15px 17px 15px 20px;
  margin-top: 16px;
  margin-bottom: 12px;
}
.style-tips h3 {
  color: var(--green-accent);
  margin-bottom: 4px;
  font-size: 1.02rem;
}

/* --- INSPIRATION CARDS --- */
.inspiration-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
}
.inspiration-cards .card {
  flex: 1 1 260px;
  min-width: 200px;
  background: #e8ecd7;
  border-radius: var(--radius-lg);
  box-shadow: 0 5px 30px 0 rgba(65, 97, 59, 0.08);
  padding: 22px 18px 18px 18px;
  color: var(--primary);
  transition: box-shadow 0.20s, background 0.17s;
}
.inspiration-cards .card:hover,
.inspiration-cards .card:focus {
  background: #d2976c1a;
  box-shadow: 0 10px 34px 0 rgba(65,97,59,.15);
}
@media (max-width: 768px) {
  .inspiration-cards {
    flex-direction: column;
    gap: 12px;
  }
}

/* --- CTA GROUP --- */
.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 14px;
}
@media (max-width: 600px) {
  .cta-group {
    flex-direction: column;
    gap: 10px;
  }
}

/* --- MISC UTILITIES --- */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.address-map {
  background: #e8ecd7;
  border-radius: var(--radius-md);
  padding: 12px 18px 12px 15px;
  margin-bottom: 10px;
  color: var(--primary);
}
.contact-details li {
  margin-bottom: 9px;
  font-size: 1.04rem;
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--earth-dark);
  color: #fff;
  z-index: 555;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 23px 18px 23px 18px;
  box-shadow: 0 -3px 18px 0 rgba(55,67,64,0.09);
  animation: slideInBanner 0.55s cubic-bezier(.6,1.24,.34,.92);
}
@keyframes slideInBanner {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  color: #fff;
  margin-bottom: 16px;
  font-size: 1rem;
  text-align: center;
}
.cookie-banner-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: var(--radius-md);
  border: none;
  padding: 10px 20px;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  transition: background 0.16s, color 0.13s, transform 0.12s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--green-accent);
  color: #fff;
}
.cookie-btn.secondary {
  background: #fff;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: var(--natural-brown);
  color: #fff;
  border-color: var(--natural-brown);
}

/* Cookie modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(55,67,74,0.82);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: initial;
}
.cookie-modal-content {
  background: #fff;
  color: var(--primary);
  border-radius: var(--radius-lg);
  min-width: 320px;
  max-width: 430px;
  box-shadow: 0 13px 44px 0 rgba(64,97,64,.16);
  padding: 32px 24px 24px 24px;
  position: relative;
  animation: popInModal 0.41s cubic-bezier(.7,1.39,.35,.95);
}
@keyframes popInModal {
  from { transform: scale(0.6) translateY(60px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-content h2 {
  font-size: 1.22rem;
  color: var(--green-accent);
  margin-bottom: 10px;
}
.cookie-categories {
  margin: 0 0 15px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-cat {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1.05rem;
}
.cookie-toggle {
  accent-color: var(--green-accent);
  width: 19px;
  height: 19px;
}
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 10px;
}
.cookie-modal-close {
  position: absolute;
  top: 17px;
  right: 20px;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--green-accent);
}
@media (max-width: 420px) {
  .cookie-modal-content {
    min-width: 0;
    width: 97vw;
    padding: 14vw 4vw 9vw 4vw;
  }
}

/* --- RESPONSIVE SECTIONS --- */
@media (max-width: 600px) {
  .container {
    padding: 0 6px;
  }
  h1 { font-size: 1.56rem; }
  h2 { font-size: 1.19rem; }
}

/* --- FOCUS & ACCESSIBILITY --- */
a:focus, button:focus, .cta-button:focus, .cookie-btn:focus, .mobile-menu-close:focus {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* --- CUSTOM ORGANIC DECORATIVE SHAPES --- */
/* You can use extra classes like .organic-leaf, .organic-blob etc. as needed. Here just few examples: */
.organic-leaf {
  background: #eafae0;
  border-radius: 60% 52% 63% 54% / 60% 54% 53% 64%;
}
.organic-blob {
  background: #b3daa9;
  border-radius: 54% 46% 63% 47% / 60% 64% 53% 47%;
}

/* --- MISC --- */
::-webkit-scrollbar {
  width: 9px;
  background: #e8ecd7;
}
::-webkit-scrollbar-thumb {
  background: #b9c3ae;
  border-radius: 6px;
}

/* --- BUTTON & FORM STYLES --- */
button, .cta-button, .cta-link, .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
}
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  border: 1.3px solid #c2bead;
  padding: 10px 14px;
  background: #fff;
  color: var(--primary);
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--accent);
}

/* --- SUCCESS/MESSAGE --- */
.thank-you {
  text-align: left;
  background: linear-gradient(85deg, #e8ecd7 0%, #fff 95%);
}

/* --- Z-INDEX CONTROL --- */
.header-flex, .mobile-menu, .cookie-consent-banner, .cookie-modal {
  z-index: 150;
}

/* --- MINIMUM MARGIN BETWEEN CARDS/SECTIONS --- */
.card, .testimonial-card, .section, .about, .philosophy, .service-list, .legal, .consultation-highlight, .contact-form, .store-info, .catalog-listing, .catalog-highlights, .order-info, .inspiration-list, .seasonal-trends, .call-to-action {
  margin-bottom: 20px;
}

/* --- PREVENT OVERLAP & FLEX CONFLICTS --- */
.card, .testimonial-card, .card-container > * {
  margin-right: 0 !important;
}

/* --- ANIMATIONS & MICRO-INTERACTIONS --- */
.cta-button, .cta-link, .cookie-btn, .tag, .feature-grid li, .card, .testimonial-card {
  transition: background 0.16s, color 0.13s, box-shadow 0.18s, transform 0.12s;
}

/* --- END OF CSS --- */
