/* =========================================================
   CSS RESET & BASE TYPOGRAPHY
   ========================================================= */
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, menu, 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, 
main, 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, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F3F1E7;
  color: #263742;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
img, video { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
ul, ol { list-style: none; }
button { background: none; border: none; cursor: pointer; font: inherit; }

/* ===================================================================
   BRAND FONTS & CREATIVE ARTISTIC TYPE STYLE
   =================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Open+Sans:wght@400;600;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  color: #263742;
  line-height: 1.1;
}
h1 { font-size: 2.8rem; margin-bottom: 20px; letter-spacing: 0.02em; }
h2 { font-size: 2rem; margin-bottom: 16px; letter-spacing: 0.01em; }
h3 { font-size: 1.4rem; margin-bottom: 10px; font-weight: 700; color: #9B6336; letter-spacing: 0.03em; }
h4, h5, h6 { font-size: 1.1rem; }
p, li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #263742;
  margin-bottom: 12px;
  line-height: 1.8;
}
strong { color: #9B6336; font-weight: bold; }

/* ARTISTIC SPLASH & ACCENT COLORFUL ELEMENTS */
.accent-splash {
  background-color: #FFEAD5;
  border-radius: 3rem 1rem 3rem 1rem;
  padding: 8px 16px;
  display: inline-block;
  font-style: italic;
  color: #9B6336;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin-bottom: 10px;
}

/* =========================================================
   CONTAINERS & LAYOUTS (FLEXBOX ONLY)
   ========================================================= */
.container {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 25px;
  box-shadow: 0 2px 12px 0 rgba(38,55,66,0.10);
  padding: 28px;
  display: flex;
  flex-direction: column;
  min-width: 240px;
  transition: box-shadow 0.25s, transform 0.25s;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(155,99,54,0.12);
  transform: translateY(-6px) scale(1.05);
  z-index: 2;
}
.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-left: 8px solid #9B6336;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(38,55,66,0.10);
  font-style: italic;
  color: #263742;
  flex-direction: column;
  align-items: flex-start;
}
.testimonial-card p {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: #263742;
}
.testimonial-card span {
  font-size: 1rem;
  color: #9B6336;
  font-style: normal;
  font-weight: 600;
  margin-top: 12px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ---------------------------------------------------------------------------------------------------
   HEADER & NAVIGATION (Hamburger Mobile)
--------------------------------------------------------------------------------------------------- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 3px 16px 0 rgba(38,55,66,0.06);
  padding: 0;
  border-bottom: 1px solid #f3f1e7;
  position: sticky;
  top: 0;
  z-index: 1000;
}
header > .container {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: space-between;
  min-height: 72px;
}
header img {
  height: 48px;
  margin-right: 8px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
header nav a {
  padding: 10px 18px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.05rem;
  color: #263742;
  font-weight: 600;
  border-radius: 18px;
  position: relative;
  transition: background 0.16s, color 0.2s;
}
header nav a.button-primary, .button-primary {
  background: #9B6336;
  color: #fff;
  border-radius: 24px;
  font-family: 'Playfair Display', serif;
  font-weight: bold;
  font-size: 1.13rem;
  letter-spacing: 0.04em;
  padding: 12px 30px;
  box-shadow: 0 2px 8px 0 rgba(155,99,54,0.10);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
header nav a.button-primary:hover, .button-primary:hover {
  background: #263742;
  color: #fff;
  box-shadow: 0 6px 28px 0 rgba(38,55,66,0.10);
  transform: translateY(-2px) scale(1.04);
}
header nav a.active, header nav a:focus {
  background: #FFEAD5;
  color: #9B6336;
}

/* Secondary Button */
.button-secondary {
  background: #FFEAD5;
  color: #9B6336;
  padding: 12px 30px;
  font-family: 'Playfair Display', serif;
  border-radius: 22px;
  border: 2px solid #9B6336;
  font-weight: bold;
  transition: background 0.18s, color 0.18s, border 0.18s;
}
.button-secondary:hover {
  background: #9B6336;
  color: #fff;
  border: 2px solid #263742;
}

/* Hamburger Menu (Mobile) */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #9B6336;
  background: none;
  border: none;
  margin-left: auto;
  cursor: pointer;
  z-index: 1601;
  border-radius: 10px;
  padding: 4px 12px;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #FFEAD5;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #263742;
  color: #fff;
  z-index: 1600;
  padding: 36px 32px 32px 32px;
  transition: transform 0.45s cubic-bezier(.6,.05,.24,1), opacity 0.2s;
  transform: translateX(-104vw);
  opacity: 0;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2rem;
  align-self: flex-end;
  margin-bottom: 24px;
  background: none;
  color: #fff;
  padding: 6px 18px;
  border-radius: 8px;
  border: 2px solid transparent;
  z-index: 2000;
  transition: background 0.14s, border 0.14s, color 0.14s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #FFEAD5;
  color: #9B6336;
  border: 2px solid #9B6336;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 20px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.13rem;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.03em;
  padding: 16px;
  border-radius: 18px;
  font-weight: bold;
  background: transparent;
  transition: background 0.16s, color 0.18s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #FFEAD5;
  color: #9B6336;
}

/* Hide desktop nav on mobile, show mobile menu toggle */
@media (max-width: 990px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 990px) {
  .mobile-menu {
    padding: 32px 8vw 18px 8vw;
  }
}

/* =========================================================
   HERO SECTIONS & FEATURE GRIDS
   ========================================================= */
.hero {
  background: linear-gradient(110deg, #FFEAD5 75%, #9B6336 120%);
  border-bottom-left-radius: 84px 38px;
  border-bottom-right-radius: 130px 80px;
  margin-bottom: 60px;
  padding: 56px 0 46px 0;
  box-shadow: 0 6px 38px 0 rgba(38,55,66,0.08);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 16px;
  max-width: 700px;
}
.hero h1 {
  color: #9B6336;
  text-shadow: 0 4px 19px #fff3e6;
}
.hero p {
  font-size: 1.15rem;
  color: #263742;
  opacity: 0.95;
  margin-bottom: 18px;
}
.hero .button-primary {
  margin-top: 10px;
  font-size: 1.12rem;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: flex-start;
  margin: 20px 0 16px 0;
}
.feature-grid > div {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 8px 0 rgba(38,55,66,0.07);
  padding: 30px 24px;
  min-width: 225px;
  max-width: 270px;
  flex: 1 1 calc(33% - 24px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
  margin-bottom: 20px;
}
.feature-grid > div:hover {
  box-shadow: 0 10px 38px 0 rgba(155,99,54,0.13);
  transform: translateY(-4px) scale(1.03);
}
.feature-grid img {
  height: 54px;
  width: 54px;
  margin-bottom: 8px;
}
.feature-grid h3 {
  font-size: 1.11rem;
  color: #9B6336;
  font-family: 'Playfair Display', serif;
}

.cta {
  background: #263742;
  border-radius: 68px 0 64px 0;
  color: #fff;
  box-shadow: 0 5px 40px 0 rgba(38,55,66,0.13);
  padding: 60px 0 54px 0;
  margin-bottom: 0;
}
.cta h2, .cta p {
  color: #fff;
}
.cta .button-primary {
  background: #9B6336;
  color: #fff;
  border-radius: 27px;
  margin-top: 18px;
}

/* =====================
   TEXT-BLOCKS, FAQ, SECTION LISTS
   ===================== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
  max-width: 700px;
}
.text-section ul, .content-wrapper ul {
  list-style: disc inside;
  margin-left: 14px;
  color: #263742;
  font-size: 1rem;
  margin-bottom: 20px;
  padding-left: 10px;
}
.text-section ul li, .content-wrapper ul li {
  margin-bottom: 8px;
  padding-left: 4px;
}
.text-section a, .content-wrapper ul a {
  color: #9B6336;
  text-decoration: underline;
  transition: color 0.22s;
}
.text-section a:hover, .content-wrapper ul a:hover {
  color: #263742;
}

/* =====================
   FOOTER
   ===================== */
footer {
  background: #263742;
  color: #fff;
  padding: 44px 0 32px 0;
  box-shadow: 0 -2px 22px 0 rgba(38,55,66,0.10);
}
footer > .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
footer img {
  height: 38px;
  margin-bottom: 10px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 10px;
}
footer nav a {
  color: #FFEAD5;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.22s;
  padding: 4px 10px;
  border-radius: 3px;
}
footer nav a:hover {
  color: #9B6336;
  background: #fff;
}
footer p {
  font-size: 0.97rem;
  color: #dbe4e8;
  margin-top: 8px;
}

/* =============================================================
   COOKIE CONSENT BANNER
   ============================================================= */
#cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 24px;
  z-index: 1700;
  background: #fff;
  color: #263742;
  border-radius: 22px;
  box-shadow: 0 4px 24px 0 rgba(38,55,66,0.13);
  padding: 28px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 480px;
  margin: 0 auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s cubic-bezier(.3,1.2,.3,1);
}
#cookie-banner.visible {
  opacity: 1;
  pointer-events: all;
}
#cookie-banner .cookie-btn-row {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}
#cookie-banner button {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  border-radius: 18px;
  padding: 10px 18px;
  font-size: 0.99rem;
  cursor: pointer;
  margin-right: 0;
  margin-bottom: 0;
  border: 2px solid transparent;
  transition: background 0.18s, color 0.18s, border 0.15s;
}
#cookie-banner .accept {
  background: #9B6336;
  color: #fff;
}
#cookie-banner .accept:hover, #cookie-banner .accept:focus {
  background: #263742;
  color: #fff;
  border-color: #263742;
}
#cookie-banner .reject {
  background: #FFEAD5;
  color: #9B6336;
  border: 2px solid #9B6336;
}
#cookie-banner .reject:hover, #cookie-banner .reject:focus {
  background: #9B6336;
  color: #fff;
}
#cookie-banner .settings {
  background: #fff;
  color: #263742;
  border: 2px solid #263742;
}
#cookie-banner .settings:hover, #cookie-banner .settings:focus {
  background: #263742;
  color: #fff;
}

/* Cookie modal/popup */
#cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(38,55,66,0.45);
  z-index: 1701;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
#cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 30px;
  padding: 38px 28px 30px 28px;
  max-width: 440px;
  width: 94vw;
  box-shadow: 0 8px 48px 0 rgba(155,99,54,0.15);
  color: #263742;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  padding: 6px 0;
}
.cookie-category .toggle {
  width: 48px;
  height: 28px;
  border-radius: 16px;
  background: #FFEAD5;
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-category .toggle.checked {
  background: #9B6336;
}
.cookie-category .toggle-inner {
  display: inline-block;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 4px;
  top: 3px;
  transition: left 0.22s cubic-bezier(.5,1.3,.32,1);
  box-shadow: 0 2px 6px rgba(38,55,66,0.13);
}
.cookie-category .toggle.checked .toggle-inner {
  left: 22px;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}
.cookie-modal-actions button {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  border-radius: 18px;
  padding: 10px 18px;
  font-size: 0.99rem;
  cursor: pointer;
}
.cookie-modal-actions .save {
  background: #9B6336;
  color: #fff;
  border: 2px solid #9B6336;
  transition: background 0.14s, color 0.14s, border 0.14s;
}
.cookie-modal-actions .save:hover, .cookie-modal-actions .save:focus {
  background: #263742;
  color: #fff;
  border-color: #263742;
}
.cookie-modal-actions .cancel {
  background: #fff;
  border: 2px solid #263742;
  color: #263742;
  transition: background 0.18s, color 0.18s;
}
.cookie-modal-actions .cancel:hover, .cookie-modal-actions .cancel:focus {
  background: #263742;
  color: #fff;
}

/* =========================================================
   ARTISTIC MICRO ANIMATIONS & INTERACTIONS
   ========================================================= */
.button-primary, .button-secondary, .mobile-menu-toggle, .mobile-menu-close, .cookie-modal-actions button, #cookie-banner button {
  transition: background 0.16s, color 0.18s, box-shadow 0.15s, transform 0.17s;
}
.button-primary:active, .button-secondary:active,
#cookie-banner button:active, .cookie-modal-actions button:active {
  transform: scale(0.97);
}
.card, .feature-grid > div, .testimonial-card {
  transition: box-shadow 0.17s, transform 0.2s;
}
.card:active, .feature-grid > div:active, .testimonial-card:active {
  transform: scale(0.99);
}

/* =========================================================
   RESPONSIVE DESIGN (FLEXBOX ONLY, MOBILE FIRST!)
   ========================================================= */
@media (max-width: 1180px) {
  .container { max-width: 1000px; }
}
@media (max-width: 990px) {
  .container { max-width: 94vw; }
  .hero { padding: 34px 0 34px 0; border-radius: 44px 44px 80px 62px; }
  .cta { border-radius: 54px 0 46px 0; padding: 40px 0 36px 0; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.05rem; }
  .section { margin-bottom: 42px; padding: 28px 6px; }
  .hero { padding: 28px 0 18px 0; border-radius: 24px 24px 44px 32px; }
  .cta { border-radius: 34px 0 32px 0; padding: 28px 0 24px 0; }
  .content-wrapper { gap: 16px; }
  .card-container, .feature-grid, .content-grid { flex-direction: column; gap: 20px; }
  .feature-grid > div { max-width: 100%; align-items: flex-start; }
  .testimonial-card { padding: 14px 10px; }
  .footer .container, footer .container { gap: 10px; }
  .mobile-menu { padding: 28px 10px 15px 10px; }
}
@media (max-width: 540px) {
  .hero .content-wrapper { padding: 0 5px; }
  .feature-grid > div { padding: 22px 12px; }
}

/* For all .text-image-section, force column on mobile for better stack */
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 18px; }
}

/* =========================================================
   MISC. UTILS + CREATIVE SHADE ELEMENTS
   ========================================================= */
::-webkit-scrollbar { width:10px; background: #f3f1e7; }
::-webkit-scrollbar-thumb { background: #FFEAD5; border-radius: 6px; }
::selection { background: #FFEAD5; color: #263742; }

/* ARTISTIC SHADOW SPLASHES (for big cards, hero/cta blocks) */
.hero, .cta, .feature-grid > div, .card {
  position: relative;
  overflow: visible;
}
.hero::before, .cta::before {
  content: '';
  display: block;
  position: absolute;
  z-index: 0;
  left: 0; top: 0;
  width: 140px; height: 92px;
  background: #FFEAD5;
  border-radius: 44% 68% 30% 58%;
  opacity: 0.23;
  filter: blur(2px);
}
.hero::before { left: -44px; top: -24px; }
.cta::before { right: -66px; left: auto; top: -32px; }

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