/* 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%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #23272E;
  background-color: #F6F4F0;
  font-family: 'Open Sans', Georgia, serif;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #23272E;
  text-decoration: none;
  transition: color 0.3s;
}
a:hover, a:focus {
  color: #81A684;
}
ul, ol {
  padding-left: 20px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Georgia, serif;
  color: #23272E;
  font-weight: 600;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  margin-bottom: 8px;
}
p {
  margin-bottom: 14px;
  color: #33352C;
}
strong {
  font-weight: 600;
  color: #23272E;
}

/* CONTAINER & LAYOUT */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.text-section {
  margin-bottom: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 24px 0 rgba(35,39,46,0.05), 0 1.5px 8px 0 rgba(129,166,132,0.05);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ACTION BUTTONS */
.cta-button {
  background: #23272E;
  color: #fff;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 36px;
  border-radius: 32px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(129,166,132,0.09);
  letter-spacing: 0.02em;
  margin-top: 12px;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  display: inline-block;
  outline: none;
}
.cta-button:hover, .cta-button:focus {
  background: #81A684;
  color: #23272E;
  box-shadow: 0 4px 20px rgba(35,39,46,0.18);
}

/* HEADER & NAV */
header {
  background: #fff;
  padding: 0;
  box-shadow: 0 2px 8px 0 rgba(35,39,46,0.08);
  position: relative;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  gap: 24px;
}
header img {
  height: 44px;
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 1rem;
}
nav a {
  color: #23272E;
  font-family: 'Montserrat', Georgia, serif;
  padding: 8px 16px;
  border-radius: 18px;
  transition: background 0.2s, color 0.2s;
  position: relative;
  z-index: 2;
}
nav a:hover, nav a:focus {
  background: #E2D6C2;
  color: #23272E;
}
nav .cta-button {
  margin: 0 0 0 16px;
}
.mobile-menu-toggle {
  font-size: 2rem;
  background: none;
  border: none;
  color: #23272E;
  cursor: pointer;
  padding: 8px;
  display: none;
  z-index: 120;
}

/* MOBILE NAVIGATION */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.77,0,.18,1);
  box-shadow: 8px 0 60px 0 rgba(35,39,46,0.10);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 0 0 0 0;
}
.mobile-menu.active {
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #23272E;
  cursor: pointer;
  padding: 20px 24px 0 0;
  z-index: 230;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 40px 24px 0 24px;
  width: 100%;
  gap: 24px;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: 'Montserrat', serif;
  padding: 19px 0;
  color: #23272E;
  border-bottom: 1px solid #E2D6C2;
  width: 100%;
  display: block;
  text-align: left;
  background: none;
  border-radius: 0px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E2D6C2;
  color: #23272E;
}

/* FOOTER */
footer {
  background: #23272E;
  color: #fff;
  padding: 48px 0 32px 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 40px;
}
footer nav {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
footer nav a {
  color: #E2D6C2;
  font-size: 1rem;
  font-family: 'Montserrat', serif;
  padding: 4px 0;
  border-radius: 0;
  background: none;
}
footer nav a:hover, footer nav a:focus {
  text-decoration: underline;
  background: none;
  color: #81A684;
}
footer .text-section p {
  color: #E2D6C2;
  font-size: 0.98rem;
}
footer img {
  height: 42px;
}

/* SECTION / FLEX LAYOUTS */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}
.feature-grid > div {
  background: #FBFAF7;
  border-radius: 18px;
  box-shadow: 0 1px 12px 0 rgba(129,166,132,0.04);
  padding: 32px 20px;
  flex: 1 1 260px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.feature-grid > div:hover {
  box-shadow: 0 4px 24px rgba(129,166,132,0.17);
  transform: translateY(-3px) scale(1.01);
}
.feature-grid img {
  width: 52px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(35,39,46,0.07);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  gap: 14px;
  min-width: 200px;
}
.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: #FBFAF7;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(35,39,46,0.06);
  margin-bottom: 20px;
  flex: 1 1 320px;
  min-width: 220px;
  transition: box-shadow 0.3s, background 0.3s;
}
.testimonial-card p {
  color: #23272E;
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 0;
}
.testimonial-card span {
  display: block;
  font-size: 0.97rem;
  color: #81A684;
  margin-top: 8px;
}
.testimonial-card:hover {
  box-shadow: 0 4px 24px rgba(129,166,132,0.13);
  background: #E2D6C2;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background: #FBFAF7;
  border-radius: 14px;
  box-shadow: 0 1.5px 6px 0 rgba(129,166,132,0.05);
}

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 10px;
}
.contact-details li {
  display: flex;
  align-items: center;
  font-size: 1.08rem;
  color: #23272E;
}
.contact-details img {
  height: 22px;
  margin-right: 14px;
}
.contact-details a {
  color: #81A684;
  text-decoration: underline;
}
.contact-details a:hover {
  color: #23272E;
}

/* TYPOGRAPHY SCALE */
@media (min-width: 521px) {
  h1 { font-size: 2.9rem; }
  h2 { font-size: 2.1rem; }
  h3 { font-size: 1.19rem; }
  body { font-size: 17px; }
}
@media (min-width: 900px) {
  h1 { font-size: 3.1rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.23rem; }
  body { font-size: 18px; }
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #23272E;
  color: #fff;
  z-index: 1000;
  padding: 26px 18px 26px 18px;
  box-shadow: 0 -2px 16px rgba(35,39,46,0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-size: 1rem;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  animation: fadeBannerIn 0.7s;
}
@keyframes fadeBannerIn {
  0% { opacity:0; transform: translateY(40px); }
  100% { opacity:1; transform: translateY(0px); }
}
.cookie-banner p {
  color: #fff;
  margin-bottom: 5px;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner .cookie-btn {
  background: #E2D6C2;
  color: #23272E;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 22px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(129,166,132,0.06);
  margin: 0 2px;
  transition: background 0.22s, color 0.22s;
}
.cookie-banner .cookie-btn.accept {
  background: #81A684;
  color: #fff;
}
.cookie-banner .cookie-btn.reject {
  background: #fff;
  color: #23272E;
  border: 1px solid #E2D6C2;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #23272E;
  color: #fff;
}
.cookie-banner .cookie-btn.settings {
  background: transparent;
  border: 1.5px solid #E2D6C2;
  color: #E2D6C2;
}
.cookie-banner .cookie-btn.settings:hover {
  background: #E2D6C2;
  color: #23272E;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  background: #fff;
  color: #23272E;
  z-index: 1200;
  border-radius: 18px;
  box-shadow: 0 8px 60px rgba(35,39,46,0.20);
  padding: 36px 30px;
  min-width: 300px;
  min-height: 260px;
  transform: translate(-50%, -50%) scale(0.98);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, transform 0.35s, visibility 0.32s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.cookie-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal h3 {
  color: #23272E;
  font-size: 1.19rem;
  font-family: 'Montserrat', serif;
  margin-bottom: 0;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #23272E;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  margin-bottom: 8px;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 14px;
  margin-top: 6px;
}
.cookie-modal .cookie-btn {
  padding: 9px 18px;
  font-size: 0.97rem;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 2rem;
  background: none;
  border: none;
  color: #23272E;
  cursor: pointer;
  z-index: 1400;
}

/* MODAL OVERLAY */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,39,46,0.38);
  z-index: 1199;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.23s, visibility 0.21s;
}
.cookie-modal.active + .cookie-modal-overlay {
  opacity: 1;
  visibility: visible;
}

/* FORM ELEMENTS */
input, textarea, select {
  font-family: inherit;
  border-radius: 6px;
  border: 1.2px solid #E2D6C2;
  padding: 12px 13px;
  font-size: 1rem;
  outline: none;
  transition: border 0.22s;
  margin-top: 7px;
}
input:focus, textarea:focus, select:focus {
  border-color: #81A684;
}

/* LISTS and TEXT */
ul li {
  margin-bottom: 10px;
}
ol li {
  margin-bottom: 8px;
}

/* RESPONSIVE */
@media (max-width: 990px) {
  .container { padding: 0 12px; }
  .feature-grid, .card-container, .content-grid { gap: 16px; }
  .section { padding: 30px 11px; }
  .feature-grid > div, .card { padding: 23px 12px; }
}
@media (max-width: 768px) {
  .header nav { display: none; }
  .mobile-menu-toggle { display: inline-block; }
  .container { padding: 0 7px; }
  .feature-grid, .card-container, .content-grid { flex-direction: column; gap: 20px; }
  .feature-grid > div, .card, .testimonial-card, .feature-item { min-width: auto; }
  .text-image-section { flex-direction: column; gap: 20px; }
  footer .container { flex-direction: column; align-items: stretch; gap: 29px; }
  nav { display: none; }
}
@media (max-width: 520px) {
  .section { margin-bottom: 36px; padding: 16px 4px; }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.2rem; }
  .feature-grid > div, .card, .testimonial-card, .feature-item {
    padding: 16px 7px;
    border-radius: 10px;
  }
  .cookie-modal { padding: 17px 10px; min-width: 96vw; }
  .cookie-banner {
    padding: 14px 3px 18px 3px;
    font-size: 0.93rem;
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
  }
}

/* MICRO-INTERACTIONS */
.card:hover {
  box-shadow: 0 8px 28px 0 rgba(129,166,132,0.16);
  z-index: 10;
  transition: box-shadow 0.28s, transform 0.28s;
  transform: translateY(-3px) scale(1.015);
}
.card:active {
  transform: scale(1.00);
}
.feature-grid > div:active, .testimonial-card:active {
  transform: scale(0.99);
}

/* UTILS */
[aria-label][tabindex]:focus {
  outline: 2px solid #81A684;
  outline-offset: 1px;
}

::-webkit-input-placeholder, ::placeholder {
  color: #9E988B;
  opacity: 1;
}

/* Elegant scrollbars */
body {
  scrollbar-width: thin;
  scrollbar-color: #E2D6C2 #FBFAF7;
}
body::-webkit-scrollbar {
  width: 8px;
}
body::-webkit-scrollbar-thumb {
  background: #E2D6C2;
  border-radius: 12px;
}
body::-webkit-scrollbar-track {
  background: #FBFAF7;
}

/* Hide scroll when modal is open */
body.modal-open {
  overflow: hidden;
}

/* Fallbacks for custom properties (if needed) */
:root {
  --primary: #23272E;
  --secondary: #E2D6C2;
  --accent: #81A684;
  --font-display: 'Montserrat', Georgia, serif;
  --font-body: 'Open Sans', Georgia, serif;
}
