/* =============================
   CSS RESET & NORMALIZATION
   ============================= */
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;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F7FFF7;
  color: #273043;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  background: none;
  border: none;
  outline: none;
}
button, a.cta {
  cursor: pointer;
}
html { scroll-behavior: smooth; }

/* ======= FONTS ======= */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800|Lato:400,700&display=swap');

body {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #273043;
  background: #F7FFF7;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  color: #273043;
  letter-spacing: -1px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #429556;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #2c473e;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 700;
}
p, ul li, ol li, address {
  font-size: 1rem;
  color: #30422d;
  margin-bottom: 12px;
}
.subheadline {
  font-size: 1.2rem;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  color: #474a36;
  margin-bottom: 20px;
}

/* =======================
   ORGANIC COLOR SCHEME
   ======================= */
:root {
  --color-primary: #273043;
  --color-secondary: #86BBD8;
  --color-accent: #F7FFF7;
  --color-earth: #d6c2a8; /* light earth '
sabbia' */
  --color-green: #429556; /* calm leaf green */
  --color-brown: #7E6651; /* organic brown */
  --color-stone: #e9ecdf; /* light stony bg */
  --color-shadow: rgba(38, 79, 56, 0.08); /* for card shadows */
}

/* =========================
   LAYOUT & SPACING RULES
   ========================= */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background-color: var(--color-stone);
  border-radius: 28px;
  box-shadow: 0 4px 24px var(--color-shadow);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 12px var(--color-shadow);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  min-width: 250px;
  transition: box-shadow .2s;
}
.card:hover {
  box-shadow: 0 4px 24px var(--color-shadow);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px var(--color-shadow);
  margin-bottom: 20px;
  transition: box-shadow 0.15s, transform 0.15s;
  border-left: 8px solid var(--color-green);
}
.testimonial-card:hover {
  box-shadow: 0 4px 24px var(--color-shadow);
  transform: translateY(-2px) scale(1.01);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(116deg, var(--color-stone) 80%, #d7edd9 100%);
  border-bottom-left-radius: 68px 34px;
  border-bottom-right-radius: 68px 34px;
  margin-bottom: 60px;
  box-shadow: 0 4px 44px var(--color-shadow);
  padding: 64px 0 40px 0;
}
.hero h1 {
  font-size: 2.4rem;
  line-height: 1.18;
  color: var(--color-primary);
}
.hero .subheadline {
  color: #506649;
}

/* ============== HEADER, NAVIGATION & LOGO ================ */
header {
  background: #fff;
  box-shadow: 0 2px 14px var(--color-shadow);
  padding: 0;
  position: relative;
  z-index: 30;
  border-bottom-left-radius: 30px 10px;
  border-bottom-right-radius: 30px 10px;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px 12px 20px;
  min-height: 66px;
}
.logo img {
  height: 42px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 14px;
  transition: background .16s, color .15s, box-shadow .18s;
  position: relative;
}
.main-nav a.secondary {
  color: var(--color-green);
}
.main-nav a.cta.primary {
  background: var(--color-green);
  color: #fff;
  font-weight: 700;
  border-radius: 24px;
  padding: 10px 22px;
  margin-left: 10px;
  box-shadow: 0 2px 12px var(--color-shadow);
}
.main-nav a:hover,
.main-nav a.active {
  background: var(--color-stone);
  color: var(--color-green);
}
.main-nav a.cta.primary:hover {
  background: #57b370;
  color: #fff;
  box-shadow: 0 4px 24px var(--color-shadow);
  transform: translateY(-1px) scale(1.01);
}

/* ========== MOBILE MENU BURGER ========== */
.mobile-menu-toggle {
  display: none;
  background: var(--color-green);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: #fff;
  font-size: 1.7rem;
  justify-content: center;
  align-items: center;
  border: none;
  box-shadow: 0 2px 8px var(--color-shadow);
  transition: background .18s, color .12s, box-shadow .18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #57b370;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 100vh;
  background: #fff;
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.54,.03,.57,1.95);
  display: flex;
  flex-direction: column;
  padding: 24px 0 0 0;
  box-shadow: 0 6px 32px var(--color-shadow);
}
.mobile-menu.active {
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 0 16px 8px 0;
  background: var(--color-green);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: background .18s;
}
.mobile-menu-close:hover { background: #57b370; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 22px 0 0 0;
  align-items: flex-start;
  padding: 0 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  padding: 12px 8px;
  color: var(--color-primary);
  border-radius: 12px;
  width: 100%;
  transition: background .16s, color .13s;
}
.mobile-nav a:hover {
  background: var(--color-stone);
  color: var(--color-green);
}

/* =====================
   SECTIONS & FEATURES
   ===================== */
.features {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #ebf3e7;
  border-radius: 28px;
  box-shadow: 0 4px 24px var(--color-shadow);
}
.features h2 {
  color: var(--color-green);
}
.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}
.features ul li {
  flex: 1 1 220px;
  min-width: 200px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 10px var(--color-shadow);
  padding: 24px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow .15s, transform .12s;
  border-left: 6px solid var(--color-earth);
}
.features ul li img {
  width: 42px;
  height: auto;
  margin-bottom: 8px;
}
.features ul li h3 {
  color: var(--color-green);
}
.features ul li:hover {
  box-shadow: 0 4px 24px var(--color-shadow);
  transform: translateY(-3px);
}
.features.blog-list ul {
  gap: 22px;
  background: none;
  box-shadow: none;
}
.features.blog-list ul li {
  background: #fff;
  border-left: 6px solid var(--color-green);
}

/* About, Services, Contact, Portfolio Sections */
.about, .services, .contact {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fcfdf9;
  border-radius: 26px;
  box-shadow: 0 2px 14px var(--color-shadow);
}
.about h1, .about h2 {
  color: var(--color-primary);
}
.services ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.services ul li {
  flex: 1 1 220px;
  min-width: 200px;
  background: #fff;
  border-radius: 20px;
  padding: 22px 16px;
  box-shadow: 0 2px 10px var(--color-shadow);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-left: 5px solid var(--color-green);
}
.services ul li strong, .services ul li h3 {
  color: var(--color-green);
  font-family: 'Montserrat', Arial, sans-serif;
}

.modality-grid {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 20px;
}
.modality-grid > div {
  flex: 1 1 220px;
  min-width: 180px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 10px var(--color-shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 16px;
  border-left: 5px solid var(--color-brown);
  transition: box-shadow .14s, transform .11s;
}
.modality-grid > div img { width: 30px; height: auto; margin-bottom: 8px; }
.modality-grid > div:hover { box-shadow: 0 6px 24px var(--color-shadow); transform:translateY(-2px); }

.expertise-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.expertise-list li {
  background: #ebf3e7;
  color: #429556;
  border-radius: 14px;
  padding: 8px 18px;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 1rem;
}

blockquote {
  background: #fff;
  padding: 26px 28px 18px 40px;
  border-left: 7px solid var(--color-green);
  font-style: italic;
  font-size: 1.13rem;
  border-radius: 20px;
  color: #273043;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px var(--color-shadow);
}
blockquote span { 
  display: block; 
  margin-top: 12px; 
  color: var(--color-green);
  font-weight: 700;
  font-style: normal;
}

/* CTA Section */
.cta.section, section.cta, .cta {
  margin-bottom: 60px;
  padding: 36px 20px;
  background: linear-gradient(92deg, #ecedde 88%, #d6c2a8 100%);
  border-radius: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #273043;
}
.cta.primary, a.cta.primary {
  background: var(--color-green);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 12px 32px;
  border-radius: 28px;
  border: none;
  box-shadow: 0 3px 18px var(--color-shadow);
  margin-top: 20px;
  margin-bottom: 10px;
  display: inline-block;
  transition: background .16s, color .14s, transform .19s;
}
.cta.primary:hover, a.cta.primary:hover {
  background: #388246;
  color: #fff;
  transform: translateY(-1px) scale(1.015);
  box-shadow: 0 8px 28px var(--color-shadow);
}
/* Standard button for other cookies, etc */
button, .btn {
  background: var(--color-earth);
  color: var(--color-primary);
  border-radius: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 20px;
  border: none;
  box-shadow: 0 1px 4px var(--color-shadow);
  transition: background .13s, color .13s, box-shadow .13s;
}
button:hover, .btn:hover {
  background: var(--color-green);
  color: #fff;
  box-shadow: 0 3px 14px var(--color-shadow);
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #fdfdf7;
  box-shadow: 0 -2px 18px var(--color-shadow);
  border-top-left-radius: 24px 12px;
  border-top-right-radius: 24px 12px;
  padding: 18px 24px 16px 24px;
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1rem;
  animation: slideUpCookie .7s cubic-bezier(.64,.05,.62,1.97);
}
@keyframes slideUpCookie {
  from { transform: translateY(80px); opacity: 0; } to { transform: none; opacity: 1; }
}
.cookie-banner .btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner button {
  min-width: 120px;
  font-size: 1rem;
}
.cookie-banner .cookie-settings {
  background: var(--color-brown);
  color: #fff;
  border-radius: 16px;
}
.cookie-banner .cookie-settings:hover {
  background: #61492f;
}

/* COOKIES MODAL */
.cookie-modal {
  position: fixed;
  bottom: 0; left: 0; right: 0; top: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(39, 48, 67, 0.21);
  animation: fadeInCookieModal .26s cubic-bezier(.5,.03,.55,1.77);
}
@keyframes fadeInCookieModal {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal-content {
  background: #fffefa;
  border-radius: 24px;
  padding: 32px 28px 24px 28px;
  max-width: 430px;
  width: 96vw;
  box-shadow: 0 4px 30px var(--color-shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-content h2 {
  font-size: 1.3rem;
  color: var(--color-green);
  margin-bottom: 8px;
}
.cookie-modal-content .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 6px;
}
.cookie-modal-content .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.cookie-modal-content .cookie-switch {
  width: 38px;
  height: 22px;
  background: #d6c2a8;
  border-radius: 12px;
  position: relative;
  transition: background 0.14s;
  margin-left: 10px;
}
.cookie-modal-content .cookie-switch.enabled {
  background: var(--color-green);
}
.cookie-modal-content .cookie-switch input {
  display: none;
}
.cookie-modal-content .cookie-switch .slider {
  position: absolute; left: 2px; top: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.18s;
}
.cookie-modal-content .cookie-switch.enabled .slider {
  left: 18px;
  background: #fff;
  box-shadow: 0 1px 6px var(--color-shadow);
}
.cookie-modal-content .modal-close {
  position: absolute;
  top: 12px; right: 14px;
  background: var(--color-brown);
  color: #fff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background .17s;
  z-index: 10;
}
.cookie-modal-content .modal-close:hover {
  background: #61492f;
}
.cookie-modal-content .btn-group {
  display: flex;
  gap: 14px;
}

/* ===================
   TESTIMONIAL CARDS
   =================== */
.testimonials {
  padding: 40px 20px;
  margin-bottom: 60px;
  background: #fbfcf9;
  border-radius: 24px;
  box-shadow: 0 2px 12px var(--color-shadow);
}
.testimonials h2 {
  margin-bottom: 16px;
  color: var(--color-green);
}
.testimonial-card p {
  font-size: 1.12rem;
  color: #31442b !important;
}
.testimonial-card span {
  color: #5e8245;
  font-weight: 600;
  font-size: 0.98rem;
  font-style: italic;
}
/* Readability Enhancement */
.testimonial-card, .testimonial-card p, .testimonial-card span {
  background: #fff;
  color: #273043;
}

/* ============= FOOTER ============= */
footer {
  background: #23442C;
  color: #fff;
  border-top-left-radius: 24px 12px;
  border-top-right-radius: 24px 12px;
  margin-top: 60px;
  box-shadow: 0 -4px 28px var(--color-shadow);
  padding-bottom: 0;
}
footer .container {
  padding: 0 16px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px;
  padding: 32px 0 14px 0;
  border-bottom: 1px solid #e8ece3;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 160px;
}
.footer-nav a {
  color: #b9ebc2;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 2px;
  transition: color 0.14s;
}
.footer-nav a:hover {
  color: #ffd271;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #cad7c8;
  font-size: 0.98rem;
  min-width: 220px;
}
.footer-contact img {
  width: 18px;
  margin-right: 7px;
  vertical-align: middle;
  opacity: .92;
}
.footer-social {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-top: 6px;
}
.footer-social a {
  background: #f7fff7;
  border-radius: 50%;
  width: 35px; height: 35px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 5px var(--color-shadow);
  transition: transform .16s, background .14s;
}
.footer-social a:hover {
  background: #d6c2a8;
  transform: scale(1.11);
}
.footer-social img {
  width: 20px; height: 20px; display: block;
}
.footer-bottom {
  text-align: center;
  padding: 12px 4px 22px 4px;
  color: #b1bfae;
  font-size: 0.94rem;
}

/* ========== OTHER: ADDITIONAL UI ELEMENTS =========== */
address {
  font-style: normal;
  color: #33473b;
  font-size: 0.98rem;
}

/* ========== MISC ========== */
::-webkit-scrollbar {
  width: 8px;
  background: #f7fff7;
}
::-webkit-scrollbar-thumb {
  background: #d6c2a8;
  border-radius: 8px;
}

/* ================================
   MEDIA QUERIES & RESPONSIVENESS
   ================================ */
@media (max-width: 1200px) {
  .container { max-width: 970px; }
}
@media (max-width: 1100px) {
  .container { max-width: 870px; }
}
@media (max-width: 900px) {
  .container { max-width: 760px; }
  h1 { font-size: 2rem; }
  .hero h1 { font-size: 2rem; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.22rem; }
  .section, .about, .services, .features, .testimonials, .cta {
    padding: 26px 10px;
    margin-bottom: 37px;
  }
  .container { padding: 0 8px; }
  .footer-top { flex-direction: column; gap: 22px; }
  .modality-grid, .services ul, .features ul, .expertise-list, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .content-wrapper {
    gap: 16px;
  }
}
@media (max-width: 500px) {
  .footer-nav, .footer-contact {
    min-width: unset;
  }
  .container, .section, .about, .services, .features, .testimonials, .cta {
    padding-left: 2vw; padding-right: 2vw;
  }
  .cookie-modal-content { padding: 18px 3vw; }
}

/* ============= Microinteractions & Transitions ============= */
a, button, .card, .card-container > *, .services ul li, .features ul li, .modality-grid > div {
  transition-property: box-shadow, background, color, transform;
  transition-duration: 0.18s;
  transition-timing-function: cubic-bezier(.2,.6,.36,1);
}

/* Focus States for Accessibility */
a:focus, button:focus, .cta:focus {
  outline: 2px solid var(--color-green);
  outline-offset: 1px;
  z-index: 2;
}

/* Required Utility Classes for Gaps & Flex */
.gap24 { gap:24px; }
.gap20 { gap:20px; }
.gap18 { gap:18px; }
.gap12 { gap:12px; }
.align-center { align-items:center; }
.align-start { align-items: flex-start; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.w100 { width: 100%; }

/* Hide visually but keep for screen readers */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden;clip:rect(0,0,0,0); border:0; }

/* ===============================
   END OF NATURE_ORGANIC CSS FILE
   =============================== */
