/* =======================================================================
   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, 
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, nav, section {
  display: block;
}
body { line-height: 1; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea {
  font-family: inherit; font-size: 100%; margin: 0;
}
button { cursor: pointer; background: none; border: none; }

/* =======================================================================
   COLOR VARIABLES (with fallback)
   ======================================================================= */
:root {
  --primary: #006687;
  --secondary: #3DBF87;
  --accent: #F7F7F7;
  --earth1: #F8F6F0;
  --earth2: #E9E7DA;
  --earth3: #B2A58F;
  --brown: #80684A;
  --green-deep: #15805D;
  --green-bright: #3DBF87;
  --green-muted: #CBDDC5;
  --danger: #C44538;
  --shadow: rgba(50, 85, 63, 0.09);
}

/* =======================================================================
   FONTS & TYPOGRAPHY
   ======================================================================= */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: var(--earth1);
  color: #3B3A36;
  min-height: 100vh;
  line-height: 1.65;
  letter-spacing: 0.01em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1.13;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.5rem; margin-bottom: 12px; }
h4 { font-size: 1.125rem; margin-bottom: 10px; }
h5 { font-size: 1rem; margin-bottom: 8px; }
h6 { font-size: 0.95rem; margin-bottom: 8px; }
p, ul, ol, blockquote {
  font-size: 1rem; margin-bottom: 16px;
}
strong { font-weight: 700; }
em, i { font-style: italic; }

/* Typography scale on mobile */
@media (max-width: 600px) {
  h1 { font-size: 2.0rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
}

/* =======================================================================
   LAYOUT CONTAINERS & SPACING
   ======================================================================= */
.container {
  width: 100%; max-width: 1120px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--earth1);
  border-radius: 30px 45px 30px 38px / 38px 30px 38px 45px;
  box-shadow: 0 6px 44px var(--shadow);
}

/* =======================================================================
   HEADER & NAVIGATION
   ======================================================================= */
header {
  background: var(--earth2);
  box-shadow: 0 1px 10px var(--shadow);
  z-index: 100;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 20px 14px 20px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--green-deep);
  letter-spacing: 0.02em;
  padding: 6px 0;
  position: relative;
  transition: color 0.2s;
}
header nav a:hover,
header nav a:focus {
  color: var(--secondary);
}
header .cta.primary {
  margin-left: 20px;
}

/* Logo adjustments */
header img {
  height: 48px;
  width: auto;
  margin-right: 18px;
}

/* -----------------------------------------------------------------------
   MOBILE NAVIGATION – burger & overlay menu
   ----------------------------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: var(--secondary);
  color: #fff;
  padding: 6px 16px;
  border-radius: 14px;
  margin-left: 20px;
  box-shadow: 0 2px 12px var(--shadow);
  z-index: 103;
  transition: background 0.2s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--primary);
}

.mobile-menu {
  display: none;
  position: fixed; 
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2000;
  background: rgba(60, 80, 57, 0.97);
  transition: transform 0.4s cubic-bezier(.66,0,.34,1), opacity 0.35s;
  transform: translateX(100%);
  opacity: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 6vw;
  box-sizing: border-box;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #fff;
  background: none;
  border: none;
  align-self: flex-end;
  margin: 20px 24px 10px 0;
  z-index: 2501;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  padding: 12px 0 12px 0;
  border-radius: 13px;
  outline: none;
  transition: background 0.19s, color 0.17s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--secondary);
  color: var(--earth1);
}

@media (max-width: 1100px) {
  header .container {
    gap: 10px;
  }
}

@media (max-width: 900px) {
  header nav, header .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-menu {
    width: 100vw;
    min-height: 100vh;
  }
  header .container {
    padding-left: 8px; padding-right: 8px;
  }
}

@media (max-width: 500px) {
  header img {
    height: 40px;
  }
}

/* =======================================================================
   BUTTONS / CALL TO ACTION (CTA)
   ======================================================================= */
.cta {
  display: inline-flex;
  align-items: center;
  background: var(--green-bright);
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 26px 38px 24px 30px / 32px 20px 28px 34px;
  box-shadow: 0 3px 18px var(--shadow);
  padding: 13px 34px;
  margin-top: 22px;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
  transition: background 0.2s, box-shadow 0.2s, color 0.15s;
  border: none;
}
.cta.primary {
  background: var(--primary);
  color: #fff;
}
.cta:hover, .cta:focus {
  background: var(--secondary);
  color: var(--earth1);
  box-shadow: 0 6px 30px var(--shadow);
  outline: none;
}
.cta:active {
  background: var(--green-deep);
}

/* =======================================================================
   ORGANIC VISUAL ELEMENTS (CARDS, BORDERS, SHAPES)
   ======================================================================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--accent);
  border-radius: 32px 22px 38px 29px / 32px 34px 26px 28px;
  box-shadow: 0 4px 30px var(--shadow);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  min-width: 230px;
  flex: 1 1 280px;
  transition: transform 0.23s, box-shadow 0.22s;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 36px var(--shadow);
  transform: translateY(-2px) scale(1.015);
}

.service-card {
  background: var(--accent);
  border-radius: 33px 41px 27px 30px / 29px 38px 29px 27px;
  box-shadow: 0 4px 22px var(--shadow);
  padding: 24px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  min-width: 180px;
  transition: box-shadow 0.17s, transform 0.19s;
}
.service-card .price {
  margin-top: 10px;
  background: var(--green-muted);
  color: var(--green-deep);
  border-radius: 13px 17px 15px 13px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 4px 20px;
  font-size: 0.98rem;
}
.service-card:hover, .service-card:focus {
  box-shadow: 0 10px 28px var(--shadow);
  transform: translateY(-4px) scale(1.023);
}

/* =======================================================================
   FLEXBOX LAYOUTS & SECTIONS
   ======================================================================= */
.section, .hero, .features, .services, .testimonials, .contact-cta, .contact-details, .about, .footer-policy, .cta {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 38px 30px 38px 38px / 44px 36px 33px 28px;
  box-shadow: 0 6px 32px var(--shadow);
}
.features .content-wrapper,
.services .content-wrapper,
.about .content-wrapper,
.contact-details .content-wrapper,
.footer-policy .content-wrapper,
.testimonials .content-wrapper {
  display: flex;
  flex-direction: column;
}
.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(--accent);
  box-shadow: 0 2px 14px var(--shadow);
  border-radius: 26px 32px 23px 30px;
  margin-bottom: 20px;
  flex-direction: column;
}
.testimonial-card blockquote {
  color: #29382B;
  font-size: 1.12rem;
  font-weight: 500;
  background: none;
  margin-bottom: 8px;
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  quotes: "\201C" "\201D";
}
.testimonial-meta {
  color: var(--green-deep);
  font-size: 0.98rem;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 3px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* Features and list icons */
.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  margin-top: 8px;
}
.features ul li {
  flex: 1 1 260px;
  background: var(--earth2);
  border-radius: 22px 18px 17px 21px / 17px 18px 18px 20px;
  padding: 16px 18px 16px 20px;
  color: var(--green-deep);
  font-weight: 500;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 10px var(--shadow);
}
.features ul li img {
  height: 38px;
  width: 38px;
}
.services ul { 
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
  margin-bottom: 18px;
}
.services ul li, .about ul li {
  color: var(--green-deep);
  background: var(--earth2);
  border-radius: 13px 17px 14px 15px;
  padding: 13px 18px;
  margin-bottom: 4px;
  font-size: 1.03rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
}
.about ul {
  display: flex; 
  flex-wrap: wrap;
  flex-direction: row;
  gap: 16px;
  margin: 18px 0;
}

.cta.section, .cta {
  display: flex;
  background: var(--green-muted);
  border: none;
  box-shadow: 0 2px 12px var(--shadow);
  border-radius: 34px 26px 29px 28px;
  justify-content: center;
}
.cta .content-wrapper {
  align-items: center;
  flex-direction: column;
}

.footer-policy {
  background: var(--earth1);
  border-radius: 38px 45px 41px 30px / 48px 32px 32px 28px;
  margin-bottom: 30px;
}

.map-placeholder {
  background: var(--earth2);
  border-radius: 16px 24px 17px 13px;
  padding: 20px;
  box-shadow: 0 1px 12px var(--shadow);
  color: var(--brown);
  font-size: 1rem;
  margin: 18px 0 6px 0;
}

/* =======================================================================
   FOOTER
   ======================================================================= */
footer {
  background: var(--earth2);
  padding: 38px 0 10px 0;
  border-radius: 40px 40px 0 0 / 44px 36px 0 0;
  box-shadow: 0 -4px 28px var(--shadow);
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 19px;
}
footer img {
  height: 56px;
  width: auto;
  margin-bottom: 12px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  margin-bottom: 14px;
}
footer nav a {
  color: var(--green-deep);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.04rem;
  transition: color 0.17s;
  padding: 6px 0;
  border-radius: 6px;
}
footer nav a:hover, footer nav a:focus {
  color: var(--secondary);
  background: var(--earth1);
}
.footer-contact, .copyright {
  color: var(--brown);
  font-size: 1rem;
  margin-top: 6px;
  text-align: center;
}
.copyright {
  font-size: 0.95rem;
  margin-top: 3px;
}

/* =======================================================================
   FORMS (if any)
   ======================================================================= */
input, textarea, select {
  border-radius: 10px;
  border: 1px solid var(--earth3);
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 1rem;
  outline: none;
  background: #fff;
  color: #253231;
  transition: border-color 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
}

label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 3px;
  display: block;
}

/* =======================================================================
   COOKIE CONSENT BANNER & MODAL
   ======================================================================= */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 3000;
  background: var(--earth2);
  color: #333;
  transition: transform 0.45s ease, opacity 0.35s;
  transform: translateY(120%);
  opacity: 0;
  box-shadow: 0 -2px 32px var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 24px 18px 18px 18px;
}
.cookie-banner.active {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner p {
  font-size: 1.03rem;
  margin-bottom: 9px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  margin-top: 0px;
}

.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 24px;
  border-radius: 18px 25px 22px 20px;
  box-shadow: 0 1px 8px var(--shadow);
  border: none;
  margin: 0 3px;
  transition: background 0.19s, color 0.19s;
}
.cookie-banner .accept-all {
  background: var(--primary);
  color: #fff;
}
.cookie-banner .accept-all:hover, .cookie-banner .accept-all:focus {
  background: var(--secondary);
  color: var(--earth1);
}
.cookie-banner .reject-all {
  background: var(--danger);
  color: #fff;
}
.cookie-banner .reject-all:hover, .cookie-banner .reject-all:focus {
  background: #9f2d1b;
}
.cookie-banner .cookie-settings {
  background: var(--green-muted);
  color: var(--green-deep);
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: var(--secondary);
  color: #fff;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  z-index: 3500;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(60, 80, 57, 0.85);
  display: none;
  align-items: center; justify-content: center;
  transition: opacity 0.33s;
  opacity: 0;
}
.cookie-modal.active {
  display: flex;
  opacity: 1;
}
.cookie-modal .cookie-modal-content {
  background: var(--earth2);
  color: #262626;
  border-radius: 38px 36px 32px 40px / 40px 34px 36px 42px;
  box-shadow: 0 8px 44px var(--shadow);
  padding: 36px 32px;
  min-width: 310px;
  max-width: 92vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  position: relative;
  font-size: 1rem;
}
.cookie-modal-content h2 {
  font-size: 1.3rem; margin-bottom: 0.5em;
  color: var(--green-deep);
}
.cookie-modal-content label {
  display: flex; align-items: center; gap: 12px;
  font-size: 1.06rem;
}
.cookie-modal-content input[type="checkbox"] {
  accent-color: var(--secondary);
}
.cookie-modal-content .cookie-save-btn {
  margin-top: 16px;
  background: var(--secondary);
  color: #fff;
  font-weight: 600;
  border-radius: 14px 18px 12px 14px;
  padding: 9px 23px;
  border: none;
  box-shadow: 0 1px 8px var(--shadow);
  align-self: flex-end;
  transition: background 0.18s, color 0.18s;
}
.cookie-modal-content .cookie-save-btn:hover, .cookie-save-btn:focus {
  background: var(--primary);
}
.cookie-modal-content .cookie-close-btn {
  position: absolute; top: 18px; right: 24px;
  font-size: 1.7rem; background: none;
  border: none; color: #333; z-index: 1;
}

/* =======================================================================
   RESPONSIVE LAYOUTS & FLEXBOX ADJUSTMENTS
   ======================================================================= */
@media (max-width: 900px) {
  .container {
    padding: 0 12px;
    max-width: 98vw;
  }
  .card-container, .content-grid, .features ul, .about ul, .services ul {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .content-grid, .text-image-section, .features ul {
    flex-direction: column;
    gap: 20px;
  }
  .section, .hero, .features, .services, .testimonials, .contact-cta, .about, .footer-policy, .cta {
    padding: 24px 8px;
    margin-bottom: 40px;
  }
  .testimonial-card, .card, .service-card {
    padding: 16px 10px;
    min-width: 0;
  }
  .footer-policy, .hero, .services, .features {
    border-radius: 20px 20px 20px 20px / 20px 20px 20px 20px;
  }
  .map-placeholder {
    padding: 12px;
  }
}
@media (max-width: 530px) {
  .card-container, .content-grid, .features ul, .about ul {
    gap: 10px;
  }
  .footer-policy, .hero, .services, .features {
    border-radius: 12px;
    padding: 10px 2px;
  }
}
@media (max-width: 380px) {
  .cookie-banner {
    padding: 12px 4px 8px 4px;
  }
  .cookie-modal .cookie-modal-content {
    padding: 13px 3px;
  }
}

/* =======================================================================
   UTILITIES
   ======================================================================= */
.
hidden { display: none !important; }

/* Link underline for subtle accessibility on focus */
a:focus {
  outline: 2px dashed var(--secondary);
  outline-offset: 2px;
}

/* =======================================================================
   SCROLLBAR
   ======================================================================= */
::-webkit-scrollbar { width: 11px; background: var(--earth2); }
::-webkit-scrollbar-thumb { background: var(--green-muted); border-radius: 11px; }

/* =======================================================================
   ANIMATIONS
   ======================================================================= */
.cta, .card, .service-card, .testimonial-card, .features ul li, .cookie-banner, .cookie-modal .cookie-modal-content {
  transition-duration: 0.17s;
  transition-timing-function: cubic-bezier(.66,0,.34,1);
}

/* Organic hover shadows for cards */
.card:hover, .service-card:hover, .testimonial-card:hover {
  box-shadow: 0 14px 46px var(--shadow);
}

/* =======================================================================
   SPECIAL CASE CLASSES (THANK YOU PAGE, HERO, ETC.)
   ======================================================================= */
.hero {
  background: linear-gradient(112deg, var(--earth2) 89%, var(--green-muted) 100%);
  border-radius: 44px 44px 38px 38px / 44px 42px 42px 38px;
  min-height: 270px;
  margin-bottom: 54px;
  display: flex; align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 670px; margin: 0 auto;
  text-align: left;
}
.hero h1 {
  color: var(--primary);
}

@media (max-width: 900px) {
  .hero .content-wrapper {
    max-width: 100%;
    align-items: flex-start;
  }
}
@media (max-width: 540px) {
  .hero { padding: 14px 2px; }
  .hero h1 { font-size: 1.6rem; }
}

/* Contact cta adjustments & general section cta alignment */
.contact-cta .content-wrapper, .cta.section .content-wrapper, .cta .content-wrapper {
  align-items: center; text-align: center;
}

/* Add a little breathing space for .features, .testimonials, .services etc. sections' lists */
.features ul, .services ul, .about ul {
  margin-bottom: 8px;
}

/* Table support (in policy) */
table {
  width: 100%; border-collapse: collapse; margin: 2em 0;
}
td, th {
  border: 1px solid var(--earth3);
  padding: 10px 8px; text-align: left;
}

/* =======================================================================
   END OF NATURE ORGANIC THEME
   ======================================================================= */
