/* ===== 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;
}
html {
  font-size: 16px;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  line-height: 1.5;
  background: #FAF9F7;
  color: #314143;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #698B95;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #A3C164;
  outline: none;
}

/* ===== VARIABLES (with fallbacks) ===== */
:root {
  --brand-primary: #314143;
  --brand-secondary: #A3C164;
  --brand-accent: #F4F1EE;
  --brand-bg-soft: #FAF9F7;
  --pastel-blue: #B9D6F2;
  --pastel-mint: #B7E6D7;
  --pastel-lavender: #EDE7F6;
  --pastel-yellow: #FFF6CC;
  --pastel-pink: #FFEBEF;
  --shadow-card: 0 2px 16px rgba(163, 193, 100, 0.08), 0 1.5px 7px rgba(49,65,67,0.05);
  --radius-card: 18px;
  --radius-btn: 24px;
  --transition: 0.16s cubic-bezier(.47,1.64,.41,.8);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--brand-primary, #314143);
  line-height: 1.1;
}
h1 { font-size: 2.25rem; margin-bottom: 16px; }
h2 { font-size: 1.7rem; margin-bottom: 12px; }
h3 { font-size: 1.2rem; margin-bottom: 8px; }
.lead { font-size: 1.18rem; color: #44575A; font-weight: 500; margin-bottom: 12px; }
p { margin-bottom: 1em; max-width: 58em; }
strong, b { font-weight: 600; }

ul, ol {
  margin-left: 1.1em;
  margin-bottom: 1.2em;
  color: #44575A;
}
ul { list-style: disc; }
ol { list-style: decimal; }
li { margin-bottom: 6px; font-size: 1rem; }

address {
  font-style: normal;
  line-height: 1.5;
  color: #314143;
}

/* ===== MODERN BUTTONS ===== */
.btn,
.main-nav .btn,
.mobile-nav .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-secondary);
  color: #314143;
  padding: 0.72em 1.7em;
  border: none;
  border-radius: var(--radius-btn);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  margin-top: 8px;
  box-shadow: 0 1.5px 5px rgba(163,193,100,0.13);
  transition: background 0.16s, box-shadow var(--transition), color var(--transition);
  cursor: pointer;
  outline: none;
}
.btn.primary, .main-nav .btn.primary { background: var(--brand-secondary); color: #314143; }
.btn.primary:hover, .btn.primary:focus,
.nav .btn.primary:hover, .main-nav .btn.primary:focus {
  background: #BFE780;
  color: #1B2227;
  box-shadow: 0 7px 18px 0 rgba(163,193,100,0.18);
}
.btn.secondary {
  background: var(--pastel-blue);
  color: #314143;
}
.btn.secondary:hover {
  background: #CEE8FE;
  color: #314143;
}
.btn:active { filter: brightness(0.94); }

/* ===== LAYOUT CONTAINERS ===== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  justify-content: flex-start;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--pastel-blue);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 24px 24px 20px 24px;
  min-width: 240px;
  flex: 1 1 260px;
  transition: box-shadow .16s, transform .12s;
}
.card:hover { box-shadow: 0 3px 24px rgba(163,193,100,0.15), 0 4px 22px 0 rgba(49,65,67,0.10); transform: translateY(-6px) scale(1.012); }

.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;
  background: #FFF6CC;
  color: #2C3335;
  border-radius: var(--radius-card);
  box-shadow: 0 1.5px 7px rgba(97,98,62,0.10);
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 370px;
  font-size: 1.07rem;
  position: relative;
  transition: box-shadow .13s;
}
.testimonial-card:hover { box-shadow: 0 7px 24px rgba(210,204,103,0.11); }
.testimonial-card span{
  font-size: 0.99em;
  font-style: italic;
  color: #62814F;
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--pastel-lavender);
  padding: 20px;
  border-radius: var(--radius-card);
  margin-bottom: 20px;
  box-shadow: 0 1.5px 7px rgba(49,65,67,0.09);
  font-size: 1rem;
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(130deg, #F4F1EE 0%, #FFF6CC 100%);
  border-radius: 0 0 48px 48px;
  margin-bottom: 60px;
  padding-top: 32px;
  padding-bottom: 28px;
  box-shadow: 0 3px 38px -16px rgba(49,65,67,0.06);
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.hero .lead {
  color: #5C5C56;
}
@media (max-width: 768px) {
  .hero { border-radius: 0 0 30px 30px; padding-top: 18px; }
  .hero h1 { font-size: 1.65rem; }
}

/* ===== FEATURE SECTIONS ===== */
.features {
  background: #EDE7F6;
  border-radius: 32px;
  box-shadow: var(--shadow-card);
  margin-bottom: 54px;
  padding: 24px 0;
}
.features h2 { margin-bottom: 10px; }
.usp-list, .feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 18px 0 22px 0;
}
.usp-list li, .feature-list li {
  display: flex;
  align-items: center;
  background: var(--pastel-mint);
  border-radius: 15px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.06rem;
  color: #314143;
  box-shadow: 0 1.5px 7px rgba(157,206,173,0.06);
  padding: 13px 18px 13px 13px;
  min-width: 160px;
  gap: 8px;
}
.usp-list img {
  width: 28px;
  height: 28px;
  margin-right: 8px;
}

/* ====== SERVICES ====== */
.services {
  background: #FFEBEF;
  border-radius: 32px;
  box-shadow: var(--shadow-card);
  padding: 34px 0 34px 0;
  margin-bottom: 64px;
}
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 18px 0 32px 0;
  list-style: none;
  padding: 0;
}
.services-list li {
  background: #FFFFFF;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 18px 24px 18px 24px;
  flex: 1 1 235px;
  min-width: 180px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow .16s, transform .16s;
  margin-bottom: 12px;
}
.services-list li:hover {
  box-shadow: 0 6px 24px rgba(246,164,194,0.12), 0 1.5px 7px rgba(49,65,67,0.04);
  transform: translateY(-6px) scale(1.015);
}
.services-list h3 {
  font-size: 1.16rem;
  color: #314143;
  margin-bottom: 2px;
  font-weight: 700;
}
.services-list span {
  color: #62814F;
  font-weight: 600;
  font-size: 1.08em;
  margin-top: 8px;
}
.services-list p {
  color: #44575A;
}

/* ===== TEXT-SECTION & CONTENT BLOCKS ===== */
.text-section {
  background: #F4F1EE;
  border-radius: 18px;
  padding: 22px 24px 20px 24px;
  margin-bottom: 20px;
  box-shadow: 0 1.5px 6px rgba(49,65,67,0.06);
  font-size: 1.07rem;
}
.text-section ul, .text-section ol {
  margin-left: 1.5em;
}
.text-section h2 {
  font-size: 1.14rem;
  margin-bottom: 8px;
  margin-top: 6px;
}

/***** THANK YOU SECTION *****/
.thank-you {
  background: var(--pastel-mint);
  border-radius: 32px;
  box-shadow: 0 3px 18px -6px rgba(49,65,67,0.07);
  padding: 42px 0 42px 0;
}

.thank-you h1 { color: #314143; margin-bottom: 22px; }
.thank-you p { color: #44575a; }

/***** FOOTER *****/
footer {
  background: var(--brand-accent);
  border-top: 4px solid #EDE7F6;
  margin-top: 60px;
  font-size: 1.02rem;
}
footer .container {
  padding: 10px 20px 0 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 110px;
  padding: 24px 0 10px 0;
}
.footer-brand img {
  width: 56px;
  margin-bottom: 10px;
}
.footer-contact h3 {
  font-size: 1.04rem;
  color: #698B95;
  margin-bottom: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.footer-contact address {
  font-size: 0.97rem;
  color: #314143;
  line-height: 1.54;
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-nav a {
  color: #698B95;
  font-weight: 500;
  font-size: 0.98em;
  transition: color 0.12s;
}
.footer-nav a:hover {
  color: #A3C164;
}

/***** HEADER + NAVIGATION *****/
header {
  background: #FFF6CC;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  box-shadow: 0 2px 28px -12px rgba(186, 214, 242, 0.10);
  padding-bottom: 1px;
  margin-bottom: 24px;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px 20px;
  position: relative;
  min-height: 64px;
}
.logo img {
  height: 48px;
  width: auto;
  transition: filter 0.18s;
}
.logo:hover img {
  filter: brightness(92%);
}

.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #314143;
  font-weight: 600;
  font-size: 1.04em;
  border-radius: 13px;
  padding: 8px 16px;
  transition: background 0.14s, color 0.12s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #B7E6D7;
  color: #62814f;
}
.main-nav .btn.primary {
  font-size: 1em;
  margin-left: 12px;
}

/***** MOBILE MENU (BURGER) *****/
.mobile-menu-toggle {
  background: var(--pastel-mint);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  color: #314143;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1.5px 5px rgba(183,230,215,0.08);
  cursor: pointer;
  transition: background 0.13s, box-shadow 0.18s;
  z-index: 1102;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #A3C164;
  color: #fff;
  box-shadow: 0 5px 18px rgba(102,164,74,0.15);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(244,241,238,.96);
  box-shadow: 0 4px 24px 0 rgba(49,65,67,0.09);
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.47,1.64,.41,.8);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--brand-secondary);
  border: none;
  border-radius: 50%;
  color: #314143;
  font-size: 2.1rem;
  width: 48px;
  height: 48px;
  margin-left: 14px;
  margin-bottom: 10px;
  align-self: flex-start;
  cursor: pointer;
  box-shadow: 0 3px 14px 0 rgba(163, 193, 100, 0.13);
  transition: background .14s, color .14s;
}
.mobile-menu-close:hover { background: #B9D6F2; color: #314143; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 22px;
  padding-left: 22px;
  width: 90vw;
  max-width: 440px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.20rem;
  color: #314143;
  padding: 13px 18px;
  border-radius: 17px;
  transition: background 0.14s, color 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus { background: #B7E6D7; color: #62814f; }

@media (max-width: 1020px) {
  .main-nav a { font-size: 0.97em; padding: 8px 10px; }
  .main-nav .btn.primary {
    font-size: .97em;
    margin-left: 4px;
  }
}

@media (max-width: 900px) {
  .main-nav { gap: 10px; }
  .container { padding: 0 8px; }
}
@media (max-width: 850px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 600px) {
  .container { padding: 0 3vw; }
  
  section, .section {
    padding: 20px 8px;
    margin-bottom: 36px;
  }
  .footer-brand img { width: 38px; }
  .content-wrapper { gap: 18px; }
}

@media (max-width: 768px) {
  .features, .services, .thank-you {
    border-radius: 16px;
    padding: 16px 0 12px 0;
  }
  .services-list, .feature-list, .usp-list, .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
  .main-nav { display: none; }
  .footer-nav { gap: 8px; font-size: 0.92em; }
  .text-image-section { flex-direction: column; gap: 10px; }
  .card-container {
    flex-direction: column;
    gap: 12px;
  }
}

/***** MICRO INTERACTIONS & EFFECTS *****/
.card, .feature-item, .testimonial-card, .services-list li, .text-section {
  transition: box-shadow 0.14s, transform 0.12s;
}
.card:focus,
.feature-item:focus,
.services-list li:focus,
.testimonial-card:focus {
  outline: 2px solid #A3C164;
  outline-offset: 2px;
}
.card:hover,
.feature-item:hover,
.services-list li:hover,
.text-section:hover {
  box-shadow: 0 8px 28px rgba(49,65,67,0.11);
}

/***** COOKIE BANNER ======= *****/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #EDE7F6;
  box-shadow: 0 -1.5px 14px 0 rgba(183,230,215,.13);
  padding: 18px 4vw 20px 4vw;
  z-index: 3999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  font-size: 1.01rem;
  color: #314143;
  transition: transform 0.34s cubic-bezier(.47,1.64,.41,.8), opacity .33s;
}
.cookie-banner.closed {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-buttons {
  display: flex;
  gap: 14px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.cookie-banner .btn {
  font-size: 1.03em;
  margin-top: 0;
  padding: 9px 23px;
  border-radius: 28px;
  background: var(--brand-secondary);
  color: #314143;
}
.cookie-banner .btn.secondary {
  background: var(--pastel-blue);
  color: #314143;
}
.cookie-banner .btn:hover { background: #BFE780; }

/***** COOKIE PREFERENCES MODAL *****/
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -55%);
  width: 94vw;
  max-width: 420px;
  background: var(--brand-accent);
  box-shadow: 0 9px 50px 0 rgba(74,76,103,.23);
  border-radius: 32px;
  padding: 32px 28px 22px 28px;
  z-index: 4100;
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 1;
  transition: opacity .27s, transform .34s;
}
.cookie-modal.closed {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20%);
}
.cookie-modal h2 {
  font-size: 1.24rem;
  margin-bottom: 5px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFF6CC;
  border-radius: 17px;
  margin-bottom: 12px;
  padding: 10px 16px;
  font-size: 1.04em;
}
.cookie-category label {
  font-weight: 500;
  user-select: none;
}
.cookie-switch {
  width: 44px;
  height: 25px;
  background: #EDE7F6;
  border-radius: 18px;
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: background 0.12s;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  left: 4px;
  top: 3px;
  width: 19px;
  height: 19px;
  background: #B9D6F2;
  border-radius: 50%;
  transition: left .15s, background .17s;
}
.cookie-switch input:checked + .cookie-slider {
  background: #A3C164;
  left: 21px;
}
.cookie-modal-buttons {
  display: flex;
  gap: 19px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.cookie-modal .btn {
  padding: 10px 28px;
  border-radius: 23px;
  font-size: 1.04em;
}
.cookie-modal .btn.secondary {
  background: var(--pastel-blue);
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: var(--brand-secondary);
  color: #314143;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.6rem;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(163,193,100,0.09);
}
.cookie-modal-close:hover { background: #BFE780; color: #62814F; }

/***** RESPONSIVE FLEX DIRECTION ADJUSTMENTS *****/
@media (max-width: 768px) {
  .content-wrapper, .footer .content-wrapper, .content-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .footer .content-wrapper { gap: 10px; }
}
/***** FOCUS STYLES *****/
a:focus, .btn:focus {
  outline: 2px dashed #A3C164;
  outline-offset: 2px;
}

/***** Z-INDEX ENSURED FOR MOBILE MENU & COOKIE BANNER *****/
header { z-index: 997; position: relative; }
.mobile-menu { z-index: 1200; }
.cookie-banner { z-index: 3999; }
.cookie-modal { z-index: 4100; }

/***** GENERAL SPACING PATTERNS *****/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/***** END OF CSS *****/
