/* ==========================================================
   CSS RESET & BASE
   ========================================================== */
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, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: #F3F3F3;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #262626;
  background: linear-gradient(120deg, #fff 0%, #f6f6f7 50%, #f3f3f3 100%);
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #262626;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.4,.2,.4,1);
}
a:hover, a:focus {
  color: #F5A623;
  outline: none;
}
ul, ol {
  margin-left: 1.25rem;
  margin-bottom: 1rem;
}
li {
  margin-bottom: 0.25rem;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #262626;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1rem;
}
p {
  font-size: 1.08rem;
  line-height: 1.6;
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
}

/* ==========================================================
   LAYOUT HELPERS
   ========================================================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(255,255,255,0.9);
  border-radius: 24px;
  box-shadow: 0 8px 28px rgba(39,44,49,0.08);
  position: relative;
}
/* For non-section sections, keep spacing */
main > section:not(.section) {
  margin-bottom: 60px;
  padding: 0;
}

.card-container, .feature-grid, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(39,44,49,0.09);
  display: flex;
  flex-direction: column;
  padding: 30px 24px;
  min-width: 260px;
  transition: box-shadow 0.18s cubic-bezier(.4,.2,.2,1);
}
.card:hover {
  box-shadow: 0 6px 28px rgba(39,44,49,0.15);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
  padding: 24px 22px;
  background: #f5f5f8;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(39,44,49,0.07);
  position: relative;
  min-width: 240px;
  max-width: 540px;
}
.testimonial-card p {
  font-size: 1.05rem;
  color: #222;
  font-weight: 500;
  margin-bottom: 0;
}
.testimonial-card span {
  color: #666;
  font-size: 0.95em;
  font-weight: 500;
}

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

/* Feature Grid Items */
.feature-grid > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 18px rgba(39,44,49,0.11);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 30px 20px 24px 20px;
  flex: 1 1 210px;
  min-width: 210px;
  max-width: 270px;
  transition: box-shadow 0.2s;
}
.feature-grid > div img {
  width: 46px;
  height: 46px;
  margin-bottom: 10px;
}
.feature-grid > div h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}
.feature-grid > div:hover {
  box-shadow: 0 7px 26px rgba(39,44,49,0.16);
}

/* ==========================================================
   HEADER & NAVIGATION
   ========================================================== */
header {
  width: 100%;
  background: linear-gradient(104deg, #f5a623 0%, #262626 85%);
  box-shadow: 0 2px 10px rgba(39,44,49,0.06);
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 64px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 16px 20px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 600;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}
header nav a.btn-primary {
  background: #fff;
  color: #f5a623;
  box-shadow: 0 2px 8px rgba(39,44,49,0.09);
  margin-left: 12px;
  transition: background 0.16s, color 0.16s;
}
header nav a.btn-primary:hover {
  background: #f5a623;
  color: #fff;
}
header nav a:hover {
  background: rgba(245,166,35,0.11);
  color: #fff;
}
header nav img {
  height: 38px;
  width: auto;
  margin-right: 18px;
}

/* ================================
   MOBILE NAVIGATION
   ================================ */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  color: #262626;
  border: none;
  font-size: 2.1rem;
  padding: 8px 14px;
  border-radius: 10px;
  position: absolute;
  top: 14px;
  right: 22px;
  z-index: 50;
  cursor: pointer;
  transition: background .14s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #ffedcf;
  color: #f5a623;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: linear-gradient(108deg, #FFFAF2 54%, #f5a623 100%);
  box-shadow: 0 3px 22px rgba(39,44,49,0.18);
  transform: translateX(-110vw);
  transition: transform 0.34s cubic-bezier(.75,0,.18,1);
  z-index: 1600;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 40px;
  padding-left: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #fff;
  color: #f5a623;
  border: none;
  font-size: 2rem;
  border-radius: 40px;
  padding: 6px 16px;
  position: absolute;
  right: 26px;
  top: 21px;
  z-index: 1001;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(39,44,49,0.14);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #ffe8bb;
  color: #262626;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  margin-top: 50px;
  gap: 16px;
  width: 100%;
  align-items: flex-start;
  padding-left: 38px;
}
.mobile-nav a {
  color: #262626;
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 10px;
  padding: 13px 14px 13px 2px;
  transition: background 0.14s, color 0.14s;
  min-width: 200px;
  margin-bottom: 0;
}
.mobile-nav a.btn-primary {
  background: #f5a623;
  color: #fff;
  margin-top: 7px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #f5a623;
  color: #fff;
}

/* Hide nav on mobile */
@media (max-width: 980px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    right: 18px;
  }
}
@media (min-width: 981px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ================================
   MAIN BUTTONS
   ================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.13rem;
  background: linear-gradient(104deg, #f5a623 15%, #ffb84d 85%);
  color: #fff;
  border: none;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(39,44,49,0.07);
  cursor: pointer;
  transition: background 0.19s, transform 0.15s;
  text-decoration: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(104deg, #e39607 15%, #ffb84d 85%);
  color: #fff;
  transform: translateY(-2px) scale(1.027);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  background: #fff;
  color: #f5a623;
  border-radius: 10px;
  border: 2px solid #f5a623;
  cursor: pointer;
  box-shadow: 0 1px 5px rgba(39,44,49,0.06);
  transition: background 0.12s, color 0.12s, border-color 0.13s, transform 0.12s;
  margin-top: 14px;
  text-decoration: none;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #f5a623;
  color: #fff;
  border-color: #d48206;
  transform: translateY(-2px) scale(1.025);
}

/* ================================
   FOOTER
   ================================ */
footer {
  width: 100%;
  background: #262626;
  color: #fff;
  padding: 50px 0 30px 0;
  margin-top: 40px;
}
footer .container {
  max-width: 1200px;
}
footer .content-wrapper {
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
footer a {
  color: #fff;
  font-size: 1.05rem;
  margin-right: 10px;
  padding: 4px 6px;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: background 0.13s;
}
footer a:hover, footer a:focus {
  background: #F5A623;
  color: #262626;
}
footer img {
  height: 32px;
  margin-bottom: 10px;
}
footer p {
  color: #fff;
  font-size: 0.99rem;
  opacity: 0.79;
  text-align: center;
  margin: 0;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ================================
   COOKIE CONSENT BANNER & MODAL
   ================================ */
#cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: linear-gradient(94deg,#f3f3f3 85%, #f5a623 100%);
  color: #262626;
  box-shadow: 0 -2px 18px rgba(39,44,49,0.18);
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 30px;
  flex-wrap: wrap;
  font-size: 1.05rem;
  gap: 18px;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  animation: cookieDownIn 0.6s cubic-bezier(.64,0,.32,1);
}
@keyframes cookieDownIn { from { transform: translateY(100%); } to { transform: translateY(0); } }
#cookie-consent-banner span {
  flex: 1 1 160px;
}
.cookie-banner-buttons {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-banner-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 8px;
  font-size: 1.05rem;
  padding: 9px 23px;
  border: none;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
}
.cookie-banner-btn.accept {
  background: #f5a623;
  color: #fff;
}
.cookie-banner-btn.reject {
  background: #fff;
  color: #f5a623;
  border: 1.5px solid #f5a623;
}
.cookie-banner-btn.settings {
  background: #262626;
  color: #fff;
  margin-left: 6px;
}
.cookie-banner-btn:hover, .cookie-banner-btn:focus {
  opacity: 0.9;
  outline: none;
}

/* Cookie settings modal */
#cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 2500;
  inset: 0;
  background: rgba(60,55,43,0.52);
  align-items: center;
  justify-content: center;
}
#cookie-modal-overlay.open {
  display: flex;
}
#cookie-settings-modal {
  background: #fff;
  border-radius: 24px;
  max-width: 470px;
  width: 92vw;
  padding: 36px 30px 28px 30px;
  box-shadow: 0 7px 54px rgba(39,44,49,0.18);
  z-index: 3100;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookieModalIn 0.48s cubic-bezier(.64,0,.32,1);
}
@keyframes cookieModalIn { from { transform: scale(.84); opacity: 0;} to { transform: scale(1); opacity:1; } }
#cookie-settings-modal h3 {
  margin-bottom: 0;
  font-size: 1.28rem;
  color: #f5a623;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}
.cookie-option {
  display: flex;
  align-items: center;
  gap: 17px;
}
.cookie-option label {
  flex: 1 1 130px;
}
.cookie-option input[type=checkbox][disabled] {
  accent-color: #d48206;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 19px;
}
#cookie-modal-close {
  position: absolute;
  right: 21px;
  top: 18px;
  background: #ffedcf;
  color: #f5a623;
  border: none;
  border-radius: 40px;
  font-size: 1.2rem;
  width: 34px; height: 34px;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(39,44,49,0.09);
}
#cookie-modal-close:hover,#cookie-modal-close:focus {
  background: #f5a623;
  color: #fff;
}

/* ==========================================================
   MISC UI ELEMENTS
   ========================================================== */
main {
  margin-top: 16px;
  padding-bottom: 48px;
}
hr {
  border: none;
  border-top: 1px solid #dfdfdf;
  margin: 32px 0;
}
dt {
  font-weight: 700;
  margin-top: 18px;
}
dd {
  margin-left: 8px;
  margin-bottom: 13px;
  color: #262626;
}
strong {
  font-weight: 700;
}
/* For icon labels */
.text-section img {
  vertical-align: middle;
  width: 22px;
  height: 22px;
  display: inline-block;
  margin-right: 7px;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */
@media (max-width: 980px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
    max-width: 98vw;
  }
  .header nav {
    display: none;
  }
  .section {
    padding: 28px 4vw;
    margin-bottom: 40px;
    border-radius: 15px;
  }
  .card-container, .feature-grid, .card-grid {
    gap: 18px;
  }
  .card {
    min-width: 170px;
    max-width: 99vw;
    padding: 21px 12px;
    border-radius: 13px;
  }
  .feature-grid > div {
    padding: 21px 10px 16px 10px;
    min-width: 120px;
    max-width: 99vw;
    border-radius: 13px;
  }
  .testimonial-card {
    padding: 17px 11px;
    border-radius: 11px;
    min-width: 120px;
    max-width: 99vw;
  }
  .content-wrapper {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  main {
    padding-bottom: 28px;
  }
  h1 {
    font-size: 1.65rem;
    margin-bottom: 12px;
  }
  h2 {
    font-size: 1.36rem;
    margin-bottom: 11px;
  }
  .content-wrapper {
    padding: 0;
    gap: 10px;
  }
  .text-image-section, .content-grid, .feature-grid, .card-container, .card-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .section {
    padding: 16px 3vw;
    margin-bottom: 26px;
  }
  .testimonial-card {
    gap: 6px;
    margin-bottom: 14px;
    padding: 13px 8px;
  }
  .feature-item {
    gap: 7px;
  }
  #cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 7vw;
    font-size: 0.99rem;
  }
  #cookie-settings-modal {
    padding: 24px 8vw 15px 8vw;
    min-width: unset;
  }
}

/* ================================
   UTILITIES, ANIMATION & MICRO-INTERACTIONS
   ================================ */
.card, .feature-grid > div, .testimonial-card, .btn-primary, .btn-secondary {
  transition: box-shadow 0.18s, transform 0.17s, background 0.19s, color 0.19s;
}
.btn-primary:active, .btn-secondary:active {
  transform: scale(0.99);
  filter: brightness(0.98);
}
.feature-grid > div:active {
  box-shadow: 0 2px 7px rgba(0,0,0,0.07);
}
.testimonial-card {
  transition: box-shadow 0.19s, background 0.19s;
}
.testimonial-card:hover {
  background: #fffbe4;
  box-shadow: 0 7px 26px rgba(245,166,35,.13);
  transform: translateY(-2px) scale(1.01);
}
.cookie-banner-btn:active {
  filter: brightness(0.89);
  transform: scale(0.98);
}

/* ================================
   OVERRIDES FOR ACCESSIBILITY
   ================================ */
:focus {
  outline: 2px solid #F5A623;
  outline-offset: 2px;
}
::-webkit-scrollbar {
  width: 9px;
  background: #eee;
}
::-webkit-scrollbar-thumb {
  background: #f5a623;
  border-radius: 6px;
}

/* ================================
   GENERAL SPACING & LAYOUT RULES
   ================================ */
section + section {
  margin-top: 10px;
}
.content-wrapper > * + * {
  margin-top: 0px;
}

/* Always keep at least 20px between items in all flex containers (enforced via gap) */
/* Already included above for .card-container, .feature-grid, .content-grid, etc */

/* ================================
   PRINT BRAND FONTS
   ================================ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500;700&display=swap');
