/* ===== CSS RESET & NORMALIZE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
body {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  color: #243550;
  background: #fff;
  min-height: 100vh;
  line-height: 1.6;
}
ul, ol {
  list-style: none;
}
a {
  color: #243550;
  text-decoration: none;
  transition: color 0.25s cubic-bezier(.77, 0, .18, 1);
}
a:hover, a:focus {
  color: #F5A76D;
}
img {
  max-width: 100%;
  display: block;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Quicksand', "Trebuchet MS", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: .5px;
  color: #243550;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
blockquote {
  font-size: 1.125rem;
  font-family: 'Quicksand', Arial, sans-serif;
  color: #243550;
  border-left: 6px solid #F5A76D;
  background: #E3E9F3;
  padding: 18px 24px;
  margin-bottom: 12px;
  border-radius: 10px 0 0 10px;
}
strong {
  font-family: 'Quicksand', Arial, sans-serif;
  font-weight: 700;
}
p {
  margin-bottom: 16px;
}

/* ===== BRAND COLORS (FALLBACKS) ===== */
:root {
  --brand-primary: #243550;
  --brand-secondary: #F5A76D;
  --brand-accent: #E3E9F3;
  --text-main: #243550;
  --text-light: #fff;
  --border-light: #E3E9F3;
  --shadow-card: 0 4px 24px rgba(36,53,80,0.07);
  --shadow-hover: 0 2px 14px rgba(245,167,109,0.13);
  --focus-ring: 0 0 0 3px rgba(245,167,109,0.33);
}

body {
  background: #fff;
}

/* ===== LAYOUT CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

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

.text-section {
  max-width: 800px;
}

/* ===== HEADER & NAVIGATION STYLES ===== */
header {
  background: #fff;
  border-bottom: 2px solid var(--border-light);
  box-shadow: 0 2px 10px rgba(36,53,80,0.05);
  padding-top: 6px;
  z-index: 40;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}
header img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: 'Quicksand', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--brand-primary);
  padding: 8px 0;
  position: relative;
  border-radius: 2px;
  transition: background 0.17s, color .18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--brand-secondary);
  background: var(--brand-accent);
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 135px;
  padding: 12px 28px;
  font-family: 'Quicksand', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: 30px;
  border: none;
  background: var(--brand-primary);
  color: #fff;
  letter-spacing: .04em;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  text-align: center;
  transition: background .23s, box-shadow .22s, color .23s;
  margin-left: 18px;
  margin-right: 8px;
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  box-shadow: var(--shadow-hover);
  outline: none;
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-menu-toggle {
  display: none;
  background: var(--brand-secondary);
  border: none;
  color: var(--brand-primary);
  font-size: 2.1rem;
  padding: 6px 14px;
  border-radius: 18px;
  cursor: pointer;
  transition: background .25s, color .2s;
  box-shadow: 0 2px 8px rgba(245,167,109,0.08);
}
.mobile-menu-toggle:focus {
  outline: none;
  box-shadow: var(--focus-ring);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 99;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(.62,0,.26,1);
  padding: 0 0 0 0;
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.3rem;
  color: var(--brand-primary);
  margin: 25px 30px 3px 0;
  cursor: pointer;
  transition: color .22s;
}
.mobile-menu-close:focus {
  color: var(--brand-secondary);
  outline: none;
  box-shadow: var(--focus-ring);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  margin-top: 22px;
  margin-left: 36px;
}
.mobile-nav a {
  font-family: 'Quicksand', Arial, sans-serif;
  font-size: 1.18rem;
  color: var(--brand-primary);
  background: none;
  padding: 8px 0;
  border-radius: 4px;
  transition: color .17s, background .17s;
  width: 100%;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--brand-secondary);
  background: var(--brand-accent);
}
@media (max-width: 1020px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 880px) {
  .main-nav {
    gap: 13px;
  }
  .btn-primary {
    min-width: 100px;
    font-size: 1rem;
    padding: 10px 18px;
    margin-left: 7px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    justify-content: space-between;
    min-height: 62px;
  }
  .main-nav {
    display: none;
  }
  .btn-primary {
    margin-left: 0;
    margin-right: 0;
  }
  .mobile-menu-toggle {
    display: block;
    margin-left: 10px;
    z-index: 110;
  }
}

/* ===== SECTION & LAYOUT PATTERNS ===== */
section {
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 26px 30px 26px 30px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  max-width: 375px;
  transition: box-shadow .20s, transform .20s;
  border: 2px solid var(--brand-accent);
}
.card:hover, .card:focus {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px) scale(1.02) rotate(-1deg);
  border-color: var(--brand-secondary);
}
.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: #E3E9F3;
  color: #243550;
  border-radius: 18px;
  box-shadow: 0 5px 18px rgba(36,53,80,0.08);
  margin-bottom: 24px;
  border-left: 8px solid var(--brand-secondary);
  flex-wrap: wrap;
  min-width: 260px;
  max-width: 580px;
}
.testimonial-card blockquote {
  margin-bottom: 0;
  background: none;
  padding: 0 12px 0 0;
  border-left: none;
  font-size: 1.125rem;
  color: #243550;
}
.testimonial-card p {
  margin-bottom: 0;
  font-family: 'Quicksand', Arial, sans-serif;
  color: #243550;
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #E3E9F3;
  border-radius: 12px;
  padding: 20px;
  min-width: 180px;
  box-shadow: var(--shadow-card);
}

/* Spacing for lists in sections */
.content-wrapper ul, .content-wrapper ol {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.content-wrapper li {
  padding-left: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
}
.content-wrapper li img {
  height: 28px;
  width: auto;
}

/* Spacing for dl Q&A in FAQ page */
dl {
  margin-bottom: 22px;
}
dt {
  font-family: 'Quicksand', Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 4px;
  margin-top: 10px;
}
dd {
  margin-bottom: 8px;
  margin-left: 15px;
  color: #243550;
}

/* ===== RESPONSIVE LAYOUTS ===== */
@media (max-width: 968px) {
  .testimonial-card, .card, .feature-item {
    max-width: 100%;
  }
  .content-grid, .card-container {
    gap: 14px;
  }
  .content-wrapper {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 4px;
    padding-right: 4px;
  }
  .content-wrapper, .text-section {
    padding: 0;
  }
  .section, section {
    padding: 28px 4vw;
    margin-bottom: 44px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section, .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }
  h1 {
    font-size: 1.65rem;
    margin-bottom: 17px;
  }
  h2 {
    font-size: 1.17rem;
    margin-bottom: 13px;
  }
  .btn-primary {
    min-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 13px 8px;
    font-size: 1.02rem;
  }
}

/* ===== FOOTER ===== */
footer {
  background: var(--brand-primary);
  color: #fff;
  padding: 44px 0 26px 0;
  border-top: 4px solid var(--brand-accent);
  font-size: 0.98rem;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}
footer .container > div {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
footer img {
  height: 44px;
  margin-bottom: 7px;
}
footer p {
  color: #fff;
  margin-bottom: 0;
  font-size: 0.98rem;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
footer nav a {
  color: var(--brand-accent);
  font-family: 'Quicksand', Arial, sans-serif;
  font-size: 1rem;
  transition: color .15s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--brand-secondary);
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  footer {
    padding: 32px 0 16px 0;
  }
}

/* ===== BUTTONS & INTERACTIONS ===== */
button, .btn-primary, .mobile-menu-toggle {
  transition: background .23s, color .19s, box-shadow .17s, transform .15s;
}
button:focus, .btn-primary:focus, .mobile-menu-toggle:focus {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* ===== MICRO-INTERACTIONS ===== */
.card, .testimonial-card, .feature-item {
  transition: box-shadow .18s, border-radius .11s, transform .15s;
}
.card:hover, .testimonial-card:hover, .feature-item:hover {
  box-shadow: var(--shadow-hover);
  border-radius: 24px 24px 18px 18px;
  transform: scale(1.015) skew(-0.75deg, 0);
}

/* ======= GEOMETRIC_DECORATIVE ELEMENTS (subtle) ======= */
.card::after, .testimonial-card::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 30px;
  height: 30px;
  background: var(--brand-accent);
  opacity: 0.13;
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
  border-radius: 3px;
  z-index: 0;
}
.card:hover::after, .testimonial-card:hover::after {
  opacity: 0.33;
  transform: scale(1.15) rotate(5deg);
}
@media (max-width: 768px) {
  .card::after,
  .testimonial-card::after {
    width: 18px;
    height: 18px;
    right: 7px;
    bottom: 6px;
  }
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #243550cc;
  color: #fff;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  z-index: 120;
  box-shadow: 0 -2px 16px rgba(36,53,80,0.09), 0 4px 14px rgba(36,53,80,0.12);
  font-size: 1rem;
  animation: slideInBanner 0.45s cubic-bezier(.77, 0, .23, 1);
}
@keyframes slideInBanner { 0% { transform: translateY(110%); opacity:0;} 100%{ transform: translateY(0); opacity:1;}}
.cookie-consent-banner p {
  color: #fff;
  margin: 0 0 6px 0;
}
.cookie-consent-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 10px 24px;
  font-family: 'Quicksand', Arial, sans-serif;
  font-weight: 700;
  background: var(--brand-secondary);
  color: var(--brand-primary);
  border: none;
  border-radius: 22px;
  margin: 0;
  cursor: pointer;
  font-size: 1rem;
  transition: background .18s, color .13s;
  box-shadow: 0 1px 8px rgba(245,167,109,0.08);
}
.cookie-btn.settings {
  background: #fff;
  color: var(--brand-primary);
  border: 1.5px solid var(--brand-secondary);
}
.cookie-btn.reject {
  background: var(--brand-accent);
  color: var(--brand-primary);
  border: 1.5px solid var(--brand-primary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--brand-primary);
  color: #fff;
}

@media (max-width: 480px) {
  .cookie-consent-banner {
    padding: 16px 2vw;
    font-size: 0.95rem;
    gap: 10px;
  }
  .cookie-btn {
    width: 100%;
    min-width: 130px;
    padding: 12px 4px;
  }
  .cookie-consent-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
}

/* ==== COOKIE PREFERENCES MODAL ==== */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 130;
  left: 0; top: 0; bottom: 0; right: 0;
  width: 100vw; height: 100vh;
  background: rgba(36,53,80,0.57);
  align-items: center;
  justify-content: center;
  animation: fadeInModal .33s cubic-bezier(.77, 0, .23, 1);
}
.cookie-modal-overlay.active {
  display: flex;
}
@keyframes fadeInModal { 0% { opacity:0;} 100%{opacity:1;} }
.cookie-modal {
  background: #fff;
  color: #243550;
  border-radius: 18px;
  box-shadow: 0 10px 38px rgba(36,53,80,0.16);
  padding: 32px 32px 24px 32px;
  max-width: 410px;
  min-width: 260px;
  width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 18px;
  top: 16px;
  background: none;
  border: none;
  font-size: 1.35rem;
  color: #243550;
  cursor: pointer;
  transition: color .17s;
}
.cookie-modal .modal-close:hover {
  color: #F5A76D;
}
.cookie-setting-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 8px 0;
}
.cookie-setting-item label {
  font-weight: 600;
  font-family: 'Quicksand', Arial, sans-serif;
}
.cookie-setting-switch {
  width: 48px;
  height: 26px;
  background: var(--brand-accent);
  border-radius: 15px;
  position: relative;
  transition: background .18s;
  cursor: pointer;
}
.cookie-setting-switch input {
  display: none;
}
.cookie-setting-slider {
  display: block;
  position: absolute;
  left: 3px;
  top: 3px;
  width: 20px;
  height: 20px;
  background: var(--brand-secondary);
  border-radius: 50%;
  transition: left .23s cubic-bezier(.59,.67,.36,.92);
}
.cookie-setting-switch input:checked + .cookie-setting-slider {
  left: 25px;
  background: var(--brand-primary);
}
.cookie-setting-item.disabled label { opacity: 0.7;}
.cookie-setting-item.disabled .cookie-setting-switch { opacity: .39; pointer-events: none;}
.cookie-modal .cookie-btn {
  margin-top: 14px;
  width: 100%;
  min-width: 0;
}

/* ===== TYPOGRAPHY & DETAILS ===== */
@media (max-width: 480px) {
  .cookie-modal {
    padding: 16px 7vw;
    max-width: 99vw;
    min-width: unset;
  }
}

/* ===== MISC ===== */
::-webkit-input-placeholder { color: #7c889c; }
::-moz-placeholder          { color: #7c889c; }
:-ms-input-placeholder      { color: #7c889c; }
::placeholder              { color: #7c889c; }

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

/* ===== PRINT (just in case) ===== */
@media print {
  nav, .main-nav, .btn-primary, .mobile-menu-toggle, footer, .cookie-consent-banner, .cookie-modal-overlay { display: none !important; }
}
