/* 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, 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;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #F8F6F2;
  color: #284142;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

/* === CUSTOM PROPERTIES (with fallbacks for safety) === */
:root {
  --color-primary: #284142;
  --color-secondary: #C2A379;
  --color-accent: #F8F6F2;
  --color-white: #fff;
  --color-light: #F6ECD9;
  --color-light2: #F8F3ED;
  --color-shadow: rgba(40,65,66,0.09);
  --shadow-card: 0 4px 16px var(--color-shadow);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 36px;
  --trans-fast: 0.18s cubic-bezier(.4,0,.2,1);
  --trans-mid: 0.28s cubic-bezier(.4,0,.2,1);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* === BASE TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.015em;
}
h1 { font-size: 2.5rem; margin-bottom: 18px; }
h2 { font-size: 2rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
h5, h6 { font-size: 1rem; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; margin-bottom: 15px; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
}

p, ul, ol, li {
  font-family: var(--font-body);
  color: var(--color-primary);
  font-size: 1rem;
  margin-bottom: 10px;
  line-height: 1.75;
}
ul, ol {
  margin: 18px 0 18px 22px;
}
strong, b { font-weight: 600; }
a {
  color: var(--color-primary);
  text-decoration: underline;
  cursor: pointer;
  transition: color var(--trans-fast);
}
a:hover, a:focus {
  color: var(--color-secondary);
  outline: none;
}

/* === LAYOUT CONTAINERS === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* === HEADER & NAVIGATION === */
header {
  background: var(--color-accent);
  box-shadow: 0 2px 8px var(--color-shadow);
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
  position: sticky;
  top: 0;
  z-index: 19;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}
header .content-wrapper {
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
header img {
  width: 150px;
  height: auto;
  border-radius: var(--radius-sm);
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
nav a {
  text-decoration: none;
  color: var(--color-primary);
  background: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: background var(--trans-fast), color var(--trans-fast);
}
nav a.cta, a.cta {
  background: var(--color-secondary);
  color: var(--color-white);
  font-family: var(--font-display);
  border-radius: var(--radius-md);
  padding: 10px 22px;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 2px 10px var(--color-shadow);
  text-decoration: none;
  transition: background var(--trans-mid), box-shadow var(--trans-mid);
}
nav a.cta:hover, a.cta:hover {
  background: var(--color-primary);
  color: var(--color-accent);
  box-shadow: 0 4px 18px var(--color-shadow);
}

/* Hide on desktop */
.mobile-menu-toggle {
  background: var(--color-secondary);
  color: var(--color-white);
  border: none;
  font-size: 2rem;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  margin-left: 16px;
  box-shadow: 0 2px 12px var(--color-shadow);
  cursor: pointer;
  display: none;
  z-index: 30;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--color-primary);
}

@media (max-width: 980px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* === MOBILE MENU === */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-accent);
  box-shadow: 0 0 80px rgba(20,20,20,0.16);
  z-index: 39;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.32,1.01,.51,.99);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 80px 0;
  overflow-y: auto;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: var(--color-primary);
  background: none;
  border: none;
  align-self: flex-end;
  margin: 26px 26px 0 0;
  cursor: pointer;
  z-index: 40;
}
.mobile-menu-close:focus {
  outline: 2px solid var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 30px;
  gap: 18px;
  padding: 0 24px;
  width: 100%;
}
.mobile-nav a {
  text-decoration: none;
  color: var(--color-primary);
  font-size: 1.15rem;
  font-family: var(--font-display);
  padding: 14px 0;
  width: 100%;
  border-radius: var(--radius-sm);
  transition: background var(--trans-fast), color var(--trans-fast);
  display: inline-block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-white);
}

@media (min-width: 981px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* === MAIN SECTIONS & COMMON PATTERNS === */
main {
  margin-bottom: 70px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: var(--radius-md);
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.hero {
  background: var(--color-secondary);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 28px var(--color-shadow);
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 55px;
}
.hero h1,
.hero p {
  color: var(--color-white);
}

.features, .service-cards, .services {
  background: var(--color-light2);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 15px var(--color-shadow);
}

.features .feature-grid, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 18px;
}
.features .feature-grid > div, .feature-grid > div {
  flex: 1 1 250px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 26px 20px 28px 20px;
  margin-bottom: 20px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow var(--trans-fast), transform var(--trans-fast);
}
.feature-grid > div:hover {
  box-shadow: 0 6px 32px var(--color-secondary);
  transform: translateY(-2px) scale(1.013);
}
.feature-grid img {
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 18px;
}
.service-cards > div {
  flex: 1 1 270px;
  background: var(--color-accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 26px 20px 28px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 210px;
  transition: box-shadow var(--trans-fast), transform var(--trans-fast);
}
.service-cards > div:hover {
  box-shadow: 0 6px 32px var(--color-secondary);
  transform: translateY(-2px) scale(1.013);
}
.service-cards a {
  margin-top: 10px;
  text-decoration: underline;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-secondary);
  transition: color var(--trans-mid);
}
.service-cards a:hover { color: var(--color-primary); }

.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;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow var(--trans-fast), transform var(--trans-fast);
}
.card:hover {
  box-shadow: 0 8px 32px var(--color-secondary);
  transform: translateY(-3px) scale(1.014);
}

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


/* === LISTS INSIDE SECTIONS === */
section ul,
section ol {
  padding-left: 20px;
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--color-primary);
  font-size: 1rem;
}
section ul li, section ol li {
  padding-left: 4px;
  margin-bottom: 7px;
}

/* === TESTIMONIALS === */
.testimonials {
  background: var(--color-light2);
  border-radius: var(--radius-md);
  box-shadow: 0 1px 10px var(--color-shadow);
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 20px;
  margin-bottom: 20px;
  min-width: 225px;
  flex: 1 1 320px;
  transition: box-shadow var(--trans-fast), transform var(--trans-fast);
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px var(--color-secondary);
  transform: translateY(-2px) scale(1.012);
}
.testimonial-card p {
  color: var(--color-primary);
  font-size: 1.06rem;
  line-height: 1.6;
}
.testimonial-card span, .testimonial-card strong {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-top: 8px;
}

/* Ensure contrast for review/testimonials */
.testimonial-card, .testimonial-card p, .testimonial-card span { color: #284142; background: #fff; }


/* === CTA SECTION === */
.cta {
  background: var(--color-secondary);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 28px var(--color-shadow);
  padding: 36px 20px 46px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.cta h2, .cta h1 {
  color: var(--color-white);
}
.cta p {
  color: var(--color-accent);
}
.cta a.cta {
  margin-top: 20px;
  font-size: 1.15rem;
  box-shadow: 0 8px 30px var(--color-shadow);
}

/* === CONTACT SECTION === */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--color-primary);
  background: none;
  font-size: 1rem;
}
.contact-details img {
  width: 23px;
  height: 23px;
  margin-right: 8px;
  vertical-align: middle;
}
footer
.contact-details p{
  color: white;
}
.map {
  background: var(--color-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 20px;
  margin-top: 15px;
  color: var(--color-primary);
  font-size: 1rem;
}
.map img {
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
}

/* === FOOTER === */
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  box-shadow: 0 -4px 24px var(--color-shadow);
}
footer .container {
  padding: 30px 20px 12px 20px;
}
footer .content-wrapper {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
footer img {
  width: 90px;
  height: auto;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
footer nav a {
  color: var(--color-accent);
  font-weight: 500;
  text-decoration: underline;
  font-size: 1rem;
  transition: color var(--trans-fast);
}
footer nav a:hover {
  color: var(--color-secondary);
}
footer .contact-details {
  color: var(--color-accent);
  background: none;
  font-size: .99rem;
  gap: 5px;
}
footer .contact-details img {
  width: 18px;
  height: 18px;
}

/* === LEGAL (POLICY) PAGES SECTIONS === */
.legal {
  background: var(--color-accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 40px 24px;
}
.legal a {
  color: var(--color-secondary);
  font-weight: 600;
  text-decoration: underline;
  transition: color var(--trans-fast);
}

/* === COOKIE CONSENT BANNER & MODAL === */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: 0 -2px 24px rgba(40,65,66,0.15);
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  z-index: 80;
  padding: 28px 10vw 20px 10vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  font-size: 1.04rem;
  animation: slideUpBanner 0.4s 1;
}
@keyframes slideUpBanner {
  from {transform: translateY(100%); opacity: 0;}
  to   {transform: translateY(0); opacity: 1;}
}
.cookie-banner p {
  margin-bottom: 0;
  flex: 1 1 auto;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  padding: 9px 20px;
  border-radius: var(--radius-md);
  border: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 3px 12px var(--color-shadow);
  cursor: pointer;
  transition: background var(--trans-fast), color var(--trans-fast);
}
.cookie-btn.accept {
  background: var(--color-secondary);
  color: var(--color-white);
}
.cookie-btn.reject {
  background: #eee;
  color: var(--color-primary);
  border: 1px solid #c9ccc6;
}
.cookie-btn.settings {
  background: var(--color-primary);
  color: var(--color-accent);
}
.cookie-btn:hover, .cookie-btn:focus {
  opacity: 0.92;
  outline: none;
  box-shadow: 0 8px 24px var(--color-secondary);
}
/* Responsive banner on mobile */
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 5vw 15px 5vw;
    font-size: .99rem;
  }
  .cookie-banner-buttons {
    width: 100%;
    gap: 10px;
  }
}

/* Cookie Consent Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(40,65,66,0.30);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeModal .3s 1;
}
@keyframes fadeModal {
  from {opacity: 0;}
  to   {opacity: 1;}
}
.cookie-modal {
  background: var(--color-accent);
  color: var(--color-primary);
  max-width: 380px;
  width: 94vw;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 38px var(--color-shadow);
  padding: 38px 28px 30px 28px;
  z-index: 101;
  display: flex;
  flex-direction: column;
  gap: 28px;
  animation: scaleIn 0.36s 1;
}
@keyframes scaleIn {
  from {transform: scale(0.85) translateY(70px); opacity:0;}
  to {transform: scale(1) translateY(0); opacity:1;}
}
.cookie-modal h2 {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.32rem;
  margin-bottom: 10px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--color-light2);
  border-radius: var(--radius-md);
  padding: 16px 12px;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.01rem;
}
.cookie-category.essential label, .cookie-category.essential span {
  font-weight: 600;
  color: var(--color-primary);
  opacity: 0.7;
  cursor: default;
}
.cookie-toggle {
  width: 42px;
  height: 22px;
  border-radius: 16px;
  background: #ded7c9;
  position: relative;
  transition: background var(--trans-fast);
  cursor: pointer;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle .slider {
  position: absolute;
  left: 1px; top: 1px;
  width: 20px;
  height: 20px;
  background: var(--color-white);
  border-radius: 50%;
  transition: left var(--trans-mid), background var(--trans-mid);
  box-shadow: 0 2px 8px var(--color-shadow);
}
.cookie-toggle input:checked + .slider {
  left: 21px;
  background: var(--color-secondary);
}

.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 8px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  min-width: 110px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  cursor: pointer;
  z-index: 999;
  transition: color var(--trans-fast);
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: var(--color-secondary);
}
@media (max-width: 480px) {
  .cookie-modal { padding: 20px 8px 25px 8px; }
}

/* === BUTTONS & MICRO-INTERACTIONS === */
button, .button, input[type="submit"], input[type="button"] {
  background: var(--color-secondary);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  border: none;
  border-radius: var(--radius-md);
  padding: 11px 24px;
  box-shadow: 0 3px 14px var(--color-shadow);
  cursor: pointer;
  transition: background var(--trans-mid), box-shadow var(--trans-mid), color var(--trans-fast), transform var(--trans-fast);
}
button:hover, .button:hover, button:focus, .button:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  outline: none;
  box-shadow: 0 4px 22px var(--color-shadow);
  transform: translateY(-2px);
}

/* === RESPONSIVE LAYOUT: FLEXBOX COLUMN ON MOBILE === */
@media (max-width: 900px) {
  .container {
    max-width: 99vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .content-wrapper, .feature-grid, .service-cards, .testimonial-slider, .card-container, .content-grid {
    flex-direction: column !important;
    gap: 20px !important;
    align-items: stretch;
  }
  .footer .content-wrapper {
    flex-direction: column !important;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column !important;
    gap: 16px !important;
    align-items: stretch;
  }
  .feature-grid,
  .service-cards,
  .testimonial-slider,
  .card-container,
  .content-grid {
    flex-direction: column !important;
    gap: 16px !important;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  header .container, footer .content-wrapper {
    flex-direction: column !important;
    gap: 14px;
    align-items: flex-start !important;
  }
  .hero, .cta, .features, .services, .testimonials, .about, .legal {
    padding: 22px 6px;
    border-radius: var(--radius-md);
  }
}

/* Utilities */
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }

/* Hide content for accessibly hidden elements (if needed in menus/modals) */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* === MISCELLANEOUS === */
::-webkit-scrollbar {
  width: 12px;
  background: var(--color-accent);
}
::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: 8px;
}

/* Selection styling */
::selection {
  background: var(--color-secondary);
  color: var(--color-accent);
}

/* === END === */
