/* ============================== */
/* CSS RESET & NORMALIZE          */
/* ============================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F3ECD7;
  color: #304156;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}
a {
  color: #304156;
  text-decoration: none;
  transition: color .2s;
}
strong {
  font-weight: 700;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  text-align: left;
  padding: 12px 16px;
}
th {
  background: #e7e2c9;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1em;
}
tr {
  border-bottom: 1px solid #dde3dd;
}

/* ============================== */
/* BRAND COLORS                   */
/* ============================== */
:root {
  --clr-primary: #304156;
  --clr-secondary: #88B5A4;
  --clr-accent: #F3ECD7;
  --clr-bg-soft: #EBE3CB;
  --clr-deep-leaf: #47694d;
  --clr-earth: #A48C67;
  --clr-warning: #efc366;
  --clr-txt-dark: #26323F;
  --clr-txt: #304156;
  --clr-white: #fff;
  --clr-error: #D6651C;
}

/* ============================== */
/* TYPOGRAPHY                     */
/* ============================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--clr-primary);
  margin-bottom: 16px;
  font-weight: 800;
  letter-spacing: -.02em;
}
h1 {
  font-size: 2.8rem;
  line-height: 1.1;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  color: var(--clr-deep-leaf);
  margin-bottom: 16px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}
p, .subheadline, .footer-info {
  font-size: 1.06rem;
}
.subheadline {
  font-size: 1.18rem;
  color: var(--clr-secondary);
  margin-bottom: 20px;
}

/* ============================== */
/* CONTAINER & SECTIONS           */
/* ============================== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--clr-accent);
  border-radius: 28px;
  box-shadow: 0 6px 32px 0 rgba(136,181,164,.08);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 14px rgba(52,73,61,0.08);
  padding: 32px 24px;
  transition: box-shadow .2s;
}
.card:hover {
  box-shadow: 0 9px 36px rgba(52,73,61,0.14);
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(72,91,89,0.07);
  margin-bottom: 20px;
  padding: 24px;
  transition: box-shadow .2s;
}
.feature-item:hover {
  box-shadow: 0 7px 28px rgba(72,91,89,0.13);
}

.text-section {
  background: #fff;
  border-radius: 18px;
  padding: 28px 24px;
  margin-bottom: 24px;
}

/* ============================== */
/* HEADER, NAVIGATION             */
/* ============================== */
header {
  background: var(--clr-accent);
  box-shadow: 0 6px 24px rgba(52,73,61,0.05);
  padding: 0 0 2px 0;
  z-index: 60;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 70px;
  justify-content: space-between;
  position: relative;
}
.logo-link img {
  height: 44px;
  width: auto;
  display: block;
  cursor: pointer;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  padding: 8px 15px;
  border-radius: 22px;
  transition: background .16s, color .16s;
  color: var(--clr-primary);
  font-weight: 500;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--clr-secondary);
  color: var(--clr-white);
}
.main-nav .cta {
  background: var(--clr-secondary);
  color: #fff;
  font-weight: 700;
  margin-left: 9px;
  padding: 9px 26px;
  border: none;
  border-radius: 25px;
  box-shadow: 0 2px 12px rgba(136,181,164,0.10);
  letter-spacing: .03em;
  transition: background .18s, transform .18s;
}
.main-nav .cta:hover,
.main-nav .cta:focus {
  background: var(--clr-deep-leaf);
  color: #fff;
  transform: translateY(-2px) scale(1.05);
}

/* ============================== */
/* MOBILE HAMBURGER NAVIGATION    */
/* ============================== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--clr-primary);
  cursor: pointer;
  z-index: 101;
}
@media (max-width: 900px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block !important;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(48, 65, 86, .96);
  color: #fff;
  z-index: 120;
  transform: translateX(-100vw);
  transition: transform .35s cubic-bezier(.4,.6,.4,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 28px 0 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  border: none;
  font-size: 2.2rem;
  align-self: flex-end;
  margin-bottom: 24px;
  cursor: pointer;
  transition: color .16s;
}
.mobile-menu-close:hover {
  color: var(--clr-warning);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 12px;
}
.mobile-nav a {
  color: #fff;
  background: none;
  font-size: 1.3rem;
  padding: 13px 0 13px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color .16s;
  border-radius: 7px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--clr-warning);
  background: rgba(243,236,215,.10);
}

@media (max-width: 900px) {
  .logo-link img {
    height: 38px;
  }
}

@media (max-width: 540px) {
  .logo-link img {
    height: 34px;
  }
  .mobile-nav a {
    font-size: 1.07rem;
    padding: 10px 0;
  }
}

/* ============================== */
/* FOOTER                         */
/* ============================== */
footer {
  background: var(--clr-primary);
  color: #fff;
  padding: 40px 0 12px 0;
  border-top-left-radius: 34px;
  border-top-right-radius: 34px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
  margin-bottom: 10px;
  justify-content: center;
}
.footer-nav a {
  color: #e4ecd2;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 5px 9px;
  border-radius: 8px;
  transition: background .18s;
}
.footer-nav a:hover {
  background: var(--clr-secondary);
  color: #fff;
}
.footer-info {
  text-align: center;
  color: #e4ecd2;
  font-size: .99rem;
  letter-spacing: .02em;
  margin-top: 10px;
}

/* ============================== */
/* HERO & ORGANIC SHAPES         */
/* ============================== */
.hero-section {
  background: linear-gradient(89deg, #f4f2eb 75%, #e6f6de 100%);
  border-bottom-left-radius: 60px 22px;
  border-bottom-right-radius: 60px 32px;
  min-height: 430px;
}
.hero-section .container {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-section .content-wrapper {
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
  max-width: 700px;
  margin: 0 auto;
}

/* ============================== */
/* CTA BUTTONS                    */
/* ============================== */
.cta,
button.cta,
input[type="submit"].cta {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  display: inline-block;
  padding: 13px 32px;
  border-radius: 22px 25px 36px 18px / 16px 36px 18px 32px;
  margin-top: 10px;
  margin-bottom: 12px;
  background: var(--clr-secondary);
  color: #fff;
  border: none;
  font-size: 1.11rem;
  box-shadow: 0 4px 16px 0 rgba(136,181,164,0.19);
  letter-spacing: 0.02em;
  transition: background .17s, transform .12s, box-shadow .17s;
  cursor: pointer;
}
.cta.primary,
.cta.primary:visited {
  background: var(--clr-secondary);
  color: #fff;
}
.cta.primary:hover,
.cta.primary:focus {
  background: var(--clr-deep-leaf);
  color: #fff;
  box-shadow: 0 6px 28px rgba(52,73,61,0.18);
  transform: scale(1.05);
}
.cta.secondary {
  background: var(--clr-primary);
  color: #fff;
}
.cta.secondary:hover,
.cta.secondary:focus {
  background: var(--clr-deep-leaf);
  transform: scale(1.04);
}

/* ============================== */
/* FEATURED SECTIONS (HOME, ETC)  */
/* ============================== */
.features-section ul,
.services-section ul {
  list-style: none;
  margin-left: 0;
}
.features-section li {
  display: flex;
  align-items: center;
  gap: 17px;
  font-size: 1.09rem;
  background: #fff;
  margin-bottom: 20px;
  padding: 17px 18px 17px 10px;
  border-radius: 16px 24px 24px 16px;
  box-shadow: 0 2px 10px rgba(72,91,89,0.07);
}
.features-section li img {
  width: 33px;
  height: 33px;
  background: #e7e2c9;
  border-radius: 66% 46% 44% 56%/54% 68% 32% 49%;
  padding: 7px;
}
.services-section li {
  margin-bottom: 17px;
  padding-left: 2px;
  border-left: 3.5px solid var(--clr-secondary);
  padding-bottom: 8px;
  font-size: 1.06rem;
}

/* ========================== */
/* TESTIMONIALS               */
/* ========================== */
.testimonials-section {
  background: var(--clr-bg-soft);
  border-radius: 38px;
  margin-bottom: 54px;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 27px;
  margin-bottom: 23px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #fff;
  padding: 20px 30px;
  border-radius: 23px 29px 19px 35px/31px 24px 37px 25px;
  box-shadow: 0 5px 24px 0 rgba(136,181,164,0.07);
  font-size: 1.12rem;
  margin-bottom: 20px;
  min-width: 220px;
  flex: 1 1 260px;
  transition: box-shadow .18s, transform .14s;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 12px 31px 7px rgba(136,181,164,0.17);
  transform: translateY(-3px) scale(1.03);
}
.testimonial-card p {
  color: var(--clr-txt-dark);
  font-size: 1.09rem;
  line-height: 1.7;
  margin-bottom: 0;
}
.testimonial-name {
  color: var(--clr-secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
}
.rating-summary, .rating-overview {
  color: var(--clr-primary);
  font-weight: 700;
  font-size: 1.15rem;
  margin-top: 16px;
  margin-bottom: 0;
}

/* ========================== */
/* BLOG LIST, POSTS           */
/* ========================== */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 34px;
}
.blog-post-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.blog-post-grid article {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 17px rgba(72,91,89,0.13);
  flex: 1 1 270px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .16s, transform .12s;
}
.blog-post-grid article:hover {
  box-shadow: 0 8px 28px rgba(52,73,61,0.13);
  transform: translateY(-3px);
}
.blog-post-grid h3 {
  margin-bottom: 5px;
}
.blog-post-grid a {
  color: var(--clr-secondary);
  font-weight: 700;
  margin-top: 8px;
  transition: color .16s;
}
.blog-post-grid a:hover {
  color: var(--clr-deep-leaf);
}
.featured-article {
  background: #ece9d6;
  border-radius: 18px 30px 24px 20px/24px 16px 27px 20px;
  padding: 20px 30px;
  box-shadow: 0 2px 17px rgba(160,140,103,0.09);
  margin-bottom: 16px;
}
.featured-article h3 {
  color: var(--clr-primary);
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
}
.category-filters a {
  background: #e6f6de;
  color: var(--clr-deep-leaf);
  font-weight: 600;
  font-size: 1rem;
  padding: 5px 12px;
  border-radius: 10px;
  transition: background .13s;
}
.category-filters a:hover {
  background: var(--clr-secondary);
  color: #fff;
}

/* ========================== */
/* PRICING TABLE              */
/* ========================== */
.pricing-table {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 18px rgba(160,140,103,0.10);
  margin-bottom: 24px;
  overflow: hidden;
  font-size: 1.07rem;
}
.pricing-table thead tr {
  background: #ece9d6;
}
.pricing-table tbody tr:nth-child(even) {
  background: #f7f6ef;
}
.pricing-table tbody tr:hover {
  background: #e6f6de;
  color: var(--clr-primary);
}

/* ========================== */
/* MAP PLACEHOLDER            */
.google-map-placeholder {
  background: #dbe9e1 !important;
  color: var(--clr-deep-leaf) !important;
  border-radius: 26px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08em;
}

/* ============================== */
/* COOKIE CONSENT BANNER          */
/* ============================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 200;
  background: #F3ECD7;
  border-top: 4px solid var(--clr-secondary);
  box-shadow: 0 -2px 24px 0 rgba(48,65,86,0.09);
  padding: 22px 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
  font-size: 1.02rem;
  animation: cookie-banner-slideIn .45s cubic-bezier(.3,.7,.35,1);
}
@keyframes cookie-banner-slideIn {
  0% { transform: translateY(110%); opacity: 0; }
  80% { transform: translateY(-8%); opacity: 1; }
  100% { transform: translateY(0); }
}
.cookie-banner p {
  margin: 0 20px 0 0;
  color: var(--clr-primary);
  max-width: 520px;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 18px;
  border: none;
  padding: 9px 24px;
  font-size: 1.07rem;
  cursor: pointer;
  transition: background .16s, color .14s, transform .11s;
  font-weight: 600;
  margin-left: 6px;
}
.cookie-btn.accept {
  background: var(--clr-secondary);
  color: #fff;
}
.cookie-btn.accept:hover { background: var(--clr-deep-leaf); }
.cookie-btn.reject {
  background: #ece9d6;
  color: var(--clr-deep-leaf);
  border: 1.5px solid var(--clr-deep-leaf);
}
.cookie-btn.reject:hover {
  background: #dbe9e1;
  color: var(--clr-primary);
}
.cookie-btn.settings {
  background: transparent;
  color: var(--clr-primary);
  text-decoration: underline;
  font-weight: 500;
}
.cookie-btn.settings:hover { color: var(--clr-deep-leaf); }

/* COOKIE MODAL */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 221;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(48,65,86,.36);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .25s;
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 16px 48px rgba(48,65,86,0.19);
  padding: 38px 28px 26px 28px;
  min-width: 300px; max-width: 95vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  animation: modal-pop .16s cubic-bezier(.4,.7,.35,1);
}
@keyframes modal-pop {
  0% { transform: scale(.95); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  margin-top: 0;
  font-size: 1.25rem;
  color: var(--clr-deep-leaf);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-toggle {
  width: 40px;
  height: 22px;
  border-radius: 15px;
  background: #ece9d6;
  position: relative;
  cursor: pointer;
  border: 2px solid var(--clr-secondary);
  display: inline-flex;
  align-items: center;
  transition: background .13s;
}
.cookie-toggle.enabled {
  background: var(--clr-secondary);
}
.cookie-toggle.disabled {
  background: #ece9d6;
}
.cookie-toggle .toggle-knob {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 2px;
  top: 50%;
  transform: translateY(-50%);
  transition: left .16s;
}
.cookie-toggle.enabled .toggle-knob {
  left: 18px;
  background: var(--clr-primary);
}
.cookie-category label {
  font-weight: 600;
  color: var(--clr-primary);
}
.cookie-modal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  gap: 10px;
  margin-top: 20px;
  width: 100%;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 19px; right: 21px;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--clr-primary);
  cursor: pointer;
  transition: color .15s;
  z-index: 222;
}
.cookie-modal-close:hover { color: var(--clr-warning); }

/* ============================== */
/* RESPONSIVE DESIGN              */
/* ============================== */
@media (max-width: 1020px) {
  html { font-size: 15px; }
  .container { max-width: 96vw; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.5rem; }
  .hero-section .content-wrapper { max-width: 95vw; }
}
@media (max-width: 900px) {
  .section { padding: 32px 7px; }
  .testimonial-list, .blog-post-grid {
    flex-direction: column;
    gap: 17px;
  }
}
@media (max-width: 768px) {
  html { font-size: 14px; }
  .container { padding: 0 8px; }
  .section { margin-bottom: 32px; padding: 24px 4px; }
  .card, .feature-item, .card-container { padding: 21px 10px; }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .testimonials-section, .hero-section {
    border-radius: 24px;
  }
  footer { border-top-left-radius: 18px; border-top-right-radius: 18px; }
  .cookie-banner {
    flex-direction: column;
    gap: 11px;
    text-align: left;
    align-items: stretch;
    padding: 18px 6px;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.42rem; }
  h2 { font-size: 1.07rem; }
  h3 { font-size: 1.03rem; }
  .testimonials-section, .hero-section {
    min-height: unset;
    padding: 0;
  }
  .featured-article, .card, .feature-item, .text-section, .content-wrapper {
    padding: 13px 5px !important;
  }
}

/* ============================== */
/* ANIMATIONS & MICRO-INTERACTIONS*/
/* ============================== */
a, .cta, button.cta, .main-nav a, .blog-post-grid article, .testimonial-card {
  transition: background .14s, color .13s, box-shadow .14s, transform .14s;
}

/* ============================== */
/* ACCESSIBILITY/FOCUS STATES     */
/* ============================== */
a:focus, .cta:focus, button:focus, .main-nav a:focus {
  outline: 2.5px solid var(--clr-secondary);
  outline-offset: 2px;
  background: #e6f6de;
}

/* ============================== */
/* MISC - GENERAL                 */
/* ============================== */
::-webkit-scrollbar {
  width: 10px;
  background: #e6f6de;
}
::-webkit-scrollbar-thumb {
  background: var(--clr-secondary);
  border-radius: 15px;
}

input, button, textarea, select {
  font-family: inherit;
}

/* Ensure adequate card spacing */
.card, .testimonial-card, .feature-item, .text-section, .featured-article, .blog-post-grid article {
  margin-bottom: 20px;
}

/* Layout helper classes (for manual use if needed) */
.spacer-20 { height: 20px; }
.spacer-32 { height: 32px; }

/* ============================== */
/* END OF STYLES                  */
/* ============================== */
