/* CSS RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #3B2B22;
  background: #F5F3EF;
  line-height: 1.7;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #3B2B22;
  text-decoration: none;
  transition: color .2s;
}
a:focus-visible {
  outline: 2px dashed #6D9C5A;
  outline-offset: 2px;
}
button {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}
ul, ol {
  list-style-position: inside;
}

/* BRAND COLORS & TYPOGRAPHY */
:root {
  --color-primary: #3B2B22;
  --color-secondary: #D9A05B;
  --color-accent: #FFFFFF;
  --color-green: #6D9C5A;
  --color-bg: #F5F3EF;
  --color-brown-light: #BAA894;
  --color-brown-dark: #2C231A;
  --color-gray: #EAE6DF;
  --color-shadow: rgba(59,43,34,0.05);
  --radius-card: 22px;
  --radius-btn: 99px;
  --shadow-card: 0 2px 16px var(--color-shadow);
  --transition: .25s cubic-bezier(.6,.15,.2,1);
}
@media (min-width: 768px) {
  html { font-size: 17px; }
}
@media (min-width: 1200px) {
  html { font-size: 18px; }
}
h1, .hero h1 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--color-primary);
  font-size: 2.2rem;
  margin-bottom: 20px;
}
h2 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-weight: 700;
  letter-spacing: -1.5px;
  color: var(--color-primary);
  font-size: 1.6rem;
  margin-bottom: 18px;
}
h3 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: 10px;
}
p, li, ul, ol {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
}
.brand-tagline, .tagline {
  display: block;
  color: var(--color-green);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
  margin-bottom: 28px;
}

/* LAYOUTS & CONTAINERS */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-accent);
  border-radius: var(--radius-card);
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  padding: 26px 22px;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 36px rgba(59,43,34,0.13);
  transform: translateY(-2px) scale(1.015);
}
.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;
  gap: 20px;
  padding: 20px;
  background: #fffbe7;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 400px;
  transition: box-shadow var(--transition), border-color var(--transition);
  border-left: 8px solid var(--color-green);
}
.testimonial-card p {
  color: #2C231A;
  font-size: 1.04rem;
  margin-bottom: 8px;
}
.testimonial-card span {
  color: #3B2B22;
  font-size: .97rem;
  font-weight: 600;
  opacity: .65;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.rating-summary {
  font-family: 'Montserrat', sans-serif;
  color: var(--color-green);
  font-size: 1.09rem;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FEATURES GRID (used variously) */
.features-grid, .features .features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.feature {
  background: var(--color-accent);
  border-radius: var(--radius-card);
  padding: 28px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: var(--shadow-card);
  gap: 11px;
  min-width: 240px;
  flex: 1 1 230px;
  transition: box-shadow var(--transition), transform var(--transition);
  margin-bottom: 14px;
  border-left: 5px solid var(--color-green);
}
.feature img {
  margin-bottom: 7px;
  width: 42px;
  height: 42px;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 12px 42px rgba(59,43,34,0.11);
  transform: translateY(-2px) scale(1.011);
}

/* SECTION & HERO (Organic Shapes & Warm BGs) */
.hero {
  background: linear-gradient(120deg, #fef6e4 60%, #e4eddd 100%);
  border-bottom-left-radius: 120px 70px;
  border-bottom-right-radius: 120px 70px;
  min-height: 260px;
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  box-shadow: 0 10px 40px 0 rgba(57,76,50,0.06);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero h1 {
  font-size: 2.3rem;
  color: #2C231A;
}

/* HEADER/NAVIGATION (with mobile burger) */
header {
  background: #fffbe7;
  box-shadow: 0 3px 22px rgba(59,43,34,0.07);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 105;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
}
.logo {
  display: block;
  margin-right: 18px;
  width: 165px;
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: var(--color-primary);
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background .19s, color .19s;
}
nav a:hover,
nav a.active {
  background: #e4eddd;
  color: var(--color-green);
}
.cta.primary {
  background: var(--color-green);
  color: var(--color-accent);
  border-radius: var(--radius-btn);
  padding: 12px 32px;
  font-family: 'Montserrat',sans-serif;
  font-weight: 700;
  font-size: 1.07rem;
  margin-left: 30px;
  box-shadow: 0 2px 12px rgba(109,156,90,0.08);
  letter-spacing: 0.7px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition); 
  outline: none;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--color-secondary);
  color: #3B2B22;
  box-shadow: 0 4px 18px rgba(180,140,80,.11);
}

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: var(--color-primary);
  margin-left: 16px;
  padding: 6px 10px;
  border-radius: 50%;
  transition: background var(--transition);
  z-index: 210;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #e4eddd;
  color: var(--color-green);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: rgba(245, 243, 239, 0.97);
  box-shadow: 0 0 48px rgba(59,43,34,0.16);
  z-index: 9999;
  transform: translateX(110vw);
  opacity: 0;
  pointer-events: none;
  transition: transform .38s cubic-bezier(.87, .02, .43, 1.01), opacity .38s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  margin: 30px 30px 0 0;
  background: #fffbe7;
  color: var(--color-green);
  border-radius: 50%;
  padding: 9px 14px;
  border: none;
  box-shadow: 0 2px 10px rgba(109,156,90,0.10);
  transition: background var(--transition), color var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-green);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  margin: 38px 0 0 38px;
}
.mobile-nav a {
  font-size: 1.23rem;
  padding: 11px 0 11px 9px;
  color: var(--color-primary);
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  transition: background 0.21s, color 0.21s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e4eddd;
  color: var(--color-green);
}
@media (min-width: 992px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
  nav { display: flex !important; }
}
@media (max-width: 991px) {
  nav { display: none; }
  .cta.primary { margin-left: auto; }
}
@media (max-width: 700px) {
  .mobile-nav { margin-left: 16px; }
}

/* FOOTER */
footer {
  background: #e4eddd;
  padding: 45px 0 20px 0;
  margin-top: 80px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.footer-links a {
  color: #706043;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.16s;
}
.footer-links a:hover { color: var(--color-green); }
.footer-contact {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
  color: #706043;
  font-size: .99rem;
  margin-bottom: 9px;
}
.footer-contact img {
  margin-right: 6px;
  vertical-align: middle;
}
.brand-footer {
  color: #958a7c;
  font-size: .92rem;
  font-family: 'Montserrat', sans-serif;
}

/* ABOUT, CONTACT, NEWS, SIMPLE PAGES */
.about, .contact, .services, .features {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 40px 80px 40px 60px / 60px 30px 80px 40px;
  background: #F7F5F0;
  box-shadow: 0 2px 16px rgba(59,43,34,0.03);
}
@media (max-width: 600px) {
  .about, .contact, .services, .features {
    padding: 28px 8px;
    border-radius: 22px 40px 22px 28px / 38px 17px 25px 22px;
  }
}

/* FAQ, NEWS-LIST, TIPS, ETC */
.faq, .news-list, .tips-list, .coffee-moments {
  background: #fffbe5;
  border-radius: var(--radius-card);
  padding: 18px 18px 14px 22px;
  margin-bottom: 18px;
  box-shadow: 0 1px 9px rgba(189,144,64,0.05);
  font-size: 1rem;
}
.faq h3 { font-size: 1.08rem; color: var(--color-green); margin-bottom: 6px; }
.tips-list li, .coffee-moments li { margin-bottom: 9px; }

/* SOCIAL LINKS */
.social-links {
  display: flex;
  gap: 18px;
  margin-top: 13px;
}
.social-links a img {
  filter: grayscale(60%) sepia(10%); 
  opacity: 0.65;
  transition: filter 0.19s, opacity 0.19s;
}
.social-links a:hover img {
  filter: none;
  opacity: 0.98;
}

/* UTILITY & ORGANIC VISUALS */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* SELECT ELEMENTS, FORMS, ETC */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border: 1.8px solid var(--color-green);
  border-radius: 13px;
  padding: 11px 13px;
  margin-bottom: 20px;
  background: #fef6e4;
  color: var(--color-primary);
  box-shadow: 0 1px 6px rgba(59,43,34,0.06);
  transition: border-color .18s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-secondary);
  outline: none;
}

/* BUTTONS - SYSTEM */
button, .btn, .cta {
  display: inline-block;
  background: var(--color-green);
  color: #fff;
  border-radius: var(--radius-btn);
  padding: 10px 26px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 8px rgba(109,156,90,0.07);
  font-size: 1.04rem;
  letter-spacing: .6px;
  border: none;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  outline: none;
}
button:hover, .btn:hover, .cta:hover, button:focus, .btn:focus, .cta:focus {
  background: var(--color-secondary);
  color: #3B2B22;
  box-shadow: 0 6px 24px rgba(218,160,91,0.13);
}

/* TABLES */
table { width: 100%; border-collapse: collapse; margin: 18px 0; }
th, td { padding: 12px 18px; border-bottom: 1px solid #c5c0ba; text-align: left; }
th { background: #e4eddd; font-weight: bold; }

/* ANIMATIONS & TRANSITIONS */
.section, .card, .feature, .testimonial-card {
  transition: box-shadow .25s, transform .23s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 36px rgba(59,43,34,0.10);
  transform: translateY(-1px) scale(1.01);
}
 
/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
  .container { max-width: 92vw; }
}
@media (max-width: 900px) {
  .features-grid, .testimonial-list, .footer-contact {
    flex-direction: column;
    align-items: stretch;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .hero {
    min-height: 190px;
    border-bottom-left-radius: 60px 36px;
    border-bottom-right-radius: 60px 36px;
    padding-top: 18px;
  }
  .features-grid, .testimonial-list, .footer-contact {
    flex-direction: column;
    gap: 18px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section { flex-direction: column; gap: 16px; }
  .container { padding: 0 4vw; }
}
@media (max-width: 540px) {
  html { font-size: 14px; }
  h1 { font-size: 1.54rem; }
  .hero h1 { font-size: 1.39rem; }
  .brand-tagline, .tagline { font-size: 1rem; }
  .about, .contact, .services, .features {
    padding: 17px 2px;
  }
  .feature,
  .testimonial-card { min-width: 0; padding: 18px 10px; }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fffbe7;
  box-shadow: 0 -2px 30px rgba(59,43,34,0.12);
  z-index: 10110;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 8vw 18px 5vw;
  border-top-left-radius: 36px 18px;
  border-top-right-radius: 86px 34px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  transition: transform .42s, opacity .42s;
}
.cookie-banner button {
  margin: 0 7px 0 0;
  min-width: 120px;
  font-size: 1.01rem;
}
.cookie-banner .accept {
  background: var(--color-green);
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--color-secondary);
  color: #3B2B22 !important;
}
.cookie-banner .reject {
  background: #fff;
  color: #3B2B22;
  border: 2px solid var(--color-green);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #ffe6d6;
  color: var(--color-green);
}
.cookie-banner .settings {
  background: none;
  color: var(--color-green);
  text-decoration: underline;
  padding: 10px 12px;
  border: none;
  font-weight: 600;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  text-decoration: none;
  color: var(--color-secondary);
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(59,43,34,0.3);
  z-index: 10200;
  opacity: 1;
  transition: opacity .32s;
  pointer-events: all;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fffbe7;
  border-radius: 34px 44px 22px 32px;
  box-shadow: 0 9px 39px rgba(59,43,34,0.12);
  padding: 38px 36px 22px 36px;
  max-width: 400px;
  min-width: 280px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  color: var(--color-primary);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal h2 {
  margin-bottom: 14px;
  color: var(--color-green);
  font-size: 1.24rem;
  font-family: 'Montserrat',sans-serif;
}
.cookie-category {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid #e5dec9;
  font-size: .97rem;
}
.cookie-category label {
  font-weight: 500;
  color: var(--color-primary);
}
.cookie-toggle {
  accent-color: var(--color-green);
  width: 22px;
  height: 22px;
}
.cookie-modal .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 11px;
  margin-top: 23px;
}
.cookie-modal button {
  padding: 9px 19px;
  font-size: 1rem;
}

/* ORGANIC SHAPES (DECORATIVE) */
.hero, .about, .features, .services, .contact { 
  position: relative;
  overflow-x: hidden;
}

/* REMOVE UNWANTED OVERLAP & IMPROVE SPACING */
section, .section, .about, .features, .services, .contact {
  margin-bottom: 60px;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 18px;
}

/* SPECIAL CASES */
.trust-signals, .feature-highlights {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #e4eddd;
  border-radius: 15px;
  padding: 11px 20px;
  margin-top: 20px;
  font-family: 'Montserrat',sans-serif;
}
.trust-signals img { height: 28px; margin-right: 8px; }

/* FOCUS STYLES */
:focus-visible {
  outline: 2.4px solid var(--color-green);
  outline-offset: 1.5px;
}
/* Hide scrollbars for mobile menu overlay */
.mobile-menu { scrollbar-width: none; -ms-overflow-style: none; }
.mobile-menu::-webkit-scrollbar { display: none; }

/* Hide cookie banner on print */
@media print {
  .cookie-banner, .cookie-modal-overlay, .mobile-menu { display: none !important; }
}
