/* ========================
   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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #f8f8f4;
  color: #215c3e;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #215c3e;
  text-decoration: none;
  transition: color 0.14s cubic-bezier(.7,0,.3,1);
}
a:hover,
a:focus {
  color: #ac8674;
}
ul, li {
  list-style: none;
}
input, button, textarea, select {
  font: inherit;
}
button {
  background: none;
  border: none;
  cursor: pointer;
}

/* ========================
     BRAND FONTS
  ======================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Raleway:wght@400;700&display=swap');
:root {
  --primary: #215c3e;
  --secondary: #d6ceb3;
  --accent: #ac8674;
  --neutral: #f8f8f4;
  --shadow: rgba(33, 92, 62, 0.08);
  --shadow-card: 0 4px 18px rgba(33,92,62,0.08);
  --radius-card: 20px;
  --radius-btn: 28px;
  --transition: 0.22s cubic-bezier(.7,0,.3,1);
  --font-display: 'Playfair Display', serif;
  --font-body: 'Raleway', Arial, Helvetica, sans-serif;
}

/* ========================
     GENERAL LAYOUT CONTAINERS
  ======================== */
.container {
  width: 100%;
  max-width: 1180px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}
.content-wrapper {
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--neutral);
  border-radius: 32px;
  box-shadow: var(--shadow-card);
  position: relative;
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 38px;
    padding: 24px 7px;
    border-radius: 16px;
  }
}

/* ========================
   TYPOGRAPHY & HEADINGS
  ======================== */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.75rem;
  line-height: 1.15;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: -1px;
  font-weight: 700;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.18;
  color: var(--primary);
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 0.1px;
}
h4, .h4 {
  font-size: 1.12rem;
  font-family: var(--font-body);
  font-weight: 700;
}
p, li, ul {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--primary);
}
p {
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
}
small {
  font-size: 0.93rem;
}

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

/* Geometric structured: uppercase, angular accents */
h1, h2, h3 {
  text-transform: none;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-btn);
  padding: 0.9em 2.1em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  box-shadow: 0 3px 14px rgba(33,92,62,0.10);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  border: 2.5px solid var(--primary);
  margin-top: 20px;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 26px rgba(172,134,116,0.18);
}

/* Inline links */
.content-wrapper a:not(.cta-btn) {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  font-weight: 700;
  transition: border-bottom-color var(--transition), color var(--transition);
}
.content-wrapper a:not(.cta-btn):hover, .content-wrapper a:not(.cta-btn):focus {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* ========================
     HEADER/NAVIGATION
  ======================== */
header {
  background: #fff;
  box-shadow: 0 2px 8px var(--shadow);
  padding: 0;
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 99;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.logo img {
  height: 48px;
  margin-right: 18px;
  vertical-align: bottom;
}
header nav {
  display: flex;
  gap: 30px;
  align-items: center;
}
header nav a {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--primary);
  padding: 10px 7px;
  border-radius: 7px;
  position: relative;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
header nav a:hover, header nav a.active {
  background: var(--secondary);
  color: var(--accent);
  box-shadow: 0 3px 12px rgba(33,92,62,0.07);
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 15px;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  transition: background var(--transition), color var(--transition);
  margin-left: 18px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--primary);
  color: #fff;
}

/* ==========================
    MOBILE NAVIGATION
  ==========================
   .mobile-menu, .mobile-menu-close,
   .mobile-nav a
==============================*/
.mobile-menu {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: #fff;
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100vw);
  transition: transform 0.33s cubic-bezier(.71,0,.31,1);
  box-shadow: -6px 0 48px rgba(33,92,62,0.13);
  padding: 0;
  min-width: 60vw;
  width: 100vw;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--accent);
  color: #fff;
  font-size: 2.2rem;
  margin: 24px 32px 0 0;
  border-radius: 13px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  transition: background .17s, color .17s;
  border: 2px solid var(--accent);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 38px 32px 0 24px;
  gap: 12px;
  align-items: flex-start;
}
.mobile-nav a {
  width: 100%;
  padding: 20px 0;
  font-size: 1.17rem;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--accent);
}

/* Hide nav and show burger on mobile */
@media (max-width: 900px) {
  header nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 900px) {
  .mobile-menu { display: none !important; }
}

/* ========================
   MAIN FLEX CONTAINERS
  ======================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 30px 26px;
  min-width: 240px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 30px rgba(33,92,62,0.14);
  transform: translateY(-6px) scale(1.025);
}
.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;
  margin-bottom: 20px;
  background: var(--secondary);
  border-radius: 20px;
  box-shadow: 0 2px 8px var(--shadow);
  flex-wrap: wrap;
}
.testimonial-card p {
  font-size: 1.15rem;
  color: #222;
  margin-bottom: 7px;
  font-family: var(--font-body);
}
.testimonial-card div {
  font-size: 1rem;
  color: var(--primary);
  font-family: var(--font-body);
  margin-left: 10px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: transparent;
}

/* Specific for repeated sections in main */
main section>.container>.content-wrapper>ul {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  margin-bottom: 12px;
}
@media (max-width: 768px) {
  main section>.container>.content-wrapper>ul {
    flex-direction: column;
    gap: 18px;
  }
}
main section>.container>.content-wrapper>ul>li>div,
main section>.container>.content-wrapper>ul>li
{
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  padding: 0;
}
main section>.container>.content-wrapper>ul>li img {
  height: 44px;
  width: 44px;
  margin-bottom: 6px;
}

/* Contact snippet */
.contact-snippet {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
  color: var(--accent);
  background: #fff;
  border-radius: 12px;
  padding: 8px 16px;
  margin-bottom: 12px;
  box-shadow: 0 2px 7px var(--shadow);
  font-family: var(--font-body);
}
.contact-snippet img {
  width: 26px; height: 26px; margin-right: 4px;
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
}

/* ========================
     FOOTER DESIGN
  ======================== */
footer {
  background: var(--primary);
  color: var(--secondary);
  border-top-left-radius: 60px;
  border-top-right-radius: 60px;
  box-shadow: 0 -3px 18px var(--shadow);
}
footer .container {
  margin-top: 0;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 32px 0 20px 0;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
footer nav a {
  color: var(--secondary);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: color var(--transition), border-bottom-color var(--transition);
  padding-left: 2px;
  border-radius: 4px;
}
footer nav a:hover, footer nav a:focus {
  color: var(--accent);
}
.footer-contact p {
  color: var(--secondary);
  font-size: 0.98rem;
  margin-bottom: 7px;
}
.legal-info {
  padding-top: 16px;
  flex-basis: 100%;
  text-align: center;
  color: var(--secondary);
  opacity: 0.75;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 26px;
    align-items: flex-start;
  }
}

/* ========================
    GEOMETRIC VISUALS
  ======================== */
.section, .card, .testimonial-card, .contact-snippet {
  border-radius: 18px 48px 24px 32px;
  border: 2.5px solid var(--secondary);
}
.cta-btn, .mobile-menu-toggle, .mobile-menu-close {
  border-radius: 16px 25px 14px 33px;
}

/* Angular, geometric font accents for h1/h2/h3 */
h1, h2, h3 {
  font-variant-caps: small-caps;
  letter-spacing: 0.02em;
}

/* ==========================
   SHADOWS / MICRO-INTERACTIONS
==============================*/
.card, .testimonial-card, .contact-snippet,
.section {
  box-shadow: 0 4px 20px var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover,
.card:focus,
.testimonial-card:hover,
.testimonial-card:focus {
  box-shadow: 0 12px 38px rgba(33,92,62,0.13);
  transform: translateY(-2px) scale(1.015);
}

/* ========================
     BUTTONS
  ======================== */
button, .cta-btn {
  appearance: none;
  outline: none;
  border: none;
}
button:focus, .cta-btn:focus {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ========================
   COOKIE CONSENT BANNER
  ======================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9998;
  background: #fff;
  border-top: 4.5px solid var(--accent);
  box-shadow: 0 -3px 38px rgba(33,92,62,0.20);
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
  gap: 18px;
  padding: 20px 24px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--primary);
  opacity: 1;
  transition: transform .32s cubic-bezier(.7,0,.3,1), opacity .18s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__text {
  flex: 1 1 auto;
  max-width: 520px;
  margin-right: 16px;
  color: #2d2a20;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  align-items: center;
}
.cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 19px;
  padding: 9px 22px;
  border: 2px solid var(--accent);
  background: var(--accent);
  color: #fff;
  transition: background .19s, color .19s, border .19s, transform .16s;
}
.cookie-btn.accept {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.cookie-btn.settings {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.cookie-btn.reject {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--secondary);
  color: var(--primary);
  transform: scale(1.045);
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px 7px;
  }
  .cookie-banner__text {
    max-width: 100%;
    margin-right: 0; margin-bottom: 8px;
    font-size: 0.96rem;
  }
  .cookie-btn { width: 100%; }
  .cookie-banner__actions {
    flex-direction: column;
    gap: 11px;
  }
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  z-index: 10000;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(33,92,62,0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity .24s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal__content {
  background: #fff;
  border-radius: 36px 17px 46px 21px;
  min-width: 320px;
  max-width: 98vw;
  width: 420px;
  box-shadow: 0 6px 34px rgba(33,92,62,0.18);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  border: 2.5px solid var(--secondary);
  font-family: var(--font-body);
}
.cookie-modal__header {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 1.45rem;
  margin-bottom: 8px;
  font-weight: 700;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 7px 0;
  padding: 12px 0;
  border-bottom: 1.5px solid #eee;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--primary);
  font-weight: 600;
}
.cookie-category input[type='checkbox'] {
  width: 24px;
  height: 24px;
  accent-color: var(--primary);
  border-radius: 5px;
}
.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 7px;
}
@media (max-width: 630px) {
  .cookie-modal__content {
    width: 97vw;
    min-width: 0;
    padding: 18px 7px;
    border-radius: 14px 24px 22px 16px;
  }
}

/* ========================
       RESPONSIVE SCALES
  ======================== */
@media (max-width: 480px) {
  h1,.h1 {font-size: 1.28rem;}
  h2,.h2 {font-size: 1.04rem;}
  .cta-btn {font-size: 1rem; padding: 0.72em 1.3em;}
  .card, .testimonial-card, .contact-snippet { padding: 13px 7px; }
  .section { padding: 13px 3px; }
}

/* Utility classes for geometric spacing */
.spacing-8 { margin-bottom: 8px !important; }
.spacing-16 { margin-bottom: 16px !important; }
.spacing-24 { margin-bottom: 24px !important; }
.spacing-32 { margin-bottom: 32px !important; }
.spacing-48 { margin-bottom: 48px !important; }

/* ========================
   SCROLLBAR GEOMETRIC
==========================*/
::-webkit-scrollbar {
    width: 11px;
    background: var(--neutral);
}
::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 22px;
    border: 2.5px solid var(--neutral);
}
::-webkit-scrollbar-track {
    background: var(--neutral);
}

/* ========================
     ACCESSIBILITY FOCUS
==========================*/
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  z-index: 1002;
}

/* ========================
   PRINT OPTIMIZATION
==========================*/
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  .container { padding: 0; max-width: none; }
  .section, .card, .testimonial-card { box-shadow: none; border: 1px solid #ccc; }
}
