/* --- CSS 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;
}
html {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #FFF6E6;
}
*,*:before,*:after { box-sizing: inherit; }
body {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  color: #4B2A15;
  background: #FFF6E6;
  line-height: 1.6;
  min-height: 100vh;
  scroll-behavior: smooth;
}
ul, ol { padding-left: 1.2em; }
a { color: #C76C38; text-decoration: none; transition: color 0.18s; }
a:hover, a:focus { color: #A34A28; text-decoration: underline; outline: none; }
img {
  max-width: 100%;
  display: block;
}
button, [type=button], [type=submit] {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}

/* --- BRAND COLORS & FONTS --- */
:root {
  --brand-primary: #C76C38;
  --brand-accent: #FFF6E6;
  --brand-secondary: #A34A28;
  --brand-display: 'Quicksand', 'Montserrat', Arial, sans-serif;
  --brand-body: 'Montserrat', Arial, sans-serif;
  --dark-text: #523824;
  --light: #FFFFFF;
  --shadow-lg: 0 8px 32px 0 rgba(173,94,32,0.12);
  --shadow-md: 0 3px 12px 0 rgba(173,94,32,0.10);
  --shadow-sm: 0 1.5px 6px 0 rgba(173,94,32,0.07);
  --radius-xl: 28px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --transition-fast: 0.15s cubic-bezier(.71,1.7,.77,1.24);
  --transition-mid: 0.28s cubic-bezier(.6,.35,.45,1.41);
  --focus-outline: 2px solid var(--brand-primary);
}

/* --- TYPOGRAPHY --- */
h1, .h1 {
  font-family: var(--brand-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--brand-primary);
  letter-spacing: -1px;
  margin-bottom: 20px;
  line-height: 1.13;
}
@media (min-width: 600px) {
  h1, .h1 { font-size: 3.2rem; }
}
h2, .h2 {
  font-family: var(--brand-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-secondary);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  line-height: 1.18;
}
@media (min-width: 600px) {
  h2, .h2 { font-size: 2.4rem; }
}
h3, .h3 {
  font-family: var(--brand-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}
h4, .h4 { font-size: 1.15rem; font-family: var(--brand-display); font-weight: 600; margin-bottom: 8px; }
.subheadline {
  font-family: var(--brand-body);
  font-size: 1.125rem;
  color: var(--brand-secondary);
  margin-bottom: 22px;
  margin-top: -8px;
  font-style: italic;
  line-height: 1.5;
}
p, ul, ol, li {
  font-size: 1rem;
  color: var(--dark-text);
}
strong { color: var(--brand-secondary); font-weight: 700; }

/* --- CONTAINERS & LAYOUTS --- */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}

header {
  width: 100%;
  background: var(--brand-accent);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 16px;
}
.logo {
  padding: 0;
  display: flex;
  align-items: center;
}
.logo img { height: 50px; width: auto; }

.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: var(--brand-display);
  font-weight: 600;
  font-size: 1.01rem;
  color: var(--brand-secondary);
  padding: 7px 0;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--brand-primary);
  color: var(--light);
  outline: none;
}
.cta-btn {
  font-family: var(--brand-display);
  font-weight: 700;
  font-size: 1rem;
  background: var(--brand-primary);
  color: var(--light);
  border-radius: var(--radius-md);
  padding: 11px 30px;
  margin-left: 10px;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--brand-primary);
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform 0.18s;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--light);
  color: var(--brand-primary);
  border-color: var(--brand-primary);
  outline: none;
  transform: translateY(-1.5px) scale(1.045) rotate(-1deg);
  box-shadow: var(--shadow-lg);
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: flex;
  background: var(--brand-primary);
  color: var(--light);
  border-radius: var(--radius-md);
  font-size: 2rem;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-left: 14px;
  transition: background var(--transition-mid);
  z-index: 99;
  border: none;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--brand-secondary);
  color: var(--light);
  outline: var(--focus-outline);
}
@media (min-width: 900px) {
  .mobile-menu-toggle { display: none; }
}

.mobile-menu {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(255,246,230,0.98);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 64px;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.7,1.22,.34,1);
  will-change: transform;
  width: 100vw;
  height: 100vh;
  box-shadow: var(--shadow-lg);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 24px;
  background: var(--brand-primary);
  color: var(--light);
  width: 44px;
  height: 44px;
  border-radius: 32px;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: background var(--transition-mid);
  z-index: 2001;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--brand-secondary);
  color: var(--light);
  outline: var(--focus-outline);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  margin-top: 28px;
}
.mobile-nav a {
  font-family: var(--brand-display);
  font-size: 1.23rem;
  color: var(--brand-secondary);
  font-weight: 700;
  padding: 10px 26px;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-primary);
  color: var(--light);
  outline: none;
}
@media (min-width: 900px) {
  .mobile-menu { display: none !important; }
}
@media (max-width: 899px) {
  .main-nav, .cta-btn { display: none; }
  header .container { padding-right: 0; }
}

/* --- PAGE SECTIONS & LAYOUT --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  width: 100%;
  position: relative;
}
section:last-of-type { margin-bottom: 0; }
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  justify-content: center;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  justify-content: flex-start;
  margin-top: 16px;
}
.feature-grid > div {
  background: var(--light);
  border-radius: var(--radius-xl);
  padding: 28px 20px 20px 20px;
  box-shadow: var(--shadow-md);
  flex: 1 1 260px;
  min-width: 220px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  position: relative;
  transition: box-shadow 0.24s, transform 0.20s;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px) scale(1.035) rotate(-1.3deg);
  z-index: 1;
}
.feature-grid img {
  width: 46px; height: 46px;
  object-fit: contain;
  margin-bottom: 12px;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 4px 0 rgba(179,89,38,0.12);
  background: var(--brand-accent);
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  font-size: 1.05rem;
}

.text-section ul, .content-wrapper.text-section ul { margin-bottom: 8px; }
.text-section ul li {
  margin-bottom: 5px;
  font-size: 1rem;
  color: var(--brand-secondary);
  position: relative;
  padding-left: 18px;
}
.text-section ul li:before {
  content: '●';
  position: absolute;
  left: 0;
  color: var(--brand-primary);
  font-size: 0.9em;
  top: 1px;
}

/* --- CARDS & CARD CONTAINER --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.card {
  background: var(--light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
  padding: 26px 18px;
  position: relative;
  transition: box-shadow 0.22s, transform 0.21s;
  min-width: 210px;
}
.card:hover, .card:focus-within {
  box-shadow: var(--shadow-lg);
  transform: scale(1.03) translateY(-4px) rotate(-0.9deg);
  z-index: 1;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: stretch;
}
.text-image-section {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- TESTIMONIALS --- */
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 17px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--light);
  border-radius: var(--radius-md) var(--radius-xl) var(--radius-sm) var(--radius-md);
  box-shadow: var(--shadow-md);
  max-width: 350px;
  min-width: 230px;
  margin-bottom: 20px;
  border-left: 5px solid var(--brand-primary);
  border-bottom: 2.5px solid var(--brand-primary);
  transition: box-shadow 0.20s;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #503520;
}
.testimonial-card .customer {
  color: var(--brand-secondary);
  font-size: 1rem;
  font-style: italic;
  font-family: var(--brand-display);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  background: var(--brand-accent);
}

/* --- FOOTER --- */
footer {
  background: var(--brand-accent);
  border-top: 2.5px dashed var(--brand-primary);
  padding: 32px 0 16px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: center;
  font-size: 1.01rem;
  margin-bottom: 8px;
}
.footer-nav a {
  color: var(--brand-secondary);
  transition: color var(--transition-fast);
}
.footer-nav a:hover, .footer-nav a:focus { color: var(--brand-primary); }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--brand-secondary);
  opacity: 0.93;
  margin-top: 2px;
}
.footer-brand img {
  height: 32px;
  width: auto;
  display: inline-block;
}

/* --- BUTTONS & INTERACTIONS --- */
button,
.cta-btn {
  cursor: pointer;
  outline: none;
  font-family: var(--brand-display);
}
button:active, .cta-btn:active {
  box-shadow: 0 1px 1px 0 rgba(173,94,32,0.10);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--brand-accent);
  color: var(--brand-secondary);
  box-shadow: 0 -7px 28px 0 rgba(173,94,32,.15);
  border-top: 3px solid var(--brand-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 4000;
  padding: 22px 8px 20px 8px;
  font-size: 1.06rem;
  animation: cookiebanner-slidein 0.6s cubic-bezier(.71,1.7,.77,1.24);
}
@keyframes cookiebanner-slidein {
  from { transform: translateY(110%); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
  justify-content: center;
}
.cookie-consent-banner button {
  background: var(--brand-primary);
  color: var(--light);
  border: none;
  border-radius: var(--radius-md);
  padding: 8px 22px;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  box-shadow: var(--shadow-sm);
  transition: background 0.18s, color 0.16s;
}
.cookie-consent-banner button:hover, .cookie-consent-banner button:focus {
  background: var(--brand-secondary);
  outline: var(--focus-outline);
}
.cookie-consent-banner .cookie-settings-btn {
  background: var(--light);
  color: var(--brand-secondary);
  border: 1.5px solid var(--brand-primary);
}
.cookie-consent-banner .cookie-settings-btn:hover,
.cookie-consent-banner .cookie-settings-btn:focus {
  background: var(--brand-accent);
  color: var(--brand-primary);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; right:0; top: 0; bottom: 0;
  background: rgba(0,0,0,0.32);
  z-index: 4500;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: cookie-modal-fadein 0.35s cubic-bezier(.52,1.33,.55,.96);
}
@keyframes cookie-modal-fadein {
  from { opacity:0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: var(--brand-accent);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 34px 22px 28px 22px;
  min-width: 320px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  position: relative;
}
.cookie-modal-content h3 {
  font-family: var(--brand-display);
  font-size: 1.27rem;
  margin-bottom: 8px;
  color: var(--brand-primary);
}
.cookie-modal-content ul { margin-bottom: 8px; }
.cookie-modal-content ul li {
  font-size: 0.97rem;
  color: var(--brand-secondary);
  margin-bottom: 4px;
}
.cookie-modal-content .cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 7px;
}
.cookie-modal-content .cookie-switch {
  appearance: none;
  width: 36px; height: 20px;
  border-radius: 16px;
  background: #e2c3af;
  transition: background 0.16s;
  position: relative;
  outline: none;
  cursor: pointer;
  margin-right: 2px;
}
.cookie-modal-content .cookie-switch:checked {
  background: var(--brand-primary);
}
.cookie-modal-content .cookie-switch:before {
  content: '';
  position: absolute;
  left: 3px; top: 2.5px;
  width: 15px; height: 15px;
  background: #FFF;
  border-radius: 11px;
  transition: transform 0.16s;
  box-shadow: 0 0.5px 2px rgba(0,0,0,0.10);
}
.cookie-modal-content .cookie-switch:checked:before {
  transform: translateX(15px);
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 17px;
  background: transparent;
  font-size: 1.3rem;
  color: var(--brand-secondary);
  border: none;
  padding: 2px 6px;
  border-radius: 5px;
  transition: background .15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #ffefd5;
  color: var(--brand-primary);
}
.cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}
.cookie-modal-content .cookie-note {
  color: #75441d; font-size: 0.95rem; font-style: italic; margin-top: 5px;
}

/* --- FORMS --- */
input, textarea, select {
  font-family: var(--brand-body);
  font-size: 1rem;
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  border: 1.5px solid #edc19f;
  background: #FFF;
  margin-bottom: 11px;
  color: #523824;
  box-shadow: 0 1px 4px 0 rgba(173,94,32,0.05);
  width: 100%;
  transition: border-color .15s;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--brand-primary);
}
label { font-size: 1rem; margin-bottom: 5px; display: block; font-weight: 600; color: var(--brand-primary);}

/* --- SPACING --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- RESPONSIVENESS --- */
@media (max-width: 900px) {
  .feature-grid, .testimonial-grid, .card-container, .content-grid {
    gap: 20px;
    justify-content: center;
  }
  .feature-grid > div, .testimonial-card, .card {
    min-width: 80vw;
    max-width: 97vw;
    width: 100%;
  }
  .footer-brand { flex-direction: column; gap: 3px; }
  header .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 768px) {
  h1, .h1 { font-size: 1.85rem; }
  h2, .h2 { font-size: 1.32rem; }
  section, .section {
    padding: 28px 7px;
    margin-bottom: 35px;
  }
  .feature-grid, .testimonial-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 19px;
    align-items: stretch !important;
  }
  .content-wrapper, .text-image-section {
    flex-direction: column;
    gap: 15px;
  }
  .main-nav { display: none; }
  .footer-nav { gap: 15px; }
}

/* --- CREATIVE & ARTISTIC UNIQUE TOUCHES --- */
/* Painted brush underlines for headings */
h1, h2 { position: relative; z-index: 2; }
h1:after, h2:after {
  content: '';
  display: block;
  position: absolute;
  left: 0; bottom: -8px;
  width: 85px; height: 12px;
  background: rgba(199,108,56,0.16);
  border-radius: 7px;
  z-index: -1;
}
h2:after { width: 49px; height: 9px; background: rgba(163,74,40,0.14); }

@media (max-width: 600px) {
  h1:after { width:36vw; min-width:54px; }
  h2:after { width:21vw; min-width:34px; }
}

/* Card accent brush mark */
.feature-grid > div:before {
  content: '';
  display: block;
  position: absolute;
  top: -13px; left: 16px;
  width: 65px; height: 13px;
  background: rgba(255,246,230,0.9);
  border-radius: 7px;
  z-index: 1;
  pointer-events: none;
}

/* Artistic playful buttons */
.cta-btn {
  background: linear-gradient(91deg, var(--brand-primary) 70%, #DA874B 110%);
  box-shadow: 0 2.5px 18px 0 rgba(199,108,56,0.10);
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}
.cta-btn:after {
  content: '';
  display:block;
  position: absolute;
  bottom: 0; left: -10px;
  width: 80px; height: 9px;
  background: rgba(255,246,230,0.7);
  border-radius: 6px 17px 9px 5px;
  pointer-events: none;
}
.cta-btn:hover:after { background: rgba(255,246,230,0.98); }

@media (max-width:450px) {
  .cta-btn { padding-left: 10vw; padding-right: 10vw; }
}

/* --- ACCESSIBILITY & FOCUS STATES --- */
:focus-visible {
  outline: var(--focus-outline);
  box-shadow: 0 0 0 2px var(--brand-accent);
}

/* --- MISC --- */
::-webkit-scrollbar { width: 8px; background: #fff4e3; }
::-webkit-scrollbar-thumb { background: #d8bca4; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #d09b6c; }

::-moz-selection { background: #fff0e4; color: var(--brand-secondary); }
::selection { background: #fff0e4; color: var(--brand-secondary); }

/* --- END --- */
