/* ===============================
   CSS RESET & NORMALIZATION
=============================== */
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,
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.4;
  background: #F7F8F0;
  color: #2E5339;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  border: none;
  max-width: 100%;
  display: block;
}
button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}

/* =================================
   VARIABLE DEFINITIONS (FALLBACKS)
================================= */
:root {
  --color-primary: #2E5339;
  --color-secondary: #A6C48A;
  --color-accent: #F7F8F0;
  --color-dark: #171A17;
  --color-card: #FFF;
  --color-success: #47ba68;
  --color-error: #ff4d60;

  --font-display: 'Playfair Display', serif;
  --font-body: 'Montserrat', Arial, Helvetica, sans-serif;

  --radius-md: 18px;
  --radius-sm: 10px;
  --shadow-md: 0 4px 24px rgba(46, 83, 57, 0.13);
  --shadow-sm: 0 2px 10px rgba(46, 83, 57, 0.07);
  --shadow-lg: 0 6px 36px rgba(46, 83, 57, 0.18);
}

/* =================================
   BASE TYPOGRAPHY
================================= */
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  background: var(--color-accent);
  color: var(--color-primary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.13;
}
h1 {
  font-size: 2.5rem; /* 40px */
  margin-bottom: 16px;
  letter-spacing: -1px;
  font-weight: 900;
  text-shadow: 2px 3px 0 #A6C48A;
}
h2 {
  font-size: 2rem; /* 32px */
  margin-bottom: 14px;
  font-weight: 900;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 1.5rem; /* 24px */
  margin-bottom: 10px;
  font-weight: 700;
}
h4 {
  font-size: 1.17rem;
}

p, li, cite {
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-primary);
  font-weight: 500;
}
p {
  margin-bottom: 16px;
}
cite {
  font-style: normal;
  color: var(--color-secondary);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-top: 8px;
  display: block;
  font-size: 0.97rem;
}
strong {
  font-family: var(--font-body);
  font-weight: 800;
  color: var(--color-primary);
}

/* Typography scale on large screen */
@media (min-width: 1080px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.4rem; } 
  h3 { font-size: 1.7rem; }
  body, p { font-size: 1.1rem; }
}

/* =================================
   CONTAINER & GENERAL LAYOUTS
================================= */
.container {
  width: 100%;
  max-width: 1168px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper, .text-section {
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section {
    padding: 30px 8px;
    margin-bottom: 40px;
  }
}

/* =================================
   HEADER & NAVIGATION
================================= */
header {
  background: var(--color-primary);
  color: var(--color-accent);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 40;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
}
header a img {
  height: 46px;
}

.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-accent);
  transition: color 0.2s;
  position: relative;
  padding: 6px 6px;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-secondary);
  text-decoration: underline solid var(--color-secondary) 2px;
}

.cta-primary, .cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.825em 2.2em;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.18s, box-shadow 0.23s, transform 0.13s;
  margin-top: 8px;
  margin-bottom: 6px;
  box-shadow: var(--shadow-md);
}
.cta-primary {
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-primary);
  color: #fff;
  outline: 2px solid var(--color-secondary);
  transform: translateY(-1px) scale(1.03);
}
.cta-secondary {
  background: var(--color-primary);
  color: #fff;
  border: 2px solid var(--color-secondary);
  box-shadow: var(--shadow-sm);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  outline: 2px solid var(--color-primary);
}

/* Burger (hamburger) menu button */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-left: 12px;
  z-index: 65;
  transition: background 0.21s, color 0.13s, box-shadow 0.12s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  outline: 2px solid var(--color-secondary);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 960px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex; /* show burger icon */
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  display: flex;
  flex-direction: column;
  background: var(--color-primary);
  color: var(--color-accent);
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 120;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.68,-0.55,.27,1.55);
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
  transition: transform 0.36s cubic-bezier(.68,-0.55,.27,1.55);
}
.mobile-menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 22px;
  right: 21px;
  font-size: 2rem;
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  z-index: 88;
  transition: background 0.15s, color 0.15s, outline 0.22s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-accent);
  color: var(--color-primary);
  outline: 2px solid var(--color-secondary);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 80px 32px 0 32px;
  gap: 16px;
}
.mobile-nav a {
  display: block;
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  padding: 18px 0 9px 0;
  border-bottom: 1px solid rgba(166,196,138,0.15);
  width: 100%;
  transition: color 0.21s, background 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
  background: rgba(166,196,138,0.09);
}

/* =================================
   FOOTER
================================= */
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 28px 0 18px 0;
  border-radius: 0;
  box-shadow: var(--shadow-sm);
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  font-family: var(--font-body);
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 2px;
  letter-spacing: 0.04em;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-accent);
  text-decoration: underline solid var(--color-secondary) 2px;
}
.footer-contact p, .footer-contact a {
  color: var(--color-accent);
  font-size: 0.99rem;
  margin-bottom: 3px;
  letter-spacing: 0.02em;
}
.footer-contact a {
  text-decoration: underline dotted var(--color-secondary) 1px;
  transition: color 0.13s;
}
.footer-contact a:hover { color: var(--color-secondary); }

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

/* =================================
   MANDATORY SPACING PATTERNS
================================= */
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-card);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
}
.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;
  border-radius: var(--radius-md);
  background: var(--color-accent);
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  font-size: 1.05rem;
  min-width: 220px;
  max-width: 650px;
}
.testimonial-card p {
  font-weight: 700;
  font-size: 1.13rem;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.testimonial-card cite {
  font-weight: 800;
  color: var(--color-secondary);
  margin-top: 0;
}

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

/* Layout for listing and grid-style groups */
.text-section ul, .content-wrapper ul, .content-wrapper ol {
  margin-left: 0;
  padding-left: 0;
  margin-bottom: 18px;
  display: flex;
  gap: 20px;
  flex-direction: column; /* Default: column (mobile-first) */
}
.text-section ul li, .content-wrapper ul li, .content-wrapper ol li {
  padding-left: 0;
  font-size: 1.02rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--color-primary);
  line-height: 1.5;
}
.text-section ul li img, .content-wrapper ul li img {
  width: 30px;
  height: 30px;
  min-width: 30px;
}

/* Blog articles and newsletter */
article {
  background: var(--color-card);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 18px 26px 18px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
article h2 {
  color: var(--color-primary);
}

/* =================================
   RESPONSIVE FLEX SETTINGS
================================= */
@media (min-width: 700px) {
  .content-wrapper {
    flex-direction: row;
    gap: 40px;
  }
  .text-section {
    flex: 2 1 0;
  }
  .content-wrapper.text-section {
    flex-direction: column;
    gap: 20px;
  }
}
@media (min-width: 900px) {
  .section .container {
    flex-direction: row;
    align-items: flex-start;
    gap: 48px;
  }
}

/* SPECIAL FLEX for text-image-section */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* =================================
   VISUAL CARDS & RATING
================================= */
.card, .rating-summary {
  background: var(--color-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 24px 24px 16px 28px;
  margin-bottom: 22px;
  position: relative;
}
.rating-summary h3 {
  color: var(--color-primary);
  margin-bottom: 10px;
  font-size: 1.45rem;
  font-family: var(--font-body);
  font-weight: 800;
}
.rating-summary ul {
  gap: 8px;
}
.rating-summary li {
  font-size: 1.03em;
  color: var(--color-primary);
  font-weight: 500;
}

/* =================================
   ANIMATIONS & INTERACTIONS
================================= */
a, .cta-primary, .cta-secondary, .card, .testimonial-card {
  transition: box-shadow 0.18s, background 0.14s, color 0.16s, transform 0.15s;
}
a:active, .cta-primary:active, .cta-secondary:active {
  transform: scale(0.97);
}
.card:hover, .testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px) scale(1.01);
}

/* =================================
   MAP BLOCKS
================================= */
.map-location {
  background: var(--color-card);
  border-radius: var(--radius-sm);
  padding: 20px 26px;
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 18px;
  box-shadow: var(--shadow-md);
}

/* =================================
   COOKIE CONSENT BANNER & MODAL
================================= */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  z-index: 2222;
  background: var(--color-primary);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 22px 24px 22px 18px;
  gap: 18px;
  box-shadow: 0 -4px 24px rgba(46,83,57,0.15);
  font-size: 1.07rem;
  animation: bannerIn 0.7s cubic-bezier(.62,0,.37,1.62);
}
@keyframes bannerIn {
  0% { transform: translateY(110%); opacity: 0; }
  80% { transform: translateY(-4%); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: var(--color-accent);
  flex: 2 1 210px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 13px;
  flex-direction: row;
  align-items: center;
}
.cookie-banner button {
  padding: 8px 19px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  margin-left: 0;
  box-shadow: var(--shadow-sm);
  transition: background 0.14s, color 0.16s;
  cursor: pointer;
}
.cookie-banner .cookie-accept {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-banner .cookie-accept:hover,
.cookie-banner .cookie-accept:focus {
  background: var(--color-success);
  color: #fff;
}
.cookie-banner .cookie-reject {
  background: #fff;
  color: var(--color-primary);
  border: 1px solid var(--color-secondary);
}
.cookie-banner .cookie-reject:hover,
.cookie-banner .cookie-reject:focus {
  background: var(--color-error);
  color: #fff;
}
.cookie-banner .cookie-settings {
  background: var(--color-primary);
  color: var(--color-secondary);
  border: 1px solid var(--color-secondary);
  font-size: 0.98rem;
}
.cookie-banner .cookie-settings:hover,
.cookie-banner .cookie-settings:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* Cookie modal backgrop */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(46, 83, 57, 0.23);
  z-index: 2500;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeModalBg 0.21s;
}
@keyframes fadeModalBg {
  0% { opacity: 0; }
  100%{ opacity: 1; }
}
.cookie-modal {
  background: var(--color-card);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); 
  padding: 38px 36px 26px 36px;
  max-width: 400px;
  width: 94vw;
  position: relative;
  z-index: 2600;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 240px;
  animation: modalIn 0.41s cubic-bezier(.33,1.85,.84,1.2);
}
@keyframes modalIn {
  0% { transform: translateY(28px) scale(.93); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.7rem;
  color: var(--color-primary);
  margin-bottom: 18px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 17px;
}
.cookie-modal .cookie-category label {
  font-size: 1.02rem;
  font-weight: 700;
}
.cookie-modal .toggle {
  width: 40px; height: 26px;
  border-radius: 15px;
  background: var(--color-accent);
  position: relative;
  transition: background 0.17s;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--color-secondary);
  cursor: pointer;
}
.cookie-modal .toggle input {
  opacity: 0; position: absolute; left: 0; top: 0;
  width: 100%; height: 100%;
}
.cookie-modal .toggle .slider {
  position: absolute; left: 2px; top: 2px;
  width: 22px; height: 22px;
  background: var(--color-secondary);
  border-radius: 50%;
  transition: transform 0.22s cubic-bezier(.81,-0.17,.58,1.2);
}
.cookie-modal .toggle input:checked + .slider {
  transform: translateX(14px);
  background: var(--color-success);
}
.cookie-modal .toggle input:disabled + .slider {
  background: #bababa;
  cursor: default;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  margin-top: 19px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 13px; right: 13px;
  font-size: 1.5rem;
  color: var(--color-primary);
  background: var(--color-accent);
  border-radius: 50%;
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.16s, color 0.14s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  background: var(--color-secondary);
  color: #fff;
}

/* =================================
   UTILITIES
================================= */
.hide { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Responsive spacings */
@media (max-width: 768px) {
  .container { padding: 0 5px; }
  .section { padding: 23px 5px; margin-bottom: 38px; }
}
@media (max-width: 560px) {
  .footer-contact p { font-size: 0.94rem; }
  .footer-nav a { font-size: 0.96rem; }
}

/* =================================
   ACCESSIBILITY
================================= */
:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 2px;
}

/* =================================
   MODERN BOLD DECORATIVE BLOCKS
================================= */
.section {
  background: linear-gradient(104deg, #F7F8F0 83%, rgba(166,196,138,0.07) 100%);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
@media (max-width: 650px) {
  .section { box-shadow: none; border-radius: 0; }
}

hr {
  border: solid var(--color-secondary) 2px;
  margin: 33px 0;
  opacity: 0.17;
  border-radius: 8px;
}

/* =================================
   GEOMETRIC DECORATIONS / SHAPES
================================= */
.decoration-shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

/* e.g. corner circles would be set here if in HTML. Not shown for brevity */

/* =================================
   SPECIFIC CLASSES FROM HTML
================================= */
.map-location h2 {
  margin-bottom: 10px;
  font-size: 1.24rem;
  color: var(--color-primary);
  font-weight: 800;
}

/* ================================
   END OF CSS FILE
=============================== */