/*========================================================
  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;
}
html {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #F4F4F9;
  color: #223148;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font: inherit;
  outline: none;
}
*:focus {
  outline: 2px solid #92A596;
  outline-offset: 2px;
}

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

:root {
  /* Nature Organic Core Brand Colors */
  --color-primary: #223148;
  --color-secondary: #92A596;
  --color-accent: #F4F4F9;
  --color-earth: #b5a179;
  --color-olive: #7A8450;
  --color-grass: #4E8A62;
  --color-leaf: #BFCBA4;
  --color-clay: #D4C2AA;
  --color-bark: #71544B;
  --color-cream: #FCFAF7;
  --color-error: #d24c36;
  /* Fallbacks */
  --box-shadow: 0 6px 20px 0 rgba(112, 120, 90,0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --transition: 0.35s cubic-bezier(0.79,0.21,0.27,0.87);
}

/*========================================================
  STRUCTURE & SPACING
=========================================================*/
.container {
  width: 100%;
  max-width: 1232px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  box-shadow: var(--box-shadow);
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--box-shadow);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  flex: 1 1 260px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 10px 32px 0 rgba(112,120,90,0.13);
  transform: translateY(-4px) scale(1.01);
}

.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;
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px 0 rgba(78,138,98,0.08);
  border-left: 6px solid var(--color-grass);
  color: #223148;
}
.testimonial-card p:first-child {
  font-size: 18px;
  font-style: italic;
  color: #4E8A62;
}
.testimonial-card strong {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #223148;
  font-weight: bold;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-cream);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 20px;
}

/*========================================================
  HEADER & NAVIGATION (DESKTOP & MOBILE)
=========================================================*/
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 24px 0 rgba(34,49,72,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
}
.logo {
  display: flex;
  align-items: center;
  height: 60px;
  padding-right: 24px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-primary);
  padding: 8px 14px;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-leaf);
  color: var(--color-grass);
}
.cta-primary {
  background: var(--color-grass);
  color: #fff;
  padding: 12px 28px;
  border-radius: 99px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 2px 16px 0 rgba(78,138,98,0.12);
  border: none;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), color var(--transition);
}
.cta-primary:hover, .cta-primary:focus {
  background: #357a57;
  color: #FCFAF7;
  box-shadow: 0 4px 28px 0 rgba(78,138,98,0.16);
}
.cta-secondary {
  border: 2px solid var(--color-grass);
  color: var(--color-grass);
  background: transparent;
  padding: 12px 26px;
  border-radius: 99px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--color-leaf);
  color: #1c2e2a;
  border-color: #357a57;
}

.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: #223148ee;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.7,0,0.2,1);
  overflow-y: auto;
  opacity: 1;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.1rem;
  border: none;
  align-self: flex-end;
  margin: 32px 24px 0 0;
  padding: 10px;
  cursor: pointer;
  transition: color var(--transition);
  z-index: 11000;
}
.mobile-menu-close:hover {
  color: var(--color-leaf);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 48px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.mobile-nav a {
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  padding: 16px 0;
  border-bottom: 1px solid rgba(244,244,249,0.08);
  width: 100%;
  transition: color var(--transition), background var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-leaf);
  background: rgba(146,165,150,0.07);
}

/*========================================================
  FOOTER STYLES
=========================================================*/
footer {
  background: var(--color-secondary);
  color: var(--color-primary);
  padding: 48px 0 24px;
  position: relative;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}
.footer-logo {
  flex: 0 0 120px;
  display: flex;
  align-items: flex-start;
  padding-bottom: 12px;
}
.footer-links, .footer-contact, .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-links nav, .footer-legal nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.footer-links a, .footer-legal a {
  color: #223148;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  padding: 6px 0;
  transition: color 0.2s;
}
.footer-links a:hover, .footer-legal a:hover {
  color: var(--color-grass);
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  padding: 2px 0;
}
.footer-legal {
  padding-top: 14px;
  font-size: 14px;
  color: #223148;
}

/*========================================================
  TYPOGRAPHY
=========================================================*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.14;
  color: #223148;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
h1 { font-size: 2.8rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.33rem; margin-bottom: 10px; }
h4, h5, h6 { font-size: 1.16rem; }

p, li {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #223148;
  margin-bottom: 8px;
}
strong {
  font-weight: bold;
  color: #223148;
}

ul, ol {
  margin-bottom: 18px;
  margin-left: 1.1em;
}
ul li:before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  margin-right: 12px;
  background: var(--color-leaf);
  box-shadow: 0 1px 2px #BFCBA4;
  vertical-align: baseline;
}
ol li {
  list-style: decimal inside;
  margin-left: 14px;
}

/*========================================================
  BUTTONS, LINKS, FORMS
=========================================================*/
button, .button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}

a.button, .button {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  background: var(--color-grass);
  color: #fff;
  font-size: 17px;
  margin: 5px 0;
  text-align: center;
  box-shadow: 0 2px 16px 0 rgba(78,138,98,0.13);
  border: none;
}
a.button:hover, .button:hover {
  background: #357a57;
  color: #FCFAF7;
}
input, textarea, select {
  border: 1px solid var(--color-leaf);
  background: #FCFAF7;
  padding: 10px 15px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  color: #223148;
  margin-bottom: 15px;
  transition: border var(--transition), box-shadow var(--transition);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-grass);
  box-shadow: 0 2px 8px 0 rgba(78,138,98,0.08);
}

/*========================================================
  ORGANIC DESIGN DECORATIVE CLASSES
=========================================================*/
.section {
  background: linear-gradient(120deg, #FCFAF7 90%, #BFCBA4 100%);
  box-shadow: 0 8px 32px 0 rgba(176,186,155,0.11);
  border-radius: 32px 32px 24px 24px/28px 34px 24px 40px;
}
.card, .feature-item, .testimonial-card {
  border-radius: 24px 18px 24px 38px/34px 24px 28px 22px;
  background: linear-gradient(102deg, #fff 92%, #F4F4F9 100%);
}

/* Slight textures for depth */
.section, .card, .testimonial-card {
  background-blend-mode: multiply;
  background-repeat: no-repeat;
}

/*========================================================
  RESPONSIVE DESIGN
=========================================================*/
@media (max-width: 1024px) {
  .container {
    max-width: 99vw;
    padding: 0 10px;
  }
  .section, .card, .feature-item, .testimonial-card {
    padding: 26px 12px;
  }
  .footer-content {
    gap: 24px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.4rem; }
  .section {
    margin-bottom: 36px;
    padding: 22px 8px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    font-size: 2.4rem;
    background: none;
    border: none;
    color: var(--color-grass);
    padding: 8px;
    margin-left: 10px;
    z-index: 10001;
    cursor: pointer;
    transition: color var(--transition);
  }
  .mobile-menu-toggle:active {
    color: #357a57;
  }
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-logo {
    margin-bottom: 10px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 24px;
  }
}
@media (max-width: 500px) {
  .container { padding: 0 4px; }
  .section { padding: 9px 2px; }
  .card { padding: 14px 6px; }
  h1 { font-size: 1.5rem; }
  .cta-primary, .cta-secondary, .button {padding: 11px 16px; font-size: 15px;}
}

/*========================================================
  COOKIE CONSENT BANNER
=========================================================*/
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #FCFAF7;
  color: #223148;
  padding: 22px 14px 20px;
  box-shadow: 0 -4px 14px 0 rgba(156,160,132,0.13);
  z-index: 15000;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 16px;
  border-radius: 24px 24px 0 0 / 15px 35px 0 0;
  animation: cookie-slide-in 0.6s cubic-bezier(0.79,0.21,0.27,0.87) both;
}
@keyframes cookie-slide-in {
  from { transform: translateY(100%); opacity: 0;}
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  gap: 18px;
  margin-left: auto;
}
.cookie-consent-banner button {
  font-weight: 600;
  border-radius: 12px;
  border: none;
  padding: 10px 20px;
  font-size: 15px;
  cursor: pointer;
  margin-bottom: 0;
  transition: background var(--transition), color var(--transition);
}
.cookie-accept {
  background: var(--color-grass);
  color: #fff;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #357a57;
  color: #FCFAF7;
}
.cookie-reject {
  background: transparent;
  color: var(--color-bark);
  border: 2px solid var(--color-bark);
}
.cookie-reject:hover, .cookie-reject:focus {
  background: var(--color-bark);
  color: #fff;
}
.cookie-settings {
  background: transparent;
  color: var(--color-grass);
  border: 2px solid var(--color-grass);
}
.cookie-settings:hover, .cookie-settings:focus {
  background: var(--color-leaf);
  color: #223148;
}

/* Cookie Modal Overlay */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(34,49,72,0.27);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 20000;
  animation: fadeIn 0.3s;
}
.cookie-modal.open {
  display: flex;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: 32px;
  padding: 28px 32px;
  box-shadow: 0 8px 32px 0 rgba(78,138,98,0.19);
  max-width: 99vw;
  max-height: 85vh;
  overflow-y: auto;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--color-leaf);
  border-radius: var(--radius-sm);
  padding: 11px 19px;
  margin-bottom: 8px;
}
.cookie-settings-row label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #223148;
  font-weight: 500;
}
.cookie-toggle {
  width: 40px;
  height: 23px;
  border-radius: 99px;
  background: var(--color-olive);
  position: relative;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background var(--transition);
}
.cookie-toggle[data-enabled="true"] {
  background: var(--color-grass);
}
.cookie-toggle::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: #fff;
  transition: left var(--transition);
}
.cookie-toggle[data-enabled="true"]::after {
  left: 20px;
}
.cookie-modal-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--color-bark);
  font-size: 1.8rem;
  cursor: pointer;
  margin-bottom: 0;
}
.cookie-modal-close:hover { color: var(--color-error); }

@media (max-width: 768px) {
  .cookie-modal-content {
    padding: 18px 6px;
    border-radius: 22px;
    min-width: 90vw;
  }
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 15px;
    padding: 16px 5px 14px;
  }
  .cookie-consent-banner .cookie-buttons {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 13px;
    margin-left: 0;
  }
}

/*========================================================
  MICRO-INTERACTIONS & TRANSITIONS
=========================================================*/
.card, .testimonial-card, .feature-item,
.cta-primary, .cta-secondary, .button,
a.button, .cookie-consent-banner button {
  transition: box-shadow 0.18s, background 0.22s, color 0.22s, transform 0.17s;
}
.card:hover, .testimonial-card:hover,
.feature-item:hover {
  box-shadow: 0 5px 26px 0 rgba(78,138,98,0.17);
  transform: translateY(-2px) scale(1.01);
}
.content-wrapper a:not(.cta-primary):not(.cta-secondary):not(.button):hover {
  text-decoration: underline;
  color: var(--color-grass);
}

/*========================================================
  MISC: UTILITY & ORGANIC SHAPES
=========================================================*/
.organic-divider {
  width: 100%;
  height: 18px;
  background: radial-gradient(ellipse farthest-corner at 50% 120%, #BFCBA4 0%, #FCFAF7 80%);
  border-radius: 99px;
  margin: 32px 0 12px;
  opacity: 0.69;
}
.shadowed {
  box-shadow: var(--box-shadow);
}

/*========================================================
  PRINT STYLES
=========================================================*/
@media print {
  header, nav, footer, .mobile-menu-toggle, .cookie-consent-banner, .cookie-modal {
    display: none;
  }
  body {
    background: #fff;
    color: #223148;
  }
}

/* End of comprehensive Glow Haze CSS */
