/* RESET & BASELINE ================================================== */
html {
  box-sizing: border-box;
  font-size: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #FBF8F4;
  color: #1B4636;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #1B4636;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #8EAD3E;
  outline-offset: 2px;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}

/* BRAND TYPOGRAPHY ================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: #17392C;
  margin-top: 0;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.12rem;
  margin-bottom: 6px;
}
p {
  margin-bottom: 16px;
}
strong, b {
  font-weight: 700;
}
em, i {
  font-style: italic;
}

/* LAYOUT CONTAINERS ================================================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  align-items: flex-start;
}

/* SECTIONS AND SPACING =============================================== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FAF4EA;
  border-radius: 36px;
  box-shadow: 0 2px 16px rgba(27,70,54,0.05);
  position: relative;
}
section:last-child {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  section {
    margin-bottom: 28px;
    padding: 28px 8px;
    border-radius: 16px;
  }
}

/* HEADER STYLES ===================================================== */
header {
  background: #ffffff;
  border-bottom: 2px solid #E1B46722;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
}
header > img {
  height: 48px;
  margin: 20px 0 12px 0;
}
.main-nav {
  display: flex;
  gap: 28px;
}

.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1B4636;
  font-weight: 500;
  font-size: 1.06rem;
  letter-spacing: 0.03em;
  padding: 8px 4px;
  border-radius: 6px;
  transition: background 0.15s, color 0.23s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E6EFEB;
  color: #8EAD3E;
}

.cta-button {
  display: inline-block;
  background: #1B4636;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 90px;
  padding: 12px 36px;
  margin-left: 28px;
  box-shadow: 0 2px 8px rgba(27,70,54,0.14);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.15s, transform 0.13s;
  letter-spacing: 0.03em;
  outline: none;
}
.cta-button:hover, .cta-button:focus {
  background: #8EAD3E;
  color: #1B4636;
  box-shadow: 0 4px 16px rgba(27,70,54,0.16);
  transform: translateY(-2px) scale(1.018);
}

/* HIDE ON DESKTOP, SHOW ON MOBILE */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  margin-left: 20px;
  color: #1B4636;
  cursor: pointer;
  padding: 8px 12px;
  transition: background 0.16s;
  border-radius: 8px;
  z-index: 302;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #E9F1EC;
}

/* MOBILE MENU ======================================================= */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #F4F7F4;
  box-shadow: 0 6px 24px rgba(27,70,54,0.14);
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(0.7,0,0.3,1);
  z-index: 300;
  display: flex;
  flex-direction: column;
  opacity: 0.99;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #1B4636;
  margin: 24px 24px 8px auto;
  cursor: pointer;
  border-radius: 8px;
  padding: 8px 14px;
  transition: background 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #E6EFEB;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: center;
  align-items: flex-start;
  margin: 40px auto 0 auto;
  width: 84vw;
  max-width: 380px;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: #193B27;
  padding: 13px 0 13px 6px;
  border-radius: 6px;
  width: 100%;
  transition: background 0.17s, color 0.18s;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E6EFEB;
  color: #8EAD3E;
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .cta-button {
    margin-left: 0;
    margin-right: 8px;
  }
  .mobile-menu-toggle {
    display: inline-block;
    position: absolute;
    right: 18px;
    top: 28px;
  }
}
@media (min-width: 981px) {
  .mobile-menu-toggle {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}

/* MAIN & FLEXBOX PATTERNS =========================================== */
.card-container,
.card-grid,
.services-list,
.team-list,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #F2F5F1;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(133,115,96,0.08);
  padding: 24px 18px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}

/* SERVICES & CARDS ================================================== */
.services-list {
  width: 100%;
  flex-wrap: wrap;
  gap: 24px;
}
.service-item {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px #E1B46722;
  flex-basis: 320px;
  flex-grow: 1;
  min-width: 260px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
  border-left: 8px solid #8EAD3E;
  transition: box-shadow 0.16s, border-color 0.17s;
  position: relative;
}
.service-item:hover, .service-item:focus-within {
  box-shadow: 0 6px 32px #A3B18A33;
  border-left: 8px solid #1B4636;
  z-index: 2;
}
.service-item h3 {
  margin-bottom: 8px;
  color: #1B4636;
}
.service-price {
  background: #E6EFEB;
  color: #1B4636;
  font-size: 1.05rem;
  border-radius: 10px;
  padding: 4px 16px;
  align-self: flex-start;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.service-item .cta-button {
  margin: 0;
  margin-top: 10px;
}

/* TEAM & EXPERTS ==================================================== */
.team-list {
  width: 100%;
  gap: 24px;
  flex-wrap: wrap;
}
.team-member {
  background: #F2F5F1;
  border-radius: 16px;
  padding: 24px 18px;
  flex: 1 1 280px;
  min-width: 230px;
  box-shadow: 0 2px 8px #E1B46714;
  margin-bottom: 20px;
}
.team-member h3 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.2rem;
}

.expert-profile {
  margin-bottom: 18px;
  padding: 16px 16px 8px 16px;
  background: #E6EFEB;
  border-left: 6px solid #8EAD3E;
  color: #1B4636;
  border-radius: 10px;
  font-size: 1.07rem;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* TESTIMONIALS ====================================================== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 18px;
  padding: 20px 26px;
  box-shadow: 0 4px 36px #1B463615, 0 2px 10px #E1B46711;
  margin-bottom: 24px;
  border-left: 8px solid #8EAD3E;
  transition: box-shadow 0.18s, border-color 0.17s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 32px #A3B18A44;
  border-left: 8px solid #1B4636;
}
.testimonial-card span {
  font-size: 1.5rem;
  color: #E1B467;
  user-select: none;
  letter-spacing: 2px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
}
.testimonial-card h4 {
  color: #17392C;
  font-size: 1.08rem;
}
.testimonial-card p {
  color: #23372C;
  margin-bottom: 9px;
  font-size: 1rem;
}

/* FORMS & INPUTS ==================================================== */
input[type="search"] {
  background: #E6EFEB;
  border: 1.5px solid #C7D2B8;
  border-radius: 16px;
  font-size: 1rem;
  padding: 11px 14px;
  width: 100%;
  max-width: 320px;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-top: 12px;
  margin-bottom: 8px;
  color: #224d36;
  transition: border 0.17s, box-shadow 0.12s;
}
input[type="search"]:focus {
  border-color: #8EAD3E;
  outline: none;
  box-shadow: 0 0 6px #8EAD3E33;
}

/* FEATURE LISTS ===================================================== */
ul {
  list-style: none;
  padding-left: 0;
}
ul li {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 12px;
  font-size: 1.04rem;
}
ul li img {
  width: 28px;
  height: 28px;
}
@media (max-width: 650px) {
  ul li img {
    width: 21px;
    height: 21px;
  }
}

/* FOOTER ============================================================ */
footer {
  background: #1B4636;
  color: #fff;
  padding: 38px 0 22px 0;
  margin-top: 54px;
  border-top-left-radius: 36px;
  border-top-right-radius: 36px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
footer img {
  width: 56px;
  margin-bottom: 10px;
}
.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 15px;
}
.footer-nav a {
  color: #E1B467;
  font-weight: 500;
  font-size: 1.03rem;
  letter-spacing: 0.02em;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FFF;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  width: 100%;
  justify-content: center;
  font-size: 1.01rem;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #E1B467;
}
.footer-contact img {
  width: 18px;
  height: 18px;
}

@media (max-width: 720px) {
  footer .container, .footer-contact {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

/* ORGANIC DECORATIVE SHAPES ========================================= */

/* COOKIE BANNER ===================================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #E6EFEB;
  color: #1B4636;
  font-size: 1rem;
  box-shadow: 0 -2px 22px #17392C11;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 22px 18px 20px 18px;
  z-index: 9999;
  animation: slideUpBanner 0.5s ease;
}
@keyframes slideUpBanner {
  0% { transform: translateY(50px); opacity: 0.5; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  background: #1B4636;
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 9px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.13s, color 0.17s, box-shadow 0.13s;
  cursor: pointer;
}
.cookie-btn.cookie-settings {
  background: #E1B467;
  color: #1B4636;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #8EAD3E;
  color: #1B4636;
  box-shadow: 0 3px 17px #E1B46755;
}
.cookie-btn.cookie-reject {
  background: none;
  color: #1B4636;
  border: 1.5px solid #1B4636;
}
.cookie-btn.cookie-reject:hover, .cookie-btn.cookie-reject:focus {
  background: #F5EADC;
  color: #AE5031;
  border-color: #E1B467;
}

/* COOKIE MODAL ====================================================== */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: #1B463680;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInOverlay 0.34s;
}
@keyframes fadeInOverlay {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #FAF4EA;
  border-radius: 18px;
  box-shadow: 0 2px 44px #22372C35;
  padding: 32px 22px 26px 22px;
  max-width: 96vw;
  width: 400px;
  position: relative;
  animation: slideDownModal 0.38s;
}
@keyframes slideDownModal {
  0% { transform: translateY(-30px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.24rem;
  color: #17392C;
  margin-bottom: 10px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 23px;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #E6EFEB;
  border-radius: 10px;
  padding: 12px 10px 11px 14px;
  font-size: 1.05rem;
}
.cookie-switch {
  margin-left: auto;
  min-width: 42px;
}
.cookie-modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #1B4636;
  position: absolute;
  top: 12px;
  right: 12px;
  cursor: pointer;
  border-radius: 8px;
  padding: 4px 10px;
  transition: background 0.12s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #E6EFEB;
}

/* TOGGLE SWITCHES */
.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.switch-slider {
  position: absolute;
  cursor: pointer;
  left: 0; top: 0;
  right: 0; bottom: 0;
  background: #C7D2B8;
  border-radius: 24px;
  transition: background 0.2s;
}
.switch-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 2px 8px #1B463611;
}
.switch input:checked + .switch-slider {
  background: #8EAD3E;
}
.switch input:checked + .switch-slider:before {
  transform: translateX(22px);
}
.switch input:disabled + .switch-slider {
  background: #E1B46788;
}

/* CONTACT DETAILS BLOCK ============================================= */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 18px 0 13px 0;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 4px;
  font-size: 1.07rem;
}
.contact-details img {
  width: 20px;
  height: 20px;
}

/* GENERAL RESPONSIVE ================================================ */
@media (max-width: 1050px) {
  .services-list, .card-container, .card-grid, .content-grid, .team-list {
    gap: 14px;
  }
}
@media (max-width: 1000px) {
  .container {
    max-width: 96vw;
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 700px) {
  .container {
    max-width: 99vw;
    padding-left: 4px;
    padding-right: 4px;
  }
  .service-item, .team-member, .card {
    min-width: 180px;
    flex-basis: 90vw;
    padding: 21px 8px;
  }
}

/* NEWSLETTER SECTION ================================================ */
.newsletter-features ul {
  margin: 13px 0 26px 0;
}
.newsletter-features li {
  font-size: 1.09rem;
  margin-bottom: 7px;
  color: #1B4636;
}

/* ORGANIC UI TOUCHES ================================================ */
.card, .service-item, .team-member, .testimonial-card {
  box-shadow: 0 4px 16px #1B46361c, 0 2px 8px #E1B46711;
  border-radius: 20px 28px 13px 14px / 21px 30px 21px 22px;
}

/* MICRO-INTERACTIONS ================================================ */
.card, .service-item, .team-member, .testimonial-card {
  transition: box-shadow 0.15s, border-color 0.14s, transform 0.13s;
}
.card:hover, .service-item:hover, .team-member:hover, .testimonial-card:hover {
  box-shadow: 0 8px 36px #1B46361c, 0 8px 36px #E1B4671a;
  transform: translateY(-2px) scale(1.013);
}

/**** UTILITY CLASSES & OVERRIDES ****/
.text-center { text-align: center; }
.nowrap { white-space: nowrap; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-16 { margin-bottom: 16px !important; }

/* SHADOWS */
.shadow-sm { box-shadow: 0 2px 10px #A3B18A24; }
.shadow-lg { box-shadow: 0 8px 36px #8EAD3E1a; }

/* ACCESSIBLE ::selection */
::selection {
  background: #E1B467;
  color: #1B4636;
}

/* PRINTING: avoid white on white */
@media print {
  body { color: #1B4636; background: #fff; }
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  section, .card, .service-item, .testimonial-card { background: #fff; box-shadow: none; }
}
