/* -------------------------
   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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  color: #2C3722;
  background-color: #FAFBFA;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
  padding: 0;
}
:focus {
  outline: 2px solid #19B272;
  outline-offset: 2px;
}

/* -------------------------
      NATURE ORGANIC PALETTE
------------------------- */
:root {
  --primary: #213C6C;
  --secondary: #EEF0F3;
  --accent: #19B272;
  --accent-dark: #117351;
  --bg: #FAFBFA;
  --earth-brown: #A88962;
  --earth-dark: #4a4637;
  --organic-leaf: #A5BD81;
  --organic-sand: #D6C49B;
  --organic-shadow: rgba(33,60,108,0.06);
  --organic-card-bg: #fff;
}

/* ------------------------------
       TYPOGRAPHY SCALE
------------------------------- */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.14;
  margin-bottom: 20px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--earth-dark);
  margin-bottom: 10px;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--primary);
}
p, li, .body-text {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #2C3722;
}
strong { font-weight: 700; }
em { color: var(--accent-dark); font-style: italic; }

/* -----------------------------------
        CONTAINER & LAYOUT UTILITIES
------------------------------------ */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background-color: transparent;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--organic-card-bg);
  border-radius: 22px;
  box-shadow: 0 3px 14px var(--organic-shadow);
  transition: box-shadow 0.2s, transform 0.15s;
  padding: 28px 22px;
  min-width: 260px;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(33,60,108,0.11);
  transform: translateY(-2px) scale(1.03);
}
.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;
  background: var(--organic-card-bg);
  border-radius: 20px;
  box-shadow: 0 2px 12px var(--organic-shadow);
  margin-bottom: 20px;
  color: #2C3722;
  min-width: 260px;
  max-width: 540px;
}
.testimonial-card p {
  font-size: 1.08rem;
  line-height: 1.7;
  color: #2C3722;
}
.testimonial-card span {
  font-size: 0.97rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--accent-dark);
}
.feature-item, .features-list li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--organic-card-bg);
  border-radius: 17px;
  box-shadow: 0 2px 8px var(--organic-shadow);
  padding: 18px 16px;
  margin-bottom: 20px;
  color: #30400f;
}

.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.features-list li {
  flex: 1 1 210px;
  min-width: 180px;
  max-width: 290px;
  font-size: 1rem;
  line-height: 1.5;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  border: none;
  box-shadow: 0 1px 3px var(--organic-shadow);
  background: #f4f5f2;
  margin: 0;
}
.features-list img {
  width: 28px;
  height: 28px;
  margin-bottom: 5px;
}

.service-list, .scenario-list, .values-list, .policy-list, .team-list, .faq-list, .post-list, .integration-list, .info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.service-list li, .scenario-list li, .values-list li, .policy-list li, .team-list li, .faq-list li, .integration-list li, .info-list li {
  background: #f7f8f5;
  border-radius: 14px;
  padding: 18px 18px 14px 18px;
  font-size: 1rem;
  box-shadow: 0 1px 4px var(--organic-shadow);
  margin: 0;
}
.values-list img, .info-list img, .features-list img {
  width:24px;
  height:24px;
  margin-right:8px;
  margin-bottom:-5px;
}
.post-list li {
  min-width: 240px;
  background: var(--organic-card-bg);
  border-radius: 17px;
  box-shadow: 0 2px 8px var(--organic-shadow);
  margin-bottom: 20px;
  padding: 24px 20px;
}

.post-list a { color: var(--primary); font-weight: bold; font-family: 'Montserrat', Arial, sans-serif; font-size: 1rem; }

/* -------------------
  HERO SECTION
------------------- */
.hero {
  background: linear-gradient(90deg, var(--organic-leaf) 0%, rgba(25,178,114,0.20) 60%, var(--secondary) 100%);
  border-radius: 0 0 44px 44px / 0 0 30px 30px;
  margin-bottom: 60px;
  padding: 54px 0 50px 0;
  box-shadow: 0 6px 34px var(--organic-shadow);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
  padding: 0 0 18px 0;
}
.hero h1 {
  font-size: 2.8rem;
  color: var(--primary);
  letter-spacing: -0.01em;
}
.hero p {
  font-size: 1.17rem;
  color: var(--earth-dark);
  max-width: 620px;
}

/* ---------- CTA BUTTONS ---------- */
.cta-btn {
  background: var(--accent);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  border-radius: 50px 18px 50px 18px / 50px 50px 18px 18px;
  padding: 13px 34px;
  box-shadow: 0 2px 10px rgba(25, 178, 114, 0.10);
  transition: background 0.18s, transform 0.17s, box-shadow 0.18s;
  margin-top: 5px;
  display: inline-block;
  border: none;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--accent-dark);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 16px rgba(25, 178, 114, 0.24);
  color: #fafbf8;
}

/* ---------- NAVIGATION ---------- */
header {
  background: var(--bg);
  box-shadow: 0 4px 28px var(--organic-shadow);
  padding: 0;
  position: relative;
  z-index: 50;
  border-bottom-left-radius: 22px;
  border-bottom-right-radius: 22px;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding-top: 15px;
  padding-bottom: 15px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
header nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 18px;
  transition: background 0.19s, color 0.19s;
}
header nav a:hover, header nav a.active {
  background: var(--accent);
  color: #fff;
}
header img {
  height: 40px;
  width: auto;
  margin-right: 18px;
}

/* ------ BURGER MENU (MOBILE) ------ */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 25px;
  right: 22px;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: #fff;
  border-radius: 100px;
  font-size: 2.1em;
  z-index: 200;
  border: none;
  box-shadow: 0 3px 16px var(--organic-shadow);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.17s, box-shadow 0.17s;
}
.mobile-menu-toggle:hover { background: var(--accent-dark); }

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(116deg, #f8faf6 60%, var(--organic-leaf) 100%);
  z-index: 9999;
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.37s cubic-bezier(0.7,0.2,0.4,1), opacity 0.35s;
  box-shadow: 0 4px 24px var(--organic-shadow);
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 21px 21px 9px 0;
  background: var(--earth-brown);
  color: #fff;
  border-radius: 100vw;
  font-size: 2rem;
  width: 42px; height: 42px;
  border:none;
  cursor:pointer; 
  transition: background 0.17s;
}
.mobile-menu-close:hover { background: var(--earth-dark); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 13px;
  align-items: flex-start;
  padding: 18px 32px 0 32px;
}
.mobile-nav a {
  color: var(--primary);
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 14px 10px;
  background: none;
  border-radius: 20px;
  transition: background 0.14s, color 0.14s;
  width: 100%;
  margin-bottom: 2px;
  font-weight: 600;
}
.mobile-nav a:active,
.mobile-nav a:hover {
  background: var(--organic-sand);
  color: var(--accent-dark);
}

/* ---------- FOOTER ---------- */
footer {
  background: #f4f7ea;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  margin-top: 60px;
  box-shadow: 0 -4px 34px var(--organic-shadow);
  padding: 0 0 18px 0;
}
.footer-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 40px 22px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 38px 0 22px 0;
}
.footer-wrapper nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 140px;
}
.footer-wrapper a {
  color: var(--earth-dark);
  font-weight: 500;
  font-size: 1rem;
  padding: 4px 0;
  border-radius: 9px;
}
.footer-wrapper a:hover {
  color: var(--accent-dark);
  background-color: #f3f7e5;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.99rem;
  color: #3a4520;
}
.footer-contact img { width: 17px; height: 17px; margin-right:7px; margin-bottom:-3px; }
.footer-contact span { margin-bottom: 2px; display: flex; align-items: center; }
.copyright {
  color: #9b9883;
  text-align: center;
  font-size: 0.93rem;
  padding-top: 8px;
  font-family: 'Roboto', Arial, sans-serif;
}

/* ---------- CTA SECTION ---------- */
.cta {
  background: linear-gradient(90deg, var(--organic-leaf) 0%, #e2ecd2 100%);
  border-radius: 30px;
  margin: 45px 0 40px 0;
  box-shadow: 0 8px 40px var(--organic-shadow);
  padding: 34px 2vw 34px 2vw;
}
.cta h2,
.cta p {
  color: var(--primary);
}
.cta .cta-btn {
  margin-top: 12px;
}

/* ----- ADDRESS & MAP PLACEHOLDER ----- */
.address-details,
.map-placeholder {
  background: #f9faef;
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 1px 9px var(--organic-shadow);
  font-size: 1rem;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.map-placeholder {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.map-placeholder img { width: 33px; height: 33px; }
.map-placeholder span { font-size: 1.03rem; color: var(--primary); }

/* ---------- MISC UTILITIES ---------- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }

/* -------------------
      RESPONSIVE
-------------------- */
@media (max-width: 1000px) {
  .container { max-width: 95vw; }
  .footer-wrapper { gap: 25px 14px; }
}
@media (max-width: 850px) {
  .hero { padding: 31px 0 32px 0; }
  .footer-wrapper { flex-direction: column; gap: 18px; align-items: stretch; }
  .footer-wrapper nav { min-width: 0; }
}
@media (max-width: 768px) {
  .container { padding: 0 12px; }
  .section { padding: 24px 9px; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .content-wrapper { gap: 16px; }
  .footer-wrapper { gap: 9px; }
  .card-container, .features-list, .service-list, .post-list, .content-grid, .scenario-list, .integration-list {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .cta {
    padding: 22px 5px;
    margin: 32px 0 27px 0;
  }
  header .container {
    padding: 14px 8px;
  }
  header nav { display: none !important; }
  .cta-btn { padding: 10px 21px; font-size: 1rem; }
  .mobile-menu-toggle { display: flex; }
}
@media (max-width: 520px) {
  h1, .h1 { font-size: 1.37rem; }
  h2, .h2 { font-size: 1.03rem; }
}

/* ----- Hide burger menu in desktop ----- */
@media (min-width: 769px) {
  .mobile-menu-toggle { display: none !important; }
  .mobile-menu { display: none !important; }
  header nav { display: flex !important; }
}

/* --------------------------
  BUTTONS & FORM ELEMENTS
--------------------------- */
button, .cta-btn {
  cursor: pointer;
  font-family: inherit;
}

/* ------------------------------
    COOKIE CONSENT BANNER
------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: linear-gradient(95deg, #ecf4e5 60%, var(--organic-leaf) 100%);
  color: #274028;
  box-shadow: 0 -2px 24px var(--organic-shadow);
  padding: 22px 15px 17px 15px;
  display: flex;
  flex-direction: row;
  align-items: start;
  justify-content: center;
  gap: 36px;
  font-size: 1rem;
  z-index: 3000;
  animation: cookieIn 0.44s ease;
}
@keyframes cookieIn { from { transform: translateY(100%); opacity:0;} to { transform: translateY(0); opacity:1; } }
.cookie-banner p {
  max-width: 450px;
  margin-right: 16px;
}
.cookie-btn {
  background: var(--accent);
  color: #fff;
  border-radius: 100px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-right: 9px;
  padding: 8px 20px;
  border: none;
  transition: background 0.16s, box-shadow 0.16s;
  box-shadow: 0 2px 14px var(--organic-shadow);
}
.cookie-btn:focus, .cookie-btn:hover {
  background: var(--accent-dark);
}
.cookie-btn.alt {
  background: var(--earth-brown);
  color: #fff;
}
.cookie-btn.alt:hover, .cookie-btn.alt:focus {
  background: var(--earth-dark);
}
.cookie-btn.secondary {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--earth-dark);
}
.cookie-btn.secondary:hover {
  background: var(--organic-sand);
  color: var(--primary);
}

/* ---------- COOKIE SETTINGS MODAL ---------- */
.cookie-modal-overlay{
  display: none;
  position: fixed;
  left:0;top:0;width:100vw;height:100vh;
  background: rgba(60, 86, 51, 0.49);
  z-index: 3500;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open { display: flex; }
.cookie-modal{
  background: #fff;
  border-radius: 21px;
  box-shadow: 0 7px 40px rgba(33,60,108,0.19);
  min-width: 320px;
  max-width: 95vw;
  padding: 32px 24px 22px 24px;
  animation: modalSlideIn 0.33s cubic-bezier(.47,1.64,.41,.77);
}
@keyframes modalSlideIn { from { transform: translateY(60px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.cookie-modal h3 {
  color: var(--primary);
  font-size: 1.19rem;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f7f8f5;
  border-radius: 14px;
  margin-bottom: 15px;
  padding: 11px 16px;
}
.cookie-modal .category-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}
.cookie-modal .category-toggle {
  display: inline-block;
  width: 44px; height: 24px;
  position: relative;
}
.cookie-modal .category-toggle input { display: none; }
.cookie-modal .slider {
  background: var(--organic-leaf);
  border-radius: 100px;
  width: 44px; height: 24px;
  position: absolute;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-modal .slider:before {
  content: '';
  display: block;
  position: absolute;
  height: 18px; width: 18px;
  border-radius: 50%;
  left: 3px; top: 3px;
  background: #fff;
  transition: transform 0.2s;
}
.cookie-modal .category-toggle input:checked + .slider {
  background: var(--accent);
}
.cookie-modal .category-toggle input:checked + .slider:before {
  transform: translateX(20px);
}
.cookie-modal .cookie-btn-group{
  margin-top: 12px;
  text-align: right;
}

@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    padding: 16px 5px 14px 5px;
    font-size: 0.97rem;
  }
  .cookie-banner p {margin-right: 0;}
  .cookie-modal {min-width: 0;}
}

/* ---- SHOW/HIDE CLASSES FOR JS ---- */
.hide { display: none!important; }
.show { display: block!important; }

/* --------- ANIMATIONS ----------- */
.card,
.features-list li,
.testimonial-card,
.post-list li,
.cta {
  transition: box-shadow .15s, transform .19s, background .18s;
}
.cta-btn, .cookie-btn {
  transition: background 0.17s, color 0.17s, transform 0.17s, box-shadow 0.18s;
}

/* -------- ACCESSIBILITY --------- */
::selection { background: var(--accent); color: #fff; }
