/* ==========================================================================
   RESET & BASE STYLES (Normalize/Reset)
   ========================================================================== */
html {
  box-sizing: border-box;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  height: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  min-height: 100vh;
  line-height: 1.65;
  background-color: #FFFFFF;
  color: #2D4739;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  height: 100%;
}
img, picture, video {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ol, ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #26342D;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 16px;
}
h1 { font-size: 2.25rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }
@media (min-width: 600px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.5rem; }
}
p {
  font-size: 1rem;
  color: #2D4739;
  margin-bottom: 16px;
}
blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  line-height: 1.5;
  color: #425E4A;
  quotes: "\201C" "\201D" "\2018" "\2019";
  margin-bottom: 12px;
}
cite {
  font-size: 0.95rem;
  color: #8E998D;
  font-style: normal;
}
hr {
  border: none;
  height: 1px;
  width: 100%;
  background: #ECF2EC;
  margin: 24px 0;
}

/* ==========================================================================
   LAYOUT CONTAINERS (Flexbox Only!)
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FAFAF9;
  border-radius: 18px;
  box-shadow: 0 4px 16px 0 rgba(44, 74, 57, 0.045);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
@media (max-width: 600px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 32px;
    border-radius: 9px;
  }
  .container {
    padding: 0 6px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(44, 74, 57, 0.045);
  flex: 1 1 270px;
  min-width: 240px;
  max-width: 340px;
  padding: 28px 22px;
  transition: box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card:hover {
  box-shadow: 0 4px 17px 0 rgba(44,74,57,0.075);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
}

.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) {
  .content-grid, .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 32px 0 24px 0;
}
.service-list > div {
  background: #FFF;
  border-radius: 13px;
  padding: 28px 22px 22px 22px;
  box-shadow: 0 2px 8px 0 rgba(44, 74, 57, 0.045);
  flex: 1 1 210px;
  min-width: 180px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow 0.22s;
}
.service-list > div:hover {
  box-shadow: 0 4px 17px rgba(44,74,57,0.09);
}
.price {
  font-family: 'Lato', Arial, sans-serif;
  color: #2D4739;
  background: #EFF6F1;
  font-size: 1.08rem;
  font-weight: 500;
  padding: 4px 14px 4px 12px;
  border-radius: 14px;
  margin-top: 7px;
  align-self: flex-start;
}

@media (max-width: 900px) {
  .service-list {
    flex-direction: column;
    gap: 16px;
  }
  .service-list > div {
    max-width: 100%;
    width: 100%;
    min-width: 0;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
header {
  width: 100%;
  background: #FFFFFF;
  box-shadow: 0 1px 12px 0 rgba(44,74,57,0.045);
  position: sticky;
  top: 0;
  z-index: 80;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  padding: 0 18px;
  height: 64px;
}
header nav > a {
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 8px 10px;
  border-radius: 8px;
  color: #22422e;
  transition: background 0.15s, color 0.15s;
  display: flex;
  align-items: center;
  height: 40px;
}
header nav > a img {
  height: 36px;
  width: auto;
  margin-right: 8px;
  display: block;
}
header nav > a.btn-primary {
  background: #2D4739;
  color: #FFF;
  border-radius: 21px;
  padding: 9px 28px;
  margin-left: 10px;
  font-size: 1.08rem;
  font-family: 'Lato', Arial, sans-serif;
  letter-spacing: 0.03em;
  transition: background 0.22s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 6px rgba(44,74,57,0.09);
}
header nav > a.btn-primary:hover {
  background: #233927;
}
header nav > a:hover, header nav > a:focus {
  background: #F2F7F3;
  color: #2D4739;
}

/* ==========================================================================
   MOBILE NAVIGATION MENU
   ========================================================================== */
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 968px) {
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 20px;
    top: 11px;
    background: #EFF6F1;
    color: #2D4739;
    border-radius: 50%;
    font-size: 2.2rem;
    width: 44px;
    height: 44px;
    z-index: 113;
    border: 2px solid #ECF2EC;
    transition: background 0.12s, color 0.12s, box-shadow 0.15s;
  }
  .mobile-menu-toggle:active, .mobile-menu-toggle:focus {
    background: #FFC4D6;
    color: #2D4739;
  }
  header nav {
    display: none;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(44,74,57,0.81);
  z-index: 120;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s;
  display: flex;
  align-items: flex-start;
}
.mobile-menu.active {
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu .mobile-nav {
  background: #FFFFFF;
  min-width: 84vw;
  max-width: 430px;
  height: 100vh;
  padding: 44px 32px 32px 32px;
  box-shadow: 0 6px 30px rgba(44,74,57,0.09);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.92,.06,0,1);
}
.mobile-menu.active .mobile-nav {
  transform: translateX(0) scale(1);
}
.mobile-menu-close {
  position: absolute;
  left: 13vw;
  top: 18px;
  z-index: 150;
  font-size: 2.1rem;
  background: #FAFAF9;
  color: #2D4739;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  border: 2px solid #ECF2EC;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FFC4D6;
  color: #22422e;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mobile-nav a {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.1rem;
  color: #2D4739;
  text-decoration: none;
  padding: 13px 2px;
  border-radius: 8px;
  transition: background 0.18s, color 0.17s;
  min-width: 120px;
  margin: 0 0 0 0;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FDF2F9;
  color: #C94374;
}

@media (min-width: 969px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 21px;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.2;
  border: none;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.18s, transform 0.14s;
  margin-top: 14px;
  box-shadow: 0 2px 7px rgba(44,74,57,0.06);
}
.btn-primary {
  background: #2D4739;
  color: #FFFFFF;
  letter-spacing: 0.06em;
}
.btn-primary:hover, .btn-primary:focus {
  background: #163C25;
  color: #FAFAF9;
  transform: translateY(-2px) scale(1.045);
}
.btn-secondary {
  background: #FFC4D6;
  color: #2D4739;
  letter-spacing: 0.03em;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #F2B1C7;
  color: #22422e;
  transform: translateY(-2px) scale(1.045);
}

/* ==========================================================================
   MAIN CONTENT & TYPOGRAPHY
   ========================================================================== */
main {
  width: 100%;
  flex: 1 1 auto;
}
section {
  padding: 0;
  margin: 0;
  background: transparent;
}
.section h2 {
  margin-bottom: 24px;
}
.section h1 {
  margin-bottom: 18px;
}
.section p {
  margin-bottom: 18px;
}
.section ul, .section ol {
  margin-top: 6px;
  margin-bottom: 14px;
}
.section ul li, .section ol li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
  font-size: 1.04rem;
  color: #425E4A;
  font-family: 'Lato', Arial, sans-serif;
}
.section ul li img, .section ol li img {
  width: 28px;
  height: 28px;
  margin-right: 9px;
  border-radius: 8px;
  background: #F2F7F3;
  box-shadow: 0 1px 3px rgba(44,74,57,0.04);
  padding: 2.5px;
}

@media (max-width: 600px) {
  .section ul li, .section ol li {
    font-size: 0.99rem;
    gap: 6px;
    margin-bottom: 9px;
  }
  .section ul li img, .section ol li img {
    width: 22px;
    height: 22px;
    margin-right: 7px;
  }
}

/* ==========================================================================
   TESTIMONIAL CARDS
   ========================================================================== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  padding: 20px 30px 18px 30px;
  margin-bottom: 20px;
  background: #F5F8F6;
  border-radius: 13px;
  border-left: 6px solid #FFC4D6;
  box-shadow: 0 3px 12px rgba(44,74,57,0.035);
  max-width: 680px;
  transition: box-shadow 0.22s;
}
.testimonial-card:hover {
  box-shadow: 0 7px 24px rgba(44,74,57,0.09);
}
.testimonial-card blockquote {
  color: #2D4739;
  font-size: 1.07rem;
  font-family: 'Playfair Display', serif;
}
.testimonial-card cite {
  color: #8E998D;
  font-size: 0.98rem;
  font-style: normal;
  margin-top: 4px;
  font-family: 'Lato', Arial, sans-serif;
}
@media (max-width: 540px) {
  .testimonial-card {
    padding: 14px 11px 13px 16px;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  width: 100%;
  background: #F9FBF8;
  padding: 0;
  border-top: 1px solid #ECF2EC;
}
footer .container {
  padding-top: 36px;
  padding-bottom: 20px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  margin-bottom: 12px;
}
.footer-brand img {
  height: 38px;
  width: 38px;
}
.footer-brand span {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: #57705E;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
footer nav a {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.02rem;
  color: #5A645B;
  opacity: 0.95;
  transition: color 0.18s, opacity 0.14s;
  margin-right: 2px;
  padding: 2px 10px 2px 0;
  border-radius: 8px;
  margin-bottom: 6px;
}
footer nav a:hover, footer nav a:focus {
  color: #2D4739;
  opacity: 1.0;
  background: #F7E7F0;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 9px;
  font-size: 1rem;
  color: #2D4739;
}
.contact-info img {
  vertical-align: middle;
  width: 22px;
  height: 22px;
  margin-right: 10px;
  background: #F2F7F3;
  border-radius: 5px;
  padding: 1.5px;
}
.contact-info a {
  color: #2D4739;
  text-decoration: underline;
  transition: color 0.16s;
}
.contact-info a:hover {
  color: #C94374;
}
.social-media {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 10px;
}
.social-media a img {
  width: 36px;
  height: 36px;
  border-radius: 7px;
  background: #EFF6F1;
  transition: box-shadow 0.16s, background 0.12s;
}
.social-media a:hover img {
  box-shadow: 0 2px 14px #FFC4D6;
  background: #FFC4D6;
}
@media (min-width: 900px) {
  footer .content-wrapper {
    flex-direction: row;
    gap: 44px;
    align-items: flex-start;
  }
  .footer-brand {
    margin-bottom: 0;
  }
  .contact-info {
    margin-top: 0;
  }
}
@media (max-width: 700px) {
  footer .container {
    padding-top: 18px;
    padding-bottom: 14px;
  }
  footer .content-wrapper {
    gap: 21px;
  }
  .footer-brand img {
    height: 32px;
    width: 32px;
  }
  .social-media a img {
    width: 30px;
    height: 30px;
  }
}

/* ==========================================================================
   COOKIE CONSENT BANNER
   ========================================================================== */
.cookie-banner {
  position: fixed;
  z-index: 300;
  left: 0;
  right: 0;
  bottom: 0;
  background: #FFFFFF;
  border-top: 2px solid #FFC4D6;
  box-shadow: 0 -4px 16px rgba(44,74,57,0.065);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 20px;
  gap: 20px;
  min-height: 72px;
  transition: transform 0.32s cubic-bezier(.96,.03,0,1), opacity 0.24s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}
.cookie-banner .cookie-text {
  color: #2D4739;
  font-size: 1.04rem;
  max-width: 750px;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.cookie-banner .cookie-btns button {
  padding: 8px 20px;
  border-radius: 17px;
  font-size: 1rem;
  margin: 0;
  border: none;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.cookie-banner .cookie-accept {
  background: #2D4739;
  color: #FFF;
}
.cookie-banner .cookie-accept:hover {
  background: #163C25;
}
.cookie-banner .cookie-reject {
  background: #FAFAF9;
  color: #2D4739;
  border: 1px solid #ECF2EC;
}
.cookie-banner .cookie-reject:hover {
  background: #FFC4D6;
  color: #2D4739;
}
.cookie-banner .cookie-settings {
  background: #FFC4D6;
  color: #2D4739;
}
.cookie-banner .cookie-settings:hover {
  background: #F2B1C7;
  color: #163C25;
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 7px 17px 7px;
    gap: 8px;
  }
  .cookie-banner .cookie-btns {
    gap: 7px;
  }
  .cookie-banner .cookie-text {
    font-size: 0.97rem;
  }
}
/* Cookie Preferences Modal */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 301;
  background: rgba(44,74,57,0.31);
  left: 0; right: 0; top: 0; bottom: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #FFF;
  border-radius: 15px;
  max-width: 420px;
  width: 96vw;
  box-shadow: 0 7px 38px 0 rgba(44,74,57,0.16);
  padding: 34px 32px 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 21px;
  position: relative;
  transform: translateY(-40px) scale(0.96);
  opacity: 0;
  transition: opacity 0.24s, transform 0.27s;
}
.cookie-modal-backdrop.active .cookie-modal {
  transform: translateY(0px) scale(1.03);
  opacity: 1;
}
.cookie-modal-close {
  position: absolute;
  right: 21px;
  top: 13px;
  background: #F5F8F6;
  color: #2D4739;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 1.5rem;
  border: 2px solid #ECF2EC;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #FFC4D6;
  color: #2D4739;
}
.cookie-modal h3 {
  font-size: 1.22rem;
  margin-bottom: 0;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 4px;
  padding: 7px 0;
}
.cookie-modal .cookie-category label {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.03rem;
  color: #2D4739;
}
.cookie-modal .switch {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 18px;
  min-width: 34px;
}
.cookie-modal .switch input { opacity: 0; width: 0; height: 0; }
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #F0F0F5;
  border-radius: 14px;
  transition: background .16s;
}
.cookie-modal .switch input:checked + .slider {
  background-color: #2D4739;
}
.cookie-modal .slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 2px;
  bottom: 2px;
  background-color: #FFF;
  border-radius: 50%;
  transition: transform .22s;
}
.cookie-modal .switch input:checked + .slider:before {
  transform: translateX(16px);
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 8px;
}
.cookie-modal .cookie-actions button {
  border-radius: 17px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 1.02rem;
  font-family: 'Lato', Arial, sans-serif;
  border: none;
  cursor: pointer;
  background: #2D4739;
  color: #fff;
  transition: background 0.16s, color 0.16s;
}
.cookie-modal .cookie-actions button:last-child {
  background: #FFC4D6;
  color: #2D4739;
}
.cookie-modal .cookie-actions button:last-child:hover {
  background: #F2B1C7;
}

/* ==========================================================================
   MICRO-INTERACTIONS & ANIMATIONS
   ========================================================================== */
.btn-primary, .btn-secondary, .mobile-menu-toggle, .mobile-menu-close, .cookie-banner button, .cookie-modal-close {
  will-change: transform;
}
.card, .service-list > div, .testimonial-card, .cookie-banner, .cookie-modal {
  transition: box-shadow 0.18s, background 0.14s, opacity 0.16s, transform 0.16s;
}

/* ==========================================================================
   GENERAL RESPONSIVE RULES
   ========================================================================== */
@media (max-width: 1100px){
  .container {
    max-width: 99vw;
  }
}
@media (max-width: 850px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.28rem; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.33rem; }
  h2 { font-size: 1.04rem; }
  main, .container, .section {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Visually hidden (for accessibility, is not requested but best practice) */
.visually-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  top: auto;
}

/* Ensure no absolute for content, just for buttons/icons if needed */

/* ==========================================================================
   FORM ELEMENTS (for contact or modals in future)
   ========================================================================== */
input, textarea, select {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  background: #FAFAF9;
  color: #2D4739;
  border-radius: 11px;
  border: 1px solid #CED8D2;
  padding: 12px 14px;
  margin-top: 7px;
  margin-bottom: 18px;
  width: 100%;
  box-shadow: 0 1px 3px rgba(44,74,57,0.045);
  transition: background 0.12s, border-color 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: #2D4739;
  background: #F7FCF6;
  outline: none;
}

label {
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.06rem;
  color: #2D4739;
}

/* Spacing for card & testimonials on dedicated pages */
.testimonials-section, .service-list, .card-container {
  margin-top: 18px;
  margin-bottom: 18px;
}

/* Miscellaneous utility classes (if present) */
.mt-2 { margin-top: 16px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mt-4 { margin-top: 32px !important; }
.mb-4 { margin-bottom: 32px !important; }

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