/* 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-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  height: 100%;
  font-size: 16px;
}
body {
  min-height: 100vh;
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  color: #2d322f;
  background: #FBFBF9;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* BRAND VARIABLES */
:root {
  --primary: #326C42;
  --primary-dark: #254e31;
  --secondary: #BFDCCD;
  --secondary-light: #e4f2ea;
  --accent: #F7C948;
  --light: #FBFBF9;
  --surface: #FFFFFF;
  --surface-alt: #F5F3EC;
  --muted: #858C87;
  --error: #c0392b;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(36, 45, 40, 0.07);
  --shadow-hover: 0 8px 32px rgba(36, 45, 40, 0.13);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --transition: 0.25s cubic-bezier(.4,0,.2,1);
}

/* TYPOGRAPHY */
h1, .h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 1.13;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
  color: var(--primary);
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--primary);
}
h3, .h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--primary-dark);
}
h4, .h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--primary-dark);
}
p, ul li, ol li, label {
  font-size: 1rem;
  margin-bottom: 12px;
}
strong, b {
  font-weight: 600;
}

blockquote {
  font-family: var(--font-body);
  background: var(--surface-alt);
  border-left: 4px solid var(--accent);
  padding: 18px 20px;
  border-radius: var(--radius);
  margin: 0 0 12px 0;
  color: #212622;
}
blockquote span {
  display: inline-block;
  margin-top: 8px;
  font-style: italic;
  color: var(--muted);
}

/* CONTAINER & WRAPPERS */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}

/* MAIN SECTIONS & SPACING */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow); 
}
section:last-child {
  margin-bottom: 0;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.feature-grid > div {
  flex: 1 1 240px;
  background: var(--surface-alt);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow var(--transition), transform var(--transition);
  min-width: 220px;
}
.feature-grid > div img {
  margin-bottom: 12px;
  max-width: 44px;
  filter: drop-shadow(0 1px 4px rgba(34,34,34,0.07));
}
.feature-grid > div:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px) scale(1.02);
}

/* FLEX PATTERNS */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--surface-alt);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: box-shadow var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-hover);
}
.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;
  margin-bottom: 20px;
  background: #FFF;
  border: 1px solid var(--secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition);
  color: #2d322f;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 12px;
}

.stars-rating {
  color: var(--accent);
  font-size: 1.2rem;
  font-family: var(--font-display);
  letter-spacing: 1px;
  margin-right: 12px;
}

/* BUTTONS & LINKS */
.btn-primary,
.btn-secondary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  border-radius: 999px;
  padding: 12px 32px;
  border: none;
  outline: none;
  display: inline-block;
  margin: 8px 0 0 0;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 2px 8px rgba(36, 45, 40, 0.07);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
  position: relative;
}
.btn-primary::after {
  content: '';
  position: absolute;
  left: -2px; top: -2px; right: -2px; bottom: -2px;
  border-radius: 999px;
  border: 1.5px solid var(--accent);
  opacity: 0.5;
  pointer-events: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 6px 24px rgba(50,108,66,0.18);
}
.btn-secondary {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--secondary);
  color: var(--primary-dark);
  box-shadow: 0 6px 24px rgba(50,108,66,0.10);
}
a.btn-primary, a.btn-secondary {
  text-decoration: none;
}

/* INPUTS & FORMS */
input[type="email"], input[type="search"], textarea {
  font-family: var(--font-body);
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1.5px solid var(--secondary);
  margin-bottom: 12px;
  background: var(--surface-alt);
  color: #23421e;
  font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
input[type="email"]:focus, input[type="search"]:focus, textarea:focus {
  border-color: var(--primary);
  outline: none;
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(50,108,66,0.10);
}
label {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--primary-dark);
  margin-bottom: 6px;
  display: block;
}
form { margin-top: 8px; }

/* HEADER & NAVIGATION */
header {
  background: var(--surface);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 16px;
}
header nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--primary);
  font-size: 1rem;
  padding: 7px 12px;
  border-radius: 999px;
  transition: background var(--transition), color var(--transition);
  position: relative;
}
header nav a:hover, header nav a:focus {
  background: var(--secondary);
  color: var(--primary-dark);
}
header .btn-primary {
  margin-left: 28px;
}
header img {
  height: 40px;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
  margin-left: 16px;
  z-index: 999;
  transition: color var(--transition);
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: var(--accent);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(50,108,66,0.97);
  flex-direction: column;
  align-items: flex-start;
  padding: 44px 30px 30px 30px;
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.8,0,.2,1);
  box-shadow: 0 12px 48px rgba(50,108,66,0.20);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  font-size: 2.2rem;
  color: var(--accent);
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 24px;
  transition: color var(--transition);
  z-index: 9999;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  padding: 10px 6px;
  border-radius: 6px;
  transition: background-color var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--primary-dark);
}

/* Hide normal nav on mobile, show burger */
@media (max-width: 900px) {
  header nav, header .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* MAIN & SECTIONS */
main {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (max-width: 768px) {
  .container { padding: 0 5vw; }
  section, .section {
    padding: 28px 5vw;
    margin-bottom: 36px;
  }
  .feature-grid, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* RESPONSIVE. Reduce gaps and scale text on mobile */
@media (max-width: 450px) {
  h1, .h1 {font-size: 1.32rem; margin-bottom: 16px;}
  h2, .h2 {font-size: 1.1rem; margin-bottom: 12px;}
  h3, .h3 {font-size: 0.99rem;}
  .btn-primary, .btn-secondary {font-size: 0.98rem; padding: 10px 18px;}
  blockquote {padding: 12px 8px; font-size: .99rem;}
  section, .section {padding: 18px 4vw;}
}

/* LISTS & LINKS */
ul {
  margin-bottom: 12px;
}
ul li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  color: #32412e;
}
ul li:before {
  content: '\2022';
  color: var(--accent);
  font-weight: bold;
  display: inline-block; 
  position: absolute;
  left: 0;
}
ol li { margin-left: 22px; }
a {
  color: var(--primary-dark);
  text-decoration-skip: ink;
  transition: color var(--transition), border-bottom var(--transition);
}
a:hover, a:focus {
  color: var(--accent);
}

/* FOOTER */
footer {
  background: var(--primary);
  color: #fff;
  margin-top: 48px;
  padding: 0;
}
footer .container {
  padding: 32px 16px 4px 16px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}
footer nav, footer form, footer div {
  margin-bottom: 8px;
}
footer nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.97rem;
  margin-right: 18px;
  text-decoration: underline dotted 1px;
  transition: color var(--transition);
}
footer nav a:hover, footer nav a:focus {
  color: var(--accent);
}
footer form {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
footer input[type="email"] {
  padding: 8px 10px;
  border-radius: 8px;
  margin-bottom: 0px;
}
footer button.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
  font-size: .99rem;
  margin: 6px 0 0 0;
}
footer button.btn-primary:hover {
  background: #ffe8a3;
  color: var(--primary);
}
footer p {
  margin-bottom: 12px;
  font-size: .98rem;
}
footer img {
  max-height: 36px;
  margin-bottom: 10px;
}
footer > .container > p {
  text-align: center;
  font-size: 0.92rem;
  color: #e0dcc8;
  margin-top: 12px;
  margin-bottom: 0;
}

/* SOCIAL ICONS */
footer a img[alt="Facebook"],
footer a img[alt="Instagram"] {
  width: 28px;
  height: 28px;
  margin-right: 6px;
  fill: var(--accent);
  filter: grayscale(0.25) brightness(1.1) drop-shadow(0 1px 3px rgba(255,255,255,0.2));
  opacity: 0.85;
  transition: filter var(--transition), opacity var(--transition);
}
footer a:hover img[alt="Facebook"],
footer a:hover img[alt="Instagram"] {
  filter: brightness(1.5) drop-shadow(0 1px 6px var(--accent));
  opacity: 1;
}

/* ASIDE & OTHER */
aside {
  background: var(--secondary-light);
  border-radius: var(--radius);
  padding: 18px 16px;
  margin-top: 18px;
  box-shadow: 0 1px 8px rgba(50, 108, 66, 0.05);
  font-size: .99rem;
}
aside h4 {
  color: var(--primary-dark);
  font-size: 1.1rem;
  margin-bottom: 7px;
}
aside ul li:before {
  color: var(--primary);
}

/* CSS FOR FORMS IN FOOTERS */
footer label {
  color: #ffe8a3;
  font-family: var(--font-display);
  font-size: .93rem;
  font-weight: 500;
}
footer input[type="email"] {
  border: 1.25px solid #ffe8a3;
}
footer input[type="email"]:focus {
  border: 1.5px solid var(--accent);
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 2100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: #fffefb;
  box-shadow: 0 -2px 16px rgba(56,56,44,0.08);
  border-top: 2px solid var(--accent);
  padding: 24px 20px 20px 20px;
  gap: 36px;
  font-size: 1rem;
  font-family: var(--font-body);
  color: #322812;
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.35s cubic-bezier(.7,0,.2,1);
}
.cookie-banner.hide {
  opacity: 0;
  visibility: hidden;
  transform: translateY(40px);
}
.cookie-banner p {
  max-width: 580px;
  margin-bottom: 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
  align-items: center;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 8px;
  margin: 0;
  border: none;
  cursor: pointer;
  background: var(--secondary);
  color: var(--primary-dark);
  transition: background var(--transition), color var(--transition);
  box-shadow: 0 2px 12px rgba(50,108,66,0.07);
}
.cookie-banner .accept {
  background: var(--accent);
  color: var(--primary-dark);
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: #ffe08d;
}
.cookie-banner .reject {
  background: var(--surface-alt);
  color: var(--primary-dark);
  border: 1px solid var(--secondary);
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: #ffd4d4;
  color: var(--error);
  border-color: var(--error);
}
.cookie-banner .settings {
  background: #fff;
  border: 1.5px dashed var(--primary);
  color: var(--primary);
}
.cookie-banner .settings:hover,
.cookie-banner .settings:focus {
  background: var(--secondary-light);
  color: var(--primary-dark);
}
@media (max-width: 800px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 20px 6vw;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-actions {
    gap: 12px;
    flex-wrap: wrap;
  }
}

/* COOKIE MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 3000;
  background: rgba(34,44,34,0.63);
  align-items: center;
  justify-content: center;
  height: 100vh;
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-dialog {
  background: #fff;
  padding: 34px 28px 24px 28px;
  border-radius: 20px;
  max-width: 98vw;
  width: 390px;
  min-width: 0;
  box-shadow: 0 8px 32px rgba(22,24,13,0.09);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: cookie-modal-in 0.44s cubic-bezier(.8,0,.2,1);
}
@keyframes cookie-modal-in {
  0% { transform: scale(.85) translateY(60px); opacity: 0.22; } 100% { opacity: 1; transform: none; }
}
.cookie-modal-close {
  position: absolute;
  right: 16px; top: 12px;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--accent);
  cursor: pointer;
  transition: color var(--transition);
}
.cookie-modal-close:hover { color: var(--primary); }
.cookie-modal-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.11rem;
  color: var(--primary);
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  font-size: .99rem;
}
.cookie-category:last-child { border-bottom: 0; }
.cookie-category label {
  flex: 1;
  margin-bottom: 0;
  color: var(--primary-dark); 
  font-weight: 500;
}
.cookie-modal input[type=checkbox]:disabled + .cookie-switch {
  opacity: 0.56;
  filter: grayscale(0.5);
}

/* TOGGLE SWITCH */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
  background: var(--secondary);
  border-radius: 22px;
  transition: background var(--transition);
}
.cookie-switch::before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px 0 rgba(60,60,60,.11);
  transition: left var(--transition), background var(--transition);
}
input[type=checkbox]:checked + .cookie-switch {
  background: var(--accent);
}
input[type=checkbox]:checked + .cookie-switch::before {
  left: 19px;
  background: var(--primary);
}
input[type=checkbox] {
  display: none;
}

/* MODAL CONFIRM BUTTONS */
.cookie-modal .cookie-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 5px;
}
.cookie-modal .cookie-actions button {
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 8px 18px;
}
.cookie-modal .cookie-actions .accept {
  background: var(--primary);
  color: #fff;
  border: none;
}
.cookie-modal .cookie-actions .accept:hover {
  background: var(--primary-dark);
}

/* Responsive Cookie Modal */
@media (max-width: 500px) {
  .cookie-modal-dialog {
    padding: 16px 5vw 9vw 5vw;
    width: 96vw;
    border-radius: 13px;
  }
  .cookie-modal-title { font-size: 1rem; }
  .cookie-modal-close { top: 9px; right: 11px; font-size: 1.42rem;}
}

/* MICRO-INTERACTIONS */
.btn-primary:active, .btn-secondary:active, .cookie-banner button:active {
  transform: scale(0.97);
  opacity: .92;
}
.card:active, .testimonial-card:active {
  transform: scale(0.98);
}

/* SCROLLBAR for luxury feel */
body::-webkit-scrollbar { width: 10px; background: var(--surface-alt); }
body::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 8px; }

/* Gold Accent Details */
h1, h2, h3, h4, .btn-primary::after {
  text-shadow: 0 1px 1px rgba(255, 230, 140, 0.035), 0 2px 6px rgba(247,201,72,0.04);
}
.feature-grid > div, .card, .testimonial-card {
  border: 1.1px solid rgba(247,201,72,0.06);
}

/* Hide outline by default, show only on focus for a11y */
:focus {
  outline: 2.2px solid var(--accent);
  outline-offset: 2px;
}

/* Hide content overflows, prevent HL overlapping */
* {
  box-sizing: border-box;
  overflow-wrap: break-word;
}

/* Ensure NO absolute positioning for content except for visual accents (already confirmed above) */

/* Printed links for accessibility */
@media print {
  a:after { content: " (" attr(href) ")"; }
}
