/* =======================================================
   CSS RESET & BASE TYPOGRAPHY - Elegant Classic
   ======================================================= */
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;
}
article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F1F6F1;
  color: #222;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}
ul,ol {
  list-style: none;
}
a {
  color: #245A2C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  text-decoration: underline;
  color: #1E4825;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}

/* =======================================================
   FONT FAMILY (elegant classic + brand guideline)
   ======================================================= */
:root {
  --brand-primary: #245A2C;
  --brand-primary-dark: #1E4825;
  --brand-secondary: #F1F6F1;
  --brand-accent: #F6B21B;
  --brand-white: #ffffff;
  --brand-black: #222222;
  --brand-grey: #e9eceb;
  --brand-shadow: rgba(36,90,44,0.09);
  --font-display: 'Montserrat', "Georgia", serif;
  --font-body: 'Roboto', "Georgia", serif;
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}
body {
  font-family: var(--font-body);
  background: var(--brand-secondary);
  color: var(--brand-black);
  font-size: 16px;
  font-feature-settings: 'kern' 1, 'liga' 1;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--brand-primary-dark);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.32rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.05rem;
}
p, li {
  font-size: 1rem;
  line-height: 1.7;
  color: #28402f;
  margin-bottom: 10px;
}
strong {
  font-weight: bold;
  color: var(--brand-primary);
}
blockquote {
  font-family: var(--font-display);
  font-style: italic;
  border-left: 4px solid var(--brand-accent);
  margin: 0 0 10px 0;
  padding-left: 18px;
  color: #2c3d26;
  background: #fcfbf5;
}

/* =======================================================
   CONTAINER & RESPONSIVE SPACING
   ======================================================= */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* =======================================================
   HEADER & NAVIGATION
   ======================================================= */
header {
  background: var(--brand-white);
  border-bottom: 2px solid var(--brand-grey);
  box-shadow: 0 4px 16px 0 var(--brand-shadow);
  position: relative;
  z-index: 101;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 10px 0;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: var(--font-display);
  color: var(--brand-primary);
  font-weight: 500;
  letter-spacing: 0.01em;
  font-size: 1rem;
  padding: 2px 8px;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}
header nav a:hover, header nav a:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary-dark);
  text-decoration: none;
}
.cta-btn {
  display: inline-block;
  background: var(--brand-accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  border: none;
  border-radius: 24px;
  padding: 11px 32px;
  margin-left: 10px;
  box-shadow: 0 2px 12px 0 var(--brand-shadow);
  transition: background var(--transition),color var(--transition), box-shadow var(--transition);
  cursor: pointer;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: #fcc72e;
  color: var(--brand-primary-dark);
  box-shadow: 0 6px 20px 0 rgba(36, 90, 44, 0.15);
  text-decoration: none;
}
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.3rem;
  color: var(--brand-primary-dark);
  display: none;
  cursor: pointer;
  margin-left: 18px;
  line-height: 1;
  padding: 4px;
  transition: color var(--transition);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: var(--brand-accent);
}

/* ======================== MOBILE MENU =============================== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--brand-white);
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.65,.05,.36,1);
  box-shadow: 2px 0 24px 0 rgba(40,60,37,0.08);
  padding: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0%);
  pointer-events: all;
}
.mobile-menu-close {
  margin: 18px 18px 6px auto;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--brand-primary-dark);
  cursor: pointer;
  padding: 6px;
  transition: color var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--brand-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  width: 100%;
  padding: 0 32px;
  margin-top: 24px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.16rem;
  color: var(--brand-primary);
  font-weight: 600;
  padding: 10px 0;
  width: 100%;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-secondary);
  color: var(--brand-accent);
}
@media (max-width: 992px) {
  .header-flex nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .cta-btn {
    margin-right: 10px;
  }
}

/* Make mobile menu always on top */
@media (max-width: 768px) {
  .header-flex {
    gap: 10px;
  }
}
@media (max-width:560px){
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Hide mobile menu by default (desktop) */
@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}


/* =======================================================
   FOOTER
   ======================================================= */
footer {
  background: var(--brand-primary-dark);
  color: #fff;
  text-align: left;
  font-size: 0.98rem;
  border-top: 2px solid #dedede;
  padding: 0;
  margin-top: 50px;
}
.footer-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 38px 0 24px 0;
}
.footer-flex nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-flex nav a {
  color: #f1f6f1;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: color var(--transition);
}
.footer-flex nav a:hover, .footer-flex nav a:focus {
  color: var(--brand-accent);
}
.footer-info div {
  margin-bottom: 7px;
  color: #ffeccf;
}
.footer-info a {
  color: #fecb51;
  text-decoration: underline dotted;
}
.footer-info a:hover {
  color: var(--brand-accent);
  text-decoration: underline;
}
@media (max-width: 700px) {
  .footer-flex {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
  }
}


/* =======================================================
   MAIN CONTENT LAYOUTS
   ======================================================= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--brand-white);
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 var(--brand-shadow);
  position: relative;
}
.content-wrapper,
.text-section,
.content-grid,
.service-grid,
.faq-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.content-wrapper {
  margin-top: 14px;
  flex-direction: row;
}
.text-section {
  flex-direction: column;
  gap: 15px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .content-wrapper,
  .text-image-section,
  .content-grid,
  .service-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* ==================== CARD CONTAINERS ====================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.card {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 4px 20px 0 var(--brand-shadow);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 10px 32px 0 rgba(36,90,44,0.16);
  transform: translateY(-4px) scale(1.015);
  z-index: 2;
}

/* =======================================================
   SERVICE GRID & FEATURE ITEMS
   ======================================================= */
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.service-item {
  background: var(--brand-white);
  border: 1.5px solid var(--brand-grey);
  border-radius: 14px;
  box-shadow: 0 4px 16px 0 var(--brand-shadow);
  padding: 26px 22px 20px 22px;
  flex: 1 1 230px;
  min-width: 230px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  margin-bottom: 20px;
}
.service-item img {
  width: 56px;
  height: 56px;
  margin-bottom: 9px;
  filter: grayscale(0.12);
}
.service-item h3 {
  font-size: 1.1rem;
  color: var(--brand-primary-dark);
  margin-bottom: 6px;
  letter-spacing: 0;
  font-weight: 700;
}
.service-item .price {
  color: var(--brand-accent);
  font-size: 1.07rem;
  font-weight: 600;
  margin-top: 7px;
}
.service-item:hover, .service-item:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 10px 32px 0 rgba(36,90,44,0.15);
  transform: translateY(-4px) scale(1.018);
  z-index: 3;
}
@media (max-width: 1024px) {
  .service-grid {
    justify-content: flex-start;
  }
}
@media (max-width: 768px) {
  .service-grid {
    flex-direction: column;
    gap: 17px;
    align-items: flex-start;
  }
  .service-item {
    min-width: 0;
    max-width: none;
    width: 100%;
    padding: 20px 11px 15px 15px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =======================================================
   TESTIMONIALS
   ======================================================= */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 32px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 16px 0 var(--brand-shadow);
  margin-bottom: 24px;
  border-left: 6px solid var(--brand-accent);
  font-family: var(--font-display);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.testimonial-card blockquote {
  color: #222;
  background: none;
  border: none;
  font-size: 1.15rem;
  padding-left: 0;
  margin-bottom: 0;
  margin-top: 0;
}
.testimonial-author {
  color: var(--brand-primary);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: right;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-top: 16px;
}
@media (max-width: 900px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 14px;
  }
}

/* =======================================================
   FAQ
   ======================================================= */
.faq-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.faq-item {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 4px 18px 0 var(--brand-shadow);
  padding: 20px 26px;
  flex: 1 1 270px;
  min-width: 220px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.faq-item h3 {
  font-size: 1.07rem;
  color: var(--brand-primary-dark);
  margin-bottom: 10px;
}
.faq-item p {
  font-size: 1rem;
  margin-bottom: 0;
}
.faq-item:hover { box-shadow: 0 8px 24px 0 rgba(36,90,44,0.13); transform: translateY(-2px); z-index: 2; }
@media (max-width: 1000px) {
  .faq-wrapper {
    flex-direction: column;
    gap: 13px;
  }
  .faq-item {
    min-width: 0;
    width: 100%;
  }
}

/* =======================================================
   LISTS, TABLES, OL/UL
   ======================================================= */
ul, ol {
  margin-bottom: 10px;
  padding-left: 20px;
}
ul li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--brand-accent);
  vertical-align: middle;
  position: relative;
  top: -1px;
}
ol li {
  margin-bottom: 7px;
  padding-left: 4px;
}
ol {
  counter-reset: elegant-counter;
}
ol li {
  list-style: none;
  counter-increment: elegant-counter;
  position: relative;
}
ol li::before {
  content: counter(elegant-counter) '.';
  color: var(--brand-accent);
  font-family: var(--font-display);
  font-weight: 600;
  margin-right: 12px;
  position: absolute;
  left: -25px;
  top: 1px;
}
@media (max-width: 600px) {
  ul, ol {
    padding-left: 13px;
  }
  ol li::before {
    left: -20px;
  }
}


/* =======================================================
   CTA / CONSULTATION SECTIONS
   ======================================================= */
.section .cta-btn, .content-wrapper .cta-btn {
  margin-top: 18px;
  align-self: flex-start;
}
.section:last-child {
  margin-bottom: 0;
}

/* =======================================================
   CASE STUDY
   ======================================================= */
.case-study {
  background: #fff;
  border-left: 5px solid var(--brand-primary);
  border-radius: 11px;
  padding: 22px 25px;
  margin-bottom: 22px;
  box-shadow: 0 3px 10px 0 var(--brand-shadow);
}
.case-study h3 {
  margin-bottom: 7px;
  color: var(--brand-primary-dark);
  font-size: 1.07rem;
}
@media (max-width: 768px) {
  .case-study {
    padding: 17px 14px;
    margin-bottom: 16px;
  }
}

/* =======================================================
   MODALS, OVERLAYS & BANNERS (cookie)
   ======================================================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: #fffbe5;
  border-top: 2px solid var(--brand-accent);
  box-shadow: 0 -4px 15px 0 rgba(36,90,44,0.10);
  padding: 24px 18px 18px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: transform 0.35s var(--transition), opacity 0.23s var(--transition);
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  color: #2d2d2d;
  margin-bottom: 0;
  max-width: 450px;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cookie-btn, .cookie-banner .cta-btn {
  border: none;
  padding: 9px 20px;
  border-radius: 20px;
  font-size: 0.98rem;
  font-family: var(--font-display);
  font-weight: 600;
  background: var(--brand-primary);
  color: #fff;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  cursor: pointer;
  box-shadow: 0 1px 6px 0 var(--brand-shadow);
}
.cookie-btn:focus, .cookie-btn:hover {
  background: var(--brand-accent);
  color: var(--brand-primary-dark);
}
.cookie-btn.secondary {
  background: #fff;
  color: var(--brand-primary-dark);
  border: 1.2px solid var(--brand-accent);
  box-shadow: none;
}
.cookie-btn.secondary:hover {
  background: #fbe9b4;
  color: var(--brand-primary-dark);
}

/* Cookie Preferences Modal */
.cookie-modal-backdrop {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  z-index: 3000;
  background: rgba(24,29,21,0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s;
}
.cookie-modal-backdrop.show {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fffefe;
  box-shadow: 0 20px 68px 0 rgba(36,90,44,0.18);
  border-radius: 16px;
  padding: 36px 32px 24px 32px;
  max-width: 420px;
  width: 94vw;
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transform: translateY(-12px) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.30s ease, opacity 0.21s ease;
}
.cookie-modal-backdrop.show .cookie-modal {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.cookie-modal h2 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}
.cookie-category label {
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--brand-primary-dark);
}
.cookie-toggle {
  width: 36px;
  height: 20px;
  appearance: none;
  background: #e4eae6;
  outline: none;
  cursor: pointer;
  border-radius: 20px;
  position: relative;
  transition: background 0.19s;
}
.cookie-toggle:checked {
  background: var(--brand-accent);
}
.cookie-toggle:before {
  content: "";
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  position: absolute;
  left: 2px;
  top: 2px;
  transition: transform 0.19s;
  box-shadow: 0px 1px 4px rgba(36,90,44,0.11);
}
.cookie-toggle:checked:before {
  transform: translateX(16px);
}
.cookie-modal .cta-btn {
  margin-top: 12px;
  width: 100%;
  padding: 13px 0;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 13px;
  right: 13px;
  background: none;
  color: var(--brand-primary-dark);
  border: none;
  font-size: 1.33rem;
  cursor: pointer;
}
.cookie-modal .close-modal:hover {
  color: var(--brand-accent);
}
@media (max-width: 560px) {
  .cookie-modal { padding: 17px 8px 14px 12px; }
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.99rem;
  }
  .cookie-banner-buttons {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* =======================================================
   MISC UTILITY
   ======================================================= */
.mb-0 {margin-bottom: 0!important;}
.mt-0 {margin-top: 0!important;}
.mb-16 {margin-bottom: 16px!important;}
@media (max-width:768px){ .section{padding:22px 5px;} }

/* =======================================================
   BUTTONS, FORMS & INPUTS
   ======================================================= */
button, .cta-btn, .cookie-btn {
  outline: none;
  border: none;
}
button:focus, .cta-btn:focus, .cookie-btn:focus {
  outline: 2px solid var(--brand-accent);
  outline-offset: 2px;
}
input[type=checkbox], input[type=radio] {
  accent-color: var(--brand-primary-dark);
}
input, textarea {
  font-family: var(--font-body);
  padding: 10px;
  border-radius: 9px;
  border: 1.3px solid var(--brand-grey);
  background: #fff;
  font-size: 1rem;
  margin-bottom: 12px;
}
input:focus, textarea:focus {
  border-color: var(--brand-accent);
  background: #fffef7;
}

@media (max-width:560px) {
  h1 {font-size:1.43rem;}
  h2 {font-size:1.21rem;}
}



/* =======================================================
   ANIMATIONS & INTERACTIONS
   ======================================================= */
.card, .service-item, .faq-item,
.cta-btn, .cookie-btn, .testimonial-card {
  transition: box-shadow 0.26s, transform 0.27s, border-color 0.18s, background 0.23s;
}
.cta-btn:active, .cookie-btn:active, .service-item:active, .testimonial-card:active{
  transform: scale(.98);
}

/* =======================================================
   ELEGANT_CLASSIC VISUAL ELEMENTS
   (shadows, rounding, colors, hierarchy)
   ======================================================= */
.section, .card, .feature-item, .content-wrapper, .text-section, .faq-item {
  box-shadow: 0 2px 8px 0 var(--brand-shadow);
}
.section {
  border-radius: 18px;
  background: #fff;
}

/* Misc: badges, prices, strong marks */
.price{
  display: inline-block;
  font-family: var(--font-display);
  color: var(--brand-accent);
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 2px 12px;
  font-size: 1rem;
  border-radius: 7px;
  background: #f9edcc;
  box-shadow: 0 1.5px 8px var(--brand-shadow);
}

/* =======================================================
   RESPONSIVENESS
   ======================================================= */
@media (max-width: 1200px) {
  .container {
    max-width: 95%;
  }
}
@media (max-width:768px){
  .container{ max-width:100%; }
  .section{ margin-bottom: 40px; }
  .card, .testimonial-card, .case-study, .faq-item, .service-item{ box-shadow: 0 1px 6px 0 var(--brand-shadow); }
}

/* Prevent overlapping, add extra space bottom for banners */
body { padding-bottom: 120px; }
@media (min-width: 1200px) { body { padding-bottom: 0; } }

/* END CSS */
