/* --------------------------------------------------------
   CSS RESET & NORMALIZE (MOBILE-FIRST)
-------------------------------------------------------- */
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;
}

html {
  scroll-behavior: smooth;
  background: #FBF7F1;
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #3B2F1C;
  background: #FBF7F1;
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  position: relative;
  overscroll-behavior: none;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #7D6651;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #3B2F1C;
  text-decoration: underline;
}
strong {
  font-weight: bold;
}
ul, ol {
  margin: 0 0 16px 24px;
}
li {
  margin-bottom: 8px;
  font-size: 16px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* --------------------------------------------------------
   BRAND FONTS
-------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: #3B2F1C;
  font-weight: 700;
  letter-spacing: 0.03em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.375rem; margin-bottom: 16px; }
h4 { font-size: 1.2rem; margin-bottom: 12px; }

p, li, blockquote {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
}

blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-style: italic;
  background: #FFFDEB;
  border-left: 4px solid #E6DCC2;
  margin: 0 0 16px 0;
  padding: 12px 16px;
  color: #3B2F1C;
  border-radius: 4px;
}

.subheadline { font-size: 1.15rem; color: #7D6651; margin-bottom: 18px; font-weight: 500; }

/* --------------------------------------------------------
   COLOR VARIABLES
-------------------------------------------------------- */
:root {
  --color-primary: #3B2F1C;
  --color-secondary: #7D6651;
  --color-accent: #E6DCC2;
  --color-bg: #FBF7F1;
  --color-error: #bc373e;
  --color-success: #4ba552;
}

.bg-accent {
  background: var(--color-accent);
}

/* --------------------------------------------------------
   CREATIVE ARTISTIC THEME
-------------------------------------------------------- */
body {
  /* Touch of warmth for artistic flavor */
  background: linear-gradient(135deg, #FBF7F1 85%, #e1c9a3 100%);
}

.section {
  background: #fffdf5;
  border-radius: 36px 12px 36px 12px;
  box-shadow: 0 4px 24px 0 rgba(61, 47, 28, 0.05);
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: 1110px;
  margin: 0 auto;
  padding: 0 14px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* ---- Artistic details (decorative shapes) ---- */
.section::before {
  content: '';
  position: absolute;
  top: -32px; left: -24px;
  width: 78px; height: 48px;
  background: rgba(230, 220, 194,0.35);
  border-radius: 48% 52% 45% 55% / 54% 44% 56% 46%;
  z-index: 0;
  pointer-events: none;
}
.section::after {
  content: '';
  position: absolute;
  right: -30px; bottom: -24px;
  width: 56px; height: 28px;
  background: rgba(125, 102, 81,0.14);
  border-radius: 51% 49% 49% 51%;
  z-index: 0;
  pointer-events: none;
}

/* --------------------------------------------------------
   HEADER, NAVIGATION & BURGER MENU
-------------------------------------------------------- */
header {
  width: 100%;
  background: #FFF;
  box-shadow: 0 2px 14px rgba(61,47,28,0.04);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 14px;
}
.main-nav {
  display: none;
  flex-direction: row;
  gap: 24px;
}
.main-nav a {
  font-family: 'Playfair Display', serif;
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--color-secondary);
  position: relative;
  transition: color 0.2s;
}
.main-nav a::after {
  content: '';
  display: block;
  height: 3px;
  background: var(--color-accent);
  width: 0;
  transition: width 0.3s;
  margin-top: 2px;
  border-radius: 4px;
}
.main-nav a:hover::after,
.main-nav a:focus::after {
  width: 100%;
}
.main-nav a:hover {
  color: var(--color-primary);
}

.cta-primary {
  background: var(--color-secondary);
  color: #fff !important;
  font-family: 'Playfair Display', serif;
  font-size: 1.11rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 8px 24px 16px 32px;
  padding: 13px 32px;
  box-shadow: 0 2px 20px 0 rgba(61, 47, 28, 0.08);
  transition: background 0.19s, color 0.19s, box-shadow 0.15s, transform 0.13s;
  cursor: pointer;
  position: relative;
  z-index: 3;
  text-shadow: none;
  outline: none;
}
.cta-primary:hover,
.cta-primary:focus {
  background: var(--color-primary);
  color: var(--color-accent) !important;
  box-shadow: 0 4px 22px 0 rgba(60, 45, 28, 0.15);
  transform: translateY(-1px) scale(1.03);
}

.mobile-menu-toggle {
  background: var(--color-accent);
  border: none;
  border-radius: 40px;
  font-size: 2rem;
  color: var(--color-primary);
  padding: 5px 14px 4px 14px;
  margin-left: 8px;
  cursor: pointer;
  line-height: 1;
  transition: background 0.16s, color 0.16s;
  z-index: 97;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-secondary);
  color: #fff;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: rgba(59,47,28,0.82);
  z-index: 98;
  transform: translateX(100vw);
  transition: transform 0.35s cubic-bezier(.4,.1,.8,1), opacity 0.25s;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: var(--color-accent);
  color: var(--color-primary);
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  align-self: flex-end;
  margin: 18px 24px 0 0;
  cursor: pointer;
  z-index: 101;
  transition: background 0.14s, color 0.12s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-secondary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 50px 32px 32px 32px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  color: var(--color-accent);
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 8px 6px;border-radius:6px;
  background: transparent;
  width: fit-content;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: #fff;
}

@media (min-width: 1025px) {
  .main-nav {
    display: flex;
    flex-direction: row;
    gap: 32px;
  }
  .mobile-menu-toggle {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}

/* --------------------------------------------------------
   HERO & SECTIONS (ARTISTIC)
-------------------------------------------------------- */
.hero {
  background: var(--color-accent);
  border-radius: 42px 12px 38px 12px;
  box-shadow: 0 6px 32px 0 rgba(61, 47, 28, 0.08);
  margin-top: 22px;
  text-align: left;
  padding: 58px 20px 70px 20px;
  position: relative;
}
.hero h1 {
  font-size: 2.7rem;
  color: var(--color-primary);
  margin-bottom: 18px;
}
.hero .subheadline {
  color: var(--color-secondary);
  margin-bottom: 30px;
}
.hero .cta-primary {
  margin-top: 12px;
}

@media (min-width: 768px) {
  .hero {
    padding: 74px 40px 84px 42px;
  }
  .hero h1 { font-size: 3.4rem; }
}

/* Features & Value Cards */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  padding: 0;
  margin-top: 18px;
  margin-bottom: 18px;
  list-style: none;
}
.feature-grid li {
  flex: 1 1 220px;
  background: #fff;
  border-radius: 20px 6px 24px 10px;
  box-shadow: 0 2px 14px rgba(125,102,81,0.06);
  padding: 28px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 200px;
  max-width: 344px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  border-left: 5px solid var(--color-accent);
  transition: border 0.2s, box-shadow 0.18s, transform 0.18s;
}
.feature-grid li:hover {
  border-left: 10px solid var(--color-secondary);
  box-shadow: 0 6px 28px rgba(61,47,28,0.11);
  transform: translateY(-3px) scale(1.02);
}
.feature-grid img {
  width: 42px;
  height: 42px;
}
.feature-grid strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.19rem;
  font-weight: 700;
  color: var(--color-primary);
}
.feature-grid p {
  font-size: 0.99rem;
  color: var(--color-secondary);
}

/* -----------------------------------------------
   CONTENT LAYOUTS   (use only flex)
----------------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px 5px 18px 9px;
  box-shadow: 0 2px 14px rgba(61,47,28,0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 22px 18px;
}
.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;
  padding: 20px;
  background: #fff;
  border-radius: 14px 28px 14px 6px;
  box-shadow: 0 2px 18px 0 rgba(61,47,28,0.07);
  margin-bottom: 20px;
}
.testimonial-card blockquote {
  background: #faf6ee;
  color: #302415;
  border-left: 4px solid var(--color-accent);
  font-size: 1.15rem;
}
.testimonial-author {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: #654323;
  margin-left: 8px;
  font-style: italic;
  flex-shrink: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  margin: 14px 0 0 0;
}

/* -----------------------------------------------
   SPECIAL ARTISTIC VISUAL DETAILS
----------------------------------------------- */
.section, .card, .feature-grid li, .testimonial-card {
  box-shadow: 0 2px 12px 0 rgba(200, 185, 140, 0.05), 0 0.5px 2px 0 rgba(61, 47, 28, 0.04);
  border-radius: 24px 8px 20px 8px;
}

.section h2, .card strong, .feature-grid strong, .testimonial-author, .footer-brand strong {
  font-family: 'Playfair Display', serif;
  color: var(--color-primary);
}

/* Artistic Font Touches */
h1, h2 {text-shadow: 0 2px 0 rgba(230, 220, 194,0.13);}

/* ---------------------------------------------------------
   ABOUT & VALUES
--------------------------------------------------------- */
.values ul {
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-bottom: 10px;
}
.values li {
  background: #FFFAF0;
  padding: 12px 14px;
  border-left: 5px solid var(--color-secondary);
  border-radius: 10px 5px 13px 5px;
  color: #3B2F1C;
  font-size: 1.04rem;
}

/* --------------------------------------------------------
   MAP PLACEHOLDER
-------------------------------------------------------- */
.map-placeholder {
  width: 100%;
  min-height: 180px;
  padding: 18px;
  background: #e6dcc273;
  border: 2px dashed var(--color-secondary);
  border-radius: 16px 32px 12px 24px;
  color: #493d25;
  font-family: 'Roboto', sans-serif;
  font-size: 1.08rem;
  margin-bottom: 12px;
}

/* --------------------------------------------------------
   FOOTER
-------------------------------------------------------- */
footer {
  background: var(--color-accent);
  padding: 24px 0; 
  box-shadow: 0 -2px 12px 0 rgba(61,47,28,0.041);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.footer-nav a {
  color: var(--color-primary);
  font-size: 15px;
  font-weight: 500;
  opacity: 0.87;
  letter-spacing: 0.03em;
  transition: color 0.13s;
}
.footer-nav a:hover {
  color: var(--color-secondary);
  opacity: 1;
}
.footer-brand {
  font-size: 15px;
  color: #5c492a;
  opacity: 0.97;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: 'Roboto', sans-serif;
}
.footer-brand img {
  vertical-align: middle;
  width: 20px;
  height: 20px;
  margin-right: 6px;
  display: inline-block;
}
/* --------------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
-------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fffdf5;
  color: #3B2F1C;
  border-top: 2px solid var(--color-accent);
  box-shadow: 0 -4px 18px 0 rgba(61,47,28,0.08);
  padding: 22px 20px 18px 20px;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  animation: bannerIn 0.6s cubic-bezier(.32,.57,.72,1.09);
}
@keyframes bannerIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  margin-bottom: 3px;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 7px;
}
.cookie-banner button,.cookie-banner .btn {
  border: none;
  outline: none;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  border-radius: 8px 18px 8px 18px;
  padding: 8px 22px;
  cursor: pointer;
  transition: background 0.16s, color 0.17s, border 0.13s, box-shadow 0.15s;
  margin: 0;
}
.cookie-banner .accept {
  background: var(--color-success);
  color: #fff;
  font-weight: 700;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #33903a;
}
.cookie-banner .reject {
  background: var(--color-error);
  color: #fff;
  font-weight: 700;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #a02a31;
}
.cookie-banner .settings {
  background: var(--color-accent);
  color: var(--color-primary);
  font-weight: 500;
  border: 1px solid var(--color-secondary);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--color-secondary);
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  background: rgba(59,47,28,0.82);
  z-index: 4102;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  min-width: 90vw;
  max-width: 430px;
  background: #fffdf5;
  border-radius: 18px 32px 12px 16px;
  box-shadow: 0 12px 40px 0 rgba(61,47,28,0.06);
  z-index: 4104;
  padding: 36px 24px 22px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalIn 0.4s cubic-bezier(.3,.63,.71,1.05);
}
@keyframes modalIn {
  from { transform: scale(0.91); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: var(--color-accent);
  border: none;
  color: var(--color-primary);
  border-radius: 50%;
  font-size: 1.5rem;
  width: 34px;
  height: 34px;
  cursor: pointer;
  z-index: 4200;
  transition: background 0.15s, color 0.13s;
}
.cookie-modal-close:focus, .cookie-modal-close:hover {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8f4ea;
  border-radius: 9px 18px 8px 12px;
  padding: 10px 8px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-secondary);
  width: 18px;
  height: 18px;
  margin-right: 7px;
}
.cookie-category.essential label {
  color: #7D6651; font-weight: 700; opacity: 0.8;
}
.cookie-category.essential input[type="checkbox"] {
  accent-color: var(--color-secondary);
}
.cookie-modal .cookie-modal-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 8px;
}
.cookie-modal .accept, .cookie-modal .reject, .cookie-modal .save {
  font-family: 'Roboto', sans-serif;
  border: none;
  border-radius: 8px 18px 8px 18px;
  padding: 8px 26px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}
.cookie-modal .accept { background: var(--color-success); color: #fff; }
.cookie-modal .save { background: var(--color-secondary); color: #fff; }
.cookie-modal .accept:hover, .cookie-modal .accept:focus {
  background: #33903a;
}
.cookie-modal .save:hover, .cookie-modal .save:focus {
  background: var(--color-primary);
}

/* ---------------------------------------------
   THANK YOU / ERROR / ALERT CLASSES
--------------------------------------------- */
.alert-success { background: #eafbe9; color: #36823b; border-left: 4px solid #4ba552; padding: 12px 14px; border-radius: 10px; }
.alert-error { background: #fbecec; color: #bc373e; border-left: 4px solid #bc373e; padding: 12px 14px; border-radius: 10px; }

/************************************************
      RESPONSIVE LAYOUTS - MOBILE FIRST
************************************************/
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  header .container {
    flex-direction: row;
    gap: 10px;
    padding: 10px 6px;
  }
  .cta-primary  {
    padding: 10px 18px;
    font-size: 1rem;
  }
  .section {
    padding: 26px 10px;
    border-radius: 20px 10px 20px 10px;
  }
  .feature-grid {
    gap: 16px;
  }
  .feature-grid li {
    max-width: 100%;
    min-width: 120px;
    padding: 17px 10px 15px 12px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    padding: 15px 10px;
  }
  .footer-nav {
    gap: 10px;
    font-size: 13px;
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  section,.section, .hero {
    padding: 28px 4vw;
  }
  .content-wrapper {
    gap: 16px;
    padding: 0;
  }
  .card-container, .content-grid, .feature-grid {
    gap: 12px;
  }
  .feature-grid {
    flex-direction: column;
    align-items: stretch;
  }
  .feature-grid li {
    width: 100%;
    max-width: none;
    min-width: 0;
    margin-bottom: 14px;
    border-left-width: 3px;
  }
  .card {
    padding: 14px 8px;
    border-radius: 14px 4px 10px 5px;
    margin-bottom: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  .testimonial-card {
    padding: 10px 6px;
    border-radius: 10px 14px 6px 9px;
  }
  .mobile-nav {
    padding: 40px 14px 18px 14px;
  }
  .footer-brand {
    font-size: 13px;
    gap: 3px;
  }
  .cookie-banner {
    padding: 16px 6px 10px 10px;
  }
  .cookie-modal {
    min-width: 98vw;
    padding: 18px 7vw 16px 7vw;
  }
}

/************************************************
   MICRO-INTERACTIONS & BUTTON EFFECTS
************************************************/
button, .cta-primary, .cookie-banner button, .cookie-modal button, .btn {
  outline: none;
}
button:focus-visible, .cta-primary:focus-visible, .cookie-banner button:focus-visible, .cookie-modal button:focus-visible {
  box-shadow: 0 0 0 3px #E6DCC2;
}

/* Simple fade or slide for content blocks */
.fade-in { animation: fadeIn 0.8s ease; }
@keyframes fadeIn { from{opacity:0; transform:translateY(22px);} to{opacity:1;transform:none;} }

/************************************************
   FORM ELEMENTS (if any are used)
************************************************/
input, textarea, select {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  padding: 8px 11px;
  border: 1.5px solid #ddd4be;
  border-radius: 8px 18px 8px 18px;
  background: #fffcf4;
  margin-bottom: 18px;
  outline: none;
  transition: border 0.15s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--color-secondary);
}
label {
  font-size: 1rem;
  color: #563c1f;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 5px;
}

/***************************************************
   MISC: UTILITIES, OVERFLOW, ETC.
***************************************************/
::-webkit-scrollbar { width: 6px; background: #ede0c2; }
::-webkit-scrollbar-thumb { background: #7D6651; border-radius: 4px; }

.hide { display: none !important; }

/* Prevent accidental text overlap in all cards */
.card, .feature-grid li, .testimonial-card {
  word-break: break-word;
  overflow-wrap: break-word;
}

/***************************************************
   PRINT & ACCESSIBILITY UTILS
***************************************************/
@media print {
  header, footer, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  main { margin: 0; }
}
