/* --- CSS RESET & NORMALIZE --- */
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: #fff;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: #25432c;
  background: #f7f7f5;
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 400;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
  border: none;
}
a {
  color: #25432c;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #e0af5b;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}
button {
  border: none;
  background: none;
  cursor: pointer;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin-top: 0;
  color: #25432c;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.375rem; margin-bottom: 12px; }
h4 { font-size: 1.125rem; }
p, li, .text-section ul li {
  font-size: 1rem;
  line-height: 1.7;
  color: #274537;
}
strong {
  color: #25432c;
  font-weight: 700;
}

/* --- BRAND COLOR PALETTE (for easy reuse) --- */
:root {
  --primary: #25432c;
  --primary-light: #33653b;
  --secondary: #e0af5b;
  --secondary-dark: #a87b28;
  --accent: #f7f7f5;
  --white: #fff;
  --shadow: rgba(37,67,44,0.09);
}

/* --- CONTAINER --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* --- SECTION LAYOUTS & SPACING --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.hero {
  background: var(--secondary);
  color: var(--primary);
  padding: 64px 0 48px 0;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 60px;
  box-shadow: 0 4px 24px var(--shadow);
  min-height: 320px;
  position: relative;
}
.hero h1,
.hero h2 {
  font-family: 'Montserrat', cursive, sans-serif;
  color: var(--primary);
  font-size: 2.4rem;
  line-height: 1.18;
  background: linear-gradient(90deg, #25432c 70%, #e0af5b 96%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.hero p {
  color: #25432c;
  opacity: 0.93;
  font-size: 1.21rem;
  margin-bottom: 28px;
}

.section:not(.hero) {
  background: var(--white);
  border-radius: 32px 44px 20px 24px/28px 24px 44px 32px;
  box-shadow: 0 2px 16px var(--shadow);
  margin-bottom: 60px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  align-items: flex-start;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 0;
}

/* --- FLEXBOX PATTERNS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--accent);
  border-radius: 26px;
  box-shadow: 0 2px 16px var(--shadow);
  padding: 28px 24px;
  flex: 1 1 285px;
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(37,67,44,0.20);
  transform: translateY(-4px) scale(1.018);
}
.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(--accent);
  border-radius: 22px 36px 14px 14px/20px 28px 42px 32px;
  box-shadow: 0 1px 8px var(--shadow);
  margin-bottom: 24px;
  min-width: 260px;
  max-width: 490px;
  position: relative;
  border: 2px solid var(--secondary);
  color: #25432c;
}
.testimonial-card p {
  color: #25432c;
  font-size: 1.08rem;
  margin: 0;
}
.testimonial-meta {
  margin-top: 12px;
  font-size: 0.98rem;
  color: var(--primary);
  font-weight: bold;
  opacity: 0.87;
  font-family: 'Montserrat', sans-serif;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.features ul, .services ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 0;
  margin-bottom: 0;
}
.features li, .services li {
  flex: 1 1 250px;
  background: var(--accent);
  padding: 24px 20px;
  border-radius: 25px 30px 19px 25px/22px 32px 32px 19px;
  box-shadow: 0 1px 8px var(--shadow);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  transition: box-shadow 0.18s, transform 0.18s;
  position: relative;
}
.features li:hover, .services li:hover {
  box-shadow: 0 6px 20px rgba(37,67,44,0.14);
  transform: translateY(-4px) scale(1.015);
  z-index: 1;
}
.features li img, .services li img {
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
  filter: drop-shadow(0 1px 2px var(--shadow));
}
.features li h3, .services li h3 {
  font-family: 'Montserrat', cursive, sans-serif;
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: var(--primary);
}
.features li p, .services li p {
  font-size: 1rem;
  color: #274537;
}
.services ul {
  gap: 24px;
}
.services li strong {
  color: var(--secondary-dark);
}

/* --- BUTTONS --- */
.button,
.button.primary,
.button.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.09rem;
  letter-spacing: 0.03em;
  padding: 0.72em 2.1em;
  border-radius: 22px 42px 18px 28px / 16px 62px 22px 18px;
  box-shadow: 0 1px 8px var(--shadow);
  border: none;
  outline: none;
  font-weight: bold;
  cursor: pointer;
  line-height: 1.18;
  margin: 9px 0;
  transition: background 0.22s, color 0.2s, box-shadow 0.19s, transform 0.16s;
  text-decoration: none;
}
.button.primary {
  background: var(--primary);
  color: var(--secondary);
}
.button.secondary {
  background: var(--secondary);
  color: var(--primary);
}
.button.primary:hover,
.button.primary:focus {
  background: var(--primary-light);
  color: var(--secondary);
  box-shadow: 0 3px 14px rgba(37,67,44,0.16);
  transform: translateY(-2px) scale(1.024);
}
.button.secondary:hover,
.button.secondary:focus {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 3px 15px rgba(224, 175, 91, 0.17);
  transform: translateY(-2px) scale(1.024);
  border: 1.5px solid var(--secondary);
}
.button:active {
  transform: scale(0.98);
  box-shadow: 0 0 5px var(--shadow);
}

/* --- HEADER & NAV --- */
header {
  background: var(--white);
  box-shadow: 0 2px 12px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 0;
}
header a img {
  height: 38px;
  width: auto;
  margin: 8px 0;
}

.main-nav,
.mobile-nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  padding: 6px 6px;
  border-radius: 12px;
  transition: background 0.14s, color 0.14s;
  margin-right: 0;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}
.main-nav .button.primary {
  margin-left: 16px;
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--primary);
  background: transparent;
  border: none;
  padding: 8px 14px;
  margin-left: 16px;
  border-radius: 12px;
  transition: background 0.17s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--secondary);
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  max-width: 380px;
  height: 100vh;
  background: var(--accent);
  box-shadow: -4px 0 32px rgba(37,67,44,0.11);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.62,.14,.27,1.17);
  z-index: 999;
  padding-top: 32px;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.4rem;
  color: var(--primary);
  background: transparent;
  border: none;
  padding: 6px 18px 6px 6px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.17s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
  align-items: flex-start;
  padding: 0 32px 16px 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.22rem;
  color: var(--primary);
  padding: 12px 0;
  border-radius: 8px;
  width: 100%;
  transition: background 0.13s, color 0.12s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary-light);
}
@media (max-width: 991px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 992px) {
  .mobile-menu,
  .mobile-menu-close {
    display: none !important;
  }
}

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: var(--accent);
  padding-top: 32px;
  padding-bottom: 32px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 13px;
  flex: 1 1 170px;
}
.footer-links a {
  color: var(--secondary);
  font-family: 'Montserrat', cursive, sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 2px;
  transition: color 0.13s;
}
.footer-links a:hover,
.footer-links a:focus {
  color: var(--white);
}
.brand-contact {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  flex: 2 1 320px;
}
.brand-contact img {
  width: 46px;
  height: 46px;
}
.brand-contact div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.brand-contact p {
  color: var(--accent);
  font-size: 1rem;
  margin: 0 0 6px 0;
  display: flex;
  align-items: center;
  gap: 9px;
}
.social-media {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  flex: 1 0 120px;
  margin-top: 10px;
}
.social-media a img {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 2px 6px var(--shadow));
  transition: filter 0.2s, transform 0.16s;
}
.social-media a:hover img {
  filter: brightness(1.25) drop-shadow(0 2px 8px #e0af5b);
  transform: scale(1.12);
}

/* --- USER RATING --- */
.user-rating-summary {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  font-size: 1.14rem;
  color: var(--primary-light);
  font-weight: 700;
  background: var(--accent);
  border-radius: 20px;
  padding: 8px 18px;
  box-shadow: 0 0.5px 4px #e0af5b44;
}
.user-rating-summary img {
  width: 30px;
  height: 30px;
}

/* --- LEGAL/COOKIE LAYOUT --- */
.legal {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.text-section ul {
  margin: 0 0 16px 0;
  padding-left: 0;
}
.text-section ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}
.text-section ul li:before {
  content: '•';
  position: absolute;
  left: 2px;
  color: var(--secondary);
  font-size: 1.25em;
  vertical-align: middle;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--secondary);
  color: #25432c;
  z-index: 1500;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 32px;
  box-shadow: 0 -4px 32px var(--shadow);
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  animation: fadeBannerIn 0.45s cubic-bezier(.28,.97,.58,1.01); /* smooth */
}
@keyframes fadeBannerIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 13px;
  align-items: center;
}
.cookie-banner .button,
.cookie-banner .cookie-settings-btn {
  font-size: 1rem;
  min-width: 114px;
  margin: 0;
}
.cookie-banner .cookie-settings-btn {
  background: #fff;
  color: #25432c;
  border: 2px solid #a87b28;
  border-radius: 9px 14px 8px 16px/11px 11px 19px 13px;
  transition: background 0.16s, color 0.16s;
  padding: 0.6em 1.5em;
}
.cookie-banner .cookie-settings-btn:hover {
  background: #e0af5b;
  color: #fff;
}

/* --- COOKIE MODAL --- */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 1800;
  background: var(--accent);
  box-shadow: 0 6px 32px #25432c29;
  border-radius: 32px 18px 22px 44px;
  max-width: 90vw;
  width: 410px;
  padding: 34px 28px 24px 32px;
  transform: translate(-50%, -50%);
  display: none;
  flex-direction: column;
  gap: 22px;
  color: #25432c;
  animation: cookieModalAppear 0.38s cubic-bezier(.5,1.71,.62,1.11);
}
@keyframes cookieModalAppear {
  from { transform: translate(-50%, 30%); opacity: 0; }
  to   { transform: translate(-50%, -50%); opacity: 1; }
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal h2 {
  font-size: 1.28rem;
  color: var(--primary);
  margin-bottom: 10px;
}
.cookie-modal p {
  margin-bottom: 5px;
}
.cookie-modal-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--primary);
  width: 1.2em;
  height: 1.2em;
}
.cookie-modal .button {
  margin-top: 16px;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 19px;
  right: 19px;
  background: none;
  font-size: 1.4rem;
  color: #25432c;
  border: none;
  padding: 4px;
  cursor: pointer;
}

/* --- TYPOGRAPHY (CREATIVE/ARTISTIC) --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600;700&display=swap');

h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 1px #e0af5b2a;
}
h1 {
  font-family: 'Montserrat', cursive, sans-serif;
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.02em;
}
h2 {
  font-size: 1.8rem;
  font-weight: 700;
}
h3 {
  font-size: 1.18rem;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.035em;
  font-weight: 600;
  color: var(--primary-light);
}

/* --- RESPONSIVE LAYOUTS --- */
@media (max-width: 1024px) {
  .container {
    max-width: 96vw;
    padding: 0 14px;
  }
  footer .container {
    flex-direction: column;
    gap: 38px;
  }
}
@media (max-width: 868px) {
  .hero {
    padding: 40px 0 18px;
  }
  .section {
    padding: 24px 6px;
  }
  .brand-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }
}
@media (max-width: 640px) {
  .container {
    padding: 0 7px;
  }
  .section, .legal {
    padding: 18px 3px;
    margin-bottom: 36px;
  }
  .hero {
    padding: 26px 0 10px 0;
    border-radius: 14px 20px 14px 22px;
  }
  .features ul, .services ul, .testimonial-slider {
    gap: 12px;
  }
  .testimonial-card {
    min-width: 98vw;
    max-width: 99vw;
    border-radius: 14px 22px 20px 16px;
    padding: 13px;
  }
  .features li, .services li {
    border-radius: 16px 22px 11px 22px/13px 20px 24px 11px;
    padding: 13px 7px;
  }
  .user-rating-summary {
    padding: 8px 8px;
    font-size: 1.05rem;
    border-radius: 10px;
  }
}
@media (max-width: 768px) {
  .content-grid, .card-container {
    flex-direction: column;
    gap: 13px;
  }
  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }
  .brand-contact {
    flex-direction: column;
    gap: 11px;
    align-items: flex-start;
  }
  .social-media {
    flex-direction: row;
    margin-top: 8px;
    justify-content: flex-start;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }
  .features ul, .services ul {
    flex-direction: column;
    gap: 13px;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 13px;
  }
  .hero h1 {
    font-size: 2rem;
  }
}

/* --- CUSTOM INTERACTIONS / EFFECTS --- */
.card, .features li, .services li, .testimonial-card {
  transition: box-shadow 0.21s, transform 0.19s;
}
.card:hover, .features li:hover, .services li:hover, .testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(224,175,91,0.15);
  transform: scale(1.011) translateY(-2.5px) rotate(-1deg);
  z-index: 2;
}
.nav a:focus, .mobile-nav a:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}
.button:focus {
  outline: 2.5px solid var(--secondary);
  outline-offset: 2px;
}

/* --- MISC SPACING/UTILITY CLASSES --- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 0.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }

/* Hide during load for script controlled elements */
.js-hidden { display: none !important; }

/* --- ENSURE NO CONTENT OVERLAP --- */
.features li, .services li, .testimonial-card, .card {
  margin-bottom: 20px;
}
[class*='-grid'], .card-container, .testimonial-slider {
  gap: 20px;
}

/* --- CREATIVE ARTISTIC ACCENTS --- */
.hero:before {
  content: '';
  position: absolute;
  top: -44px;
  left: -30px;
  width: 120px;
  height: 96px;
  background: var(--secondary);
  opacity: 0.35;
  border-radius: 50% 32% 60% 28%;
  filter: blur(18px);
  z-index: 0;
  pointer-events: none;
}
.section:after {
  content: '';
  position: absolute;
  right: -33px;
  bottom: -33px;
  width: 90px;
  height: 75px;
  background: var(--secondary);
  opacity: 0.12;
  border-radius: 40% 58% 33% 61%;
  z-index: 0;
  filter: blur(9px);
  pointer-events: none;
}
.section {
  position: relative;
}

/* --- FORM ELEMENTS (if any) --- */
input, textarea, select {
  border-radius: 14px 22px 11px 22px/13px 20px 24px 11px;
  border: 1.5px solid #e0af5b;
  background: var(--accent);
  padding: 12px 14px;
  font-size: 1.04rem;
  margin-bottom: 13px;
  box-shadow: 0 1px 4px #e0af5b22;
  transition: border 0.16s, box-shadow 0.13s;
}
input:focus, textarea:focus, select:focus {
  border: 2px solid var(--primary);
  box-shadow: 0 2px 8px #e0af5b44;
}

/* --- ACCESSIBLE HIDDEN --- */
.sr-only {
  position: absolute !important;
  height: 1px; width: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* --- END --- */
