/* ================================================== */
/*        CSS Reset, Normalize & Root Variables        */
/* ================================================== */
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, 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;
}
html {
  /* soften scroll */
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #FBF8F5; /* Soft pastel off-white */
  color: #47312F;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  letter-spacing: 0.02em;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol{
  list-style: disc;
  padding-left: 20px;
  margin-top: 12px;
  margin-bottom: 12px;
}
strong {
  font-weight: 600;
}
a {
  color: #8CA7B0;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #8CA7B0;
  outline-offset: 2px;
}
a:hover {
  color: #47312F;
  text-decoration: underline;
}

:root {
  --color-primary: #47312F;
  --color-secondary: #E0CBA4;
  --color-accent: #8CA7B0;
  --color-soft-pink: #F9EBEA;
  --color-soft-blue: #E7F1F7;
  --color-soft-green: #F1F8ED;
  --color-soft-lemon: #FFF8ED;
  --color-white: #ffffff;
  --color-black: #2C1C1B;
  --color-background: #FBF8F5;
  --shadow-soft: 0 4px 16px 0 rgba(140, 167, 176, 0.09);
  --shadow-card: 0 2px 24px 0 rgba(71,49,47, 0.10);
  --radius: 18px;
  --radius-small: 8px;
}

/* ======================= */
/*     Basic Typography    */
/* ======================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 700;
  color: #2C1C1B;
  margin-bottom: 16px;
  line-height: 1.18;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 22px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.text-section h3 {
  margin-top: 28px;
}
.text-section ul {
  margin-bottom: 0;
}
p, li {
  font-family: 'Roboto', Arial, sans-serif;
  color: #47312F;
  font-size: 1rem;
  margin-bottom: 12px;
  line-height: 1.68;
}
section p:last-child {
  margin-bottom: 0;
}

/* Body containers */
.container {
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ======================= */
/*     Header & Nav        */
/* ======================= */
header {
  width: 100%;
  background: var(--color-white);
  border-bottom: 1px solid #EEE3DE;
  box-shadow: 0 2px 12px 0 rgba(140, 167, 176, 0.03);
  position: relative;
  z-index: 12;
}
header .container{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 11px;
  padding-bottom: 11px;
}
.logo {
  display: flex;
  align-items: center;
  height: 56px;
}
.logo img{
  height: 38px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #47312F;
  padding: 8px 0;
  border-radius: var(--radius-small);
  transition: background 0.16s, color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
/* Hide nav on mobile */
@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
}

/* =============== CTA Buttons =============== */
.cta, .cta.primary {
  display: inline-block;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  border-radius: var(--radius);
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: var(--shadow-soft);
  padding: 10px 26px;
  margin-left: 10px;
  text-align: center;
  transition: background 0.15s, color 0.18s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  outline: none;
  letter-spacing: 0.03em;
}
.cta.primary {
  background: var(--color-primary);
  color: var(--color-secondary);
}
.cta.primary:hover, .cta.primary:focus {
  background: #68413c;
  color: #fff4ec;
  box-shadow: 0 4px 16px 0 rgba(140,167,176,0.20);
}
.cta:hover, .cta:focus {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(140,167,176,.20);
  text-decoration: none;
}

/* ========== Mobile Burger Button ========== */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-size: 2rem;
  border: none;
  border-radius: var(--radius-small);
  width: 45px;
  height: 44px;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(71,49,47,0.07);
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  transition: background 0.14s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-accent);
  color: #fff;
}
@media (max-width: 1020px) {
  .mobile-menu-toggle { display: flex; }
}

/* ======================= */
/*      Mobile Drawer      */
/* ======================= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(248, 245, 239, 0.96);
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(0.75,0,0.25,1);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  color: var(--color-primary);
  font-size: 2.4rem;
  border: none;
  border-radius: var(--radius);
  align-self: flex-end;
  margin: 23px 24px 8px 0;
  cursor: pointer;
  transition: color 0.15s, background 0.12s;
  padding: 0 10px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-accent);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  width: 100%;
  padding: 6px 34px 0 34px;
}
.mobile-nav a {
  color: var(--color-primary);
  font-size: 1.2rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  padding: 13px 0;
  width: 100%;
  border-radius: var(--radius-small);
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
}

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

/* ============== MAIN SITE STRUCTURE ============== */
main {
  min-height: 63vh;
  width: 100%;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: var(--radius);
  position: relative;
}
section:last-child {
  margin-bottom: 0;
}
.hero {
  background: linear-gradient(129deg, #F9EBEA 0%, #E7F1F7 70%, #F1F8ED 100%);
  box-shadow: 0 12px 36px 0 rgba(200,210,210,0.07);
  padding-top: 40px;
  padding-bottom: 40px;
  display: flex;
  align-items: center;
}
.hero h1 {
  color: var(--color-primary);
  font-size: 2.8rem;
}
.hero p {
  color: #47312F;
  font-size: 1.18rem;
  margin-bottom: 24px;
}

.cta-section {
  background: linear-gradient(96deg, #FFF8ED 57%, #E7F1F7 100%);
  text-align: center;
  box-shadow: 0 2px 12px 0 rgba(140,167,176,.08);
}
.cta-section .content-wrapper {
  align-items: center;
  justify-content: center;
}

/* =========== Flex Cards, Spacing Patterns =========== */
.features-grid, .card-container, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin-top: 26px;
}
.card-container { gap: 24px; }
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  min-width: 260px;
  max-width: 340px;
  transition: box-shadow 0.18s, transform 0.19s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 24px 0 rgba(71,49,47,0.16);
  transform: translateY(-4px) scale(1.005);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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;
    align-items: flex-start;
    gap: 20px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ============== Testimonials ============== */
.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 12px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: linear-gradient(96deg, #FFF8ED 60%, #E0CBA4 140%);
  border-radius: var(--radius);
  box-shadow: 0 4px 16px 0 rgba(71,49,47,0.10);
  color: #2C1C1B;
  font-size: 1.04rem;
  min-width: 270px;
  max-width: 34vw;
  flex: 1 1 250px;
  margin-bottom: 0;
  position: relative;
  transition: box-shadow 0.12s, background 0.18s;
}
.testimonial-card p {
  color: #2C1C1B;
  margin-bottom: 0;
}
.testimonial-author {
  font-size: 0.98rem;
  font-style: italic;
  color: #47312F;
  margin-left: 14px;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 12px 32px 0 rgba(220,197,180,0.16);
  background: #FFF8ED;
}
@media (max-width: 1020px) {
  .testimonials-slider {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    max-width: 100%;
  }
}

/* ============= FAQ Accordion & List ============= */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 18px;
}
.faq-item {
  background: var(--color-soft-lemon);
  border-radius: var(--radius-small);
  padding: 20px;
  box-shadow: 0 2px 10px 0 rgba(224,203,164,0.11);
  transition: box-shadow 0.18s, background 0.18s;
}
.faq-item h3 {
  margin-bottom: 8px;
}
.faq-item:hover,
.faq-item:focus-within {
  background: #fff4ec;
}

/* ============ Contact details, Map ============= */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 24px;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.04rem;
}
.contact-details img {
  width: 20px;
  height: 20px;
  opacity: 0.85;
  margin-right: 7px;
}
.map-placeholder {
  background: var(--color-soft-blue);
  padding: 18px 20px;
  border-radius: var(--radius-small);
  font-size: 0.99rem;
  margin-top: 10px;
}

/* ============ Success Banner (thanks.php) =========== */
.success {
  background: linear-gradient(112deg, #F1F8ED 32%, #FFF8ED 78%);
  text-align: center;
  padding: 60px 20px 80px 20px;
  border-radius: var(--radius);
  box-shadow: 0 6px 24px 0 rgba(140,167,176,0.09);
}
.success .cta.primary {
  margin-top: 34px;
}

/* ============= List enhancements ============== */
ul, ol {
  margin-bottom: 16px;
  padding-left: 38px;
}
ul li, ol li {
  margin-bottom: 7px;
  line-height: 1.6;
}

/* ============= Text Section =============== */
.text-section {
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
}

/* =========== Footer & Footer Nav =========== */
footer {
  background: linear-gradient(93deg,#F9EBEA 0%, #F1F8ED 100%);
  margin-top: 68px;
  box-shadow: 0 -3px 18px 0 rgba(140,167,176,0.08);
  padding: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  z-index: 1;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px 24px;
  padding: 30px 20px 18px 20px;
}
.footer-logo img {
  height: 48px;
  width: auto;
  display: block;
}
.footer-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #47312F;
  font-size: 1rem;
  padding: 4px 0;
  font-family: 'Roboto', Arial, sans-serif;
  transition: color 0.18s, border-bottom 0.16s;
  border-radius: var(--radius-small);
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--color-accent);
  background: var(--color-secondary);
  text-decoration: none;
}
.footer-contact {
  font-size: 0.97rem;
  color: #47312F;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 5px;
  font-family: 'Roboto', Arial, sans-serif;
}
.footer-contact img {
  width: 16px;
  height: 16px;
  opacity: 0.75;
  margin-right: 6px;
  position: relative;
  top: 3px;
}

@media (max-width: 860px) {
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* =========== Responsive Design =========== */
@media (max-width: 1020px) {
  .container {
    padding-left: 13px;
    padding-right: 13px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .footer-logo img { height: 36px; }
  section, .hero, .success {
    padding: 26px 8px;
  }
}
@media (max-width: 768px) {
  section, .success, .hero {
    padding: 18px 0px;
    margin-bottom: 38px;
    border-radius: var(--radius-small);
  }
  .features-grid, .card-container, .content-grid {
    gap: 11px;
  }
  .features-grid, .content-grid, .card-container {
    flex-direction: column;
    align-items: stretch;
  }
  .testimonial-card,
  .faq-item {
    max-width: 100%;
  }
  .cta-section { padding: 18px 0; }
  .success { padding: 39px 0 52px 0; }
}

/* =========================== */
/*    Micro-Interactions      */
/* =========================== */
section, .testimonial-card, .card, .faq-item {
  transition: box-shadow 0.18s, background 0.13s, transform 0.17s;
}
button {
  transition: background 0.12s, box-shadow 0.14s, color 0.14s;
}
.cta, .cta.primary, .mobile-menu-toggle, .mobile-menu-close, .cookie-btn, .cookie-category-toggle {
  transition: background 0.14s, color 0.14s, box-shadow 0.17s, transform 0.13s;
}

/* =========================== */
/*   Cookie Consent Banner     */
/* =========================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  background: linear-gradient(96deg, #E0CBA4 70%, #F9EBEA 100%);
  color: #47312F;
  box-shadow: 0 -4px 28px 0 rgba(224,203,164,0.13);
  display: flex;
  flex-direction: column;
  z-index: 2000;
  padding: 24px 14px 18px 14px;
  align-items: center;
  font-size: 1rem;
  animation: fadein-bottom 0.5s;
}
@keyframes fadein-bottom { 0%{opacity:0; transform:translateY(60px);} 100%{opacity:1;transform:translateY(0);} }
.cookie-banner__text {
  margin-bottom: 17px;
  text-align: center;
  max-width: 600px;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 6px;
}
.cookie-btn {
  display: inline-block;
  border: none;
  border-radius: var(--radius-small);
  background: var(--color-primary);
  color: var(--color-secondary);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 9px 21px;
  cursor: pointer;
  margin: 0;
  transition: background .15s, color .15s, box-shadow .16s;
}
.cookie-btn.accept {
  background: #2C1C1B;
  color: #fff6ec;
}
.cookie-btn.reject {
  background: var(--color-accent);
  color: #fff;
}
.cookie-btn.settings {
  background: #FFF8ED;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: 0 4px 16px 0 rgba(140,167,176,.15);
  outline: none;
}
.cookie-btn.settings:hover { background: #E7F1F7; color: var(--color-primary); }
.cookie-btn.reject:hover { background: #c7ccd1; color: var(--color-primary); }
.cookie-btn.accept:focus, .cookie-btn.reject:focus, .cookie-btn.settings:focus {
  outline: 2px solid var(--color-accent);
}

/* Cookie Modal Popup */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(140, 167, 176, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein-bg 0.4s;
}
@keyframes fadein-bg { 0%{opacity:0;} 100%{opacity:1;} }
.cookie-modal {
  background: var(--color-white);
  color: var(--color-primary);
  border-radius: var(--radius);
  box-shadow: 0 12px 48px 0 rgba(71,49,47,0.11);
  max-width: 440px;
  width: 93vw;
  padding: 32px 26px 26px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  animation: fadein-bottom 0.55s;
  font-size: 1rem;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  cursor: pointer;
  border-radius: var(--radius-small);
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: var(--color-accent);
  color: #fff;
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 13px;
  font-family: 'Playfair Display', serif;
}
.cookie-modal p {
  font-size: 0.99rem;
  color: #47312F;
}
.cookie-categories {
  margin: 17px 0 18px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid #F3EDDF;
}
.cookie-category-label {
  flex: 1;
  font-weight: 600;
}
.cookie-category-toggle {
  appearance: none;
  border-radius: 20px;
  width: 40px; height: 22px;
  background: #e7e4da;
  position: relative;
  outline: none;
  margin-right: 0;
  cursor: pointer;
  border: 1px solid #c0bfaf;
  transition: background 0.14s;
  display: inline-block;
}
.cookie-category-toggle:checked {
  background: var(--color-accent);
}
.cookie-category-toggle:before {
  content: '';
  display: block;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 1px; left: 1px;
  box-shadow: 0 2px 4px 0 rgba(140,167,176,0.16);
  transition: left 0.15s;
}
.cookie-category-toggle:checked:before {
  left: 19px;
}
.cookie-category-info {
  font-size: 0.95rem;
  opacity: 0.68;
}
.cookie-category-essential {
  opacity: 0.5;
  pointer-events: none;
}
/* Cookie Modal Button Row */
.cookie-modal-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 13px;
}

@media (max-width: 520px) {
  .cookie-modal {
    max-width: 96vw;
    padding: 22px 5px 16px 5px;
  }
}

/* =========================== */
/*        Misc Elements        */
/* =========================== */
::-webkit-input-placeholder { color: #8CA7B0; }
::-moz-placeholder { color: #8CA7B0; }
:-ms-input-placeholder { color: #8CA7B0; }
::placeholder { color: #8CA7B0; }

hr {
  border: none;
  border-bottom: 1px solid #e7e2da;
  margin: 36px 0;
}

/* ========================== */
/*  Icon, SVG Soft Tint      */
/* ========================== */
img[alt*='icon'], img[src*='icon'] {
  filter: brightness(0.95) opacity(0.89) drop-shadow(0 2px 8px rgba(140,167,176,0.07));
}

/* =========================== */
/*         Accessibility       */
/* =========================== */
:focus-visible { outline: 2px dashed var(--color-accent); }

/* Hide elements accessible only */
.visually-hidden { position:absolute !important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }

/***********************************
  SOFT PASTEL Style: Cards & Blocks
***********************************/
.features-grid > div {
  flex: 1 1 220px;
  min-width: 180px;
  background: linear-gradient(103deg, #E7F1F7 10%, #F9EBEA 70%);
  border-radius: var(--radius);
  padding: 28px 22px 20px 22px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.19s, transform 0.14s, background 0.18s;
}
.features-grid > div:hover {
  background: #F1F8ED;
  box-shadow: 0 10px 32px 0 rgba(140,167,176,0.16);
  transform: translateY(-2px) scale(1.03);
}
.features-grid img {
  width: 36px;
  height: 36px;
  margin-bottom: 11px;
  filter: brightness(0.97) opacity(0.83);
}
.features-grid h3 {
  color: #47312F;
  font-size: 1.09rem;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  margin-bottom: 7px;
}
.features-grid p {
  color: #47312F;
  font-family: 'Roboto', Arial, sans-serif;
  text-align: center;
  font-size: 0.98rem;
}

/***********************************
         End of CSS
***********************************/