/* 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F6F6F2;
  color: #252B38;
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
}

img, picture, video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #30653F;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover, a:focus {
  color: #1F3925;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1.2em;
}
strong {
  font-weight: bold;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  text-align: left;
  padding: 12px 16px;
}
th {
  background: #F6F6F2;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #30653F;
  font-size: 18px;
  letter-spacing: 0.05em;
}
tr:nth-child(even) {
  background: #F3EDD4;
}

/* VARIABLES & BRAND PALETTE */
:root {
  --color-primary: #252B38;
  --color-secondary: #E8B42C;
  --color-accent: #F6F6F2;
  --color-green: #30653F;
  --color-green-light: #C1D7AE;
  --color-brown: #977C60;
  --color-leaf: #8FA970;
  --color-sand: #F3EDD4;
  --shadow-card: 0 2px 16px rgba(48, 101, 63, 0.09);
  --shadow-elevate: 0 4px 32px rgba(48, 101, 63, 0.14);
  --radius-card: 18px;
  --radius-btn: 28px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: #252B38;
  margin-bottom: 18px;
  font-weight: 700;
}
h1 {
  font-size: 2.6rem;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  line-height: 1.15;
}
h3 {
  font-size: 1.4rem;
  line-height: 1.25;
}
h4 {
  font-size: 1.1rem;
}
p, ul, ol, blockquote {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #252B38;
  margin-bottom: 16px;
}
.subheadline {
  font-family: var(--font-body);
  font-size: 1.12rem;
  color: #30653F;
  font-weight: 600;
  margin-bottom: 28px;
  max-width: 600px;
}
/* Heading spacing */
h1, h2, h3, h4 {
  margin-top: 0;
}

/* CONTAINER & SECTION LAYOUTS */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 40px;
    padding: 28px 8px;
  }
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* FLEX UTILS FOR LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #F3EDD4;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 26px 24px 22px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
.testimonial-card {
  background: #FFF;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-left: 6px solid #8FA970;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-elevate);
}
blockquote {
  font-style: italic;
  color: #30653F;
  font-size: 1.08rem;
  margin: 0 0 10px 0;
}
.testimonial-card p {
  margin-bottom: 0;
  color: #252B38;
}
.event-type {
  background: #F3EDD4;
  color: #30653F;
  border-radius: 12px;
  padding: 2px 12px;
  margin-left: 10px;
  font-size: 0.93rem;
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.text-section {
  background: #FFF;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 26px 20px 18px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* HEADER & NAVIGATION */
header {
  background: #F6F6F2;
  box-shadow: 0 2px 10px rgba(85, 88, 70, 0.07);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 16px;
  min-height: 64px;
}
.logo img {
  height: 46px;
}
.main-nav {
  display: flex;
  gap: 22px;
  margin-left: 24px;
  flex: 1;
}
.main-nav a {
  font-family: var(--font-display);
  color: #252B38;
  font-weight: 600;
  font-size: 1.06rem;
  padding: 7px 10px;
  border-radius: 8px;
  position: relative;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F3EDD4;
  color: #30653F;
}
.btn-primary {
  display: inline-block;
  background: #30653F;
  color: #FFF;
  border-radius: var(--radius-btn);
  padding: 12px 28px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.07rem;
  letter-spacing: 0.04em;
  border: none;
  box-shadow: 0 2px 10px rgba(48, 101, 63, 0.08);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.12s;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #252B38;
  color: #E8B42C;
  transform: translateY(-2px) scale(1.04);
}
.btn-secondary {
  background: #E8B42C;
  color: #252B38;
  border-radius: var(--radius-btn);
  padding: 10px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  box-shadow: 0 2px 10px rgba(200, 150, 38, 0.08);
  cursor: pointer;
  margin-top: 7px;
  margin-bottom: 5px;
  transition: background 0.15s, color 0.15s, transform 0.13s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #30653F;
  color: #fff;
  transform: translateY(-1.5px) scale(1.03);
}
/* MOBILE NAV */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #30653F;
  font-size: 2rem;
  margin-left: 18px;
  cursor: pointer;
  transition: color 0.16s;
  z-index: 111;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #E8B42C;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(48,101,63,0.95);
  z-index: 110;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #FFF;
  font-size: 2rem;
  padding: 30px 26px 6px 0;
  cursor: pointer;
  z-index: 111;
  transition: color 0.13s;
}
.mobile-menu-close:focus {
  outline: 2px solid #E8B42C;
}
.mobile-nav {
  margin-top: 28px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.mobile-nav a {
  color: #FFF;
  font-family: var(--font-display);
  font-size: 1.23rem;
  font-weight: 600;
  padding: 18px 32px;
  width: 100%;
  border-radius: 8px;
  transition: background 0.15s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E8B42C;
  color: #30653F;
}
@media (max-width: 1000px) {
  .main-nav,
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 1001px) {
  .mobile-menu {
    display: none !important;
  }
}

/* HERO & ORGANIC SHAPES */
section:first-of-type {
  background: #F3EDD4;
  border-radius: 0 0 44px 44px;
  position: relative;
  overflow: hidden;
}
section:first-of-type:before {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -60px;
  width: 180px;
  height: 120px;
  background: #C1D7AE;
  border-radius: 160px 160px 130px 160px;
  opacity: 0.21;
  z-index: 1;
}
.content-wrapper {
  position: relative;
  z-index: 2;
}

/* ORGANIC CARD STYLES & BUTTONS */
.card, .text-section {
  /* see above for details */
}
ul li {
  margin-bottom: 13px;
  color: #252B38;
  font-size: 1rem;
  line-height: 1.6;
  font-family: var(--font-body);
  padding-left: 0px;
}

/* PRICING TABLE */
.pricing-table {
  background: #FFF;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-card);
  margin-bottom: 24px;
  overflow-x: auto;
}
.pricing-table th, .pricing-table td {
  font-size: 1rem;
  border-bottom: 1px solid #F3EDD4;
}
.pricing-table th {
  font-size: 1.11rem;
  font-weight: 700;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

/* FOOTER */
footer {
  background: #252B38;
  color: #F6F6F2;
  padding: 36px 0 28px 0;
  font-size: 0.97rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #C1D7AE;
  font-size: 1rem;
  font-family: var(--font-body);
  padding: 4px 12px;
  border-radius: 6px;
  transition: background 0.13s, color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #30653F;
  color: #E8B42C;
}
.footer-copy {
  text-align: center;
  color: #8FA970;
}

/* Cookie Consent Banner */
.cookie-consent {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #8FA970;
  color: #FFF;
  box-shadow: 0 0 30px rgba(38, 53, 23, 0.18);
  padding: 27px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  z-index: 5000;
  animation: slide-up-cookie 0.35s cubic-bezier(.77,0,.18,1);
}
@keyframes slide-up-cookie {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.cookie-consent p {
  color: #FFF;
  font-size: 1rem;
  margin-bottom: 0;
  text-align: center;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
}
.cookie-btn {
  background: #E8B42C;
  color: #252B38;
  border: none;
  border-radius: 24px;
  padding: 10px 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.03rem;
  cursor: pointer;
  margin: 0 6px;
  transition: background 0.13s, color 0.13s, transform 0.11s;
}
.cookie-btn:active, .cookie-btn:focus, .cookie-btn:hover {
  background: #30653F;
  color: #FFF;
  outline: none;
  transform: translateY(-2px) scale(1.04);
}
.cookie-btn.settings {
  background: #FFF;
  color: #30653F;
  border: 1.7px solid #E8B42C;
}
.cookie-btn.settings:active, .cookie-btn.settings:focus, .cookie-btn.settings:hover {
  background: #E8B42C;
  color: #252B38;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(48,101,63,0.86);
  z-index: 5100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn-cookie-modal 0.25s cubic-bezier(.77,0,.18,1);
}
@keyframes fadeIn-cookie-modal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #FFF;
  color: #252B38;
  border-radius: var(--radius-card);
  max-width: 390px;
  width: 96vw;
  padding: 38px 28px 22px 28px;
  box-shadow: var(--shadow-elevate);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 5px 0;
}
.cookie-category-label {
  font-weight: 600;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #30653F;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}
.cookie-modal .cookie-btn {
  min-width: 108px;
}
.cookie-modal-close {
  align-self: flex-end;
  color: #8FA970;
  background: none;
  border: none;
  font-size: 1.52rem;
  cursor: pointer;
  margin-top: -24px;
  margin-right: -8px;
  transition: color 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #E8B42C;
}

/* Guarantee color contrast for testimonial sections */
section h2, .testimonial-card,
.testimonial-card blockquote,
.testimonial-card p, .testimonial-card strong, .testimonial-card .event-type {
  color: #252B38;
  background: none;
}
.testimonial-card blockquote {
  color: #30653F;
}

/* RESPONSIVE */
@media (max-width: 820px) {
  .container {
    max-width: 97vw;
    padding: 0 7vw;
  }
  .main-nav {
    gap: 13px;
  }
  .card-container, .content-grid {
    gap: 13px;
  }
}
@media (max-width: 700px) {
  .header .container, .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
  .content-wrapper, .section {
    padding: 17px 2.5vw;
    gap: 13px;
  }
}
@media (max-width: 500px) {
  h1 {
    font-size: 1.5rem;
  }
  h2 { font-size: 1.22rem; }
  .btn-primary, .btn-secondary, .cookie-btn {
    font-size: 0.96rem;
    padding: 13px 10px;
  }
  .container {
    padding-left: 2.8vw;
    padding-right: 2.8vw;
  }
}

/* ORGANIC/NATURE-INSPIRED MICROINTERACTIONS */
.btn-primary,
.btn-secondary,
.cookie-btn,
.mobile-menu-toggle,
.mobile-menu-close {
  transition: 
    background 0.23s cubic-bezier(.77,0,.18,1),
    color 0.17s,
    transform 0.13s;
}
.btn-primary:active, .btn-secondary:active, .cookie-btn:active {
  transform: scale(0.98);
}

/* FORMS (future-proofed) */
input[type="text"], input[type="email"], textarea {
  font-family: var(--font-body);
  font-size: 1.02rem;
  border-radius: 16px;
  border: 1.6px solid #8FA970;
  background: #FFF;
  padding: 11px 17px;
  color: #252B38;
  margin-bottom: 16px;
  width: 100%;
  box-shadow: 0 1px 6px rgba(48,101,63,0.06);
  transition: border-color 0.17s;
}
input:focus, textarea:focus {
  outline: none;
  border-color: #30653F;
}
label {
  font-family: var(--font-body);
  color: #30653F;
  font-weight: 600;
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 10px;
  background: #F6F6F2;
}
::-webkit-scrollbar-thumb {
  background: #C1D7AE;
  border-radius: 21px;
}

/* Accessibility focus styles */
a:focus, button:focus, input:focus, .btn:focus {
  outline: 2px dashed #E8B42C;
  outline-offset: 2px;
}

/* Hide visually only on mobile for nav (for accessibility, not display: none) */
@media (max-width: 1000px) {
  .main-nav, .btn-primary {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }
}

/* Miscellaneous for organic look */
.card, .testimonial-card, .text-section, .pricing-table {
  border-radius: 24px 40px 20px 24px / 18px 44px 27px 29px;
}
.btn-primary, .btn-secondary, .cookie-btn {
  border-radius: 25px 30px 36px 23px / 23px 31px 29px 27px;
}

/* Guarantee section and card spacing - must match spec */
section, .section, .card-container, .content-grid, .testimonial-card, .card, .text-section {
  margin-bottom: 20px;
}

/* Remove absolute positioning for content-cards (only allow abs for organic bg shapes) */

/* END OF ORGANIC, FLEX-ONLY, ACCESSIBLE CSS */
