/* RESET & BASE STYLES */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  font-family: inherit;
}
body {
  background: #faf6f0;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #3c2b18;
  line-height: 1.7;
  min-height: 100vh;
  font-size: 1rem;
 }
a {
  color: #793f18;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #ab685b;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 16px;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  display: inline-block;
}
button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
}
:focus {
  outline: 2px solid #ab685b;
  outline-offset: 2px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', 'Georgia', serif;
  color: #5d2d18;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 28px;
  line-height: 1.14;
}
h2 {
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.18;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
}
p {
  margin-bottom: 16px;
  color: #4c3823;
}
blockquote {
  font-style: italic;
  border-left: 3px solid #e3c5a1;
  margin: 0;
  padding-left: 18px;
  color: #5d2d18;
  background: #f7ede0;
}

/* LAYOUT & SPACING */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0; /* container doesn't add gap, spacing comes from .section etc. */
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 16px 0 rgba(121, 63, 24, 0.07);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(121,63,24,0.06);
  position: relative;
  padding: 24px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  max-width: 330px;
  transition: box-shadow 0.21s, transform 0.17s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(121,63,24,0.10);
  transform: translateY(-3px) scale(1.016);
  z-index: 1;
}
.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;
  background: #f2e1c2;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 6px rgba(121,63,24,0.12);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  list-style: none;
  margin: 0 0 10px 0;
}
.feature-grid > li {
  flex: 1 1 240px;
  background: #f9f4ee;
  border-radius: 12px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 1px 3px rgba(121, 63, 24,0.07);
  margin-bottom: 0;
  min-width: 208px;
  transition: box-shadow 0.15s;
}
.feature-grid > li:hover {
  box-shadow: 0 6px 16px rgba(171,104,91,0.13);
}
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 22px;
}
.services-grid > div {
  background: #f9f4ee;
  border-radius: 10px;
  padding: 22px 16px 20px 16px;
  flex: 1 1 210px;
  min-width: 185px;
  box-shadow: 0 1px 4px rgba(171,104,91,0.10);
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  transition: box-shadow 0.15s, background 0.2s;
}
.services-grid > div span {
  font-size: 1rem;
  color: #793f18;
  font-weight: bold;
  background: #f2e1c2;
  padding: 2px 10px;
  border-radius: 8px;
  margin-top: 8px;
}
.services-grid > div:hover {
  box-shadow: 0 4px 16px rgba(121,63,24,0.14);
  background: #fffbe9;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 12px;
  margin-top: 12px;
}
.footer-nav a {
  color: #793f18;
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1rem;
  padding: 4px 0;
  text-decoration: underline dotted;
  transition: color 0.15s, text-decoration 0.16s;
}
.footer-nav a:hover {
  color: #ab685b;
  text-decoration: underline solid;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
  color: #5d2d18;
}
.footer-bottom {
  margin-top: 18px;
  font-size: 0.85rem;
  color: #795949;
  font-style: italic;
  text-align: center;
  padding-bottom: 12px;
}

header {
  background: #fff7ef;
  box-shadow: 0 2px 10px rgba(171,104,91,0.07);
  padding: 0;
}
header .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px 14px 18px;
  gap: 0;
}
.desktop-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.desktop-nav a {
  color: #5d2d18;
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1.09rem;
  padding: 8px 3px 8px 3px;
  border-radius: 5px;
  transition: background 0.19s, color 0.19s;
}
.desktop-nav a:hover, .desktop-nav a:focus {
  background: #f2e1c2;
  color: #793f18;
}
header img {
  height: 48px;
  width: auto;
}

/* BUTTONS & CTA */
.cta, a.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.03rem;
  background: #ab685b;
  color: #fff;
  padding: 12px 32px;
  border-radius: 30px;
  font-size: 1.09rem;
  min-width: 150px;
  box-shadow: 0 2px 8px rgba(171,104,91,0.08);
  border: 2px solid #ab685b;
  margin-top: 10px;
  margin-bottom: 10px;
  transition: background 0.2s, color 0.18s, box-shadow 0.15s, border 0.16s, transform 0.13s;
  cursor: pointer;
  text-align: center;
}
.cta.primary, a.cta.primary {
  background: #793f18;
  border-color: #793f18;
}
.cta:hover, a.cta:hover,
.cta:focus, a.cta:focus {
  background: #fff;
  color: #793f18;
  border-color: #793f18;
  box-shadow: 0 3px 14px rgba(171,104,91,0.18);
  transform: scale(1.045);
}

/* TESTIMONIALS */
.testimonial-card {
  background: #f2e1c2;
  color: #3c2b18;
  border-radius: 14px;
  box-shadow: 0 1px 6px rgba(171,104,91,0.13);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  font-size: 1.04rem;
  min-width: 0;
  max-width: 650px;
}
.testimonial-card blockquote {
  background: transparent;
  border-left: 3px solid #ab685b;
  padding-left: 10px;
  margin-right: 14px;
  color: #3c2b18;
  font-style: italic;
  font-size: 1.02rem;
}
.testimonial-card div {
  color: #5d2d18;
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.98rem;
}
.testimonial-card img {
  width: 18px;
  height: 18px;
  display: inline-block;
  margin-left: 1px;
}

/* FOOTER */
footer {
  background: #fff7ef;
  border-top: 1px solid #f0e1d5;
  padding-top: 24px;
  padding-bottom: 8px;
  margin-top: 48px;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
footer img {
  height: 44px;
  margin-bottom: 10px;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
  display: none;
  background: #793f18;
  color: #fff;
  border-radius: 8px;
  font-size: 2rem;
  padding: 4px 16px;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.14s;
  z-index: 50;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #ab685b;
  color: #fff7ef;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff7ef;
  box-shadow: 0 8px 32px rgba(121, 63, 24, 0.23);
  z-index: 1000;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-104vw);
  transition: transform 0.33s cubic-bezier(.77,0,.18,1);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 20px 0 0;
  background: #ab685b;
  color: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  z-index: 1001;
  transition: background 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #793f18;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100vw;
  padding: 40px 0 0 28px;
  gap: 22px;
}
.mobile-nav a {
  color: #5d2d18;
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 11px 12px 11px 0;
  border-radius: 6px;
  transition: background 0.13s, color 0.13s;
  min-width: 180px;
  min-height: 44px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #f2e1c2;
  color: #ab685b;
}

/* Hide desktop nav on mobile, show burger btn */
@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* Mobile menu covers entire viewport on open */
@media (max-width: 900px) {
  .mobile-menu {
    width: 100vw;
    height: 100vh;
    min-width: 0;
    min-height: 0;
  }
}

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
  .container {
    max-width: 96vw;
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .services-grid, .card-container, .content-grid {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  .section {
    padding: 26px 9px;
    margin-bottom: 36px;
  }
  .card, .card-container > * {
    max-width: 100%;
    min-width: 0;
    padding: 18px 10px 14px 10px;
  }
  .feature-grid, .services-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > li, .services-grid > div {
    min-width: 0;
    max-width: 100%;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 15px 8px;
  }
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 14px;
  }
  header .container {
    padding: 6px 7px;
  }
  footer .container {
    gap: 8px;
  }
}
@media (max-width: 600px) {
  h1, h2, h3 {
    margin-bottom: 12px;
  }
  .footer-nav {
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-contact p {
    font-size: 0.87rem;
  }
  .footer-bottom {
    font-size: 0.77rem;
    padding-bottom: 7px;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #793f18;
  color: #fff;
  z-index: 3000;
  padding: 20px 4vw 20px 4vw;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 -2px 22px rgba(121,63,24,0.19);
  align-items: flex-start;
  animation: cookie-slidein 0.7s cubic-bezier(.42,.77,.34,1);
}
@keyframes cookie-slidein {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin-bottom: 0;
  color: #fff;
  font-size: 1.0rem;
  max-width: 700px;
}
.cookie-actions {
  display: flex;
  gap: 14px;
}
.cookie-actions button {
  font-family: 'Roboto Slab', Georgia, serif;
  border-radius: 18px;
  border: 2px solid #fff;
  padding: 8px 22px;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.13s, color 0.13s, border 0.13s;
  cursor: pointer;
  margin: 0;
}
.cookie-accept {
  background: #f2e1c2;
  color: #793f18;
  border-color: #f2e1c2;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #ab685b;
  border-color: #ab685b;
  color: #fff;
}
.cookie-reject {
  background: #fff;
  color: #793f18;
  border-color: #fff;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #ab685b;
  border-color: #ab685b;
  color: #fff;
}
.cookie-settings {
  background: #ab685b;
  color: #fff;
  border-color: #fff;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #fff;
  color: #ab685b;
  border-color: #ab685b;
}
/* Cookie Modal Styles */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(60,43,24,0.35);
  z-index: 3500;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #fff7ef;
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(121, 63, 24, 0.19);
  padding: 32px 22px 24px 22px;
  width: 98%;
  max-width: 460px;
  color: #3c2b18;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalpop 0.32s cubic-bezier(.77,0,.18,1);
}
@keyframes modalpop {
  0% { opacity: 0; transform: translateY(40px) scale(0.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 13px;
  color: #793f18;
  font-family: 'Roboto Slab', Georgia, serif;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 24px; right: 24px;
  background: #ab685b;
  color: #fff;
  border-radius: 50%;
  width: 36px; height: 36px;
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  border: none;
  z-index: 3502;
  cursor: pointer;
}
.cookie-modal .modal-close:hover,
.cookie-modal .modal-close:focus {
  background: #793f18;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-category label {
  font-size: 1.04rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #5d2d18;
}
.cookie-category input[type=checkbox]:disabled + label {
  opacity: 0.4;
  font-style: italic;
}
/* Cookie Toggle Switch */
.cookie-toggle {
  width: 44px; height: 24px;
  position: relative;
  display: inline-block;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #e3c5a1;
  border-radius: 22px;
  transition: background .21s;
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  background: #793f18;
}
.cookie-toggle-slider::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.22s;
  box-shadow: 0 1px 4px rgba(171,104,91,0.13);
}
.cookie-toggle input:checked + .cookie-toggle-slider::before {
  transform: translateX(20px);
}

@media (max-width: 500px) {
  .cookie-modal {
    padding: 22px 7px 16px 7px;
  }
  .cookie-banner {
    padding: 16px 3vw 16px 3vw;
    font-size: 0.97rem;
  }
}

/* ADDITIONAL STYLES */
dt, dd {
  font-size: 1rem;
}
dt {
  font-weight: bold;
}
dd {
  margin-bottom: 12px;
}

/* Success page highlight */
.thank-you-highlight {
  background: #fffbe6;
  border-left: 5px solid #ab685b;
  padding: 18px 16px;
  margin-bottom: 20px;
  border-radius: 9px;
}

/* Micro-interactions */
.card, .services-grid > div, .feature-grid > li {
  will-change: box-shadow, transform;
}

/* Ensure min 20px between all content sections/cards on larger screens */
.section + .section, .card + .card, .testimonial-card + .testimonial-card {
  margin-top: 24px;
}

/* Prevent accidental image dragging */
img, a img {
  user-drag: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
}
