/* =======================================================
   CSS RESET & BASES
   ======================================================= */
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, 
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;
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background: #FFF9F5;
  color: #3D2F27;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #C65D3A;
  text-decoration: none;
  transition: color .18s;
}
a:hover, a:focus {
  color: #A83D23;
  outline: none;
}

:focus {
  outline: 2px solid #1BA0D6;
  outline-offset: 2px;
}

ul, ol {
  list-style: none;
}

hr {
  border: 0;
  border-top: 1px solid #F2EFEA;
  margin: 24px 0;
}

/* =======================================================
   BRAND COLORS (Warm Friendly palette)
   ======================================================= */
:root {
  --brand-primary: #223057;
  --brand-secondary: #1BA0D6;
  --brand-accent: #F5F7FA;
  --brand-warm1: #FFF3E6;
  --brand-warm2: #FBD3B7;
  --brand-warm3: #F3B17E;
  --brand-warm4: #C65D3A;
  --brand-neutral: #F8F5F2;
  --text-dark: #3D2F27;
  --text-light: #fff;
}

/* =======================================================
   TYPOGRAPHY
   ======================================================= */
body, button, input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--text-dark);
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: var(--brand-primary);
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
p, li {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}
strong {
  font-weight: 600;
}
blockquote {
  font-style: italic;
  background: var(--brand-warm2);
  color: var(--brand-primary);
  border-left: 4px solid var(--brand-warm4);
  margin: 0 0 12px 0;
  padding: 16px 20px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(246,165,97,0.08);
}
address {
  font-style: normal;
  margin-bottom: 8px;
}

/* =======================================================
   CONTAINER / SECTION / CARD / SPACING
   ======================================================= */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--brand-neutral);
  border-radius: 32px;
  box-shadow: 0 6px 32px 0 rgba(219,149,100,0.06);
  position: relative;
}

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

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 28px;
  margin-bottom: 20px;
  box-shadow: 0 3px 14px 0 rgba(198,93,58,0.08);
  padding: 24px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 250px;
  transition: box-shadow .21s;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(246,165,97,0.12);
}

.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--brand-warm1);
  border-radius: 24px;
  box-shadow: 0 3px 16px 0 rgba(217,128,46,0.06);
  margin-bottom: 20px;
  transition: box-shadow .18s, transform .18s;
}
.testimonial-card:hover {
  box-shadow: 0 10px 28px 0 rgba(217,128,46,0.14);
  transform: translateY(-2px) scale(1.015);
}
.testimonial-card blockquote {
  background: none;
  border-left: 0;
  margin-bottom: 0;
  color: var(--brand-primary);
}
.testimonial-card p strong {
  color: var(--brand-warm4);
}

@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .section {
    padding: 24px 8px;
    margin-bottom: 40px;
  }
  .content-wrapper, .content-grid, .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 12px;
    padding: 18px 12px;
  }
}

/* =======================================================
   HEADER / NAVIGATION / CTA BUTTONS
   ======================================================= */
header {
  background: var(--brand-warm1);
  box-shadow: 0 2px 20px 0 rgba(198,93,58,0.03);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  position: relative;
  z-index: 30;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px;
  gap: 12px;
  min-height: 72px;
}
header nav a img {
  height: 40px;
  width: auto;
  display: block;
  margin-right: 26px;
}
header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}
header nav ul li {
  margin-bottom: 0;
}
header nav ul li a {
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.2px;
  padding: 10px 0;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
header nav ul li a:hover, header nav ul li a:focus {
  color: var(--brand-warm4);
  background: #FFE4D1;
}

.cta {
  display: inline-block;
  padding: 12px 30px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.04rem;
  background: var(--brand-warm4);
  color: #fff;
  border: none;
  border-radius: 20px;
  box-shadow: 0 3px 16px rgba(246,165,97,0.07);
  transition: background .19s, transform .13s, box-shadow .19s;
  cursor: pointer;
  text-align: center;
  margin-left: 18px;
}
.cta:hover, .cta:focus {
  background: #9c360a;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 28px rgba(199,91,51,0.17);
}

/* Burger menu toggle (visible on mobile only) */
.mobile-menu-toggle {
  display: none;
  background: var(--brand-warm4);
  color: #fff;
  font-size: 2.2rem;
  border: none;
  border-radius: 14px;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  transition: background .18s, box-shadow .18s;
  z-index: 105;
  position: relative;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus { background: #9c360a; }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(246,243,230,0.98);
  transform: translateX(100%);
  transition: transform .36s cubic-bezier(.77,.2,.05,1), opacity .2s;
  opacity: 0;
  z-index: 110;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  box-shadow: -8px 0 40px rgba(198,93,58,0.06);
}
.mobile-menu.open {
  transform: translateX(0%);
  opacity: 1;
}
.mobile-menu-close {
  margin: 26px 18px 0 0;
  background: var(--brand-warm4);
  color: #fff;
  border: none;
  border-radius: 17px;
  width: 42px;
  height: 42px;
  font-size: 1.9rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #9c360a;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  padding: 60px 40px 0 40px;
  width: 100vw;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brand-warm4);
  padding: 12px 0px;
  border-radius: 8px;
  width: 100%;
  transition: background .15s, color .15s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFE4D1;
  color: #223057;
}
header nav ul, .cta {
  z-index: 2;
}

@media (max-width: 1020px) {
  header nav ul {
    gap: 14px;
  }
  header nav a img {
    margin-right: 6px;
  }
}

@media (max-width: 900px) {
  header nav {
    padding: 0 10px;
    min-height: 65px;
    gap: 8px;
  }
}

@media (max-width: 840px) {
  header nav ul {
    gap: 10px;
  }
  .cta {
    margin-left: 4px;
  }
}

/* MOBILE MENU RESPONSIVENESS */
@media (max-width: 768px) {
  header nav ul,
  header nav .cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none!important;
  }
}

/* =======================================================
   BUTTONS, FORMS, LISTS, TABLES
   ======================================================= */
button, input[type="submit"], .cta {
  cursor: pointer;
  outline: none;
  border: none;
}
button:active, .cta:active {
  filter: brightness(0.96);
}
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  border-radius: 14px;
  border: 1px solid #E5DED9;
  padding: 10px 15px;
  margin-bottom: 8px;
  width: 100%;
  box-sizing: border-box;
  transition: border .17s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--brand-secondary);
}

ul {
  padding-left: 0;
  margin-bottom: 18px;
}
li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
  margin-bottom: 10px;
}
ul li img {
  width: 28px; height: 28px; flex-shrink: 0;
  border-radius: 8px;
  background: #FFF7F0;
  box-shadow: 0 1px 6px rgba(217,128,46,0.05);
  margin-right: 6px;
}

ol {
  margin-bottom: 18px;
  padding-left: 18px;
}
ol li {
  list-style-type: decimal;
  padding-left: 5px;
}

/* =======================================================
   FOOTER
   ======================================================= */
footer {
  background: var(--brand-primary);
  color: #fff;
  padding: 38px 0 19px 0;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  box-shadow: 0 -4px 24px rgba(198,93,58,0.07);
  margin-top: 60px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 14px;
}
footer nav ul {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
footer nav ul li {
  margin-bottom: 0;
}
footer nav ul li a {
  color: #fff;
  opacity: .88;
  font-size: 1.03rem;
  border-radius: 7px;
  padding: 6px 13px;
  transition: background .14s, color .14s, opacity .18s;
}
footer nav ul li a:hover, footer nav ul li a:focus {
  background: #fff;
  color: var(--brand-primary);
  opacity: 1;
}
footer .text-section {
  color: #fff;
  font-size: 0.98rem;
  line-height: 1.5;
  margin-top: 9px;
  word-break: break-word;
}
footer .text-section p {
  color: #fff;
  margin-bottom: 6px;
  opacity: .93;
}

@media (max-width: 768px) {
  footer {
    border-radius: 21px 21px 0 0;
    padding: 22px 0 8px 0;
    margin-top: 32px;
  }
  footer nav {
    gap: 7px;
    margin-bottom: 7px;
  }
  footer nav ul {
    gap: 7px;
  }
  footer .text-section {
    font-size: 0.92rem;
  }
}

/* =======================================================
   COOKIE CONSENT BANNER
   ======================================================= */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--brand-warm2);
  color: var(--brand-primary);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  z-index: 150;
  min-height: 58px;
  box-shadow: 0 -3px 36px 0 rgba(217,128,46,0.11);
  padding: 24px 18px;
  font-size: 1.01rem;
  border-radius: 24px 24px 0 0;
  transition: transform .35s, opacity .18s;
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  gap: 14px;
}
.cookie-consent-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: .97rem;
  padding: 8px 18px;
  border-radius: 14px;
  border: none;
  background: var(--brand-warm4);
  color: #fff;
  box-shadow: 0 2px 12px rgba(212,127,54,0.07);
  margin-left: 0;
  margin-right: 0;
  transition: background .16s, transform .12s;
}
.cookie-consent-banner button.accept {
  background: var(--brand-warm4);
}
.cookie-consent-banner button.reject {
  background: #eeb47c;
  color: var(--brand-primary);
}
.cookie-consent-banner button.settings {
  background: var(--brand-secondary);
  color: #fff;
}
.cookie-consent-banner button:active {
  filter: brightness(0.95);
}
.cookie-consent-banner button:hover, .cookie-consent-banner button:focus {
  transform: translateY(-1px) scale(1.03);
}

@media (max-width: 540px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 10px;
    padding: 16px 8px;
    font-size: .97rem;
  }
  .cookie-consent-banner .cookie-buttons {
    width: 100%;
    gap: 9px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

/* Cookie modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(69,43,23,0.37);
  z-index: 300;
  justify-content: center;
  align-items: center;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff7f0;
  border-radius: 28px;
  max-width: 430px;
  width: 93vw;
  padding: 32px 28px 25px 28px;
  box-shadow: 0 14px 64px 0 rgba(212,127,54,0.13);
  position: relative;
  animation: cookieModalFadeIn .36s cubic-bezier(.71,.29,.23,1);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; transform: translateY(56px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  margin-bottom: 10px;
  font-size: 1.31rem;
  color: var(--brand-warm4);
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
  font-size: 1.04rem;
}
.cookie-modal .cookie-category input[type="checkbox"],
.cookie-modal .cookie-category input[type="radio"] {
  accent-color: var(--brand-warm4);
  width: 18px;
  height: 18px;
  margin: 0;
}
.cookie-modal .cookie-category.essential input {
  accent-color: #3F4221;
}
.cookie-modal .cookie-category label {
  flex: 1;
  user-select: none;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 7px;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: .99rem;
  padding: 8px 18px;
  border-radius: 14px;
  border: none;
  background: var(--brand-warm4);
  color: #fff;
  box-shadow: 0 2px 8px rgba(212,127,54,0.08);
  transition: background .16s, transform .12s;
}
.cookie-modal button:active {
  filter: brightness(0.95);
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: var(--brand-secondary);
  color: #fff;
}

@media (max-width: 480px) {
  .cookie-modal {
    padding: 17px 7px 11px 7px;
    font-size: 0.97rem;
  }
}

/* ===============================
   UTILITIES & ANIMATIONS
   =============================== */
.fade-in-up {
  animation: fadeInUp .64s cubic-bezier(.71,.32,.24,1);
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.soft-shadow {
  box-shadow: 0 3px 19px 0 rgba(229,143,61,0.09);
}
.rounded-xl {
  border-radius: 24px!important;
}

/* ===============================
   RESPONSIVE HEADINGS & FONT SIZES
   =============================== */
@media (max-width: 600px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.12rem; }
  h3 { font-size: .98rem; }
  .section { padding: 14px 4px; }
}

/* =======================================================
   SPECIAL - PAGE HIERARCHY SPACING
   ======================================================= */
main {
  margin-bottom: 40px;
}

section:not(:last-child) {
  margin-bottom: 60px;
}
@media (max-width: 800px) {
  section:not(:last-child) {
    margin-bottom: 33px;
  }
}

/* =========== FORM PLACEHOLDER STYLES =========== */
input::placeholder, textarea::placeholder {
  color: #A9835A;
  opacity: 0.71;
}

/* ============ CARD + FLEXBOX PATTERNS ============ */
.card-container { /* Already above */ }
.card { /* Already above */ }
.content-grid { /* Already above */ }
.text-image-section { /* Already above */ }
.testimonial-card { /* Already above */ }
.feature-item { /* Already above */ }

/* ============ Accessibility ============ */
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    transition: none !important;
    animation: none !important;
  }
}


/* =======================================================
   UTILITY: Hide/show for accessibility & mobile
   ======================================================= */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  border: 0 !important;
}

/* End of stylesheet */
