/* 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, 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;
}
body {
  line-height: 1.5;
  background: #F3F7FA;
  color: #2A2A2A;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #22406D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B67128;
}
ul, ol {
  margin-left: 1.8em;
  margin-bottom: 16px;
}
li + li {
  margin-top: 8px;
}
img {
  max-width: 100%;
  display: inline-block;
  border: 0;
}
h1, h2, h3, h4 {
  font-family: 'IBM Plex Sans', 'Open Sans', Arial, sans-serif;
  color: #22406D;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 10px; }

p, .footer-contact p, .testimonial-card p, .faq-list p {
  color: #3B2E1C;
  margin-bottom: 16px;
  font-size: 1rem;
}
strong { font-weight: 700; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* FLEXBOX LAYOUTS */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 900px) {
  .content-wrapper {
    gap: 36px;
  }
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.features-grid > div {
  flex: 1 1 260px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 16px 0 rgba(34, 64, 109, 0.07);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 240px;
  max-width: 340px;
  transition: box-shadow 0.2s, transform 0.2s;
  margin-bottom: 16px;
}
.features-grid > div img {
  margin-bottom: 18px;
  width: 46px; height: 46px;
}
.features-grid > div:hover, .features-grid > div:focus {
  box-shadow: 0 6px 30px 0 rgba(34, 64, 109, 0.16);
  transform: translateY(-4px) scale(1.02);
}
.features-grid h3 {
  font-family: 'IBM Plex Sans', 'Open Sans', Arial, sans-serif;
  font-size: 1.12rem;
  color: #B67128;
  margin-bottom: 8px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 14px 0 rgba(34, 64, 109, 0.07);
  padding: 24px 20px;
  margin-bottom: 20px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.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;
}

@media (max-width: 768px) {
  .content-grid, .features-grid, .card-container, .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .features-grid > div, .card {
    max-width: 100%;
    min-width: 0;
  }
}

/***** HEADER & NAVIGATION *****/
header {
  background: #fff;
  box-shadow: 0 2px 14px 0 rgba(34, 64, 109, 0.06);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px 20px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'IBM Plex Sans', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #22406D;
  padding: 7px 14px;
  border-radius: 16px;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F9ECD2;
  color: #B67128;
  outline: none;
}
.primary-btn {
  background: #B67128;
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 13px 28px;
  font-family: 'IBM Plex Sans', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 rgba(182, 113, 40, 0.08);
  transition: background 0.18s, box-shadow 0.22s, color 0.12s, transform 0.2s;
  margin-left: 16px;
}
.primary-btn:hover, .primary-btn:focus {
  background: #A05E1C;
  color: #fff3e2;
  box-shadow: 0 6px 28px 0 rgba(182, 113, 40, 0.18);
  transform: translateY(-2px) scale(1.02);
  outline: none;
}
/* Hamburger Button */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #B67128;
  cursor: pointer;
  margin-left: 8px;
  display: none;
  border-radius: 11px;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  transition: background 0.17s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #FFF5E0;
  outline: 2px solid #B67128;
}

/******* MOBILE MENU OVERLAY ******/
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(51, 39, 16, 0.85);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.37s cubic-bezier(.77,0,.18,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #fff;
  border: none;
  border-radius: 12px;
  color: #B67128;
  font-size: 2rem;
  margin: 18px 18px 0 0;
  width: 46px;
  height: 46px;
  cursor: pointer;
  box-shadow: 0 2px 14px 0 rgba(34, 64, 109, 0.09);
  transition: background 0.15s, color 0.17s;
  align-items: center;
  justify-content: center;
  display: flex;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #FFF5E0;
  color: #B67128;
}
.mobile-nav {
  background: #fff;
  padding: 38px 28px;
  border-radius: 16px 0 0 16px;
  width: 84vw;
  min-width: 220px;
  max-width: 375px;
  margin-top: 10px;
  box-shadow: 0 2px 32px 0 rgba(34, 64, 109, 0.18);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-nav a {
  color: #22406D;
  font-size: 1.13rem;
  font-family: 'IBM Plex Sans', 'Open Sans', Arial, sans-serif;
  padding: 14px 12px;
  border-radius: 12px;
  font-weight: 500;
  transition: background 0.17s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F9ECD2;
  color: #B67128;
}

@media (max-width: 1020px) {
  .main-nav,
  .primary-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1021px) {
  .mobile-menu {
    display: none !important;
  }
}

/******** CTA BANNER ********/
.cta-banner {
  background: #F9ECD2;
  border-radius: 20px;
  color: #B67128;
  font-size: 1.14rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 24px;
  box-shadow: 0 3px 18px 0 rgba(182, 113, 40, 0.10);
  gap: 24px;
}
.cta-banner p {
  color: #B67128;
  font-weight: 700;
  margin: 0;
  font-size: 1.14rem;
}
.cta-banner .primary-btn {
  margin-left: 0;
}
@media (max-width: 820px) {
  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/******* TESTIMONIALS *******/
.testimonial-list {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 10px 0 0 0;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 26px 20px 26px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 28px 0 rgba(34, 64, 109, 0.11);
  min-width: 260px;
  max-width: 370px;
  margin-bottom: 20px;
  flex: 1 1 290px;
  transition: box-shadow 0.2s, transform 0.18s;
  color: #2A2A2A;
}
.testimonial-card p {
  color: #22406D;
  font-size: 1.07rem;
  font-style: italic;
}
.testimonial-footer {
  font-size: 0.96rem;
  color: #B67128;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 7px 36px 0 rgba(182, 113, 40, 0.21);
  transform: translateY(-3px) scale(1.02);
}
@media (max-width: 820px) {
  .testimonial-list {
    flex-direction: column;
    gap: 16px;
  }
}

/******* FAQ STYLES *******/
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-list h3 {
  font-size: 1.12rem;
  color: #B67128;
  margin-bottom: 0px;
  font-family: 'IBM Plex Sans', 'Open Sans', Arial, sans-serif;
}
.faq-list p {
  margin-left: 10px;
}

/******* FEATURE ITEMS *******/
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-item img {
  width: 32px; height: 32px;
}

/***** FOOTER ******/
footer {
  background: #22406D;
  color: #fff;
  padding: 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px;
  padding: 38px 20px 28px 20px;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
}
.footer-logo img {
  width: 64px;
  height: auto;
  margin-top: 4px;
  border-radius: 12px;
  background: #fff;
  padding: 2px;
  box-shadow: 0 2px 10px 0 rgba(255, 229, 158, 0.16);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 20px;
}
.footer-nav a {
  color: #fff;
  letter-spacing: 0.03em;
  font-size: 1rem;
  font-family: 'IBM Plex Sans', 'Open Sans', Arial, sans-serif;
  padding: 4px 10px;
  border-radius: 10px;
  transition: background 0.15s, color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #FFF5E0;
  color: #B67128;
}
.footer-contact {
  margin-left: auto;
  max-width: 320px;
  font-size: 0.98rem;
}
.footer-contact p, .footer-contact a {
  color: #FFF8E7;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: #B67128;
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .footer-contact {
    margin-left: 0;
  }
}

/*** FORM STYLES (If forms are added later) ***/
input, textarea, select, button {
  font-family: inherit;
}
input, textarea, select {
  border-radius: 13px;
  border: 1.5px solid #799FB4;
  padding: 11px 16px;
  font-size: 1rem;
  background: #fff;
  margin-bottom: 16px;
  transition: border 0.16s;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border-color: #B67128;
  outline: none;
}

/**** COOKIE CONSENT BANNER ****/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff8e7;
  padding: 30px 22px 26px 22px;
  box-shadow: 0 -5px 30px 0 rgba(182,113,40,0.10);
  border-top: 3px solid #B67128;
  gap: 24px;
  transition: transform 0.32s cubic-bezier(.77,0,.18,1);
}
.cookie-banner.hide {
  transform: translateY(200%);
}
.cookie-banner__text {
  color: #303328;
  font-size: 1.03rem;
  flex: 1 1 auto;
  margin-right: 24px;
}
.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cookie-btn, .cookie-btn--accept, .cookie-btn--reject, .cookie-btn--settings {
  background: #fff;
  border: 1.5px solid #B67128;
  color: #B67128;
  border-radius: 13px;
  padding: 10px 22px;
  font-size: 1rem;
  font-family: 'IBM Plex Sans', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.16s, color 0.13s, border 0.12s;
  margin-left: 0;
}
.cookie-btn--accept {
  background: #B67128;
  color: #fff;
  border: none;
}
.cookie-btn--accept:hover, .cookie-btn--accept:focus {
  background: #A05E1C;
  color: #FFF3E2;
  outline: none;
}
.cookie-btn--reject {
  background: #fff;
  color: #B67128;
  border: 1.5px solid #B67128;
}
.cookie-btn--reject:hover, .cookie-btn--reject:focus {
  background: #FFF5E0;
  color: #B67128;
}
.cookie-btn--settings {
  background: #799FB4;
  color: #fff;
  border: none;
}
.cookie-btn--settings:hover, .cookie-btn--settings:focus {
  background: #22406D;
  color: #fff;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 22px 12px 16px 12px;
  }
  .cookie-banner__text {
    margin-right: 0;
  }
}

/**** COOKIE PREFERENCES MODAL ****/
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34, 64, 109, 0.40);
  z-index: 4100;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 6px 48px 0 rgba(34, 64, 109, 0.21);
  max-width: 95vw;
  width: 400px;
  padding: 38px 26px 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: fadeInModal 0.33s cubic-bezier(.45,1.13,.46,.93);
}
@keyframes fadeInModal {
  from { transform: scale(0.96) translateY(30px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.22rem;
  margin-bottom: 10px;
  color: #22406D;
}
.cookie-category {
  margin-bottom: 14px;
}
.cookie-category label {
  font-size: 1.02rem;
  color: #303328;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.cookie-toggle {
  appearance: none;
  width: 36px;
  height: 20px;
  border-radius: 11px;
  background: #E3E5EB;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.13s;
  margin-right: 6px;
}
.cookie-toggle:checked {
  background: #B67128;
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s, background 0.14s;
  box-shadow: 0 0px 7px 1px rgba(34, 64, 109, 0.05);
}
.cookie-toggle:checked::before {
  transform: translateX(16px);
  background: #FFF3E2;
}
.cookie-category .cookie-locked {
  color: #799FB4;
  font-size: 0.93em;
  margin-left: 8px;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  justify-content: flex-end;
}
.cookie-modal-actions .cookie-btn {
  min-width: 81px;
}

/******* UTILITIES *******/
.rounded {
  border-radius: 17px;
}
.box-shadow-soft {
  box-shadow: 0 3px 16px 0 rgba(34, 64, 109, 0.06);
}

/******* LISTS WITH ICONS ******/
.content-wrapper ul li, .content-wrapper ol li {
  display: flex;
  align-items: start;
  gap: 10px;
  font-size: 1rem;
  margin-bottom: 8px;
  color: #2A2A2A;
}
.content-wrapper ul li img {
  margin-right: 4px;
  width: 24px;
  height: 24px;
}
/***** TABLES (if used) *****/
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 1rem;
  margin-bottom: 24px;
}
th, td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1.5px solid #e2e1dd;
}
th {
  background: #F3F7FA;
  font-weight: 700;
}

/******* SPACING helpers ******/
.mb-0 { margin-bottom: 0 !important; }
.mb-8 { margin-bottom: 8px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mt-24 { margin-top: 24px !important; }
.mt-32 { margin-top: 32px !important; }

/******* MEDIA QUERIES FOR RESPONSIVENESS ******/
@media (max-width: 700px) {
  h1 { font-size: 2.0rem; }
  h2 { font-size: 1.4rem; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.13rem; }
  .primary-btn, .cookie-btn, .cookie-btn--accept, .cookie-btn--reject, .cookie-btn--settings {
    font-size: 0.97rem;
    padding: 10px 16px;
  }
}

/******* FOCUS OUTLINES FOR ACCESSIBILITY ******/
:focus-visible {
  outline: 3px solid #799FB4;
  outline-offset: 1.5px;
}

/******* ANIMATIONS & MICRO-INTERACTIONS ******/
.primary-btn,
.cookie-btn,
.cookie-btn--accept,
.cookie-btn--reject,
.cookie-btn--settings,
.main-nav a,
.mobile-nav a {
  transition: background 0.18s, color 0.17s, box-shadow 0.18s, transform 0.15s;
}

/******** GENERAL ******/
::selection {
  background: #F9ECD2;
  color: #22406D;
}

/******** THANK-YOU/CONFIRMATION ******/
.thank-you {
  text-align: center;
  margin-bottom: 42px;
  padding: 38px 10px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 14px 0 rgba(34, 64, 109, 0.09);
}

/********* PRINT STYLES ********/
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
  body {
    background: #fff;
  }
}
