/* ==== 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;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body { line-height: 1.5; background: #FFF9F3; color: #23272A; min-height: 100vh; }
ol, ul { list-style: none; }
img { border: 0; max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.16s; }
button { font-family: inherit; font-size: inherit; background: none; border: none; outline: none; cursor: pointer; }

/* ==== BRAND & FONTS ==== */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@700&family=Roboto:wght@400;500;700&display=swap');
:root {
  --color-primary: #23272A;
  --color-secondary: #BF8B45;
  --color-accent: #EAEAEA;
  --color-bg-card: #FFF4E5;
  --color-bg-section: #FFE4CB;
  --color-bg-banner: #FFF5E0;
  --color-white: #fff;
  --color-shadow-card: rgba(191,139,69,0.08);
  --font-display: 'Oswald', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  background: #FFF9F3;
  color: var(--color-primary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-primary);
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.15rem; }

p, ul, ol {
  font-size: 1.0625rem;
  margin-bottom: 16px;
  color: var(--color-primary);
}
strong { color: var(--color-secondary); font-weight: 700; }

/* ==== CONTAINER & LAYOUT ==== */
.container {
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  padding: 0 22px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-section);
  border-radius: 24px;
  box-shadow: 0 4px 24px var(--color-shadow-card);
}
/* Remove extra background for last section in main */
main > section:last-child > .container > .content-wrapper {
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-bg-card);
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  box-shadow: 0 4px 24px var(--color-shadow-card);
  padding: 28px 22px;
}
.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;
  margin-bottom: 20px;
  background: var(--color-bg-card);
  border-radius: 16px;
  box-shadow: 0 4px 24px var(--color-shadow-card);
  flex-direction: column;
  text-align: left;
}
.testimonial-card p {
  margin-bottom: 10px;
  color: var(--color-primary);
  font-size: 1.1rem;
}
.testimonial-rating {
  display: flex;
  gap: 8px;
}
.testimonial-name {
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-icons {
  display: flex;
  gap: 18px;
  margin-top: 14px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==== HEADER & NAV ==== */
header {
  background: var(--color-white);
  box-shadow: 0 2px 12px rgba(191,139,69,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  padding: 8px 0;
}
nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
nav a {
  padding: 9px 22px;
  border-radius: 26px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-primary);
  transition: background 0.18s, color 0.18s;
}
nav a:hover, nav a:focus {
  background: var(--color-secondary);
  color: var(--color-white);
}
nav .cta-primary {
  background: var(--color-secondary);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 11px 30px;
  border-radius: 30px;
  box-shadow: 0 2px 12px rgba(191,139,69,0.14);
  transition: background 0.18s, color 0.18s, box-shadow 0.22s;
  margin-left: 18px;
}
nav .cta-primary:hover, nav .cta-primary:focus {
  background: #A37534;
  color: var(--color-accent);
  box-shadow: 0 4px 24px rgba(191,139,69,0.28);
}

/* ==== MOBILE NAV ==== */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: var(--color-white);
  font-size: 2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 2px 12px rgba(191,139,69,0.12);
  margin-left: 18px;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #A37534;
}
.mobile-menu {
  position: fixed;
  z-index: 1200;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  background: var(--color-bg-banner);
  box-shadow: 0 6px 36px rgba(35,39,42,0.16);
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.85,0,.2,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 24px 0 0;
  font-size: 2.1rem;
  color: var(--color-secondary);
  background: var(--color-bg-section);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(191,139,69,0.16);
  border: none;
  transition: background 0.16s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-secondary);
  color: var(--color-white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  align-items: flex-start;
  padding: 32px 36px 0 36px;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: var(--color-primary);
  padding: 12px 0;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 22px;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
  background: var(--color-accent);
}

/* ==== MAIN BUTTON ==== */
.cta-primary {
  background: var(--color-secondary);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 32px;
  padding: 13px 36px;
  box-shadow: 0 4px 22px rgba(191,139,69,0.20);
  border: none;
  margin-top: 12px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: background 0.20s, color 0.16s, box-shadow 0.18s, transform 0.14s;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: #A37534;
  color: var(--color-accent);
  box-shadow: 0 8px 32px rgba(191,139,69,0.30);
  transform: translateY(-2px) scale(1.04);
}

/* ==== FOOTER ==== */
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  border-radius: 20px 20px 0 0;
  padding: 36px 0 12px 0;
}
footer nav {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-bottom: 6px;
}
footer nav a {
  color: var(--color-secondary);
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 8px;
  transition: background 0.16s, color 0.16s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}
footer p {
  text-align: center;
  font-size: 1rem;
  color: var(--color-accent);
  margin-top: 8px;
}

/* ==== COOKIE CONSENT ==== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--color-bg-banner);
  color: var(--color-primary);
  box-shadow: 0 -3px 30px rgba(35,39,42,0.09);
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 12px;
  gap: 28px;
  transition: transform 0.31s cubic-bezier(.73,0,.35,1), opacity 0.24s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner__text {
  flex: 2;
  font-size: 1rem;
  min-width: 0;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  align-items: center;
}
.cookie-btn {
  border: none;
  outline: none;
  padding: 9px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 24px;
  background: var(--color-secondary);
  color: var(--color-white);
  margin-right: 2px;
  box-shadow: 0 2px 10px rgba(191,139,69,0.12);
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
}
.cookie-btn:last-child { margin-right: 0; }
.cookie-btn:hover, .cookie-btn:focus {
  background: #A37534;
  color: var(--color-accent);
}
.cookie-btn.cookie-btn--settings {
  background: var(--color-accent);
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
  transition: background 0.17s, color 0.17s, border 0.14s;
}
.cookie-btn.cookie-btn--settings:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; width:100vw; height:100vh;
  background: rgba(35,39,42,0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1510;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: var(--color-bg-card);
  border-radius: 22px;
  padding: 38px 28px 30px 28px;
  min-width: 300px;
  max-width: 94vw;
  box-shadow: 0 6px 32px rgba(35,39,42,0.22);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin-bottom: 2px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 1.07rem;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-accent);
}
.cookie-switch {
  appearance: none;
  width: 44px;
  height: 24px;
  background: var(--color-accent);
  border-radius: 12px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-switch:checked {
  background: var(--color-secondary);
}
.cookie-switch:before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.18s;
  box-shadow: 0 1px 5px rgba(35,39,42,0.10);
}
.cookie-switch:checked:before {
  left: 23px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 20px;
  font-size: 1.7rem;
  color: var(--color-secondary);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.12s, color 0.12s;
  padding: 2px 7px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-modal__actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  align-items: center;
}

/* ==== FORMS, INPUTS, MISC ==== */
input[type=email], input[type=text], textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.2px solid var(--color-accent);
  margin-bottom: 14px;
  background: #fff;
  color: var(--color-primary);
  transition: border 0.14s;
}
input:focus, textarea:focus, select:focus {
  border: 1.7px solid var(--color-secondary);
  outline: none;
}

/* ==== ICONS ==== */
img[alt$='Icon'], img[alt$='icon'] {
  width: 34px; height: 34px; border-radius: 10px; background: var(--color-bg-banner);
  box-shadow: 0 1px 5px rgba(191,139,69,0.10);
  object-fit: contain;
  margin-right: 6px;
}

/* ==== GENERAL FLEX GAP OVERRIDES ==== */
.section + .section { margin-top: 0; }
.card + .card { margin-left: 0; }
.content-grid > * { flex: 1 1 300px; }

/* ==== MICRO-INTERACTIONS ==== */
.card, .testimonial-card, .feature-item {
  transition: box-shadow 0.16s, transform 0.15s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 36px rgba(191,139,69,0.22);
  transform: translateY(-3px);
}

/* ==== RESPONSIVE – MOBILE FIRST ==== */
@media (max-width: 1200px) {
  .container { max-width: 97vw; }
  .section { padding: 32px 8px; }
}
@media (max-width: 991px) {
  .section {
    padding: 28px 4vw;
  }
  h1 { font-size: 2.06rem; }
  h2 { font-size: 1.45rem; }
  .container {
    padding: 0 12px;
  }
  nav a {
    font-size: 1rem;
    padding: 8px 12px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
  }
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .section {
    padding: 22px 4vw;
    margin-bottom: 40px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
@media (max-width: 640px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.08rem; }
  body, p, ul, ol, li, nav a, .cta-primary {
    font-size: 1rem;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    padding: 11px 8px 13px 8px;
    align-items: flex-start;
  }
  .cookie-banner__actions { gap: 8px; }
  .cookie-banner__text { font-size: 0.98rem; }
  .cookie-modal {
    padding: 18px 8px 14px 10px;
    min-width: 180px;
  }
}

/* ==== VISUAL HELPERS ==== */
hr {
  border: 0;
  height: 1.5px;
  background-color: var(--color-accent);
  margin: 24px 0;
  border-radius: 8px;
}

/* ==== CARD, FEATURE, SECTION VARIANTS ==== */
.section:nth-child(odd) { background: #FFF4E5; }
.section:nth-child(even) { background: #FFE4CB; }

/* ==== OVERRIDE: ENSURE GAP/MARGIN PATTERNS ==== */
.section, .feature-item, .card, .testimonial-card, .content-wrapper {
  margin-bottom: 20px;
}
.card-container, .content-grid, .feature-icons {
  gap: 24px;
}

/* ==== ACCESSIBILITY ==== */
:focus-visible {
  outline: 2.5px solid var(--color-secondary);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ==== PRINT ==== */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display:none !important; }
}
