/* === 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, 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #FAFAFC;
  min-height: 100vh;
  color: #232426;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  border: 0;
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  border: none;
  background: none;
  outline: none;
  box-sizing: border-box;
}

/* === BRAND FONTS & COLOR VARIABLES (fallbacks included) === */
:root {
  --primary: #205682;
  --primary-dark: #153c58;
  --secondary: #1A3424;
  --accent: #F6C85F;
  --accent-dark: #d4a930;
  --white: #fff;
  --light: #F5F6F8;
  --grey: #e6e6ed;
  --shadow: rgba(32, 86, 130, 0.14);
  --danger: #C05050;

  --display-font: 'Montserrat', Arial, Helvetica, sans-serif;
  --body-font: 'Roboto', Arial, Helvetica, sans-serif;
}

/* === TYPOGRAPHY & HIERARCHY === */
html {
  font-size: 16px;
}
body {
  font-family: var(--body-font);
  font-size: 1rem;
  background: var(--light);
}
h1, h2, h3 {
  font-family: var(--display-font);
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 18px;
  line-height: 1.2;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}
p, li {
  font-size: 1rem;
  line-height: 1.7;
  color: #232426;
  margin-bottom: 12px;
}
strong {
  color: var(--primary);
  font-weight: 700;
}
small {
  font-size: 0.9rem;
}

/* === CONTAINER & LAYOUTS === */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 4px 24px var(--shadow);
}

@media (max-width: 1024px) {
  .section {
    padding: 30px 10px;
    margin-bottom: 40px;
    border-radius: 14px;
  }
  .container {
    max-width: 98vw;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 24px 6px;
    margin-bottom: 28px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.15rem; }
}

/* === HEADER & MAIN NAVIGATION === */
header {
  background: var(--white);
  box-shadow: 0 2px 16px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1100;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 28px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  font-family: var(--body-font);
  padding: 8px 14px;
  color: var(--primary);
  font-weight: 500;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus-visible {
  color: var(--accent);
  background: var(--primary);
  outline: none;
}
.main-nav .cta-primary {
  background: var(--accent);
  color: var(--secondary);
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: 0.03em;
  margin-left: 10px;
  padding: 10px 28px;
  box-shadow: 0 2px 8px var(--shadow);
  border: 2px solid var(--accent);
  transition: background 0.2s, color 0.2s, border 0.2s;
  font-family: var(--display-font);
}
.main-nav .cta-primary:hover, .main-nav .cta-primary:focus {
  background: var(--secondary);
  color: var(--accent);
  border-color: var(--secondary);
}

/* --- Hamburger Button --- */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: var(--accent);
  color: var(--secondary);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.18s;
  z-index: 1200;
  border: 2px solid var(--accent);
  box-shadow: 0 2px 8px var(--shadow);
  cursor: pointer;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--primary);
  background: var(--primary);
  color: var(--accent);
}
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* --- Mobile Menu Overlay --- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  background: var(--white);
  width: 100vw;
  height: 100vh;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.7,.1,.4,1);
  z-index: 1300;
  box-shadow: -4px 0 32px var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 38px 24px 0 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2.2rem;
  margin-bottom: 22px;
  margin-top: 0;
  cursor: pointer;
  align-self: flex-end;
  transition: color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--accent);
  background: var(--primary);
  border-radius: 8px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 12px;
}
.mobile-nav a {
  font-family: var(--display-font);
  font-size: 1.25rem;
  padding: 14px 8px;
  color: var(--secondary);
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  font-weight: 600;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--primary);
  color: var(--accent);
}

@media (min-width: 1025px) {
  .mobile-menu {
    display: none;
  }
}

/* === HERO SECTIONS === */
.hero {
  padding: 0 0 50px 0;
  background: linear-gradient(110deg, #fff 35%, #e6e6ed 100%);
  min-height: 320px;
  display: flex;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 16px;
  padding-top: 42px;
  padding-bottom: 40px;
}
.hero h1 {
  color: var(--primary);
  margin-bottom: 12px;
}
.hero p {
  color: var(--secondary);
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.hero .cta-primary {
  display: inline-block;
  margin-top: 5px;
  font-size: 1.12rem;
  padding: 13px 38px;
}
@media (max-width: 600px) {
  .hero {
    min-height: 220px;
    padding-bottom: 24px;
  }
  .hero .content-wrapper {
    padding-top: 26px;
    padding-bottom: 18px;
  }
}

/* === BUTTONS & INTERACTIVE ELEMENTS === */
.cta-primary {
  background: var(--accent);
  color: var(--secondary);
  font-family: var(--display-font);
  border-radius: 999px;
  border: 2px solid var(--accent);
  padding: 11px 28px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px var(--shadow);
  transition: background 0.22s, color 0.22s, border 0.18s, transform 0.19s;
  cursor: pointer;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--primary);
  color: var(--accent);
  border-color: var(--primary);
  transform: translateY(-1px) scale(1.02);
  outline: none;
}

/* === FLEXBOX LAYOUTS (MANDATORY) === */
.card-container, .services-list, .features-list, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: flex-start;
}
.card {
  background: var(--white);
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 16px var(--shadow);
  position: relative;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.23s, transform 0.21s;
  border: 1px solid #f0e8db;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 32px rgba(246, 200, 95,0.12), 0 2px 18px var(--shadow);
  transform: translateY(-2px) scale(1.012);
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}
.features-list {
  gap: 24px;
}
.features-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #fff8ee;
  border-radius: 12px;
  padding: 17px 18px 17px 12px;
  box-shadow: 0 1.5px 8px rgba(246, 200, 95,0.09);
  margin-bottom: 8px;
  font-weight: 500;
  font-family: var(--body-font);
  font-size: 1.05rem;
  color: var(--secondary);
}
.features-list li img {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 3px 2px #F6C85F23) saturate(1.27);
}
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 8px;
}
.services-list li {
  flex: 1 1 260px;
  background: #f8fafb;
  border-radius: 15px;
  box-shadow: 0 2px 16px var(--shadow);
  padding: 30px 20px 18px 20px;
  margin-bottom: 18px;
  border: 1.5px solid var(--accent);
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  transition: border 0.18s, box-shadow 0.19s, transform 0.16s;
}
.services-list li:hover, .services-list li:focus-within {
  border-color: var(--primary);
  box-shadow: 0 5px 44px rgba(246, 200, 95,0.12), 0 2px 18px var(--shadow);
  transform: translateY(-1.5px);
}
.services-list h3 {
  color: var(--primary);
  font-family: var(--display-font);
  font-weight: 700;
  margin-bottom: 8px;
}
.services-list strong {
  color: var(--secondary);
}

/* Steps list */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 18px;
  list-style: decimal inside;
  padding-left: 2px;
}
.step-list li {
  padding-left: 8px;
  color: var(--secondary);
}

/* Contact info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.01rem;
  color: var(--secondary);
}
.contact-info img {
  width: 22px;
  height: 22px;
  filter: grayscale(30%) brightness(1.15);
}

/* === TESTIMONIALS === */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px 20px 28px;
  background: var(--white);
  border-left: 5px solid var(--accent);
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 16px var(--shadow);
  font-family: var(--body-font);
  font-size: 1.15rem;
  max-width: 520px;
  transition: box-shadow 0.18s, border-color 0.23s;
}
.testimonial-card p {
  color: #222326;
  margin-bottom: 0;
  font-size: 1.1rem;
  font-style: italic;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: var(--primary);
  font-weight: 600;
}
.testimonial-card strong {
  color: var(--secondary);
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 34px var(--shadow);
  border-color: var(--accent-dark);
}
@media (max-width: 768px) {
  .testimonial-card {
    padding: 13px 10px 12px 10px;
    font-size: 1rem;
    max-width: 100%;
    border-radius: 9px;
  }
}

/* === TEXT SECTION === */
.text-section {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 2px 12px var(--shadow);
  padding: 20px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.text-section ul {
  margin-left: 0;
  padding-left: 8px;
  margin-bottom: 12px;
}
.text-section li {
  color: #222426;
}

/* === FOOTER === */
footer {
  background: #fff6e3;
  border-top: 1.5px solid var(--accent);
  padding: 30px 0 12px 0;
  margin-top: 48px;
}
footer .container {
  max-width: 1120px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  justify-content: flex-start;
}
.footer-nav {
  display: flex;
  gap: 12px;
  font-family: var(--display-font);
  font-size: 1rem;
  color: var(--secondary);
  margin-bottom: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  padding: 0 4px;
  color: var(--secondary);
  font-weight: 500;
  border-radius: 6px;
  transition: color 0.18s, background 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--primary);
  background: var(--accent);
}
.social-links {
  display: flex;
  gap: 14px;
}
.social-links img {
  width: 28px;
  height: 28px;
  filter: grayscale(27%) brightness(0.92);
  transition: filter 0.15s, transform 0.18s;
  cursor: pointer;
}
.social-links img:hover, .social-links img:focus {
  filter: grayscale(0%) brightness(1.16) drop-shadow(0 2px 12px #F6C85F33);
  transform: scale(1.11);
}
.legal-info {
  color: var(--secondary);
  font-size: 0.92rem;
  font-family: var(--body-font);
  margin-top: 8px;
  text-align: center;
}

@media (max-width: 900px) {
  footer .content-wrapper {
    gap: 14px;
  }
}
@media (max-width: 700px) {
  footer {
    padding: 19px 0 9px 0;
  }
  .footer-nav { font-size: 0.96rem; }
  .social-links img { width: 23px; height: 23px; }
}

/* === FORMS (if present in contact forms/pages) === */
input[type="text"], input[type="email"], textarea {
  border: 1.5px solid #dde0e7;
  border-radius: 8px;
  padding: 11px 14px;
  margin-bottom: 18px;
  box-shadow: 0 1px 4px #20568213;
  font-size: 1rem;
  background: #fff;
  transition: border-color 0.19s, box-shadow 0.15s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 1px 8px #F6C85F19;
  outline: none;
}
label {
  font-weight: 600;
  color: var(--secondary);
  font-family: var(--body-font);
  margin-bottom: 0.45em;
}

/* === MICRO-INTERACTIONS === */
.card, .services-list li, .testimonial-card, .footer-nav a, .cta-primary, .main-nav a, .mobile-nav a, .social-links img {
  transition: box-shadow 0.16s, transform 0.15s, color 0.17s, background 0.14s, border 0.2s, filter 0.13s;
}

/* === SPACING GUARANTEE & FLEX CONSISTENCY === */
/* Ensuring NO overlaps & adequate spacing between cards/sections */
.card-container,
.services-list,
.features-list,
.content-grid,
.text-image-section,
.step-list {
  gap: 20px;
}
.card, .services-list li, .testimonial-card, .section {
  margin-bottom: 20px;
}

/* === RESPONSIVE DESIGN: MOBILE-FIRST === */
@media (max-width: 800px) {
  .header-flex {
    gap: 10px;
    height: 66px;
  }
  .content-wrapper, .card-container, .services-list, .features-list, .content-grid, .footer-nav, .social-links {
    flex-direction: column;
    gap: 13px;
  }
  .services-list li, .card {
    padding: 20px 12px 14px 12px;
    min-width: 0;
    width: 100%;
  }
  .main-nav, .footer-nav {
    flex-direction: column;
    gap: 8px;
  }
  .features-list {
    gap: 13px;
  }
}

@media (max-width: 600px) {
  .card-container, .services-list, .features-list, .content-grid {
    flex-direction: column;
    gap: 13px;
    justify-content: flex-start;
  }
  .section {
    padding: 12px 2px;
    margin-bottom: 14px;
    border-radius: 8px;
  }
}

/* === COOKIE CONSENT BANNER === */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: var(--white);
  border-top: 2.5px solid var(--accent);
  box-shadow: 0 -2px 14px rgba(32, 86, 130, 0.12);
  padding: 22px 16px 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--body-font);
  transition: transform 0.36s cubic-bezier(.71,.22,.32,1);
}
.cookie-consent-banner.hide {
  transform: translateY(150%);
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-consent-banner button {
  background: var(--accent);
  color: var(--secondary);
  border-radius: 7px;
  border: 2px solid var(--accent);
  font-family: var(--display-font);
  font-weight: 600;
  padding: 8px 18px;
  font-size: 1rem;
  cursor: pointer;
  margin-left: 5px;
  transition: background 0.16s, color 0.17s, border 0.16s, transform 0.13s;
}
.cookie-consent-banner button:hover, .cookie-consent-banner button:focus {
  background: var(--primary);
  color: var(--accent);
  border-color: var(--primary);
}
.cookie-consent-banner .cookie-settings-btn {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
  margin-left: 0;
}
.cookie-consent-banner .cookie-settings-btn:hover {
  background: var(--accent);
  color: var(--secondary);
  border-color: var(--accent);
}
@media (max-width: 600px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.99rem;
    padding: 15px 7px 9px 7px;
  }
}

/* === COOKIE PREFERENCE MODAL === */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 3000;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(32, 86, 130, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.31s;
}
.cookie-modal {
  background: var(--white);
  border-radius: 17px;
  box-shadow: 0 4px 32px var(--shadow);
  padding: 34px 25px 19px 25px;
  min-width: 300px;
  max-width: 98vw;
  width: 370px;
  font-family: var(--body-font);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: fadeInModal 0.35s cubic-bezier(.31,.66,.52,.97);
}
@keyframes fadeInModal {
  from {transform: scale(0.95); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}
.cookie-modal h2 {
  font-size: 1.35rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 9px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 1rem;
}
.cookie-modal .cookie-toggle {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
}
.cookie-modal .cookie-essential {
  color: var(--secondary);
  font-weight: 600;
  opacity: 0.7;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--primary);
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.16s, background 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--accent-dark);
  background: var(--grey);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal .cookie-modal-actions button {
  background: var(--accent);
  color: var(--secondary);
  border-radius: 7px;
  border: 2px solid var(--accent);
  padding: 8px 18px;
  font-family: var(--display-font);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.16s, color 0.17s, border 0.16s, transform 0.13s;
}
.cookie-modal .cookie-modal-actions button:hover, .cookie-modal .cookie-modal-actions button:focus {
  background: var(--primary);
  color: var(--accent);
  border-color: var(--primary);
}
@media (max-width: 430px) {
  .cookie-modal {
    padding: 16px 4px 10px 4px;
    width: 97vw;
    min-width: 0;
  }
  .cookie-modal h2 {
    font-size: 1.07rem;
  }
}

/* === UTILITY CLASSES === */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 2px !important; }
.mb-2 { margin-bottom: 2px !important; }
.mt-8 { margin-top: 8px !important; }
.mb-8 { margin-bottom: 8px !important; }

/* ========== END ========== */
