/* ----- 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, main, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F2EFE7;
  color: #253723;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: #385C4A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #A67E60;
  outline: none;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: 1em;
  border: none;
  background: none;
  outline: none;
}

/* ----- BRAND COLORS & VARIABLES ----- */
:root {
  --primary: #385C4A;
  --primary-rgb: 56,92,74;
  --secondary: #F2EFE7;
  --accent: #A67E60;
  --accent-dark: #6D4B25;
  --text-dark: #253723;
  --white: #FFFFFF;
  --gray: #E5E3DC;
  --gray-light: #F7F6F1;
  --shadow: 0 2px 8px rgba(56,92,74,0.06);
  --radius: 16px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* ----- TYPOGRAPHY ----- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--accent-dark);
}
h4, h5, h6 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
p, ul, ol, small {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
}
small {
  font-size: 0.93rem;
  color: var(--accent-dark);
}

/* ----- UTILITY FLEX CONTAINERS ----- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
}

/* SECTION SPACING --- ALL PAGES */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
@media (max-width: 600px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 36px;
  }
}

/* ----- HEADER & NAVIGATION ----- */
header {
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--gray);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 16px;
  padding: 12px 18px;
}
header img {
  height: 44px;
}
.main-nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.09rem;
  color: var(--primary);
  padding: 6px 0 6px 0;
  position: relative;
}
.main-nav a:after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: var(--accent);
  transition: width 0.22s;
  margin: 0 auto 0 auto;
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 90%;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-radius: 32px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 11px 28px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(56,92,74,0.037);
  letter-spacing: 0.03em;
  transition: background 0.15s, box-shadow 0.21s, color 0.15s;
  outline: none;
  margin-left: 14px;
  text-align: center;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(166,126,96,0.10);
}

/* ----- MOBILE MENU HAMBURGER ----- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
  margin-left: 10px;
  transition: color 0.17s;
  z-index: 202;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: var(--accent-dark);
}

/* MOBILE MENU STYLES */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(242,239,231,0.98);
  box-shadow: 0 0 24px rgba(56,92,74,0.07);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.75,.14,.45,1.21);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 24px;
  padding-left: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  right: 20px;
  top: 18px;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2.2rem;
  padding: 5px 10px;
  cursor: pointer;
  z-index: 201;
  transition: color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--accent-dark);
  background: var(--gray-light);
  border-radius: 50%;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 50px;
  width: 100%;
  align-items: flex-start;
  padding-left: 34px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 600;
  padding: 7px 0;
  border-radius: 10px;
  width: 100%;
  transition: background 0.1s, color 0.18s;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: var(--gray-light);
  color: var(--accent-dark);
}

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

/* Show main nav & hide mobile hamburger on desktop */
@media (min-width: 901px) {
  .main-nav {
    display: flex;
  }
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ----- MAIN LAYOUT SECTIONS ----- */
main {
  margin-top: 0;
}
section {
  background: transparent;
  border-radius: var(--radius);
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  width: 100%;
}
@media (max-width: 600px) {
  section {
    padding: 24px 0;
    margin-bottom: 36px;
  }
}

/* ----- FLEXBOX LAYOUTS PER MANDATE ---- */
.feature-grid, .testimonial-section, .card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  justify-content: flex-start;
}
@media (max-width: 900px) {
  .feature-grid, .testimonial-section, .card-container, .card-grid {
    gap: 18px;
  }
}
@media (max-width: 700px) {
  .feature-grid, .testimonial-section, .card-container, .card-grid {
    flex-direction: column;
    gap: 16px;
  }
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 26px 20px 26px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 260px;
  max-width: 400px;
  margin-bottom: 20px;
  border: 1px solid var(--gray);
  transition: box-shadow 0.18s, border-color 0.18s;
}
.testimonial-card p {
  color: var(--text-dark);
  font-style: italic;
  font-weight: 500;
  font-size: 1.1rem;
}
.testimonial-card small {
  color: var(--primary);
  font-weight: 600;
}
.testimonial-card:hover {
  box-shadow: 0 6px 20px rgba(56,92,74,0.10);
  border-color: var(--accent);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 22px;
  min-width: 220px;
  max-width: 350px;
  transition: box-shadow 0.18s, border-color 0.18s;
  border: 1px solid var(--gray);
  display: flex;
  flex-direction: column;
  gap: 14px;  
}
.card:hover {
  box-shadow: 0 6px 20px rgba(56,92,74,0.08);
  border-color: var(--accent);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
  min-width: 170px;
  max-width: 340px;
  box-shadow: 0 1px 4px rgba(56,92,74,0.05);
}

.text-section ul {
  margin-top: 8px;
  margin-bottom: 8px;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style-position: inside;
}
.text-section ul li {
  list-style-type: disc;
  font-size: 1rem;
  color: var(--text-dark);
}
.text-section h3 {
  margin-top: 20px;
}

.location-map {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.location-map img {
  width: 32px;
  height: 32px;
}
.location-map span {
  font-size: 1rem;
  color: var(--primary);
}

/* ----- TABLE ---------- */
table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  margin: 18px 0 26px 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-family: var(--font-body);
  font-size: 1rem;
}
thead th {
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 12px 8px;
}
tbody td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--gray);
  color: var(--primary);
  background: var(--gray-light);
}
tbody tr:last-child td {
  border-bottom: none;
}

/* ----- FOOTER --------- */
footer {
  background: var(--white);
  border-top: 1px solid var(--gray);
  margin-top: 48px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 32px 18px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-size: 1rem;
}
.footer-nav a {
  color: var(--accent-dark);
  opacity: 0.88;
  transition: color 0.16s, opacity 0.12s;
}
.footer-nav a:hover {
  color: var(--primary);
  opacity: 1;
}
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--accent-dark);
  min-width: 200px;
}
.footer-info address {
  font-style: normal;
  font-size: 1rem;
  color: var(--accent-dark);
}
.footer-info a {
  color: var(--primary);
  font-weight: 500;
  opacity: 0.95;
  transition: color 0.17s;
}
.footer-info a:hover {
  color: var(--accent);
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 22px;
    padding: 28px 8px;
  }
  .footer-info {
    gap: 3px;
    font-size: 0.97rem;
  }
}

/* ----- BUTTONS ----- */
.btn-primary,
button[type="submit"] {
  background: var(--primary);
  color: var(--white);
  border-radius: 32px;
  padding: 10px 28px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.16s, box-shadow 0.17s;
  box-shadow: 0 2px 10px rgba(56,92,74,0.04);
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(166,126,96,0.10);
}
.btn-secondary {
  background: var(--gray-light);
  color: var(--primary);
  border-radius: 32px;
  padding: 10px 20px;
  border: 1px solid var(--gray);
  margin-left: 10px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.14s, border 0.14s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-tertiary {
  background: none;
  color: var(--primary);
  border: none;
  padding: 10px 18px;
  border-radius: 24px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
}
.btn-tertiary:hover, .btn-tertiary:focus {
  background: var(--gray-light);
  color: var(--accent-dark);
}

/* ----- FORMS (if present) ---- */
input, textarea {
  border-radius: var(--radius);
  border: 1px solid var(--gray);
  padding: 10px 14px;
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--gray-light);
  color: var(--primary);
  transition: border-color 0.14s, background 0.14s;
}
input:focus, textarea:focus {
  border-color: var(--accent);
  background: var(--white);
}

/* ----- COOKIES CONSENT BANNER & MODAL ----- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: var(--primary);
  color: var(--white);
  z-index: 4000;
  box-shadow: 0 -2px 20px rgba(56,92,74,0.09);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 18px 10px 18px 10px;
  gap: 18px;
  font-size: 1rem;
  font-family: var(--font-body);
  transition: transform 0.32s, opacity 0.26s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .btn-primary {
  background: var(--white);
  color: var(--primary);
  margin-left: 0;
  margin-right: 10px;
  font-size: 0.99rem;
  padding: 7px 18px;
}
.cookie-banner .btn-primary:hover {
  background: var(--accent);
  color: var(--white);
}
.cookie-banner .btn-secondary,
.cookie-banner .btn-tertiary {
  padding: 7px 16px;
  font-size: 0.98rem;
}
.cookie-banner .btn-secondary {
  background: var(--accent);
  color: var(--white);
  border: none;
}
.cookie-banner .btn-secondary:hover {
  background: var(--white);
  color: var(--primary);
}
.cookie-banner .btn-tertiary {
  background: none;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}
.cookie-banner .btn-tertiary:hover {
  background: var(--gray-light);
  color: var(--primary);
}

/* COOKIES MODAL POPUP */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(56,92,74,0.21);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4100;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.25s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: var(--white);
  color: var(--primary);
  border-radius: var(--radius);
  box-shadow: 0 6px 32px rgba(56,92,74,0.13);
  max-width: 380px;
  width: 95vw;
  padding: 32px 22px 26px 22px;
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal-content h3 {
  margin: 0 0 6px 0;
  color: var(--primary);
}
.cookie-modal-content label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.cookie-modal-content input[type=checkbox] {
  accent-color: var(--accent);
}
.cookie-modal-content .modal-btn-row {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 22px;
  right: 26px;
  background: none;
  color: var(--primary);
  font-size: 2rem;
  border: none;
  cursor: pointer;
  z-index: 4102;
}
.cookie-modal .close-modal:hover {
  color: var(--accent-dark);
}
.cookie-modal-content .cookie-category {
  margin-bottom: 10px;
  font-weight: 500;
  color: var(--primary);
}

/****** END Cookie consent/Popup ******/

/* ------- MEDIA QUERIES ----------- */
@media (max-width: 1200px) {
  .container {
    max-width: 99vw;
    padding: 0 8px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2.1rem;
    margin-bottom: 20px;
  }
  h2 {
    font-size: 1.4rem;
    margin-bottom: 14px;
  }
  .feature-grid, .testimonial-section, .card-container, .card-grid {
    gap: 16px;
    justify-content: center;
    align-items: stretch;
  }
  .card, .feature-item {
    min-width: 0;
    width: 100%;
    max-width: 99vw;
  }
}

/* ------ MICRO INTERACTIONS & HOVER EFFECTS ------ */
.card:hover, .feature-item:hover, .testimonial-card:hover {
  box-shadow: 0 8px 22px rgba(166,126,96,0.09), var(--shadow);
  border-color: var(--accent);
}

/* Animations for appearing/mobile navigation */
@keyframes slideInMenu {
  from { transform: translateX(-100%); }
  to   { transform: translateX(0); }
}
@keyframes slideOutMenu {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/***** DARK TEXT ON TESTIMONIALS & REVIEWS (A11Y) *****/
.testimonial-card, .testimonial-card p, .testimonial-card small {
  color: var(--text-dark);
  background: var(--white);
}

/***** Custom Scrollbar for Clean Look *****/
::-webkit-scrollbar {
  width: 11px;
  background: var(--gray-light);
}
::-webkit-scrollbar-thumb {
  background: #d1d0ca;
  border-radius: 8px;
  border: 1.5px solid var(--gray-light);
}
body {
  scrollbar-color: #d1d0ca var(--gray-light);
  scrollbar-width: thin;
}

/***** Misc >>> Utility Styling *****/
strong { color: var(--accent-dark); font-weight: 700; }

/* Hide cookie modal/banner by default for JS fallback (show on .show class) */
.cookie-banner, .cookie-modal {
  display: none;
}
.cookie-banner.show, .cookie-modal.show {
  display: flex;
}

/* ========== END OF STYLE.CSS ========== */
