/* ==== 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 {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  line-height: 1.5;
  background: #faf9f5;
  color: #1c2d1d;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color .18s;
}
button, input, select, textarea {
  font: inherit;
}
:focus {
  outline: 2px solid #839CA5;
  outline-offset: 2px;
}

/* ==== VARIABLES & BRAND COLORS ==== */
:root {
  --th-primary: #355C3A;
  --th-secondary: #FFFDEB;
  --th-accent: #20445A;
  --th-neutral: #839CA5;
  --th-light: #FFFFFF;
  --th-shadow: rgba(32,44,30,0.1);
  --th-shadow-strong: rgba(32,44,30,0.18);
}

/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--th-primary);
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.13;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.07rem;
  margin-bottom: 7px;
}
p, ul, ol, blockquote {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
}
.text-section p, .content-wrapper p {
  max-width: 760px;
}
strong, b {
  font-weight: 700;
}
small {
  font-size: .86rem;
  color: var(--th-accent);
  letter-spacing: .01em;
}

/* ==== CONTAINER ==== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==== HEADER & MAIN NAV ==== */
header {
  background: var(--th-secondary);
  box-shadow: 0 2px 12px var(--th-shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 84px;
}
header img {
  height: 48px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  letter-spacing: .01em;
  color: var(--th-primary);
  padding: 3px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-bottom .2s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--th-accent);
  border-bottom: 2px solid var(--th-accent);
}
.cta-header {
  background: var(--th-primary);
  color: var(--th-light);
  border-radius: 31px;
  padding: 12px 32px;
  box-shadow: 0 3px 16px var(--th-shadow);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: .03em;
  font-weight: 600;
  transition: background .18s, box-shadow .18s, color .18s;
  margin-left: 12px;
  display: inline-block;
  border: 2px solid transparent;
}
.cta-header:hover, .cta-header:focus {
  background: var(--th-accent);
  color: var(--th-secondary);
  box-shadow: 0 2px 12px var(--th-shadow-strong);
  border-color: var(--th-primary);
}

/* ==== MOBILE MENU BUTTON ==== */
.mobile-menu-toggle {
  display: none;
  background: var(--th-primary);
  color: var(--th-secondary);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  transition: background .18s, color .18s, box-shadow .18s;
  box-shadow: 0 2px 10px var(--th-shadow);
  cursor: pointer;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--th-accent);
  color: #fff;
}

/* ==== MOBILE MENU (SLIDE) ==== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--th-secondary);
  z-index: 5000;
  transform: translateX(-100%);
  transition: transform .37s cubic-bezier(.76,0,.24,1);
  box-shadow: 2px 0 24px 0 var(--th-shadow-strong);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 22px 0 0;
  background: transparent;
  border: none;
  font-size: 2.3rem;
  color: var(--th-accent);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 50%;
  transition: background .18s;
}
.mobile-menu-close:hover {
  background: var(--th-neutral);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 50px 0 0 34px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  color: var(--th-primary);
  padding: 9px 0;
  margin-right: 14px;
  letter-spacing: .018em;
  transition: color .2s;
  border-bottom: 1px dashed transparent;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--th-accent);
  border-bottom: 1px dashed var(--th-accent);
}

/* ==== LAYOUT + FLEXBOX ==== */
main {
  margin-top: 24px;
  margin-bottom: 36px;
  min-height: 50vh;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  background: var(--th-light);
  border-radius: 22px;
  box-shadow: 0 4px 32px var(--th-shadow);
  padding: 36px 28px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: var(--th-secondary);
  border-radius: 24px;
  box-shadow: 0 2px 12px var(--th-shadow);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 34px 28px;
}
.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: 24px 0 0 0;
  background: #fff;
  box-shadow: 0 2px 14px var(--th-shadow-strong);
  border-left: 7px solid var(--th-primary);
  border-radius: 20px;
  min-width: 210px;
  max-width: 630px;
}
.testimonial-card p {
  color: #203020;
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-style: italic;
  line-height: 1.5;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.feature-grid > div {
  background: var(--th-secondary);
  flex: 1 1 240px;
  min-width: 220px;
  border-radius: 21px;
  box-shadow: 0 2px 10px var(--th-shadow);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  transition: box-shadow .18s, transform .18s;
  position: relative;
  margin-bottom: 20px;
}
.feature-grid > div:hover {
  box-shadow: 0 7px 24px var(--th-shadow-strong);
  transform: translateY(-8px) scale(1.04) rotate(-1deg);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* ==== ICONS ==== */
.feature-grid img,
.content-wrapper ul img,
li img {
  height: 28px;
  width: 28px;
  margin-right: 9px;
  vertical-align: middle;
}

/* ==== CTA BUTTONS ==== */
.cta-main, .cta-secondary, .cta-tertiary {
  border: none;
  border-radius: 29px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: .03em;
  margin-top: 10px;
  margin-bottom: 2px;
  padding: 15px 37px;
  box-shadow: 0 2px 18px var(--th-shadow);
  transition: background .19s, color .19s, box-shadow .18s, border-color .18s;
  display: inline-block;
  text-align: center;
  outline: none;
}
.cta-main {
  background: var(--th-primary);
  color: #fff;
}
.cta-main:hover, .cta-main:focus {
  background: var(--th-accent);
  color: var(--th-secondary);
}
.cta-secondary {
  background: var(--th-accent);
  color: #fff;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--th-primary);
  color: #fff;
}
.cta-tertiary {
  background: var(--th-neutral);
  color: var(--th-primary);
}
.cta-tertiary:hover, .cta-tertiary:focus {
  background: var(--th-primary);
  color: var(--th-secondary);
}

/* ==== LISTS & BULLETS ==== */
ul li {
  margin-bottom: 16px;
  padding-left: 0;
  color: #243620;
  display: flex;
  align-items: center;
  font-size: 1rem;
  line-height: 1.5;
}
ul li strong, ul li b {
  color: var(--th-primary);
  font-size: 1.04em;
  margin-right: 2px;
}

/* ==== ARTISTIC DETAILS ==== */
.content-wrapper, .card, .testimonial-card {
  background: rgb(255,253,235);
  box-shadow: 0 4px 32px var(--th-shadow);
  border-radius: 21px;
  position: relative;
}
.feature-grid > div::before {
  content: '';
  position: absolute;
  top: -18px;
  right: -11px;
  width: 43px;
  height: 43px;
  background: var(--th-accent);
  opacity: 0.06;
  border-radius: 50%;
  z-index: 0;
}
.feature-grid > div:nth-child(2)::before {
  background: var(--th-primary);
  opacity: 0.09;
}
.section {
  position: relative;
}
.section::after {
  content: '';
  position: absolute;
  bottom: 6px;
  right: 36px;
  width: 70px;
  height: 70px;
  background: var(--th-accent);
  opacity: 0.045;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  display: block;
}

/* ==== FOOTER ==== */
footer {
  background: var(--th-secondary);
  border-top: 1px solid #e4e1cd;
  padding: 35px 0 17px 0;
  margin-top: 60px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 24px;
}
.footer-nav a {
  color: var(--th-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  transition: color .17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--th-accent);
  text-decoration: underline;
}
.footer-contact {
  text-align: center;
  color: #81947e;
  font-size: 0.95rem;
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--th-light);
  color: var(--th-primary);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 31px;
  padding: 20px 12px 20px 20px;
  box-shadow: 0 -6px 32px var(--th-shadow);
  font-family: 'Roboto', Arial, sans-serif;
  z-index: 10000;
  transition: transform .33s cubic-bezier(.7,.2,.2,1);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner-text {
  flex: 1 1;
  font-size: 1.04rem;
  margin-right: 18px;
}
.cookie-banner-btns {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-btn {
  border: none;
  padding: 12px 26px;
  border-radius: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  cursor: pointer;
  font-weight: 600;
  background: var(--th-neutral);
  color: var(--th-primary);
  margin-right: 7px;
  transition: background .18s, color .18s;
}
.cookie-btn.accept {
  background: var(--th-primary);
  color: var(--th-light);
}
.cookie-btn.accept:hover {
  background: var(--th-accent);
}
.cookie-btn.reject {
  background: #d0d3b7;
  color: var(--th-accent);
}
.cookie-btn.reject:hover {
  background: var(--th-accent);
  color: #fff;
}
.cookie-btn.settings {
  background: var(--th-accent);
  color: #fff;
}
.cookie-btn.settings:hover {
  background: var(--th-primary);
  color: var(--th-secondary);
}

/* ==== COOKIE MODAL ==== */
.cookie-modal-overlay {
  position: fixed; left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(53,92,58,0.089);
  z-index: 10100;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .24s;
}
.cookie-modal-overlay.open {
  opacity: 1; pointer-events: all;
}
.cookie-modal {
  background: var(--th-light);
  padding: 34px 37px;
  border-radius: 25px;
  min-width: 330px;
  box-shadow: 0 6px 44px var(--th-shadow-strong);
  position: relative;
  max-width: 95vw;
}
.cookie-modal h2 {
  font-size: 1.45rem;
  margin-bottom: 8px;
}
.cookie-modal .cookie-categories {
  margin: 12px 0 22px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex; align-items: center; gap: 14px;
}
.cookie-category label {
  font-size: 1.03rem;
  color: var(--th-primary);
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--th-primary);
  width: 18px; height: 18px;
  border-radius: 6px;
}
.cookie-category.essential label {
  font-weight: bold;
}
.cookie-modal-close {
  position: absolute;
  top: 17px; right: 21px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--th-accent);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 50%;
  transition: background .17s;
}
.cookie-modal-close:hover {
  background: #F2F2ED;
}

/* ==== ANIMATIONS/MICRO-INTERACTIONS ==== */
.cta-main, .cta-secondary, .cta-tertiary, .cookie-btn {
  transition: background .17s, color .17s, box-shadow .15s, transform .14s;
}
.cta-main:active, .cta-secondary:active, .cta-tertiary:active, .cookie-btn:active {
  transform: scale(.96);
}
.feature-grid > div, .card, .content-wrapper {
  transition: box-shadow .21s, transform .19s;
}
.feature-grid > div:hover, .card:hover, .content-wrapper:hover {
  box-shadow: 0 8px 36px var(--th-shadow-strong);
  transform: scale(1.018) rotate(-1.6deg);
}

/* ==== RESPONSIVE DESIGN ==== */
@media (max-width: 1030px) {
  .container {
    max-width: 96vw;
    padding: 0 9px;
  }
  .feature-grid {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 16px;
  }
  .footer-nav {
    gap: 12px;
  }
  .feature-grid > div {
    min-width: 170px;
    padding: 18px 8px;
  }
}
@media (max-width: 768px) {
  header .container {
    height: 65px;
    gap: 10px;
  }
  .main-nav {
    display: none;
  }
  .cta-header {
    margin-left: 0;
    padding: 9px 16px;
    font-size: .99rem;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  main {
    margin-top: 8px;
    margin-bottom: 16px;
  }
  .section {
    margin-bottom: 34px;
    padding: 22px 6px;
  }
  .content-wrapper {
    padding: 19px 6px;
    border-radius: 10px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div {
    min-width: 0;
    padding: 18px 11px;
    border-radius: 13px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 9px;
    max-width: 100%;
    padding: 11px 7px;
    border-radius: 11px;
    font-size: .99rem;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-nav {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 11px;
  }
  .footer-contact {
    font-size: .87rem;
  }
  .card {
    padding: 14px 5px;
    border-radius: 10px;
  }
  ul li {
    font-size: .97rem;
    margin-bottom: 12px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 4px 14px 4px;
    font-size: .96rem;
  }
  .cookie-modal {
    padding: 18px 7px 25px 14px;
    min-width: 0;
    border-radius: 13px;
  }
}
@media (max-width:480px) {
  .container {
    max-width: 99vw;
    padding: 0 1px;
  }
  h1 {
    font-size: 1.55rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  .feature-grid > div {
    padding: 10px 2px;
  }
  .cta-main, .cta-secondary, .cta-tertiary {
    padding: 11px 12px;
    font-size: .98rem;
  }
}

/*==== UTILITY CLASSES ====*/
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.gap-8 { gap: 8px !important; }
.gap-16 { gap: 16px !important; }
.flex-col { flex-direction: column !important; }

/* ==== PRINT ==== */
@media print { 
  * { color: #000 !important; background: #fff !important; box-shadow: none !important; }
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  main, .container, .section, .content-wrapper { max-width: 100vw !important; box-shadow: none !important; padding: 0 !important; }
}

/* ==== END ==== */
