/* ===== 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;
  background: #F5F3EF;
  color: #322f24;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}

*, *:before, *:after {
  box-sizing: border-box;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  outline: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #37B18A;
  outline-offset: 2px;
}
ul, ol {
  padding-left: 22px;
}
button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* ===== BRAND COLORS / NATURE ORGANIC PALETTE ===== */
:root {
  --primary: #276678;
  --secondary: #37B18A;
  --accent: #F3F6F9;
  --earth1: #A69F8D;
  --earth2: #E1DED7;
  --earth3: #B3BC9B;
  --forest-dark: #184633;
  --sand-bg: #F5F3EF;
  --card-bg: #FFFFFF;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.18;
  color: var(--primary);
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p, a, li, span, strong {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  color: #322f24;
  font-size: 1rem;
}
p {
  margin-bottom: 12px;
}
strong {
  font-weight: 600;
  color: var(--secondary);
}
.subheadline {
  color: var(--forest-dark);
  font-size: 1.25rem;
  margin-bottom: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  opacity: 0.94;
}

/* ====== LAYOUT CONTAINER STYLES ====== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
}

/* ====== SECTION SPACING ====== */
section,
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 36px 36px 96px 28px / 56px 44px 70px 46px;
  /* Organic irregular shape */
}
section:last-child,
.section:last-child {
  margin-bottom: 0;
}

/* Organic stylizing for prominent hero */
.hero {
  background: linear-gradient(120deg, var(--earth2) 60%, var(--earth3) 100%);
  margin-bottom: 60px;
  padding: 60px 20px 54px 20px;
  border-radius: 0 0 80px 40px/0 0 120px 42px;
  box-shadow: 0 6px 48px rgba(55, 177, 138, 0.06);
}
.hero h1 {
  color: var(--forest-dark);
}
.hero .cta-btn {
  margin-top: 18px;
}

/* ====== FLEXBOX PATTERNS ====== */
.feature-grid,
.faq-list,
.card-container,
.card-grid,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--card-bg);
  box-shadow: 0 2px 18px rgba(55,177,138,0.09);
  border-radius: 24px;
  padding: 32px 26px 28px 26px;
  display: flex;
  flex-direction: column;
  min-width: 270px;
  max-width: 370px;
  flex: 1 1 300px;
  transition: box-shadow 0.24s, transform 0.16s;
}
.card:hover {
  box-shadow: 0 8px 34px rgba(39,102,120,0.16);
  transform: translateY(-4px) scale(1.02);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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);
  border-radius: 20px;
  margin-bottom: 20px !important;
  margin-top: 0;
  box-shadow: 0 1px 10px rgba(39,102,120,0.07);
  border-left: 7px solid var(--secondary);
  flex-direction: column;
  max-width: 650px;
  transition: box-shadow 0.22s, transform 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 26px rgba(39,102,120,0.14);
  transform: translateY(-2px) scale(1.012);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 36px;
  margin-bottom: 10px;
  align-items: center;
  font-size: 1.07rem;
}
.contact-details div {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--earth2);
  padding: 10px 18px 10px 12px;
  border-radius: 16px;
  font-weight: 500;
  color: var(--forest-dark);
}

/* ======= BUTTONS ======= */
.cta-btn,
button.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  font-weight: 600;
  padding: 13px 30px;
  border-radius: 32px 40px 24px 46px / 26px 36px 32px 30px; /* organic */
  box-shadow: 0 2px 18px rgba(39,102,120,0.06);
  margin-top: 8px;
  min-width: 180px;
  letter-spacing: 0.03em;
  border: none;
  transition: background 0.2s, transform 0.18s, box-shadow 0.24s;
  cursor: pointer;
}
.cta-btn:hover,
button.cta-btn:hover,
.cta-btn:focus {
  background: var(--forest-dark);
  color: #fff;
  transform: translateY(-1px) scale(1.025);
  box-shadow: 0 6px 26px rgba(39,102,120,0.17);
}

/* ======= TABLE STYLE FOR PRICING ======= */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 12px rgba(39,102,120,0.07);
  font-size: 1rem;
}
.pricing-table th, .pricing-table td {
  padding: 16px 12px;
  text-align: left;
  border-bottom: 1px solid var(--earth2);
}
.pricing-table th {
  background: var(--earth2);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

/* ======= FAQ / LISTS ======= */
.faq-list div,
.text-section ul, .text-section ol {
  background: var(--accent);
  border-radius: 16px;
  box-shadow: 0 1px 10px rgba(39,102,120,0.04);
  margin-bottom: 16px;
  padding: 20px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-list div h3 {
  margin-bottom: 2px;
}
.text-section ul, .text-section ol {
  margin-bottom: 12px;
  gap: 0;
}
.text-section ul li, .text-section ol li {
  margin-bottom: 2px;
  line-height: 1.55;
  color: #276678;
}

/* ====== MAP SNIPPET & MISC ====== */
.map-snippet {
  background: var(--earth2);
  padding: 22px 16px 18px 16px;
  border-radius: 18px;
  margin: 20px 0 10px 0;
  font-size: 1rem;
  color: var(--forest-dark);
  font-weight: 500;
  box-shadow: 0 1.5px 11px rgba(39,102,120,0.08);
}
.next-steps-info ul {
  list-style: disc outside;
  margin-bottom: 14px;
  margin-left: 25px;
}

/* ======== FOOTER ======== */
footer {
  background: var(--primary);
  color: #fff;
  padding: 38px 0 24px 0;
  margin-top: 60px;
  border-radius: 45px 45px 0 0 / 48px 38px 0 0;
  position: relative;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  font-size: 0.98rem;
  margin-bottom: 17px;
}
.footer-nav a {
  color: var(--secondary);
  font-weight: 500;
  transition: color 0.22s;
}
.footer-nav a:hover {
  color: var(--earth3);
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 18px;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 15px;
}
.footer-contact img {
  width: 38px;
  height: 38px;
}
.footer-contact a {
  color: #f3f6f9;
  text-decoration: underline;
}
.footer-brand-tagline {
  text-align: center;
  font-size: 1.13rem;
  color: var(--earth3);
  margin-top: 4px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.06em;
}

/* ====== MOBILE MENU ====== */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  color: var(--forest-dark);
  background: var(--earth2);
  border-radius: 20px;
  padding: 8px 17px;
  margin-left: auto;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--secondary);
  color: #fff;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-size: 1.06rem;
  padding: 9px 8px;
  border-radius: 12px;
  transition: background 0.17s, color 0.22s;
}
.main-nav a:not(.cta-btn):hover {
  background: var(--earth2);
  color: var(--secondary);
}
.main-nav .cta-btn {
  margin-left: 10px;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1200;
  background: rgba(245,243,239,0.98);
  box-shadow: 0 18px 50px #27667833;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 38px 0 34px;
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0%);
  visibility: visible;
}
.mobile-menu-close {
  background: var(--secondary);
  color: #fff;
  align-self: flex-end;
  margin-top: 28px;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--forest-dark);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 32px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.13rem;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 15px 0 15px 5px;
  border-bottom: 1px solid var(--earth2);
  transition: background 0.18s;
  border-radius: 0 30px 30px 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--earth2);
  color: var(--secondary);
}

/* ====== HEADER CONTAINER ====== */
header {
  background: #fff;
  padding: 12px 0 8px 0;
  box-shadow: 0 2.5px 24px rgba(39,102,120,0.08);
  border-radius: 0 0 56px 36px/ 0 0 24px 64px;
  z-index: 100;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}
header .container > a {
  margin-right: 20px;
}
header img {
  height: 55px;
  width: auto;
}

/* ===== ORGANIC IMAGE STYLING ===== */
.feature-grid div, .faq-list div, .card, .testimonial-card {
  border-radius: 32px 60px 24px 38px / 36px 52px 36px 26px;
}
.feature-grid img, .contact-details img, .text-section img { max-height: 32px; margin-right: 7px; }

/* ====== COOKIE CONSENT BANNER ====== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  background: var(--card-bg);
  box-shadow: 0 -6px 32px #322f2422;
  border-radius: 28px 28px 0 0 / 61px 39px 0 0;
  padding: 28px 18px 24px 30px;
  max-width: 560px;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.24s;
}
.cookie-banner.show {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  margin-top: 6px;
}
.cookie-banner button {
  font-size: 1rem;
  border-radius: 24px;
  padding: 10px 18px;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background 0.15s, color 0.18s, box-shadow 0.13s;
  box-shadow: 0 1px 7px rgba(39,102,120,0.08);
}
.cookie-banner .accept {
  background: var(--secondary);
  color: #fff;
}
.cookie-banner .accept:hover { background: var(--forest-dark); }
.cookie-banner .reject {
  background: #E1DED7;
  color: var(--primary);
}
.cookie-banner .reject:hover { background: var(--earth3); color: var(--forest-dark); }
.cookie-banner .settings {
  background: var(--earth3);
  color: var(--forest-dark);
}
.cookie-banner .settings:hover { background: var(--secondary); color: #fff; }

/* ===== COOKIE MODAL ===== */
#cookie-modal {
  position: fixed;
  z-index: 10010;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(55,177,138,0.13);
  display: none;
  align-items: center;
  justify-content: center;
}
#cookie-modal.show {
  display: flex;
}
#cookie-modal .modal-content {
  background: var(--card-bg);
  padding: 36px 31px 22px 31px;
  border-radius: 29px 38px 33px 32px;
  min-width: 340px;
  max-width: 96vw;
  box-shadow: 0 5px 42px #27667833;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: fadeInScale 0.32s cubic-bezier(.77,0,.18,1);
}
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
#cookie-modal h3 {
  color: var(--primary);
  font-size: 1.15rem;
  margin-bottom: 4px;
}
#cookie-modal ul {
  margin-top: 10px;
  margin-bottom: 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 18px;
  height: 18px;
}
#cookie-modal .close-modal {
  position: absolute;
  right: 18px; top: 14px;
  background: var(--earth2);
  border-radius: 50%;
  width: 35px; height: 35px;
  font-size: 1.25rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.13s, color 0.13s;
  border: none;
  cursor: pointer;
}
#cookie-modal .close-modal:hover, #cookie-modal .close-modal:focus {
  background: var(--secondary);
  color: #fff;
}
#cookie-modal .modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
}
#cookie-modal .modal-actions button {
  font-size: 1rem;
  border-radius: 22px;
  padding: 9px 16px;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--earth2);
  color: var(--forest-dark);
  transition: background 0.15s, color 0.15s;
}
#cookie-modal .modal-actions button.save {
  background: var(--secondary);
  color: #fff;
}
#cookie-modal .modal-actions button.save:hover {
  background: var(--forest-dark);
}

/* ======== CONFIRMATION/THANK YOU SECTION ======== */
.confirmation {
  background: var(--accent);
  border-radius: 32px 48px 64px 24px / 42px 34px 70px 44px;
  box-shadow: 0 2px 28px rgba(39,102,120,0.06);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px 54px 20px;
}
.confirmation h1 {
  color: var(--secondary);
}
.thank-you-message {
  color: var(--forest-dark);
  font-size: 1.23rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 20px;
}
.next-steps-info ul {
  padding-left: 22px;
  color: var(--primary);
}

/* ======= MEDIA QUERIES ======= */
@media (max-width: 1024px) {
  .feature-grid, .card-container, .content-grid {
    gap: 18px;
  }
  header .container {
    padding-left: 8px;
    padding-right: 8px;
    gap: 12px;
  }
}
@media (max-width: 900px) {
  body {
    font-size: 15px;
  }
  .container {
    max-width: 96vw;
    padding: 0 8px;
  }
  section, .section, .confirmation {
    padding: 32px 6px;
  }
  .footer-contact, .footer-nav {
    gap: 10px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.38rem;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .card-container, .feature-grid, .content-grid, .faq-list {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }
  .contact-details {
    flex-direction: column;
    gap: 10px;
  }
  .footer-contact {
    flex-direction: column;
    gap: 10px;
  }
  .hero {
    padding: 36px 8px 34px 8px;
    border-radius: 0 0 52px 22px/0 0 64px 30px;
  }
  section, .section {
    border-radius: 28px 28px 32px 18px;
    padding: 22px 5px;
  }
  .confirmation {
    padding: 34px 6px 30px 6px;
    border-radius: 25px 36px 44px 24px;
  }
}
@media (max-width: 500px) {
  .container {
    padding: 0 2px;
  }
  .cookie-banner {
    padding: 20px 7px 17px 14px;
    max-width: 98vw;
    border-radius: 18px 18px 0 0 / 26px 21px 0 0;
  }
  #cookie-modal .modal-content { min-width: 90vw; padding: 18px 6px 12px 10px; border-radius: 18px 18px 18px 18px; gap: 12px; }
}

/* ===== HOVER STATES & TRANSITIONS ===== */
a, .cta-btn, button, .main-nav a, .footer-nav a, .mobile-menu-toggle, .mobile-nav a, #cookie-modal .close-modal, .cookie-banner button, #cookie-modal .modal-actions button {
  transition: all 0.17s cubic-bezier(.77,0,.18,1);
}

/* ====== ACCESSIBILITY ====== */
:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* ===== UTILITY CLASSES ===== */
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-30 { margin-top: 30px; }
.mb-30 { margin-bottom: 30px; }

/* ===== PRINT OVERRIDE (optional) ===== */
@media print {
  header, footer, .cookie-banner, #cookie-modal { display:none !important; }
  section, .section, .confirmation { margin-bottom: 0; padding: 0; box-shadow: none !important; background: none !important; }
}

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