/* RESET & BASE TYPOGRAPHY --------------------------------------------------- */

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%;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
  background: #f6fff8;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  color: #342f28;
  background: #f6fff8;
  min-height: 100vh;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: .02em;
}

/* FONT IMPORT */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Playfair+Display:wght@400;700&display=swap');

/* TYPOGRAPHY --------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #2f2918;
  font-weight: 700;
  letter-spacing: .01em;
  margin-bottom: .6em;
}
h1 {
  font-size: 2.375rem; /* 38px */
  margin-top: 0;
}
h2 {
  font-size: 2rem; /* 32px */
  margin-top: 0;
}
h3 {
  font-size: 1.375rem; /* 22px */
}
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9375rem; }

p, ul, ol {
  margin-bottom: 18px;
  font-size: 1rem;
  color: #342f28;
  font-family: 'Lato', Arial, sans-serif;
}

.subheadline, .cta-text {
  color: #6b684e;
  font-size: 1.1rem;
  font-family: 'Lato', Arial, sans-serif;
  margin-bottom: 1.5em;
  line-height: 1.6;
}

.text-section ul, ul {
  padding-left: 1.5em;
  margin-bottom: 1.2em;
}

.text-section ul li {
  margin-bottom: 8px;
  list-style-type: disc;
  font-size: 1rem;
}
.text-section ol li {
  margin-bottom: 8px;
  list-style-type: decimal;
}

strong { font-weight: 700; }

/* LINKS & BUTTONS ---------------------------------------------------------- */
a {
  color: #342f28;
  text-decoration: underline;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #bab98d;
  text-decoration: none;
}
a.cta-btn, .cta-btn {
  display: inline-block;
  background: #342f28;
  border-radius: 26px;
  padding: 13px 38px;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .04em;
  text-decoration: none;
  box-shadow: 0 1px 7px 0 rgba(52,47,40,0.08);
  border: 2px solid #342f28;
  transition: background 0.18s, color 0.18s, border 0.18s, box-shadow 0.2s;
  margin-top: 12px;
}
a.cta-btn:hover, .cta-btn:hover, a.cta-btn:focus, .cta-btn:focus {
  background: #bab98d;
  color: #342f28;
  border: 2px solid #bab98d;
  box-shadow: 0 4px 18px 0 rgba(186,185,141,0.14);
}
.learn-more {
  color: #342f28;
  font-weight: 700;
  border-bottom: 2px solid #bab98d;
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  transition: color .2s, border-color .2s;
}
.learn-more:hover {
  color: #bab98d;
  border-color: #342f28;
}

button,
.mobile-menu-toggle,
.mobile-menu-close {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.25rem;
  background: none;
  border: none;
  color: #342f28;
  cursor: pointer;
  padding: 10px;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-close:hover {
  background: #bab98d;
  color: #fff;
}

button:focus, a:focus {
  outline: 2px solid #bab98d;
  outline-offset: 2px;
}

/* LAYOUT BASE -------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
}
main {
  min-height: 56vh;
}

.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  margin-left: auto;
  margin-right: auto;
  max-width: 880px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px 0 rgba(52,47,40,0.07);
  padding: 32px 28px 24px 28px;
}

.card-content,
.content-grid {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.content-grid {
  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: 24px 28px 20px 28px;
  border-radius: 10px;
  background: #fff;
  border: 1.5px solid #bab98d;
  box-shadow: 0 3px 16px 0 rgba(52,47,40,0.08);
  margin-bottom: 20px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 240px;
  max-width: 320px;
}

/* HEADER ------------------------------------------------------------------- */
header {
  background: #fff;
  border-bottom: 1.1px solid #e2dfcb;
  box-shadow: 0 2px 12px 0 rgba(52,47,40,0.04);
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 10px;
  padding-bottom: 10px;
}
header img {
  height: 44px;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 22px;
}
.main-nav a {
  font-family: 'Lato', Arial, sans-serif;
  color: #342f28;
  font-size: 1rem;
  padding: 6px 5px 4px 5px;
  letter-spacing: .01em;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a.active {
  color: #bab98d;
  border-color: #bab98d;
}

.cta-btn {
  margin-left: 20px;
}

.mobile-menu-toggle {
  display: none;
  margin-left: 14px;
  font-size: 2rem;
  line-height: 1;
  z-index: 1500;
}

/* MOBILE NAV ----------------------------------------------------------------*/
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(52, 47, 40, 0.94);
  z-index: 2000;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transition: transform 0.32s cubic-bezier(.48,.24,.3,1);
  transform: translateX(100%);
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0);
  animation: slideInMenu 0.3s ease;
}
@keyframes slideInMenu {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
.mobile-menu-close {
  margin: 24px 24px 8px 0;
  background: none;
  color: #fff;
  font-size: 2.1rem;
  border: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  margin: 40px 34px 0 0;
  width: 80vw;
  max-width: 400px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  text-decoration: none;
  padding: 12px 8px;
  border-radius: 6px;
  margin-bottom: 8px;
  transition: background 0.17s, color 0.17s;
  width: 100%;
  display: block;
  text-align: right;
}
.mobile-nav a:hover {
  background: #bab98d;
  color: #342f28;
}

/* HERO ---------------------------------------------------------------------*/
.hero {
  background: linear-gradient(110deg,#f6fff8 70%,#bab98d 140%);
  border-radius: 0 0 32px 32px;
  padding-top: 52px;
  padding-bottom: 54px;
  box-shadow: 0 7px 22px 0 rgba(186,185,141,0.11);
}
.hero h1 {
  font-size: 2.6rem;
}
.hero .subheadline {
  font-size: 1.18rem;
  color: #6b684e;
}

/* FEATURES GRID ------------------------------------------------------------*/
.features-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 25px;
}
.features-grid > div, .service-item {
  background: #fff;
  border-radius: 10px;
  padding: 24px 20px 16px 20px;
  flex: 1 1 245px;
  min-width: 220px;
  max-width: 330px;
  box-shadow: 0 1px 6px 0 rgba(52,47,40,0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1.5px solid #e2dfcb;
  gap: 14px;
  transition: box-shadow 0.22s, border-color 0.18s;
}
.features-grid > div:hover, .service-item:hover {
  border-color: #bab98d;
  box-shadow: 0 3px 20px 0 rgba(186,185,141,0.12);
}
.features-grid img, .service-item img {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  filter: grayscale(15%) sepia(12%) contrast(1.07);
}
.features-grid h3, .service-item h3 {
  font-size: 1.175rem;
  color: #342f28;
  margin-bottom: 4px;
  margin-top: 0;
}
.service-price {
  display: block;
  margin-top: auto;
  font-size: 1.05rem;
  color: #726e53;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 600;
  padding-top: 3px;
  border-top: 1px solid #ecebdf;
}

/* TABLES -------------------------------------------------------------------*/
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0 20px 0;
  font-size: 1rem;
  box-shadow: 0 2px 14px 0 rgba(52,47,40,0.055);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.price-table th,
.price-table td {
  padding: 16px 12px;
  text-align: left;
  border-bottom: 1px solid #ecebdf;
  font-family: 'Lato', Arial, sans-serif;
}
.price-table tr:last-child td {
  border-bottom: none;
}
.price-table th {
  background: #bab98d;
  color: #fff;
  font-family: 'Playfair Display', serif;
}

/* TESTIMONIALS -------------------------------------------------------------*/
.testimonials { background: #f2f2ed; border-radius: 27px; padding-top: 38px; padding-bottom: 38px; }
.testimonials .content-wrapper {
  max-width: 930px;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 18px;
}
.testimonial-card {
  flex: 1 1 285px;
  min-width: 250px;
  border-left: 6px solid #bab98d;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px 0 rgba(52,47,40,0.09);
  position: relative;
}
.stars {
  color: #bab98d;
  font-size: 1.25rem;
  line-height: 1.35;
  margin-bottom: 7px;
  font-family: 'Playfair Display', serif;
}
.testimonial-info {
  font-size: .96rem;
  color: #8a866a;
  margin-top: 7px;
  font-style: italic;
  letter-spacing: .01em;
  font-family: 'Lato', Arial, sans-serif;
}

/* CTA SECTIONS -------------------------------------------------------------*/
.cta {
  background: #342f28;
  color: #fff;
  border-radius: 25px;
  padding-top: 38px;
  padding-bottom: 38px;
  margin-bottom: 56px;
}
.cta h2, .cta-text {
  color: #fff;
}
.cta .cta-btn {
  background: #bab98d;
  color: #342f28;
  border: 2px solid #bab98d;
}
.cta .cta-btn:hover, .cta .cta-btn:focus {
  background: #fff;
  color: #342f28;
  border: 2px solid #fff;
}

/* FAQ ----------------------------------------------------------------------*/
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 18px;
}
.faq-item {
  background: #fafaf3;
  border-radius: 8px;
  padding: 22px 20px;
  flex: 1 1 300px;
  min-width: 220px;
  box-shadow: 0 2px 12px 0 rgba(52,47,40,0.042);
  border-left: 4px solid #bab98d;
  margin-bottom: 20px;
}
.faq-item h3 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 3px;
  font-size: 1.13rem;
  color: #342f28;
}

/***** OTHER CARDS, TOPICS, ARTICLES, ETC *****/
.recent-articles {
  background: #f7f8ed;
  border-left: 3px solid #bab98d;
  border-radius: 6px;
  padding: 13px 16px 10px 18px;
  margin-top: 18px;
  color: #342f28;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.01rem;
}
.notice {
  background: #ecebdf;
  color: #665f46;
  padding: 9px 15px;
  border-radius: 5px;
  font-size: 0.97rem;
  border-left: 3px solid #bab98d;
  margin: 10px 0 10px 0;
}

/***** ROUTE DESCRIPTION SECTION *****/
.route-description {
  background: #f2f2ed;
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 1rem;
  color: #342f28;
  margin-top: 10px;
  box-shadow: 0 1px 5px 0 rgba(52,47,40,0.05);
}

/***** COOKIES CONSENT & MODAL **********************************************/
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 2px solid #bab98d;
  box-shadow: 0 -2px 16px 0 rgba(40,38,28,0.10);
  z-index: 5000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  font-size: 1rem;
  transition: transform 0.22s cubic-bezier(.54,.02,.19,1);
  transform: translateY(0);
  gap: 20px;
}
.cookie-banner.hide {
  transform: translateY(140%);
  pointer-events: none;
}
.cookie-banner-message {
  max-width: 630px;
  color: #342f28;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
}
.cookie-banner-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  background: #bab98d;
  color: #342f28;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: 18px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  margin-left: 0;
  transition: background 0.16s, color 0.16s;
  box-shadow: 0 2px 7px 0 rgba(186,185,141,0.07);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #342f28;
  color: #fff;
}
.cookie-btn.reject {
  background: #ecebdf;
  color: #726e53;
}
.cookie-btn.reject:hover {
  background: #bab98d;
  color: #342f28;
}

.cookie-settings-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 6000;
  background: rgba(40,38,28,0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.21s;
}
.cookie-settings-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-settings-modal-inner {
  background: #fff;
  border-radius: 15px;
  padding: 38px 26px 30px 26px;
  max-width: 470px;
  width: 95vw;
  box-shadow: 0 6px 28px 0 rgba(52,47,40,0.19);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cookie-settings-modal-inner h2 {
  font-size: 1.33rem;
  margin-bottom: 16px;
  color: #342f28;
}
.cookie-setting-category {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.cookie-category-toggle {
  accent-color: #bab98d;
  width: 18px; height: 18px;
}
.cookie-setting-label em {
  font-size: 0.94em;
  color: #7f7a5f;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}
.cookie-modal-close {
  background: none;
  color: #bab98d;
  border: none;
  font-size: 1.35rem;
  cursor: pointer;
  position: absolute;
  right: 19px;
  top: 17px;
}

/* FOOTER ------------------------------------------------------------------- */
footer {
  background: #342f28;
  color: #fff;
  padding: 36px 0 14px 0;
  font-size: 0.98rem;
  margin-top: 48px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer-nav {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  color: #bab98d;
  text-decoration: none;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 0.99rem;
  transition: color .16s, border-bottom .16s;
  padding: 4px 3px;
  border-bottom: 2px solid transparent;
}
.footer-nav a:hover {
  color: #fff;
  border-bottom: 2px solid #bab98d;
}
.footer-branding {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: #ecebdf;
}
.footer-branding img {
  height: 36px;
  margin-bottom: 2px;
}
.footer-branding span {
  font-size: 0.97rem;
}

/****************************** RESPONSIVE ***********************************/
@media (max-width: 1100px) {
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  .content-wrapper { max-width: 100vw; }
  .features-grid, .service-list, .testimonial-slider, .faq-list { gap: 16px; }
}
@media (max-width: 768px) {
  .container { padding: 0 10px; }
  header .container {
    flex-wrap: wrap;
    gap: 6px;
  }
  .main-nav,
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    padding-top: 35px;
    padding-bottom: 25px;
    border-radius: 0 0 20px 20px;
  }
  .features-grid, .service-list, .testimonial-slider, .faq-list {
    flex-direction: column;
    gap: 18px;
  }
  .section, section {
    padding: 28px 8px;
    margin-bottom: 42px;
  }
  .card, .testimonial-card, .faq-item, .service-item {
    min-width: 0;
    width: 100%;
    padding: 22px 12px 14px 14px;
  }
  .footer-branding img { height: 32px; }
  .text-image-section { flex-direction: column; align-items: stretch; gap: 17px; }
}
@media (max-width: 530px) {
  h1 { font-size: 1.67rem; }
  h2 { font-size: 1.25rem; }
  .cta-btn, .cta .cta-btn { padding: 9px 18px; font-size: 1rem; }
  header img { height: 34px; }
  .footer-branding img { height: 22px; }
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    padding: 16px 9px;
    font-size: 0.99rem;
  }
}

/********************************************************************/
/* UTILITY SPACING (for content separation)                        */
.section > * + *,
.content-wrapper > * + *,
.text-section > * + *,
.card > * + *,
.testimonial-card > * + *,
.feature-item > * + *,
.service-item > * + * {
  margin-top: 14px;
}
/* Ensure all cards/sections have at least 20px margin between them */
.features-grid > * { margin-bottom: 20px; }
.service-list > * { margin-bottom: 20px; }
.testimonial-slider > * { margin-bottom: 20px; }
.faq-list > * { margin-bottom: 20px; }

/* ELEGANT SHADOWS AND HOVER -----------------------------------------------*/
.card, .testimonial-card, .service-item, .feature-item, .faq-item {
  transition: box-shadow 0.14s, border-color 0.13s, transform 0.16s;
}
.card:hover, .testimonial-card:hover, .service-item:hover, .faq-item:hover {
  box-shadow: 0 4px 24px 0 rgba(52,47,40,0.14);
  border-color: #bab98d;
  transform: translateY(-3px) scale(1.017);
  z-index: 1;
}

/* GENERAL FORM STYLES -----------------------------------------------------*/
input, textarea, select {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  padding: 9px 13px;
  border: 1px solid #e2dfcb;
  border-radius: 7px;
  background: #f8f9f2;
  transition: border-color 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: #bab98d;
  outline: 1px solid #bab98d;
}

/*************************** PRINT *******************************************/
@media print {
  header, footer, .cookie-banner, .mobile-menu { display:none; }
  body { background: #fff !important; color: #000 !important; }
}
