/* ===================== 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, 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;
}
html {
  scroll-behavior: smooth;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F9F7F4;
  color: #1E2832;
  min-height: 100vh;
}
a {
  color: #DF3B23;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover {
  color: #b82711;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
button, input, textarea, select {
  font: inherit;
  outline: none;
  border-radius: 0;
  border: none;
  background: none;
  box-shadow: none;
}

/* ===================== ROOT CUSTOM PROPERTIES (w/ Fallbacks) ===================== */
:root {
  --color-primary: #1E2832;
  --color-secondary: #DF3B23;
  --color-accent: #F9F7F4;
  --color-bg: #F9F7F4;
  --color-card: #FFFFFF;
  --color-card-shadow: rgba(30,40,50,0.10);
  --color-shadow-hover: rgba(223,59,35,0.07);
  --color-nav-bg: #FFFFFF;
  --color-footer-bg: #F4EEE7;
  --color-border: #EDDACC;
  --color-link: #DF3B23;
  --color-link-hover: #c23116;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: local('Montserrat Bold'), local('Montserrat-Bold'),
    url('https://fonts.gstatic.com/s/montserrat/v24/JTUHjIg1_i6t8kCHKm45_QpRxC7m0dR1.woff2') format('woff2');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'),
    url('https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu4mxK.woff2') format('woff2');
}

/* ===================== LAYOUT CONTAINERS ===================== */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-card, #fff);
  border-radius: 28px;
  box-shadow: 0 4px 24px 0 var(--color-card-shadow, rgba(30,40,50,0.10));
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card, #fff);
  border-radius: 20px;
  box-shadow: 0 2px 10px 0 var(--color-card-shadow, rgba(30,40,50,0.10));
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  flex: 1 1 320px;
  min-width: 260px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 30px 0 var(--color-shadow-hover, rgba(223,59,35,0.07));
  transform: translateY(-3px) scale(1.012);
}
.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: #FFEEE8;
  border-radius: 20px;
  box-shadow: 0 1px 8px 0 rgba(30,40,50,0.05);
  margin-bottom: 20px;
  flex: 1 1 320px;
  min-width: 250px;
  max-width: 700px;
}
.testimonial-card p {
  flex: 1 1 auto;
  font-size: 1.1rem;
  color: #1E2832;
}
.testimonial-card span {
  font-size: 1rem;
  color: #b24f31;
  font-family: var(--font-body, Roboto), sans-serif;
  margin-left: 12px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background: #FCF3ED;
  border-radius: 16px;
  box-shadow: 0 1px 8px 0 rgba(223,59,35,0.04);
}

/* ===================== TYPOGRAPHY ===================== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display, Montserrat), Arial, sans-serif;
  font-weight: 700;
  color: var(--color-primary, #1E2832);
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
  letter-spacing: -1px;
  line-height: 1.12;
}
h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 7px;
}
h4, h5 {
  font-size: 1.13rem;
}
p, li, span {
  font-family: var(--font-body, Roboto), Arial, sans-serif;
  font-size: 1.05rem;
}
p.subheadline {
  color: #b24f31;
  font-size: 1.2rem;
  font-family: var(--font-display, Montserrat), Arial, sans-serif;
}
strong {
  font-weight: bold;
}

/* ===================== HEADER & NAVIGATION ===================== */
header {
  background: var(--color-nav-bg, #fff);
  box-shadow: 0 1px 12px 0 rgba(30,40,50,0.06);
  z-index: 100;
  position: sticky;
  top: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 20px;
  height: 68px;
  background: none;
}
.main-nav img {
  height: 42px;
  margin-right: 14px;
}
.main-nav > a {
  font-family: var(--font-display, Montserrat), Arial, sans-serif;
  font-weight: 500;
  color: var(--color-primary, #1E2832);
  padding: 8px 14px;
  border-radius: 20px;
  transition: background 0.18s, color 0.18s;
  font-size: 1rem;
}
.main-nav > a:hover, .main-nav > a:focus {
  background: #ffe6de;
  color: var(--color-secondary, #DF3B23);
}
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 26px;
  top: 16px;
  background: var(--color-secondary, #DF3B23);
  color: var(--color-card, #fff);
  font-size: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  z-index: 1100;
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #b82711;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  right: -330px;
  width: 320px;
  height: 100vh;
  background: #fff8f4;
  box-shadow: -7px 0 30px 0 rgba(30,40,50,0.11);
  padding: 28px 28px 28px 22px;
  z-index: 1102;
  transition: transform 0.4s cubic-bezier(0.55,0,0.1,1), right 0.38s;
  transform: translateX(0);
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  right: 0;
  visibility: visible;
  opacity: 1;
  transform: translateX(-8px);
}
.mobile-menu-close {
  background: var(--color-secondary, #DF3B23);
  color: #fff;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.6rem;
  align-self: flex-end;
  margin-bottom: 18px;
  border: none;
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #b82711;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display, Montserrat), Arial, sans-serif;
  font-weight: 500;
  font-size: 1.09rem;
  color: #1E2832;
  padding: 9px 15px;
  border-radius: 14px;
  transition: background 0.19s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #ffe6de;
  color: var(--color-secondary, #DF3B23);
}
/* Mobile nav overlay background */
.mobile-menu-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(30,40,50,0.24);
  z-index: 1101;
  transition: opacity 0.36s;
}
.mobile-menu.open ~ .mobile-menu-backdrop {
  display: block;
  opacity: 1;
}

/* ===================== CTA BUTTONS ===================== */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display, Montserrat), Arial, sans-serif;
  background: var(--color-secondary, #DF3B23);
  color: #fff;
  font-weight: 700;
  font-size: 1.18rem;
  border-radius: 24px;
  min-width: 178px;
  padding: 14px 30px 13px 30px;
  margin-top: 12px;
  margin-bottom: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 14px 0 rgba(223,59,35,0.10);
  transition: background 0.18s, box-shadow 0.16s, transform 0.14s;
}
.cta:hover, .cta:focus {
  background: #b82711;
  box-shadow: 0 6px 24px 0 rgba(223,59,35,0.17);
  transform: translateY(-2px) scale(1.035);
  color: #fff;
}

/* ===================== LISTS ===================== */
ul {
  padding-left: 24px;
  margin-bottom: 14px;
}
ul > li {
  margin-bottom: 8px;
  position: relative;
  color: #433030;
  font-size: 1.04rem;
  line-height: 1.7;
}
ul > li::before {
  content: '';
  display: inline-block;
  height: 10px;
  width: 10px;
  background: #DF3B23;
  border-radius: 50%;
  margin-right: 12px;
  vertical-align: middle;
  margin-bottom: 2.5px;
}

/* Remove bullet points for ul in nav/footer*/
nav ul, .footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ===================== FOOTER ===================== */
footer {
  background: var(--color-footer-bg, #F4EEE7);
  padding: 36px 0 22px 0;
  margin-top: 60px;
}
.footer-brand img {
  height: 44px;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-family: var(--font-body, Roboto), Arial, sans-serif;
  justify-content: center;
  color: #67473a;
  font-size: 1rem;
  margin-bottom: 9px;
  margin-top: 3px;
}
.footer-nav a {
  color: #67473a;
  text-decoration: none;
  transition: color 0.16s;
  padding: 2px 7px;
  border-radius: 12px;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #ffe6de;
  color: var(--color-secondary, #DF3B23);
}
.footer-social {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
}
.footer-social img {
  height: 24px;
  opacity: 0.84;
  transition: opacity 0.18s, transform 0.16s;
  cursor: pointer;
}
.footer-social img:hover {
  opacity: 1;
  transform: scale(1.11);
}

/* ===================== CONTACT INFO ===================== */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}
.contact-info p,
.contact-info a {
  font-size: 1rem;
  color: #51342a; 
  letter-spacing: 0.01em;
}
.contact-info a {
  text-decoration: underline;
}

/* ===================== TEXT SECTIONS ===================== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 1.06rem;
  line-height: 1.7;
  color: #38251e;
}
.text-section h2, .text-section h3 {
  margin-top: 20px;
}
.text-section ul {
  margin-top: 5px;
}

/* ===================== SPECIAL CARDS (Testimonials, Features) ===================== */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

/* ===================== RESPONSIVE DESIGN ===================== */
@media (max-width: 1050px) {
  .container {
    max-width: 98vw;
    padding: 0 12px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 6px;
    padding: 0 6px;
  }
}
@media (max-width: 768px) {
  .content-wrapper,
  .text-section {
    gap: 24px;
  }
  h1 {
    font-size: 2.04rem;
  }
  h2 {
    font-size: 1.35rem;
  }
  .section {
    padding: 26px 5px;
    margin-bottom: 42px;
    border-radius: 19px;
  }
  .testimonial-card, .card {
    padding: 16px 10px;
    border-radius: 16px;
  }
  .card {
    min-width: 180px;
    padding: 15px 10px;
  }
  .footer-brand img {
    height: 35px;
  }
  .footer-social img {
    height: 20px;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-menu {
    width: 97vw;
    max-width: 350px;
    right: -97vw;
    padding-right: 13vw;
    padding-left: 3vw;
    box-shadow: -7px 0 50px 0 rgba(30,40,50,0.08);
    font-size: 1.05rem;
  }
  .mobile-menu.open {
    right: 0;
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
  }
  .footer-nav {
    font-size: 0.96rem;
    flex-direction: column;
    gap: 8px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

@media (max-width: 540px) {
  h1 {
    font-size: 1.42rem;
  }
  h2 {
    font-size: 1.11rem;
  }
  p, ul, li, span {
    font-size: 0.99rem;
  }
  .section, .testimonial-card, .card {
    padding: 8px 3vw;
    border-radius: 11px;
    box-shadow: 0 2px 8px 0 rgba(30,40,50,0.05);
  }
  .cta {
    font-size: 1rem;
    min-width: 120px;
    padding: 9px 16px;
  }
}

/* ===================== ANIMATIONS & TRANSITIONS ===================== */
html {
  --motion-duration: 0.21s;
  --motion-easing: cubic-bezier(.57,.21,.69,1.25);
}
.cta, button, input[type="submit"] {
  transition: background var(--motion-duration), box-shadow var(--motion-duration), color var(--motion-duration), transform var(--motion-duration);
}
.testimonial-card {
  transition: box-shadow 0.16s, transform 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 18px 0 rgba(223,59,35,0.085), 0 1.5px 10px -3px rgba(30,40,50,0.04);
  transform: scale(1.03) translateY(-2px);
}
.card:hover {
  box-shadow: 0 7px 24px 0 rgba(223,59,35,0.18);
  transform: translateY(-4px) scale(1.018);
}
.mobile-menu,
.mobile-menu.open {
  transition: right 0.38s var(--motion-easing), transform 0.42s var(--motion-easing), opacity 0.23s;
}

/* ===================== COOKIE CONSENT BANNER ===================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff3eb;
  color: #1E2832;
  font-family: var(--font-body, Roboto), Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  box-shadow: 0 -4px 32px 0 rgba(30,40,50,0.12);
  border-top: 1.5px solid #EDDACC;
  z-index: 2000;
  padding: 24px 12px;
  animation: slideInCookie 0.46s cubic-bezier(.67,-0.01,.69,1.19);
}
@keyframes slideInCookie {
  from {transform: translateY(90px); opacity: 0;} 
  to {transform: none; opacity: 1;}
}
.cookie-banner__content {
  max-width: 900px;
  flex: 1 1 560px;
  font-size: 1.1rem;
  color: #50413b;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn, .cookie-settings-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-secondary, #DF3B23);
  color: #fff;
  font-family: var(--font-display, Montserrat), Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 13px;
  padding: 9px 16px;
  border: none;
  cursor: pointer;
  margin-right: 3px;
  transition: background 0.17s, transform 0.15s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #b82711;
  transform: translateY(-1.5px) scale(1.04);
}
.cookie-reject-btn {
  background: #E4C8B5;
  color: #1E2832;
}
.cookie-reject-btn:hover, .cookie-reject-btn:focus {
  background: #DF3B23;
  color: #fff;
}
.cookie-settings-btn {
  background: #fff;
  color: #b24f31;
  border: 1px solid var(--color-border, #EDDACC);
  font-weight: 500;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #ffe6de;
  border-color: #DF3B23;
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 18px 3px;
  }
  .cookie-banner__content {
    font-size: 1rem;
  }
  .cookie-banner__actions {
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 7px;
  }
}

/* ===== Cookie Modal ===== */
.cookie-modal {
  position: fixed;
  left: 0; right: 0;
  top: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30,40,50,0.15);
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal__dialog {
  background: #fff;
  border-radius: 22px;
  padding: 38px 26px 26px 26px;
  max-width: 410px;
  width: 92vw;
  box-shadow: 0 7px 40px 0 rgba(30,40,50,0.19);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.cookie-modal__close {
  position: absolute;
  top: 16px;
  right: 19px;
  background: #E4C8B5;
  color: #1E2832;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.13s, color 0.14s;
}
.cookie-modal__close:hover {
  background: #DF3B23;
  color: #fff;
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 21px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  background: #fff6f1;
  padding: 9px 13px;
}
.cookie-category input[type="checkbox"] {
  accent-color: #DF3B23; /* fallback for modern browsers */
  width: 21px;
  height: 21px;
  border-radius: 7px;
  margin-right: 8px;
}
.cookie-category.disabled { opacity: 0.65; }
.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  gap: 11px;
  justify-content: flex-end;
}
.cookie-modal__actions .cookie-btn,
.cookie-modal__actions .cookie-settings-btn {
  font-size: 1.01rem;
  padding: 7.5px 15px;
}

@media (max-width: 480px) {
  .cookie-modal__dialog {
    padding: 19px 7px 12px 12px;
    max-width: 98vw;
  }
  .cookie-modal h2 {
    font-size: 1.08rem;
  }
  .cookie-category {
    padding: 6px 7px;
    font-size: 0.97rem;
  }
}

/* ===================== MISC/ELEMENT HELPERS ===================== */
::-webkit-input-placeholder { color: #B2876A; }
::-moz-placeholder { color: #B2876A; }
:-ms-input-placeholder { color: #B2876A; }
::placeholder { color: #B2876A; }

hr {
  border: none;
  height: 1.5px;
  background: #EDDACC;
  margin: 11px 0;
}

/* Ensure minimum 20px margin bottom for section-like content wrappers, testimonials, etc. */
section:not(:last-child) {
  margin-bottom: 60px;
}
.testimonial-card:not(:last-child) {
  margin-bottom: 20px;
}

/* ===================== COLOR-BLIND ACCESSIBILITY - CONTRAST SUPPORT ===================== */
.testimonial-card,
.card {
  color: #222223;
  background: #FFEEE8; /* light warm orange for testimonials */
}

@media (max-width: 500px) {
  section {
    margin-bottom: 26px;
  }
}

/* ===================== PRINT SUPPORT (simple reset) ===================== */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  .section, .card, .testimonial-card { box-shadow: none !important; background: #fff !important; color: #000 !important; }
}
footer .content-wrapper {
  flex-direction: row;
}