/* ====== 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;
  height: 100%;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F4F2EA;
  color: #20403B;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.1px;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

/* ====== Variables (with fallbacks) ====== */
:root {
  --color-primary: #20403B;
  --color-secondary: #88B292;
  --color-accent: #F4F2EA;
  --color-dark: #11221e;
  --color-white: #fff;
  --shadow-medium: 0 4px 24px rgba(32,64,59,0.07);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
  --transition-all: .2s cubic-bezier(.4,0,.2,1);
}

/* ====== Typography & Headings ====== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.15;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, li, .text-section {
  font-family: var(--font-body);
  color: var(--color-dark);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
  color: var(--color-primary);
}
.text-section h3 {
  font-size: 1.15rem;
  margin-top: 12px;
  margin-bottom: 10px;
}

/* ====== Containers, Layouts & Spacing ====== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: var(--shadow-medium);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  min-width: 320px;
  max-width: 400px;
  flex: 1 1 340px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.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;
  min-height: 120px;
  background: var(--color-accent);
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(32,64,59,0.06);
  margin-bottom: 20px;
}
.testimonial-card p {
  color: #1c2d27;
  font-size: 1.05rem;
  font-style: italic;
  font-family: var(--font-body);
}
.testimonial-card span {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.95rem;
  margin-left: 12px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 16px 0;
}

/* ====== Lists & Features ====== */
ul, ol {
  margin-bottom: 16px;
  padding-left: 0;
}
ul li, ol li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
}
ul li img {
  width: 26px;
  height: 26px;
  margin-right: 8px;
  flex-shrink: 0;
}

/* ====== Header & Navigation ====== */
header {
  width: 100%;
  background: var(--color-white);
  box-shadow: 0 6px 28px rgba(32, 64, 59, 0.10);
  padding: 0 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
header > a img {
  height: 58px;
  margin: 16px 24px 16px 0;
  display: block;
}
header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 0 36px 0 24px;
  min-height: 80px;
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 10px 0;
  color: var(--color-primary);
  position: relative;
  transition: color .17s;
}
nav a:hover, nav a:focus {
  color: var(--color-secondary);
}
.cta-button {
  font-family: var(--font-display);
  background: var(--color-secondary);
  color: var(--color-primary);
  padding: 12px 28px;
  border-radius: 24px;
  font-size: 1.07rem;
  font-weight: 800;
  margin-left: 32px;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 12px rgba(136,178,146,0.12);
  transition: background var(--transition-all), color var(--transition-all), box-shadow var(--transition-all), transform .16s;
  border: none;
  display: inline-block;
  position: relative;
}
.cta-button:hover, .cta-button:focus {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 8px 32px rgba(32,64,59,0.13);
  transform: translateY(-2px) scale(1.04);
}

/* Burger Menu Button */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-size: 2.1rem;
  padding: 6px 12px;
  border-radius: 10px;
  margin-left: 22px;
  border: none;
  z-index: 120;
  transition: background var(--transition-all), color var(--transition-all), transform 0.11s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--color-primary);
  color: #fff;
  transform: scale(1.1);
}

/* Mobile Menu Overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32,64,59,0.96);
  z-index: 150;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transition: transform 0.36s cubic-bezier(.6,0,.4,1), opacity 0.2s;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100vw);
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  animation: slideInMenu 0.36s cubic-bezier(.7, .1, .5, 1);
}
@keyframes slideInMenu {
  from { transform: translateX(100vw); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
.mobile-menu-close {
  font-size: 2.1rem;
  background: transparent;
  color: var(--color-accent);
  border: none;
  padding: 18px 30px 0 0;
  margin-bottom: 30px;
  align-self: flex-end;
  z-index: 180;
  transition: color .2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  margin: 24px 32px 0 0;
  width: 100%;
}
.mobile-nav a {
  color: var(--color-accent);
  font-size: 1.38rem;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 14px 0 14px 10px;
  border-radius: 8px;
  transition: background 0.18s, color .13s;
  width: 98%;
  text-align: right;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* ====== HERO SECTION ====== */
.hero {
  background: linear-gradient(90deg, var(--color-accent) 60%, #f0f8ef 100%);
  padding: 0;
  min-height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .container {
  flex-direction: column;
  align-items: stretch;
}
.hero .content-wrapper {
  align-items: flex-start;
  padding: 36px 0 28px 0;
}
.hero h1 {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 18px;
  line-height: 1.1;
  text-shadow: 1px 2px 0 #e3e1d1, 0px 3px 6px #e2e8e2;
}
.hero p {
  color: var(--color-dark);
  font-size: 1.22rem;
  max-width: 600px;
  margin-bottom: 30px;
}

/* ====== Section Spacing for All Pages (repeating) ====== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ====== FOOTER ====== */
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 46px 0 20px 0;
  font-size: 1rem;
}
footer .container {
  flex-direction: column;
  gap: 28px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 18px;
}
footer nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.01rem;
  padding: 6px 0;
  letter-spacing: 0.01em;
  transition: color .18s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-secondary);
}
.contact-snippet p, .contact-snippet a {
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: .98rem;
}
.contact-snippet a {
  text-decoration: underline;
  transition: color .14s;
}
.contact-snippet a:hover, .contact-snippet a:focus {
  color: var(--color-secondary);
}
.social-links {
  display: flex;
  gap: 18px;
}
.social-links img {
  width: 36px;
  height: 36px;
  filter: grayscale(60%) brightness(1.18);
  opacity: 0.89;
  transition: filter .15s, opacity .15s, transform .13s;
}
.social-links img:hover, .social-links img:focus {
  opacity: 1;
  filter: none;
  transform: scale(1.12);
}

/* ====== COOKIE CONSENT BANNER & MODAL ====== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 3000;
  background: var(--color-primary);
  color: var(--color-accent);
  box-shadow: 0 -4px 20px rgba(32,64,59,0.10);
  padding: 24px 16px 16px 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  font-family: var(--font-body);
  font-size: 0.99rem;
  justify-content: space-between;
  animation: cookieSlideIn .38s cubic-bezier(.7,.1,.5,1);
}
@keyframes cookieSlideIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 15px;
}
.cookie-banner button {
  min-width: 115px;
  padding: 8px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  transition: background .18s, color .17s, box-shadow .12s;
  cursor: pointer;
  margin-left: 0;
}
.cookie-btn--accept {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-btn--accept:hover, .cookie-btn--accept:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-btn--reject {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.cookie-btn--reject:hover, .cookie-btn--reject:focus {
  background: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-secondary);
}
.cookie-btn--settings {
  background: var(--color-primary);
  color: var(--color-accent);
  border: 2px solid var(--color-secondary);
}
.cookie-btn--settings:hover, .cookie-btn--settings:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  border: 2px solid var(--color-secondary);
}

.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 3200;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32,64,59,0.87);
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.cookie-modal-overlay.open {
  display: flex;
  animation: fadeModalOverlay .18s;
}
@keyframes fadeModalOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: 16px;
  max-width: 360px;
  padding: 38px 32px 24px 32px;
  box-shadow: 0 8px 36px 0 rgba(44, 84, 60, 0.16);
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalPopIn .27s cubic-bezier(.7,.1,.5,1);
}
@keyframes modalPopIn {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-modal label {
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-primary);
}
.cookie-modal input[type=checkbox] {
  width: 22px;
  height: 22px;
}
.cookie-modal .cookie-disabled {
  opacity: 0.51;
  pointer-events: none;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 8px;
}

/* ====== Microinteractions & Effects ====== */
a, button, .cta-button {
  transition: background .18s, color .13s, box-shadow .13s, transform .11s;
}
section, .card, .testimonial-card {
  transition: box-shadow .14s, background .18s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 10px 38px 0 rgba(32,64,59,0.15);
  background: #f0f8ef;
}

/* ====== Accessibility & Contrast Enhancements ====== */
.testimonial-card {
  background: #f5fff7;
  color: #20332d;
  box-shadow: 0 2px 14px 0 rgba(32,64,59,0.09);
}
.testimonial-card p, .testimonial-card span {
  color: #20332d;
}

/* ====== Responsive Design: Mobile-First ====== */
@media (max-width: 1023px) {
  header {
    padding: 0 16px;
    min-height: 72px;
    gap: 6px;
  }
  nav {
    gap: 12px;
  }
  .cta-button {
    margin-left: 10px;
    font-size: 1rem;
    padding: 10px 18px;
  }
}

@media (max-width: 900px) {
  .container {
    max-width: 95vw;
    padding: 0 10px;
  }
  section {
    padding: 30px 8px;
  }
}
@media (max-width: 768px) {
  header nav, header .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  footer .container {
    align-items: flex-start;
    gap: 16px;
  }
  footer nav {
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.98rem;
  }
  .section {
    margin-bottom: 38px;
    padding: 30px 0px;
  }
  .card-container, .content-grid, .text-image-section {
    flex-direction: column !important;
    gap: 22px;
  }
  .card {
    max-width: 100%;
    min-width: 240px;
    padding: 18px 6px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 7px;
    gap: 10px;
  }
  .hero h1 {
    font-size: 1.65rem;
    margin-bottom: 16px;
  }
  .hero p {
    font-size: 1.01rem;
    margin-bottom: 26px;
  }
  .hero {
    min-height: 220px;
    padding: 34px 0 8px 0;
  }
}

@media (max-width: 500px) {
  .container {
    padding: 0 2vw;
  }
  .cookie-modal {
    max-width: 97vw;
    padding: 17vw 3vw 8vw 3vw;
    border-radius: 12px;
  }
}

/* ====== Utility Classes ====== */
.d-none { display: none !important; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 20px; }
.gap-3 { gap: 32px; }

/* ====== Geometric Accent for Modern Bold Style ====== */
.section {
  position: relative;
}
.section::before {
  content: "";
  display: block;
  position: absolute;
  top: -16px; left: -28px;
  width: 48px; height: 48px;
  background: var(--color-secondary);
  opacity: 0.09;
  border-radius: 30% 60% 50% 40%/40% 30% 60% 50%;
  z-index: 0;
}
.section > .container, .content-wrapper, .card, .testimonial-card {
  position: relative;
  z-index: 2;
}

/* ====== Animating CTA Arrow on Hover (for .cta-button) ====== */
.cta-button::after {
  content: '\2192';
  margin-left: 12px;
  font-size: 1.1em;
  vertical-align: middle;
  opacity: .55;
  transition: margin-left 0.14s, opacity .18s;
}
.cta-button:hover::after, .cta-button:focus::after {
  margin-left: 18px;
  opacity: 1;
}

/* ====== Focus Outline for Accessibility ====== */
a:focus, button:focus, .cta-button:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* ====== Hide Cookie Banner/Modal for Print ====== */
@media print {
  .cookie-banner, .cookie-modal-overlay, .mobile-menu { display: none !important; }
}

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