/* ===================================================
   CSS RESET & BASELINE 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #F0EDE1;
  color: #13394D;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  border: 0;
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}
a {
  color: #387E59;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #466D49;
  outline: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #13394D;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  letter-spacing: -1px;
}
h2 {
  font-size: 1.8rem;
}
h3 {
  font-size: 1.4rem;
}

p, li, span, label {
  font-size: 1rem;
  color: #234140;
}

strong, b {
  font-weight: 700;
  color: #13394D;
}

.container {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ===================================================
   ORGANIC BRAND COLORS & NATURAL ACCENTS
   =================================================== */
:root {
  --color-primary: #13394D;
  --color-secondary: #F0EDE1;
  --color-accent: #8CB2BF;
  --color-green: #387E59; /* natural organic accent */
  --color-forest: #466D49;
  --color-earth: #C7B299;
  --color-brown: #A28E6A;
  --color-light-sand: #F8F6EB;
  --color-white: #fff;
  --color-text-dark: #1D2B2A;
  --color-text-light: #F8F6EB;
  --shadow-card: 0 6px 32px 0 rgba(55, 69, 41, 0.08), 0 1.5px 6px 0 rgba(38, 58, 20, 0.09);
  --border-radius-lg: 32px;
  --border-radius-md: 24px;
  --border-radius: 16px;
  --border-radius-sm: 8px;
}

/* ===================================================
   HEADER & NAVIGATION
   =================================================== */
header {
  background: var(--color-light-sand);
  box-shadow: 0 4px 16px -8px rgba(19, 57, 77, 0.05);
  position: relative;
  z-index: 30;
}
header .container {
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.logo img {
  height: 42px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 6px;
  color: var(--color-primary);
  opacity: 0.92;
  border-radius: var(--border-radius-sm);
  transition: background 0.15s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-accent);
  color: var(--color-white);
  outline: none;
}
.cta {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 999px;
  background: var(--color-green);
  color: var(--color-light-sand);
  box-shadow: 0 1px 6px 0 rgba(56, 126, 89, 0.08);
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: background 0.18s, color 0.15s, box-shadow 0.18s;
}
.cta.primary {
  background: var(--color-primary);
  color: var(--color-light-sand);
}
.cta.secondary {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cta:hover, .cta:focus {
  background: var(--color-forest);
  color: var(--color-light-sand);
  box-shadow: 0 6px 24px rgba(56, 126, 89, 0.08);
  outline: none;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--color-green);
  color: var(--color-light-sand);
}

.mobile-menu-toggle {
  background: var(--color-white);
  color: var(--color-green);
  font-size: 2rem;
  border: none;
  border-radius: 999px;
  width: 48px;
  height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 6px 0 rgba(56, 126, 89, 0.04);
  cursor: pointer;
  transition: background 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-light-sand);
}

/* ===================================================
   MOBILE MENU HANDLING
   =================================================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 100;
  background: rgba(240, 237, 225, 0.98);
  box-shadow: 0 2px 24px rgba(19, 57, 77, 0.25);
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.55,.06,.68,.19);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  transition: transform 0.36s cubic-bezier(.17, .67, .83, .67);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  color: var(--color-primary);
  margin: 28px 32px 0 0;
  background: none;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 200;
  transition: background 0.1s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-earth);
  color: var(--color-green);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 40px 0 0 40px;
  width: 80vw;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  padding: 12px 0;
  border-radius: var(--border-radius-sm);
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--color-accent);
  color: var(--color-light-sand);
  outline: none;
}

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

/* Show mobile menu/ toggler on mobile */
@media (max-width: 992px) {
  .main-nav,
  .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
/* On desktop, remove mobile toggler */
@media (min-width: 993px) {
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
  background: linear-gradient(96deg, rgba(140, 178, 191, 0.10) 0%, var(--color-light-sand) 50%, rgba(56, 126, 89, 0.11) 100%);
  border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  box-shadow: 0 4px 24px rgba(120, 123, 97, 0.08);
}
.hero .container {
  min-height: unset;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
  padding: 0 0 0 0;
}
.hero h1 {
  font-size: 2.2rem;
  color: var(--color-primary);
  margin-bottom: 8px;
  margin-top: 0;
}
.hero p {
  font-size: 1.2rem;
  color: #476B4B;
  margin-bottom: 14px;
}
.hero .cta {
  margin-top: 12px;
  font-size: 1.08rem;
}

/* ===========================
   SECTION SPACING & ORGANIC SHAPES
   =========================== */
section {
  background: var(--color-white);
  border-radius: var(--border-radius-md);
  box-shadow: 0 4px 16px -8px rgba(56, 126, 89, 0.04);
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}
section:last-child {
  margin-bottom: 0;
}

/* Add organic shadow deco on some sections */
section::before {
  content: '';
  display: block;
  position: absolute;
  top: -26px;
  left: -32px;
  width: 90px;
  height: 70px;
  background: radial-gradient(circle at 40% 38%, rgba(56,126,89,0.11) 60%, transparent 100%);
  border-radius: 62% 78% 80% 54% / 78% 75% 82% 62%;
  z-index: 0;
  pointer-events: none;
}
section .container {
  position: unset;
}
section .content-wrapper {
  position: relative;
  z-index: 2;
}

/* ===========================
   TEXT AND IMAGE FLEX SECTIONS
   =========================== */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
}

/* ===========================
   FEATURE & CARD CONTAINER LAYOUTS
   =========================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: var(--color-secondary);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  padding: 32px 24px;
  min-width: 260px;
  flex: 1 1 314px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.2s, transform 0.15s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(56, 126, 89, 0.16);
  transform: translateY(-2px) scale(1.012);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===========================
   LISTS & UL/OL STYLING
   =========================== */
ul, ol {
  padding: 0;
  margin: 0 0 0 0;
  list-style: none;
}
ul li, ol li {
  margin-bottom: 12px;
  padding-left: 36px;
  position: relative;
  font-size: 1rem;
}
ul li::before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 9px;
  width: 16px;
  height: 16px;
  background: var(--color-green);
  border-radius: 70% 48% 63% 83% / 68% 64% 73% 52%;
  opacity: 0.19;
}
ol li {
  padding-left: 0;
  margin-left: 0;
  counter-increment: step-counter;
}
ol li::before {
  content: counter(step-counter) ". ";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.07rem;
  color: var(--color-green);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  opacity: 0.6;
}
ul li:last-child,
ol li:last-child {
  margin-bottom: 0;
}

/* ===========================
   PRICING TABLES & HIGHLIGHTS
   =========================== */
.pricing-table {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  background: var(--color-secondary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 20px 36px;
  margin: 18px 0 20px 0;
}
.pricing-table div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.pricing-table span {
  font-weight: 600;
  color: var(--color-green);
  font-size: 1.1rem;
}
.pricing-table b {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  color: var(--color-primary);
  margin-top: 4px;
}

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonial-card {
  background: var(--color-light-sand);
  padding: 20px;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 3px 18px -4px rgba(56,126,89,0.13);
  margin-bottom: 20px;
  max-width: 590px;
  position: relative;
  z-index: 1;
}
.testimonial-card p {
  color: var(--color-text-dark);
  font-size: 1.07rem;
  line-height: 1.7;
  margin-right: 12px;
  margin-bottom: 0;
}
.testimonial-card span {
  color: var(--color-green);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
}

/* ===========================
   FOOTER LAYOUT
   =========================== */
footer {
  background: var(--color-primary);
  color: var(--color-light-sand);
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
  margin-top: 40px;
  box-shadow: 0 -4px 32px rgba(56,126,89,0.06);
}
.footer-main {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  justify-content: space-between;
  padding: 44px 0 20px 0;
  flex-wrap: wrap;
}
.footer-main > .logo img {
  height: 42px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}
.footer-nav a {
  color: var(--color-light-sand);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  opacity: 0.9;
  border-radius: var(--border-radius-sm);
  padding: 5px 2px;
  transition: background 0.1s, color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.99rem;
}
.footer-contact span {
  color: var(--color-earth);
  font-family: 'Roboto', Arial, sans-serif;
}
.footer-contact a {
  color: var(--color-accent);
  word-break: break-all;
  font-weight: 500;
}

/* ===========================
   TEXT SECTIONS & MISC ELEMENTS
   =========================== */
.text-section {
  background: var(--color-light-sand);
  border-radius: var(--border-radius);
  padding: 16px 20px;
  color: var(--color-primary);
  margin-top: 16px;
  margin-bottom: 12px;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 1080px) {
  .footer-main {
    gap: 24px;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 0 20px 0;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 95vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .footer-main .logo img {
    height: 36px;
  }
}
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.5rem;
  }
  section {
    padding: 24px 8px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 35px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 12px;
    padding: 18px 14px;
    max-width: 100%;
  }
  .footer-main {
    flex-direction: column;
    gap: 26px;
    padding: 24px 0 14px 0;
  }
  .logo img, .footer-main > .logo img {
    height: 28px;
  }
  .card-container {
    gap: 12px;
    flex-direction: column;
  }
  .card {
    min-width: unset;
    padding: 20px 12px;
    margin-bottom: 14px;
  }
  .pricing-table {
    flex-direction: column;
    gap: 16px;
    padding: 12px 12px;
  }
}
@media (max-width: 520px) {
  .footer-main {
    gap: 14px;
    padding: 14px 0 8px 0;
  }
}

/* ===================================================
   INTERACTIONS & TRANSITIONS
   =================================================== */
button, .cta, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.18s, color 0.16s, box-shadow 0.16s, transform 0.14s;
}
.card, .testimonial-card, .pricing-table {
  transition: box-shadow 0.22s, transform 0.17s;
}

/* ===========================
   FOCUS VISIBLE (for accessibility)  
   ============================ */
:focus-visible {
  outline: 2px solid var(--color-green);
  outline-offset: 2px;
}

/* ===========================
   COOKIE BANNER
   =========================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  background: var(--color-white);
  box-shadow: 0 -2px 32px rgba(19,57,77,0.07);
  border-top-left-radius: var(--border-radius-lg);
  border-top-right-radius: var(--border-radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  transition: transform 0.48s cubic-bezier(.48,.09,.46,.89), opacity 0.2s;
}
.cookie-banner.hide {
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner.show {
  transform: translateY(0%);
  opacity: 1;
}
.cookie-banner p {
  font-size: 1rem;
  color: var(--color-primary);
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 9px 30px;
  font-size: 1rem;
  border-radius: 999px;
  border: none;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-weight: 500;
  box-shadow: 0 1px 9px 0 rgba(56,126,89,0.06);
  cursor: pointer;
  transition: background 0.14s;
}
.cookie-banner button.accept {
  background: var(--color-green);
  color: var(--color-light-sand);
  font-weight: 700;
}
.cookie-banner button.reject {
  background: var(--color-earth);
  color: var(--color-white);
  font-weight: 500;
}
.cookie-banner button.settings {
  background: var(--color-secondary);
  color: var(--color-green);
  font-weight: 500;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-banner button.accept:hover, .cookie-banner button.accept:focus {
  background: var(--color-forest);
  color: var(--color-light-sand);
}
.cookie-banner button.reject:hover, .cookie-banner button.reject:focus {
  background: #BBA37D;
  color: var(--color-earth);
}

/* ===========================
   COOKIE MODAL
   =========================== */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(56, 126, 89, 0.07);
  z-index: 1250;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: var(--color-white);
  padding: 34px 26px;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 8px 38px -8px rgba(56,126,89,0.12);
  width: 96vw;
  max-width: 370px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  position: relative;
}
.cookie-modal h3 {
  font-size: 1.3rem;
  color: var(--color-green);
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-size: 1rem;
  color: var(--color-primary);
}
.cookie-category input[type='checkbox']:disabled + span {
  color: var(--color-brown);
  opacity: 0.65;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 12px;
  width: 100%;
  margin-top: 10px;
}
.cookie-modal .close {
  position: absolute;
  right: 16px; top: 10px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-green);
  padding: 2px 6px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.13s;
}
.cookie-modal .close:hover, .cookie-modal .close:focus {
  background: var(--color-secondary);
}

/* ===========================
   ICONS & IMAGES IN LISTS
   =========================== */
section ul li img {
  width: 22px;
  height: 22px;
  margin-right: 10px;
  vertical-align: middle;
  border-radius: 22% 80% 61% 72% / 68% 64% 73% 52%;
  background: var(--color-accent);
  padding: 2px;
}

/* ===========================
   RESPONSIVE UTILITIES
   =========================== */
.hide-on-mobile {
  display: block;
}
@media (max-width: 768px) {
  .hide-on-mobile {
    display: none !important;
  }
}
.show-on-mobile {
  display: none;
}
@media (max-width: 768px) {
  .show-on-mobile {
    display: block !important;
  }
}

/* ===========================
   FORMS (if added in future)
   =========================== */
input[type=text], input[type=email], textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--color-accent);
  padding: 11px 14px;
  background: var(--color-secondary);
  color: var(--color-primary);
  margin-bottom: 12px;
  width: 100%;
  transition: border 0.14s;
}
input[type=text]:focus, input[type=email]:focus, textarea:focus {
  outline: none;
  border: 1.5px solid var(--color-green);
}
textarea {
  min-height: 90px;
  resize: vertical;
}

/* ===========================
   ADDITIONAL ORGANIC EFFECTS
   =========================== */
.card, .testimonial-card, section, .pricing-table {
  border-radius: 38px 24px 38px 12px/28px 32px 36px 18px;
}
/* Soft, organic effect on hover */
.card:hover, .testimonial-card:hover, .pricing-table:hover {
  box-shadow: 0 8px 28px -5px rgba(56,126,89,0.14), 0 1.5px 10px 0 rgba(56,126,89,0.07);
  transform: scale(1.018) translateY(-2px);
}

/* ===========================
   SMALL MISC OVERRIDES
   =========================== */
a.cta {
  text-align: center;
}
.content-wrapper .cta {
  align-self: flex-start;
}

/* ===========================
   CUSTOM FONT IMPORTS
   =========================== */
@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');
