/* ========== 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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background-color: #F5F3EE;
  color: #3A2E1D;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  position: relative;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, nav, section {
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
}

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

:root {
  --primary: #3A2E1D;
  --secondary: #A49A87;
  --accent: #F5F3EE;
  --green: #507352;
  --earth: #CFBDA7;
  --cream: #FAF8F3;
  --card-shadow: 0 2px 8px rgba(91, 107, 74, 0.14), 0 1.5px 8px 0 rgba(128, 101, 76, 0.09);
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--primary);
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.18;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1.22;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  line-height: 1.25;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.subheadline {
  font-size: 1.2rem;
  color: var(--green);
  margin-bottom: 28px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 400;
}
p, li, .text-section {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--primary);
}
strong {
  font-weight: 700;
}

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

/* ========== LAYOUT & CONTAINERS ========== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
}

/* Hero section styling */
.hero {
  background-color: var(--cream);
  background-image: url('../assets/texture-bg.png'); /* optional subtle texture */
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 0 0 45px 45px/0 0 96px 96px;
  box-shadow: 0 10px 40px rgba(61,80,68,0.06);
  padding-top: 54px;
  padding-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1, .hero .subheadline { text-align: center; }

/* ========== FLEXBOX PATTERNS ========== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--accent);
  border-radius: 18px;
  box-shadow: var(--card-shadow);
  padding: 32px 24px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.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: 21px;
  background-color: #f6f4f1;
  box-shadow: var(--card-shadow);
  border-left: 7px solid var(--green);
  min-width: 230px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 768px) {
  .content-grid, .text-image-section, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    min-width: 0;
    width: 100%;
  }
}

/* ========== HEADER NAVIGATION ========== */
header {
  background-color: var(--accent);
  border-bottom: 1.5px solid var(--earth);
  box-shadow: 0 1px 9px 0 rgba(91, 107, 74, 0.06);
  z-index: 20;
} 
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
}
.logo img {
  height: 42px;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 1px 4px 0 rgba(61,80,68,0.09);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.main-nav li a {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--primary);
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 16px;
  transition: background 0.19s, color 0.19s;
}
.main-nav li a:hover, .main-nav li a:focus {
  background: var(--earth);
  color: var(--green);
}
.cta-primary {
  background: var(--green);
  color: #fff;
  padding: 13px 28px;
  border-radius: 99px;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 3px 16px 0 rgba(80,115,82,0.15);
  transition: background 0.22s, box-shadow 0.22s, color 0.18s;
  display: inline-block;
  margin-left: 22px;
}
.cta-primary:hover, .cta-primary:focus {
  background: #425e3f;
  color: #fff;
  box-shadow: 0 8px 24px 0 rgba(80,115,82,0.20);
}

/* ========== MOBILE NAV ========== */
.mobile-menu-toggle {
  display: none;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  padding: 12px 14px;
  font-size: 2rem;
  z-index: 100;
  border: 2px solid var(--earth);
  transition: background 0.2s;
}
.mobile-menu-toggle:hover {
  background: #385230;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #f6f4f1;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.7,0,.3,1);
  box-shadow: 0 4px 48px 0 rgba(80,115,82,0.11);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: var(--primary);
  background: var(--earth);
  align-self: flex-end;
  margin: 24px 26px 0 0;
  border-radius: 99px;
  padding: 5px 16px 5px 16px;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--green);
  background: #e8e2d5;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 48px 0 0 34px;
  width: 80vw;
  max-width: 340px;
}
.mobile-nav a {
  font-size: 1.15rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--primary);
  background: transparent;
  padding: 8px 0;
  border-radius: 14px;
  transition: background 0.14s, color 0.14s;
  font-weight: 500;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--earth);
  color: var(--green);
}
@media (max-width: 1100px) {
  .main-nav {
    gap: 11px;
  }
  .cta-primary {
    margin-left: 10px;
  }
}
@media (max-width: 900px) {
  header nav {
    gap: 8px;
  }
  .main-nav li a {
    padding: 7px 9px;
  }
}
@media (max-width: 768px) {
  .main-nav, .cta-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
  }
}

/* ========== FEATURE, SERVICE, TIMELINE, FAQ, ETC. ========== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 6px;
  margin-bottom: 16px;
}
.feature-grid li {
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: var(--cream);
  border-radius: 15px;
  box-shadow: var(--card-shadow);
  padding: 28px 22px;
  margin-bottom: 20px;
  transition: box-shadow 0.21s, background 0.21s;
}
.feature-grid li:hover {
  box-shadow: 0 6px 36px rgba(91,107,74,0.14);
  background: #f0ede6;
}
.feature-grid img {
  width: 36px; height: 36px; margin-bottom: 4px;
  filter: grayscale(0.08) brightness(0.97) contrast(1.15);
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 16px;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 18px;
}
.service-list li, .service-item {
  flex: 1 1 265px;
  background: var(--cream);
  border-radius: 15px;
  box-shadow: var(--card-shadow);
  padding: 24px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  transition: box-shadow 0.2s, background 0.2s;
}
.service-list li:hover, .service-item:hover {
  box-shadow: 0 7px 30px 0 rgba(91,107,74,0.14);
  background: #f0ede6;
}
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 22px;
}
.service-card {
  flex: 1 1 270px;
  background: var(--cream);
  border-radius: 15px;
  box-shadow: var(--card-shadow);
  padding: 24px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  transition: box-shadow 0.2s, background 0.2s;
}
.service-card:hover {
  box-shadow: 0 7px 32px 0 rgba(91,107,74,0.14);
  background: #f0ede6;
}
.service-price {
  font-family: 'Playfair Display', serif;
  color: var(--green);
  font-weight: 700;
  font-size: 1.04rem;
  margin-top: 6px;
}
.timeline-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 21px;
  margin-bottom: 17px;
}
.timeline-steps li {
  flex: 1 1 180px;
  background: var(--cream);
  border-radius: 15px;
  box-shadow: var(--card-shadow);
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s;
}
.timeline-steps img {
  width: 30px; height: 30px;
}
@media (max-width: 950px) {
  .feature-grid, .service-list, .service-cards, .timeline-steps {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid li, .service-list li, .service-card, .timeline-steps li {
    max-width: 100%;
  }
}

/* ========== TESTIMONIALS ========== */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  flex: 1 1 220px;
  background: #fff;
  color: var(--primary) !important;
  border-radius: 22px;
  box-shadow: var(--card-shadow);
  margin-bottom: 20px;
  padding: 26px 22px 18px 22px;
  position: relative;
  min-width: 220px;
  transition: box-shadow 0.18s, border-left 0.16s, background 0.17s;
}
.testimonial-card:hover {
  box-shadow: 0 7px 40px 0 rgba(110,127,81,0.12);
  background: #f6f8f3;
  border-left: 7px solid var(--earth);
}
.testimonial-card p {
  font-size: 1rem;
  color: var(--primary);
  line-height: 1.56;
  margin-bottom: 13px;
  font-style: italic;
}
.testimonial-details {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.96rem;
  color: var(--green);
  font-family: 'Roboto', Arial, sans-serif;
  margin-top: 4px;
}
.testimonial-details span:first-child {
  color: #B7B117;
  font-size: 1.05rem;
  font-weight: 550;
}

@media (max-width: 950px) {
  .testimonial-list {
    flex-direction: column;
    gap: 18px;
  }
}

/* ========== TEXT / FAQ / LEGAL / CARDS / ACCORDION ========== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 19px;
}
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.faq-item {
  background: var(--cream);
  border-radius: 14px;
  box-shadow: var(--card-shadow);
  padding: 19px 24px;
  margin-bottom: 20px;
  cursor: pointer;
  transition: box-shadow 0.16s;
}
.faq-item:hover {
  box-shadow: 0 6px 26px rgba(99,117,102,0.18);
}
.faq-item h3 {
  font-size: 1.05rem;
  margin-bottom: 5px;
}

.legal {
  background: var(--cream);
  padding-top: 60px;
  padding-bottom: 60px;
  border-radius: 42px;
  margin-bottom: 62px;
} 
@media (max-width: 768px) {
  .legal {
    padding: 28px 0 40px 0;
    border-radius: 0;
    margin-bottom: 36px;
  }
}

/* ========== FOOTER ========== */
footer {
  margin-top: 36px;
  background: var(--earth);
  color: var(--primary);
  padding: 30px 0 8px 0;
  border-radius: 36px 36px 0 0/110px 110px 0 0;
  box-shadow: 0 -2px 16px 0 rgba(80,115,82,0.07);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-links, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.97rem;
}
.footer-links a {
  color: var(--primary);
  font-family: 'Roboto', Arial, sans-serif;
  border-radius: 10px;
  padding: 5px 8px;
  transition: background .14s, color 0.14s;
}
.footer-links a:hover { background: var(--green); color: #fff; }
.footer-brand img {
  width: 60px;
  height: auto;
  border-radius: 12px;
  margin-bottom: 10px;
}
.footer-social {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
.footer-social img {
  width: 26px; height: 26px; opacity: .91; filter: grayscale(0.22); transition: filter .17s, opacity .17s;
  border-radius: 5px;
}
.footer-social img:hover {
  opacity: 1;
  filter: grayscale(0) brightness(1.2);
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .footer-social { align-self: flex-start; }
}

/* ========== THANK YOU SECTION STYLE ========== */
.thank-you {
  background: #f0ede6;
  border-radius: 25px;
  box-shadow: var(--card-shadow);
  padding: 60px 0 60px 0;
  margin-bottom: 40px;
  text-align: center;
}
.thank-you h1 { margin-bottom: 18px; }

/* ========== BUTTONS ========== */
button, .cta-primary, .cookie-btn {
  outline: none;
  border: none;
  font-family: 'Roboto', Arial, sans-serif;
}
.button, .cookie-btn {
  background: var(--green);
  color: #fff;
  border-radius: 99px;
  padding: 10px 24px;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-right: 16px;
  box-shadow: 0 2px 9px 0 rgba(80,115,82,0.12);
  transition: background 0.2s, color 0.16s, box-shadow 0.19s;
}
.button:hover, .cookie-btn:hover, .cookie-btn:focus {
  background: #385230;
  color: #fff;
  box-shadow: 0 5px 16px 0 rgba(80,115,82,0.15);
}
.cookie-btn-reject {
  background: #c7896e;
  color: #fff;
  margin-right: 12px;
}
.cookie-btn-reject:hover {
  background: #ad6847;
  color: #fff;
}
.cookie-btn-setting {
  background: var(--accent);
  color: var(--green);
  border: 1.5px solid var(--green);
  margin-right: 12px;
}
.cookie-btn-setting:hover {
  background: #f0ede6;
  color: #3A2E1D;
}

/* ========== COOKIE CONSENT BANNER ========== */
#cookie-consent {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1400;
  width: 100%;
  background: #FAF8F3;
  border-top: 1.5px solid var(--earth);
  box-shadow: 0 -4px 30px 0 rgba(91,107,74,0.13);
  color: var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 20px 16px 20px;
  animation: slideUpCookie 0.5s cubic-bezier(.7,0,.4,1);
}
@keyframes slideUpCookie {
  from { transform: translateY(100%); opacity: 0;}
  to   { transform: translateY(0); opacity: 1;}
}
#cookie-consent p {
  max-width: 720px;
  text-align: center;
  color: var(--primary);
  line-height: 1.6;
  font-size: 1.05rem;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
@media (max-width: 600px) {
  #cookie-consent {
    padding: 18px 5px 6px 5px;
    font-size: 0.97rem;
  }
}

/* COOKIE MODAL */
#cookie-modal-overlay {
  position: fixed;
  z-index: 1402;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(80, 115, 82, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.28s, visibility 0.28s;
}
#cookie-modal-overlay.active {
  visibility: visible;
  opacity: 1;
}
#cookie-modal {
  background: #fff;
  border-radius: 22px;
  padding: 34px 30px 22px 30px;
  max-width: 375px;
  width: 94vw;
  box-shadow: 0 7px 40px 0 rgba(80,115,82,0.18);
  border: 3px solid var(--earth);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: fadeInPop 0.46s cubic-bezier(.7,0,.3,1);
}
@keyframes fadeInPop {
  0% {transform: scale(0.86); opacity: 0;}
  100% {transform: scale(1); opacity: 1;}
}
#cookie-modal h2 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"]:not(:disabled) {
  accent-color: var(--green);
  width: 18px; height: 18px;
}
.cookie-category input[type="checkbox"]:disabled {
  accent-color: #bbb;
  opacity: .82;
}
.cookie-modal-footer {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  justify-content: flex-end;
}

/* ========== ORNAMENTAL ORGANIC/NATURE ACCENTS ========== */
/* Subtle organic shape accents and borders (for further design engagement, e.g. hero, cards, etc.) */
.feature-grid li, .service-list li, .card, .service-card, .testimonial-card, .faq-item {
  border-bottom-right-radius: 65px 45px;
  border-top-left-radius: 55px 45px;
}

/* ========== RESPONSIVE IMPROVEMENTS ========== */
@media (max-width: 600px) {
  .feature-grid li, .service-list li, .service-card, .timeline-steps li {
    padding: 14px 10px;
  }
  footer {
    border-radius: 0;
    padding: 18px 0 2px 0;
  }
  .hero {
    border-radius: 0;
    padding-top: 30px;
    padding-bottom: 32px;
  }
}

/* ========== UTILS & MISC ========== */
.hide { display: none !important; }

::-webkit-scrollbar {
  width: 10px;
  background: #e9e3d8;
}
::-webkit-scrollbar-thumb {
  background: #baa881;
  border-radius: 20px;
}

/* ========== INTERACTIONS/ANIMATIONS ========== */
button:active, .cta-primary:active {
  transform: scale(0.97);
}
.card, .feature-grid li, .service-list li, .service-card, .testimonial-card {
  transition: box-shadow .21s, background .19s, transform .14s;
}
.card:hover, .feature-grid li:hover, .service-list li:hover, .service-card:hover {
  transform: translateY(-5px) scale(1.018);
  box-shadow: 0 7px 30px 0 rgba(91,107,74,0.16);
}

/* ========== FORM STYLES (for contact forms etc if added) ========== */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  padding: 11px 14px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1.5px solid var(--earth);
  background: #fff;
  color: var(--primary);
  margin-bottom: 18px;
  box-shadow: none;
  transition: border .18s;
}
input:focus, textarea:focus {
  border: 1.5px solid var(--green);
  outline: none;
}
label {
  font-size: 0.98rem;
  color: var(--green);
  font-weight: 500;
  margin-bottom: 5px;
  display: block;
}


/**** CRITICAL SPACING FOR CONSISTENCY ****/
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* ========== VISUAL ACCESSIBILITY ========== */
.testimonial-card, .testimonial-card p, .testimonial-card .testimonial-details {
  background: #fff;
  color: #232012;
  font-size: 1rem;
}
.testimonial-details { color: var(--green); }

/**** END OF MAIN CSS ****/