/* ------ 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #f6f6f8;
  color: #26403a;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img, picture {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
  margin: 0;
  padding: 0;
  appearance: none;
}

/* ------ FONT IMPORT ------ */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=Merriweather:wght@700&display=swap');

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background-color: #f6f6f8;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  color: #26403a;
}
h1 { font-size: 2.5rem; margin-bottom: 18px; line-height: 1.2; }
h2 { font-size: 2rem; margin-bottom: 18px; line-height: 1.2; }
h3 { font-size: 1.3rem; margin-bottom: 12px; line-height: 1.3; }
h4, h5, h6 { font-size: 1rem; }
p, ul, ol { font-size: 1rem; color: #26403a; margin-bottom: 9px; line-height: 1.6; }
strong, b { font-weight: 700; }

@media (max-width: 600px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1.05rem; }
  p, ul, ol { font-size: 0.96rem; }
}

/* ------ COMMON LAYOUTS ------ */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-grid, .service-list, .service-overview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.feature-card, .service-card {
  flex: 1 1 260px;
  background: #fff; 
  border: 1px solid #e0e0e4;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(64,110,101,0.05);
  padding: 28px 20px 16px 20px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.25s, transform 0.18s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-card img, .service-card img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.feature-card:hover, .service-card:hover {
  box-shadow: 0 4px 24px rgba(64,110,101,0.10);
  transform: translateY(-3px) scale(1.025);
}

.service-price {
  margin-top: 14px;
  display: inline-block;
  color: #b89d72;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

/* For classic card container */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}

/* Content grid pattern */
.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) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

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

.testimonials .content-wrapper {
  gap: 26px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(40,64,58,0.08);
  margin-bottom: 20px;
  border: 1px solid #e0e0e4;
  transition: box-shadow 0.2s, border-color 0.2s;
  min-width: 0;
}
.testimonial-card:hover {
  box-shadow: 0 8px 30px rgba(40,64,58,0.12);
  border-color: #b89d72;
}
.testimonial-card p {
  color: #26403a;
  font-style: italic;
  font-size: 1.05rem;
}
.client-name {
  font-family: 'Roboto', sans-serif;
  color: #406e65;
  font-weight: 500;
  font-size: 0.98rem;
}
.star-rating {
  color: #b89d72;
  font-size: 1.1rem;
  letter-spacing: 0.075em;
  font-family: 'Merriweather', serif;
}

/* ------ HEADER ------ */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 12px rgba(64,110,101,0.05);
  position: sticky;
  top: 0;
  z-index: 101;
  display: flex;
  align-items: center;
  padding: 0 0;
  min-height: 68px;
}
.logo-wrapper {
  display: flex;
  align-items: center;
  padding: 0 22px;
  height: 64px;
}
.logo-wrapper img {
  height: 38px;
  width: auto;
  display: block;
}
.main-nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: 8px;
}
.main-nav a {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  color: #26403a;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #f6f6f8;
  color: #406e65;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Roboto', sans-serif;
  font-size: 1.07rem;
  font-weight: 700;
  padding: 10px 24px;
  color: #fff;
  background: #406e65;
  border-radius: 24px;
  box-shadow: 0 2px 8px rgba(64,110,101,0.07);
  border: none;
  margin-left: 12px;
  cursor: pointer;
  transition: background 0.14s, box-shadow 0.2s, transform 0.15s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #26403a;
  box-shadow: 0 4px 18px 0 rgba(40,64,58,0.07);
  transform: translateY(-1px) scale(1.03);
  color: #b89d72;
}
.mobile-menu-toggle {
  display: none;
  padding: 8px 14px;
  margin-left: 16px;
  background: #f6f6f8;
  color: #26403a;
  border-radius: 8px;
  font-size: 1.8rem;
  border: none;
  cursor: pointer;
  z-index: 200;
  transition: background 0.16s, color 0.16s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #b89d72;
  color: #fff;
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
  }
}

/* ------ MOBILE MENU ------ */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #ffffff;
  box-shadow: 0 0 24px rgba(40,64,58,0.12);
  z-index: 220;
  transform: translateX(-100vw);
  pointer-events: none;
  opacity: 0;
  transition: transform 0.33s cubic-bezier(.77,0,.18,1), opacity 0.23s;
}
.mobile-menu.open {
  pointer-events: auto;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 24px 0 0;
  font-size: 2rem;
  background: none;
  color: #406e65;
  border: none;
  cursor: pointer;
  transition: color 0.12s;
  z-index: 221;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #b89d72;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 48px;
  gap: 10px;
}
.mobile-nav a {
  font-size: 1.15rem;
  color: #26403a;
  background: #f6f6f8;
  padding: 16px 0;
  width: 88vw;
  text-align: center;
  border-radius: 8px;
  margin-bottom: 10px;
  transition: background 0.13s, color 0.13s;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #b89d72;
  color: #fff;
}

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

/* ------ HERO ------ */
.hero {
  background: #fff;
  background-image: url('../assets/hero-bg.svg');
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 0 0 34px 34px;
  padding-top: 28px;
  padding-bottom: 54px;
  margin-bottom: 60px;
  box-shadow: 0 4px 24px rgba(40,64,58,0.05);
}
@media (max-width: 600px) {
  .hero {
    border-radius: 0 0 16px 16px;
    padding-top: 18px;
    padding-bottom: 28px;
    margin-bottom: 32px;
  }
}

/* ------ LISTS / FEATURES / ABOUT ------ */
ul, ol {
  margin-bottom: 20px;
  padding-left: 18px;
  color: #406e65;
}
ul li, ol li {
  position: relative;
  font-size: 1rem;
  margin-bottom: 10px;
  padding-left: 16px;
  line-height: 1.6;
}
ul li::before {
  content: '';
  width: 7px;
  height: 7px;
  background: #b89d72;
  border-radius: 50%;
  display: inline-block;
  position: absolute;
  left: 0px;
  top: 12px;
}

/* ------ CTA SECTIONS ------ */
.cta {
  background: #406e65;
  color: #fff;
  border-radius: 20px;
  margin-bottom: 60px;
}
.cta .text-section,
.cta .content-wrapper {
  align-items: center;
  text-align: center;
  color: #fff;
}
.cta h2 { color: #fff; }
.cta p { color: #fff; }

/* ------ FOOTER ------ */
footer {
  background: #26403a;
  color: #fff;
  font-size: 1rem;
  margin-top: 48px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
  padding: 36px 22px 16px 22px;
  border-radius: 24px 24px 0 0;
}
.footer-top .logo-wrapper img {
  height: 40px;
  margin-bottom: 13px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-nav a {
  color: #f6f6f8;
  font-size: 1rem;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #b89d72;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #fff;
}
.contact-info a {
  color: #b89d72;
  font-size: 1rem;
  word-break: break-all;
  transition: color 0.13s;
}
.contact-info a:hover, .contact-info a:focus {
  color: #fff;
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 13px;
  align-items: center;
}
.social-links a img {
  height: 28px;
  width: 28px;
  filter: grayscale(0.3) brightness(96%);
  opacity: 0.92;
  transition: filter 0.18s, opacity 0.17s;
}
.social-links a:hover img {
  filter: grayscale(0) brightness(110%);
  opacity: 1;
}
.footer-bottom {
  padding: 10px 22px 16px 22px;
  text-align: left;
  font-size: 0.95rem;
  color: #f6f6f8;
}

@media (max-width: 900px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
  .social-links {
    margin-top: 8px;
  }
}

/* ------ LEGAL/GENERIC SECTIONS ------ */
.legal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(40,64,58,0.07);
  margin-bottom: 60px;
}
.legal .content-wrapper {
  padding: 0;
}

/* ------ RESPONSIVE ------ */
@media (max-width: 700px) {
  .container {
    padding: 0 5vw;
  }
  .footer-top, .footer-bottom {
    padding-right: 5vw;
    padding-left: 5vw;
  }
  .feature-card, .service-card {
    min-width: 220px;
    padding: 20px 12px 12px 12px;
  }
}
@media (max-width: 520px) {
  .feature-grid, .service-list, .service-overview-grid {
    flex-direction: column;
    gap: 15px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 13px;
  }
}

/* ------ FORM ELEMENTS ------ */
input, textarea, select {
  padding: 10px 13px;
  border: 1px solid #e0e0e4;
  background: #fff;
  border-radius: 7px;
  font-size: 1rem;
  margin-bottom: 13px;
  resize: vertical;
}
input:focus, textarea:focus, select:focus {
  border-color: #406e65;
  outline: none;
}
label {
  font-size: 1rem;
  color: #26403a;
  margin-bottom: 5px;
  font-weight: 500;
}

/* ------ COOKIE BANNER & MODAL ------ */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #26403a;
  box-shadow: 0 -2px 12px rgba(40,64,58,0.11);
  z-index: 410;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 22px 10px 16px 10px;
  transition: transform 0.3s cubic-bezier(.9,.1,.15,1), opacity 0.3s;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner p {
  color: #26403a;
  margin-bottom: 8px;
  text-align: center;
}
.cookie-banner .cookie-btn-row {
  display: flex;
  flex-direction: row;
  gap: 13px;
  justify-content: center;
}
.cookie-btn {
  min-width: 110px;
  padding: 10px 18px;
  border-radius: 19px;
  border: none;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  color: #fff;
  background: #406e65;
  transition: background 0.18s, color 0.18s, box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(40,64,58,0.08);
}
.cookie-btn.accept {
  background: #406e65;
}
.cookie-btn.accept:hover {
  background: #26403a;
}
.cookie-btn.reject {
  background: #b89d72;
  color: #fff;
}
.cookie-btn.reject:hover {
  background: #406e65;
  color: #fff;
}
.cookie-btn.settings {
  background: #f6f6f8;
  color: #406e65;
  border: 1px solid #e0e0e4;
}
.cookie-btn.settings:hover {
  background: #b89d72;
  color: #fff;
}

.cookie-modal-overlay {
  position: fixed;
  z-index: 441;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(10,30,18,0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.visible {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  border-radius: 13px;
  max-width: 410px;
  min-width: 280px;
  padding: 28px 22px 18px 22px;
  box-shadow: 0 8px 48px rgba(64,110,101,0.13);
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: relative;
  color: #26403a;
}
.cookie-modal h2 {
  margin-top: 0;
  color: #26403a;
  font-size: 1.17rem;
  margin-bottom: 10px;
}
.cookie-modal ul {
  margin: 0 0 12px 0;
  padding: 0;
  list-style-type: none;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
  margin-bottom: 10px;
}
.cookie-switch {
  width: 38px;
  height: 22px;
  background: #e0e0e4;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-switch input[type="checkbox"] {
  width: 0; height: 0; opacity: 0; position: absolute;
}
.cookie-switch .switch-thumb {
  position: absolute;
  top: 3px; left: 3px; width: 16px; height: 16px;
  background: #aaa;
  border-radius: 50%;
  transition: left 0.17s, background 0.18s;
}
.cookie-switch input:checked + .switch-thumb {
  background: #b89d72;
  left: 19px;
}
.cookie-switch input:disabled + .switch-thumb {
  background: #406e65;
  opacity: 0.54;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 6px;
  right: 12px;
  font-size: 1.6rem;
  background: none;
  border: none;
  color: #406e65;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal-close:hover { color: #b89d72; }

/* ------ MISC ------ */
::-webkit-scrollbar {
  width: 8px;
  background: #e0e0e4;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb {
  background: #b89d72;
  border-radius: 4px;
}
::-webkit-input-placeholder { color: #b2b8b3; }
::-moz-placeholder { color: #b2b8b3; }
:-ms-input-placeholder { color: #b2b8b3; }
::placeholder { color: #b2b8b3; }

/* Success page & confirmation */
.confirmation {
  background: #fff;
  border-radius: 18px;
  margin-bottom: 60px;
  box-shadow: 0 2px 12px rgba(40,64,58,0.08);
}
.confirmation .text-section {
  align-items: center;
  text-align: center;
}

/* Section Spacing Fix for Small Screens */
@media (max-width: 600px) {
  .section, section { padding: 25px 0; margin-bottom: 34px; }
  .about, .testimonials { padding: 20px 0; }
  .cta { border-radius: 8px; }
}

/* Accessibility: focus & selection */
a:focus, button:focus, .cta-btn:focus, .mobile-nav a:focus {
  outline: 2px solid #406e65;
  outline-offset: 2px;
}
::selection { background: #b89d72; color: #fff; }

/* Remove gap bottom on last section */
.section:last-child, main section:last-child { margin-bottom: 0; }

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