/* ==== CSS RESET & NORMALIZATION ==== */
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 {
  scroll-behavior: smooth;
  background: #F5F3F0;
}

body {
  font-family: 'Open Sans', serif;
  font-size: 16px;
  color: #222;
  background-color: #F5F3F0;
  line-height: 1.67;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

ul, ol {
  padding-left: 24px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Georgia, 'Times New Roman', Times, serif;
  font-weight: 700;
  color: #101820;
  margin-bottom: 16px;
}
h1 { font-size: 2.75rem; line-height: 1.12; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1rem; }
p, blockquote, ul, ol {
  margin-bottom: 16px;
}
blockquote {
  font-style: italic;
  color: #444;
  position: relative;
  padding-left: 28px;
}
blockquote:before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: 0;
  color: #FFBF00;
  font-size: 2.5em;
  font-family: 'Montserrat', serif;
  line-height: 1;
}
a {
  color: #101820;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #FFBF00;
  outline: none;
}
small {
  font-size: 0.9em;
  color: #6e6c69;
}

/* ==== LAYOUT: CONTAINER AND SECTION SPACING ==== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

@media (max-width: 840px) {
  .container { padding: 0 12px; }
  .section { padding: 32px 8px; }
}

@media (max-width: 570px) {
  .section { padding: 20px 0; }
}

/* ==== HEADER & NAVIGATION ==== */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(16,24,32,.04);
  position: relative;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 24px;
}
header img {
  height: 42px;
  width: auto;
  margin-right: 30px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: 'Montserrat', serif;
  font-size: 1.05rem;
}
.main-nav a {
  color: #101820;
  padding: 8px 8px;
  border-radius: 5px;
  transition: background .18s, color .18s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #F5F3F0;
  color: #FFBF00;
}
.main-nav .cta {
  background: #101820;
  color: #fff;
  border-radius: 24px;
  padding: 8px 24px;
  margin-left: 12px;
  font-weight: bold;
  letter-spacing: 0.01em;
  border: 2px solid #101820;
  transition: background .2s, color .2s, border-color .2s;
}
.main-nav .cta:hover, .main-nav .cta:focus {
  background: #fff;
  color: #101820;
  border-color: #FFBF00;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #101820;
  cursor: pointer;
  padding: 4px 12px;
  transition: color .2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #FFBF00;
}

/* ==== MOBILE MENU ==== */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 2px 0 12px 0 rgba(16,24,32,0.18);
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform .36s cubic-bezier(.7,.2,.22,1);
  display: flex;
  flex-direction: column;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0%);
}

.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 24px 8px 0;
  font-size: 2.25rem;
  background: transparent;
  border: none;
  color: #101820;
  cursor: pointer;
  transition: color .2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #FFBF00;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-left: 35px;
  margin-top: 24px;
}
.mobile-nav a {
  font-family: 'Montserrat', serif;
  font-size: 1.35rem;
  color: #101820;
  padding: 8px 0;
  border-radius: 4px;
  transition: color .2s, background .2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FFBF00;
  background: #F5F3F0;
}

@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ==== HERO SECTIONS ==== */
.hero {
  background: #F5F3F0;
  padding-top: 44px;
  padding-bottom: 44px;
  margin-bottom: 60px;
}
.hero h1 {
  font-size: 2.5rem;
}
.hero p {
  color: #38362e;
  margin-bottom: 20px;
  font-size: 1.12rem;
}

/* ==== FLEXBOX LAYOUTS FOR FEATURES, CARDS, SECTIONS ==== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 12px;
}
.feature-grid > div {
  background: #fff;
  flex: 1 1 250px;
  min-width: 240px;
  max-width: 350px;
  padding: 28px 20px 24px 20px;
  border-radius: 18px;
  box-shadow: 0 3px 15px 0 rgba(16,24,32,0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow .22s, transform .18s;
  margin-bottom: 20px;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 24px 0 rgba(16,24,32,0.12);
  transform: translateY(-4px) scale(1.012);
}
.feature-grid img {
  width: 42px;
  height: 42px;
  margin-bottom: 9px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  padding: 28px 20px 24px 20px;
  border-radius: 16px;
  margin-bottom: 20px;
  position: relative;
  min-width: 240px;
  box-shadow: 0 3px 12px 0 rgba(16,24,32,0.07);
  display: flex;
  flex-direction: column;
  transition: box-shadow .22s;
}
.card:hover {
  box-shadow: 0 8px 18px 0 rgba(16,24,32,0.13);
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  background: #fff;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(16,24,32,0.08);
  margin-bottom: 20px;
  transition: box-shadow .16s;
  color: #222;
}
.testimonial-card:hover {
  box-shadow: 0 8px 26px 0 rgba(16,24,32,0.11);
}
.testimonial-author {
  font-family: 'Montserrat', serif;
  font-size: 1.1em;
  font-weight: 500;
  color: #101820;
  margin-left: 18px;
}
.testimonial-card blockquote {
  color: #38362e;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==== CTA BUTTONS ==== */
.cta {
  display: inline-block;
  background: #FFBF00;
  color: #101820;
  border: none;
  border-radius: 28px;
  padding: 12px 32px;
  font-family: 'Montserrat', serif;
  font-weight: bold;
  font-size: 1.08rem;
  text-align: center;
  margin-top: 12px;
  margin-bottom: 4px;
  box-shadow: 0 2px 8px 0 rgba(16,24,32,0.09);
  letter-spacing: .01em;
  cursor: pointer;
  transition: background .17s, color .19s, box-shadow .16s;
  outline: none;
}
.cta:hover, .cta:focus {
  background: #101820;
  color: #fff;
  box-shadow: 0 6px 18px 0 rgba(16,24,32,0.15);
}
/* For .cta section blocks */
section.cta {
  background: #101820;
  color: #fff;
  border-radius: 18px;
}
section.cta h2, section.cta p {
  color: #fff;
}
section.cta .cta {
  background: #FFBF00;
  color: #101820;
  margin-top: 20px;
}
section.cta .cta:hover, 
section.cta .cta:focus {
  background: #fff;
  color: #101820;
  border: 2px solid #FFBF00;
}

/* ==== FORMS & INPUTS ==== */
input, textarea, select {
  font-family: 'Open Sans', serif;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #c3bfb1;
  padding: 12px 14px;
  background: #fff;
  transition: border-color .18s, box-shadow .15s;
  margin-bottom: 18px;
}
input:focus, textarea:focus, select:focus {
  border-color: #FFBF00;
  outline: none;
}
label {
  font-size: 1.07rem;
  margin-bottom: 6px;
  display: block;
}

/* ==== FOOTER ==== */
footer {
  background: #fff;
  border-top: 1px solid #e4e1dc;
  padding: 36px 0 22px 0;
  margin-top: 64px;
}
footer .container {
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  justify-content: center;
}
.footer-nav a {
  color: #101820;
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  transition: color .17s;
}
.footer-nav a:hover {
  color: #FFBF00;
}
.brand-contact {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #444;
  font-size: 1rem;
  margin-bottom: 7px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ==== LEGAL SECTIONS ==== */
.legal {
  background: #fff;
  border-radius: 12px;
  padding: 36px 24px;
  box-shadow: 0 2px 12px 0 rgba(16,24,32,0.04);
  margin-bottom: 60px;
}
.legal h1 {
  font-size: 2rem;
  margin-bottom: 18px;
}

/* ==== THANK YOU SECTION ==== */
.thank-you {
  background: #fff;
  border-radius: 18px;
  padding: 44px 28px;
  margin-bottom: 60px;
  box-shadow: 0 3px 20px 0 rgba(16,24,32,0.08);
}

/* ==== ANIMATIONS ==== */
@media (prefers-reduced-motion: no-preference) {
  .cta, .feature-grid > div, .card, .testimonial-card {
    transition: box-shadow 0.2s, transform 0.19s, background .2s, color .19s;
  }
  .card:hover, .feature-grid > div:hover, .testimonial-card:hover {
    transform: translateY(-4px) scale(1.01);
  }
}

/* ==== COOKIE CONSENT BANNER & MODAL ==== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  z-index: 2000;
  background: #fff;
  border-top: 1px solid #F5F3F0;
  box-shadow: 0 -2px 32px 0 rgba(16,24,32,.09);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px 12px;
  font-size: 1.08rem;
}
.cookie-banner p {
  color: #222;
  margin-bottom: 0;
  flex: 1;
  min-width: 210px;
  max-width: 600px;
}
.cookie-banner .cookie-btn {
  display: inline-block;
  margin-right: 12px;
  padding: 10px 28px;
  background: #FFBF00;
  color: #101820;
  border: none;
  border-radius: 24px;
  font-family: 'Montserrat', serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background .18s, color .18s;
}
.cookie-banner .cookie-btn.accept {
  background: #101820;
  color: #fff;
}
.cookie-banner .cookie-btn.reject {
  background: #e5e2d9;
  color: #101820;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #FFBF00;
  color: #101820;
}
.cookie-banner .cookie-btn + .cookie-btn {
  margin-left: 8px;
}

/* Cookie Modal Overlay */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(16,24,32,0.24);
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .23s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  border-radius: 16px;
  max-width: 410px;
  width: 89vw;
  padding: 40px 28px 32px 28px;
  box-shadow: 0 6px 44px 0 rgba(16,24,32,0.16);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal-close-btn {
  position: absolute;
  top: 10px; right: 16px;
  background: transparent;
  color: #101820;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  transition: color .16s;
}
.cookie-modal-close-btn:hover,
.cookie-modal-close-btn:focus {
  color: #FFBF00;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #efede9;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  margin-bottom: 0;
  font-weight: 500;
  color: #101820;
}
.cookie-toggle {
  width: 44px;
  height: 24px;
  display: inline-block;
  border-radius: 12px;
  background: #e5e2d9;
  position: relative;
  transition: background .18s;
  cursor: pointer;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle .slider {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #101820;
  transition: left .19s;
}
.cookie-toggle input:checked + .slider {
  background: #FFBF00;
  left: 22px;
}
.cookie-category .desc {
  color: #6a675d;
  font-size: 0.94em;
  margin-left: 10px;
  font-weight: 400;
}

@media (max-width: 480px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .cookie-modal .cookie-modal-content {
    padding: 24px 11px 18px 13px;
  }
}

/* ==== RESPONSIVE FLEXBOX ==== */
@media (max-width: 1024px) {
  .feature-grid {
    gap: 18px;
  }
  .footer-nav, .brand-contact {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 7px;
  }
  .content-wrapper, .feature-grid {
    gap: 16px;
  }
  .feature-grid {
    flex-direction: column;
    align-items: stretch;
  }
  .card-container {
    gap: 12px;
  }
  .card {
    min-width: 0;
    width: 100%;
    margin-bottom: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
}
@media (max-width: 550px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.38rem; }
  h3 { font-size: 1.02rem; }
  .feature-grid > div, .card {
    padding: 19px 8px 16px 11px;
    min-width: 0;
    max-width: 98vw;
  }
  .brand-contact, .footer-nav {
    font-size: 0.97em;
    gap: 5px;
  }
  .legal, .thank-you {
    padding: 16px 4px;
  }
}

/* ==== MISC, UTILITIES ==== */
.hide {
  display: none !important;
}
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }

/* ==== ACCESSIBILITY ==== */
:focus-visible {
  outline: 2px solid #FFBF00;
  outline-offset: 2px;
}

/* ==== Brand Color Variables for Fallbacks ==== */
:root {
  --brand-primary: #101820;
  --brand-secondary: #F5F3F0;
  --brand-accent: #FFBF00;
}


/* ==== CUSTOM SCROLLBAR FOR ELEGANCE ==== */
::-webkit-scrollbar {
  width: 9px;
  background: #F5F3F0;
}
::-webkit-scrollbar-thumb {
  background: #e2dfda;
  border-radius: 9px;
}

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