/* --- 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: #F9F9F4;
  color: #26313C;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
  color: #4B5B36;
  transition: color .2s;
}
a:hover, a:focus {
  color: #233013;
  outline: none;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #223548;
  margin-bottom: .5em;
  letter-spacing: -0.02em;
}
h1   { font-size: 2.5rem; margin-bottom: 32px; }
h2   { font-size: 2rem; margin-bottom: 24px; }
h3   { font-size: 1.35rem; margin-bottom: 16px; font-weight: 600; }
h4   { font-size: 1.1rem; margin-bottom: 12px; font-weight: 600; }
p, li, blockquote, table, small {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
p     { font-size: 1rem; margin-bottom: 1em; color: #26313C; }
blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: #223548;
  margin: 0 0 14px 0;
  border-left: 4px solid #B89768;
  padding-left: 18px;
  line-height: 1.7;
  background: #f4f7f8;
}
strong {
  font-weight: 700;
  color: #4B5B36;
}
small {
  color: #8590a2;
  font-size: .9rem;
}

/* --- LAYOUT CONTAINERS & UTILITY --- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid #e4e6ef;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px 0 rgba(34, 55, 68, 0.05);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 22px;
  min-width: 270px;
  flex: 1 1 260px;
  transition: box-shadow .23s, border-color .18s;
}
.card:hover, .card:focus {
  box-shadow: 0 4px 22px 0 rgba(75,91,54,0.12);
  border-color: #B89768;
  z-index: 2;
}
.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;
  }
}

/* --- HEADER & NAVIGATION --- */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e3e6f0;
  box-shadow: 0 1px 7px 0 rgba(35,53,72,0.05);
  position: sticky;
  top: 0; z-index: 50;
  min-height: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
header > * { flex: 0 0 auto; }
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: 2rem;
  padding: 12px 0 12px 0;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1 1 auto;
}
.main-nav a {
  color: #344965;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 10px;
  border-radius: 5px;
  transition: background .15s, color .15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F9F9F4;
  color: #4B5B36;
}
footer p {
  color: white;
}
.cta-btn {
  background: #4B5B36;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 11px 26px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 2px 6px 0 rgba(34, 85, 72, 0.08);
  margin-left: auto;
  transition: background .22s, box-shadow .20s;
  display: inline-block;
  cursor: pointer;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #233013;
  box-shadow: 0 4px 18px 0 rgba(75,91,54,0.14);
}

header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 0 20px;
}
@media (max-width: 1020px) {
  .main-nav {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .logo {
    margin-right: 0;
  }
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.3rem;
  padding: 8px 14px;
  color: #4B5B36;
  cursor: pointer;
  z-index: 201;
  line-height: 1;
  transition: background .18s;
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 16px;
    top: 12px;
    background: none;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(31, 41, 58, 0.97);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform .33s cubic-bezier(.86,.01,.53,1.02);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  width: 100vw; height: 100vh;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  position: absolute;
  top: 14px;
  right: 20px;
  font-size: 2.3rem;
  color: #fff;
  cursor: pointer;
  z-index: 10002;
  padding: 10px;
  transition: color .18s;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 84px;
  width: 100%;
  align-items: center;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  transition: background .21s, color .17s;
  width: 90%;
  text-align: center;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #4B5B36;
  color: #f9f9f9;
}
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* --- HERO & BANNER --- */
.hero {
  background: linear-gradient(120deg,#4B5B36 0%, #4B5B36 80%, #B89768 100%);
  color: #fff;
  padding: 64px 0 72px 0;
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero h1 {
  color: #fff;
  font-size: 2.4rem;
}
.hero p {
  color: #ebf5ed;
  max-width: 660px;
  margin-bottom: 24px;
  font-size: 1.1rem;
}
.hero .cta-btn {
  background: #B89768;
  color: #4B5B36;
  font-size: 1.1rem;
  margin-top: 18px;
  font-weight: bold;
  transition: background .22s, color .17s, box-shadow .20s;
}
.hero .cta-btn:hover, .hero .cta-btn:focus {
  background: #fff;
  color: #4B5B36;
  box-shadow: 0 2px 18px 0 rgba(74,91,54,.17);
}

/* --- FEATURES --- */
.features {
  background: #fff;
}
.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  row-gap: 24px;
  margin-top: 12px;
}
.features li {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
  font-size: 1.08rem;
  color: #344965;
  background: #f7fafc;
  border-radius: 8px;
  padding: 16px 18px;
  box-shadow: 0 1px 8px 0 rgba(42, 55, 68, 0.03);
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.features img {
  width: 32px; height: 32px;
  flex-shrink: 0;
}

/* --- SERVICES PREVIEW --- */
.services-preview ul,
.blog-preview ul,
.services-list ul,
.benefits ul,
.guide-list,
.articles-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.services-preview ul li,
.blog-preview ul li,
.services-list ul li,
.benefits ul li,
.guide-list li,
.articles-grid li {
  background: #fff;
  border: 1px solid #e4e6ef;
  border-radius: 9px;
  padding: 24px 18px;
  flex: 1 1 260px;
  min-width: 260px;
  box-shadow: 0 2px 11px 0 rgba(44,67,89, 0.05);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .20s, border-color .16s;
}
.services-preview ul li:hover, .blog-preview ul li:hover, .services-list ul li:hover,
.benefits ul li:hover,
.guide-list li:hover,
.articles-grid li:hover {
  box-shadow: 0 4px 18px 0 rgba(75,91,54,0.10);
  border-color: #B89768;
  z-index: 2;
}
.services-preview h3, .blog-preview h3, .services-list h2, .benefits li, .guide-list h2, .articles-grid h2 {
  margin-bottom: 8px;
}
.services-preview .cta-btn {
  margin-top: 16px;
}

/* --- ARTICLE LISTINGS / CATEGORIES --- */
.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
  align-items: center;
}
.category-filters button {
  background: #F9F9F4;
  color: #4B5B36;
  border: 1px solid #4B5B36;
  border-radius: 36px;
  padding: 7px 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: background .16s, color .12s, border-color .16s;
  cursor: pointer;
}
.category-filters button:hover, .category-filters button:focus {
  background: #B89768;
  color: #fff;
  border-color: #B89768;
}

.articles-grid {
  gap: 28px;
}
.articles-grid li {
  min-width: 240px;
}
.highlighted-article {
  background: #f4f7f8;
  border-left: 5px solid #B89768;
  border-radius: 8px;
  padding: 30px 32px;
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 11px 0 rgba(44,67,89,0.06);
}
.highlighted-article h3 {
  font-size: 1.28rem;
  color: #4B5B36;
  margin-bottom: 8px;
}
.highlighted-article a {
  color: #4B5B36;
  text-decoration: underline;
  font-weight: 600;
  margin-top: 8px;
}
.highlighted-article a:hover, .highlighted-article a:focus {
  color: #223548;
}

/* --- TESTIMONIALS --- */
.testimonials, .testimonial-card {
  width: 100%;
}
.testimonial-card {
  background: #fff;
  box-shadow: 0 1px 18px 0 rgba(50,65,89,.07);
  border: 1px solid #DFE4EA;
  border-radius: 11px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  transition: box-shadow .17s, border-color .13s;
}
.testimonial-card blockquote {
  color: #223548;
  margin-bottom: 12px;
  font-size: 1.12rem;
  background: none;
  border: none;
  padding-left: 0;
}
.testimonial-card p {
  color: #344965;
  font-weight: 600;
  margin-bottom: 0;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 4px 24px 0 rgba(34,85,72,.15);
  border-color: #B89768;
}
.testimonial-owner-response {
  margin-top: 16px;
  background: #F9F9F4;
  padding: 20px 22px;
  border-radius: 8px;
  font-size: 1.02rem;
  color: #4B5B36;
  border-left: 3px solid #B89768;
}

/* --- FOOTER --- */
footer {
  background: #202E3A;
  color: #bee1e4;
  padding-top: 28px;
  padding-bottom: 24px;
  border-top: 2px solid #B89768;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #B89768;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.06rem;
  transition: color .17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1rem;
  color: #d7e6e1;
}
.contact-info img {
  width: 16px;
  margin-right: 7px;
  vertical-align: middle;
}
footer small {
  color: #8590a2;
  margin-top: 14px;
}
@media (max-width: 600px) {
  footer .container {
    gap: 18px;
    padding-left: 0;
    padding-right: 0;
  }
  .footer-nav {
    gap: 13px;
    flex-direction: column;
  }
}

/* --- CONTACT PAGE / THANK YOU --- */
.contact-cta {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-info-short {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 12px;
  font-size: .98rem;
  color: #506175;
}
.contact-info-short img {
  width: 16px;
  margin-right: 6px;
  vertical-align: middle;
}
.next-steps {
  margin-bottom: 22px;
  margin-top: 10px;
  padding: 18px 0 0 0;
  color: #344965;
}

.opening-hours table {
  width: 100%;
  margin-top: 10px;
  border-collapse: collapse;
}
.opening-hours td {
  padding: 10px 14px 10px 0px;
  font-size: 1rem;
  color: #253441;
  border-bottom: 1px solid #e3e6ef;
}
.opening-hours tr:last-child td {
  border-bottom: none;
}

/* --- ABOUT, POLICY, TEXT SECTION --- */
.text-section {
  margin-bottom: 18px;
  color: #253441;
  font-size: 1.07rem;
  line-height: 1.75;
}
.text-section ul {
  padding-left: 24px;
  color: #344965;
  list-style-type: disc;
  margin-top: 10px;
}
.text-section li {
  margin-bottom: 7px;
}

/* --- FAQ Accordion --- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #4B5B36;
  cursor: pointer;
  margin-bottom: 5px;
  transition: color .18s;
}
.faq-item h3:hover, .faq-item h3:focus {
  color: #B89768;
}
.faq-item p {
  font-size: 1rem;
  color: #253441;
  margin-left: 2px;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #344965;
  color: #fff;
  padding: 26px 18px 22px 18px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 28px;
  z-index: 9980;
  box-shadow: 0 -2px 16px 0 rgba(70,87,110,0.08);
  font-size: 1rem;
  opacity: 1;
  transition: opacity .25s, transform .26s;
}
.cookie-consent-banner.hide {
  opacity: 0;
  transform: translateY(150%);
  pointer-events: none;
}
.cookie-consent-message {
  max-width: 600px;
  flex: 1 1 400px;
}
.cookie-consent-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 9px 22px;
  border-radius: 40px;
  margin: 0 2px;
  border: none;
  cursor: pointer;
  background: #B89768;
  color: #344965;
  transition: background .18s, color .16s, box-shadow .16s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #4B5B36;
  color: #fff;
  box-shadow: 0 1px 10px rgba(75,91,54,0.09);
}
.cookie-btn.settings {
  background: #344965;
  color: #B89768;
  border: 1px solid #B89768;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #8590a2;
  color: #fff;
  border: 1px solid #8590a2;
}

@media (max-width: 768px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
    padding: 16px 6px 18px 6px;
    font-size: 0.98rem;
  }
  .cookie-consent-message {
    max-width: 100%;
    margin-bottom: 8px;
  }
  .cookie-consent-actions {
    flex-direction: column;
    gap: 7px;
    align-items: stretch;
    width: 100%;
  }
  .cookie-btn {
    width: 100%;
  }
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(29, 42, 60, 0.70);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 32px 0 rgba(52, 62, 85, 0.18);
  padding: 42px 36px 30px 36px;
  max-width: 420px;
  width: 97%;
  position: relative;
  color: #223548;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalIn .36s cubic-bezier(.82,-0.01,.34,1.02);
}
@keyframes modalIn {
  from { transform: scale(0.87) translateY(42px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #4B5B36;
}
.cookie-modal-category {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 7px 0;
  border-bottom: 1px solid #efefef;
}
.cookie-modal-category:last-child {
  border-bottom: none;
}
.cookie-modal-category label {
  font-weight: 600;
  color: #233013;
  cursor: pointer;
}
.cookie-modal-category input[type="checkbox"] {
  margin-right: 8px;
  accent-color: #B89768;
}
.cookie-modal .cookie-btn {
  margin-top: 20px;
}
.cookie-modal-close {
  position: absolute;
  right: 13px;
  top: 13px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #B89768;
  cursor: pointer;
  transition: color .13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #344965;
}

/* --- UTILITIES: FLEX & SPACING --- */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-row {
  display: flex;
  flex-direction: row;
}
.flex-column {
  display: flex;
  flex-direction: column;
}
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.gap-30 { gap: 30px; }
.mt-32 { margin-top: 32px; }
.mb-24 { margin-bottom: 24px; }

/* --- RESPONSIVE --- */
@media (max-width: 1020px) {
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  .section { padding-left: 10px; padding-right: 10px; }
}
@media (max-width: 768px) {
  .container {
    padding: 0 5px;
    max-width: 100vw;
  }
  .content-wrapper {
    gap: 14px;
  }
  .features ul, .services-preview ul, .blog-preview ul, .services-list ul, .benefits ul, .guide-list, .articles-grid {
    gap: 10px;
  }
  .card-container { gap: 10px; }
  .section { margin-bottom: 30px; padding: 22px 6px; }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1.05rem; }
  .hero { padding: 34px 0 44px 0; }
  .testimonial-card, .services-preview ul li, .blog-preview ul li, .services-list ul li, .benefits ul li, .guide-list li, .articles-grid li {
    padding: 16px 8px;
    min-width: 98%;
    font-size: .97rem;
  }
}

/* --- TRANSITIONS & MICRO-INTERACTIONS --- */
button, .cta-btn, .main-nav a, .footer-nav a, .category-filters button, .cookie-btn {
  transition: background .20s, color .14s, box-shadow .20s, border-color .13s;
}
.card, .services-preview ul li, .blog-preview ul li, .testimonial-card, .guide-list li, .articles-grid li {
  transition: box-shadow .21s, border-color .13s;
}

/* --- FOCUS STATES FOR ACCESSIBILITY --- */
a:focus, button:focus, .cta-btn:focus {
  outline: 2px solid #B89768;
  outline-offset: .5px;
}

/* --- Scrollbar for desktop --- */
@media (min-width: 900px) {
  ::-webkit-scrollbar { width: 9px; }
  ::-webkit-scrollbar-thumb { background: #e0e4ef; border-radius: 15px; }
  ::-webkit-scrollbar-track { background: #F9F9F4; }
}
