/* === CSS RESET & BASE STYLES === */
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 {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F6F8FA;
  color: #181919;
  min-height: 100vh;
  line-height: 1.65;
  font-size: 16px;
  letter-spacing: 0.01em;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #181919;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #263B53;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}
input, button, textarea, select {
  font-family: inherit;
  font-size: 100%;
  outline: none;
  border-radius: 0;
}
button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #0e0f11;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.25rem;
  line-height: 1.15;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
@media (min-width: 600px) {
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.25rem;
  }
}

strong, b {
  font-weight: 700;
}

/* === CONTAINERS & SECTIONS === */
.container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.06);
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 24px 8px;
  }
}

/* === HEADER & NAVIGATION === */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 0 rgba(30,30,30,0.02), 0 6px 18px rgba(30,38,44,0.03);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 24px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #181919;
  padding: 7px 8px;
  border-radius: 7px;
  transition: background .18s, color .18s;
  font-weight: 500;
  position: relative;
}
header nav a.cta-btn {
  background: #0e0f11;
  color: #fff;
  font-weight: 700;
  padding: 7px 28px;
  border-radius: 8px;
  margin-left: 20px;
  box-shadow: 0 2px 8px rgba(38,38,38,0.07);
  border: 1px solid #181919;
  transition: background .2s,color .2s,box-shadow .18s;
}
header nav a.cta-btn:hover, header nav a.cta-btn:focus {
  background: #263B53;
  color: #FFD046;
  box-shadow: 0 4px 16px rgba(25,32,39,0.17);
}
header nav a:hover:not(.cta-btn), header nav a:focus:not(.cta-btn) {
  color: #263B53;
  background: #F6F8FA;
}

header img {
  height: 46px;
  width: auto;
}

@media (max-width: 1024px) {
  header nav {
    gap: 12px;
  }
}

/* MOBILE MENU STYLES */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #181919;
  font-size: 2rem;
  padding: 7px 12px;
  border-radius: 8px;
  transition: background .2s;
  z-index: 25;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #e8e9ea;
}
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, #fff 90%, #eaeaea 100%);
  box-shadow: 0 0 64px rgba(38,59,83,0.09);
  z-index: 120;
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  transition: transform .40s cubic-bezier(.87,.09,.47,1), opacity .30s cubic-bezier(.87,.09,.47,1);
}
.mobile-menu.open {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: none;
  color: #181919;
  margin: 20px 20px 0 0;
  border-radius: 8px;
  padding: 7px 12px;
  transition: background .16s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #18191917;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin: 48px 0 0 36px;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: #181919;
  padding: 12px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border-bottom: 1px solid #e4e4e4;
  width: 100%;
  transition: color .16s, background .15s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #f4f6f8;
  color: #263B53;
}

/* === HERO SECTIONS === */
.hero, .blog-hero, .resources-hero, .testimonials-hero, .contact-hero {
  background: #fff;
  padding: 52px 0 40px 0;
  margin-bottom: 30px;
  box-shadow: 0 8px 32px rgba(38,38,39,0.04);
}
.hero h1, .blog-hero h1, .testimonials-hero h1, .resources-hero h1, .contact-hero h1 {
  color: #263B53;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  margin-bottom: 14px;
  font-size: 2rem;
}
.hero p, .blog-hero p, .testimonials-hero p, .resources-hero p, .contact-hero p {
  max-width: 540px;
  font-size: 1.13rem;
  color: #212225;
  margin-bottom: 16px;
}
@media (max-width: 767px) {
  .hero, .blog-hero, .resources-hero, .testimonials-hero, .contact-hero {
    padding: 30px 0 18px 0;
  }
  .hero h1, .blog-hero h1, .testimonials-hero h1, .resources-hero h1, .contact-hero h1 {
    font-size: 1.4rem;
  }
}

/* === FLEXBOX GRID SYSTEMS & CARDS === */
.feature-grid,
.service-teasers,
.service-card-list,
.services-list,
.benefit-grid,
.team-bios,
.article-preview-list,
.card-container,
.resource-cards,
.testimonials-slider,
.testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card-container {
  margin-bottom: 20px;
  position: relative;
}
.service-teasers,
.service-card-list,
.services-list {
  margin-bottom: 24px;
}
@media (max-width: 1024px) {
  .feature-grid,
  .service-teasers,
  .service-card-list,
  .services-list,
  .benefit-grid,
  .team-bios,
  .resource-cards,
  .article-preview-list,
  .testimonials-slider,
  .testimonial-cards {
    gap: 16px;
  }
}
.feature-item, .benefit-item, .service-card, .resource-card, .testimonial-card, .bio, article {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(30,30,40,.07);
  padding: 26px 18px;
  margin-bottom: 20px;
  flex: 1 1 235px;
  min-width: 235px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow .2s, transform .18s;
}
.feature-item img, .benefit-item img {
  width: 48px;
  height: 48px;
}
.feature-item:hover,
.benefit-item:hover,
.service-card:hover,
.resource-card:hover,
.bio:hover,
.testimonial-card:hover,
article:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.17);
  transform: translateY(-4px) scale(1.01);
}

@media (max-width: 700px) {
  .feature-item,
  .benefit-item,
  .service-card,
  .resource-card,
  .testimonial-card,
  .bio,
  article {
    min-width: 98vw;
    max-width: 100vw;
    padding: 18px 6vw;
  }
  .feature-grid,.service-teasers,.services-list,.benefit-grid,.team-bios,.resource-cards,.article-preview-list,.testimonials-slider,.testimonial-cards {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
}

.service-card .price {
  color: #263B53;
  font-weight: 700;
  font-size: 1.05rem;
  padding-top: 10px;
  letter-spacing: 0.02em;
}

article a,
.resource-card a {
  color: #263B53;
  font-weight: 500;
  border-bottom: 1.5px solid #FFD046;
  padding-bottom: 2px;
  transition: color .14s, border-bottom-color .14s;
}
article a:hover,
.resource-card a:hover {
  color: #FFD046;
  border-bottom: 1.5px solid #263B53;
}

/* === LISTS AND BIO SECTIONS === */
.value-list, .tips-list, .expertise-highlights ul, .gdpr-overview ul {
  margin-top: 10px;
  margin-bottom: 10px;
  padding-left: 18px;
  color: #181919;
  font-size: 1.09rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.value-list li, .tips-list li, .expertise-highlights ul li, .gdpr-overview ul li {
  margin-bottom: 8px;
  position: relative;
  line-height: 1.6;
  padding-left: 22px;
}
.value-list li:before, .tips-list li:before, .expertise-highlights ul li:before, .gdpr-overview ul li:before {
  content: '\2022';
  color: #263B53;
  position: absolute;
  left: 0;
}
.inspirational-message {
  margin: 22px 0 0 0;
  font-style: italic;
  color: #181919c9;
  line-height: 1.78;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}

/* === TESTIMONIALS === */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 26px;
  min-width: 240px;
  max-width: 430px;
  background: #f8f9fa;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 6px 24px rgba(28,28,28,0.08);
  color: #181919;
  transition: box-shadow .2s, transform .15s;
  font-size: 1.09rem;
}
.testimonial-card span {
  color: #263B53;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.testimonial-card p {
  font-style: italic;
  color: #141313;
  margin-bottom: 8px;
}

blockquote {
  background: #fff;
  border-left: 4px solid #263B53;
  padding: 18px 26px;
  margin: 0 0 12px 0;
  border-radius: 7px 14px 14px 7px;
  font-size: 1.09rem;
  line-height: 1.7;
  color: #212225;
  box-shadow: 0 4px 18px rgba(28,28,28,0.06);
}
blockquote span {
  color: #263B53;
  font-weight: bold;
  display: block;
  margin-top: 8px;
}

/* === BUTTONS & CALLS TO ACTION === */
.cta-btn, .cta-direct .cta-btn, .cta-btns .cta-btn, .cta-subscribe button, form button, .cookie-banner button, .cookie-modal button {
  display: inline-block;
  padding: 10px 28px;
  background: #263B53;
  color: #FFD046;
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 2px 8px rgba(38,59,83,0.07);
  transition: background .16s, color .16s, box-shadow .18s, transform .13s;
  cursor: pointer;
  letter-spacing: 0.01em;
}
.cta-btn:hover, .cta-btn:focus, .cta-subscribe button:hover, .cta-subscribe button:focus, form button:hover, form button:focus, .cta-btns .cta-btn:hover, .cookie-banner button:hover, .cookie-modal button:hover {
  background: #FFD046;
  color: #181919;
  box-shadow: 0 4px 24px rgba(38,59,83,0.12);
  transform: translateY(-2px) scale(1.02);
}
.cta-btns {
  display: flex;
  gap: 20px;
}
@media (max-width: 600px) {
  .cta-btns {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  .cta-btn, .cta-btns .cta-btn {
    width: 100%;
    text-align: center;
  }
}

/* === INPUTS, FORMS, FILTERS === */
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], textarea {
  display: block;
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 16px;
  border: 1.5px solid #DFDFDF;
  border-radius: 7px;
  background: #F6F8FA;
  color: #212225;
  transition: border .16s;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, input[type="search"]:focus, textarea:focus {
  border-color: #263B53;
  background: #fff;
}
label {
  display: block;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 6px;
  font-weight: 600;
  color: #263B53;
}
form button[type="submit"] {
  margin-top: 8px;
}
.category-filter, .category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 12px 0 18px 0;
}
.category-filter a, .category-tabs a {
  background: #F6F8FA;
  color: #263B53;
  border-radius: 8px;
  padding: 7px 18px;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: .96rem;
  transition: background .16s, color .16s;
  border: 1.5px solid transparent;
}
.category-filter a:hover, .category-tabs a:hover, .category-filter a:focus, .category-tabs a:focus {
  background: #FFD046;
  color: #181919;
  border: 1.5px solid #263B53;
}
.cta-subscribe form {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
}
.cta-subscribe input[type="email"] {
  flex: 1 1 180px;
  min-width: 180px;
  max-width: 300px;
}

@media (max-width: 500px) {
  .cta-subscribe form {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .cta-subscribe input[type="email"] {
    max-width: 100%;
  }
}

/* === FOOTER === */
footer {
  background: #181919;
  color: #F6F8FA;
  box-shadow: 0 -2px 24px rgba(38,36,36,0.07);
  padding: 48px 0 24px 0;
  margin-top: 56px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  justify-content: space-between;
}
footer nav {
  display: flex;
  gap: 18px;
  margin-top: 6px;
}
footer nav a {
  color: #FFD046;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
  transition: background .13s, color .13s;
}
footer nav a:hover, footer nav a:focus {
  background: #263B5334;
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #F6F8FA;
  font-size: 0.98rem;
}
.footer-contact img {
  height: 15px;
  width: auto;
  margin-right: 6px;
  vertical-align: middle;
  display: inline-block;
}
footer img {
  height: 50px;
  width: auto;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}

/* === SECTION SPACING & FLEXBOX CONTAINERS === */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  position: relative;
}
.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 {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === MODALS & OVERLAYS === */
[aria-modal="true"], .cookie-modal {
  z-index: 9999;
  background: rgba(31,33,35,0.38);
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  display: flex;
  align-items: center; justify-content: center;
  transition: opacity .28s;
  opacity: 0; pointer-events: none;
}
[aria-modal="true"].open, .cookie-modal.open { opacity: 1; pointer-events: all; }
.cookie-modal-content {
  background: #fff;
  color: #181919;
  border-radius: 18px;
  padding: 38px 28px;
  max-width: 96vw;
  min-width: 270px;
  width: 90vw;
  max-width: 420px;
  box-shadow: 0 12px 56px rgba(38,44,53,0.19);
  display: flex; flex-direction: column; gap: 20px;
  z-index: 10001;
  position: relative;
  animation: modal-in .33s cubic-bezier(.67,.18,.35,1);
}
.cookie-modal-content h2 {
  font-size: 1.23rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 7px;
}
.cookie-category {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-category label {
  color: #263B53;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 0;
}
.cookie-toggle {
  position: relative;
  width: 42px; height: 22px;
  background: #c0c3c7;
  border-radius: 12px;
  transition: background .16s;
  cursor: pointer;
}
.cookie-toggle input {
  appearance: none;
  width: 0; height: 0; opacity: 0;
}
.cookie-toggle span {
  position: absolute;
  left: 2px; top: 2px;
  background: #fff;
  width: 18px; height: 18px;
  border-radius: 10px;
  box-shadow: 0 1px 5px rgba(38,59,83,0.09);
  transition: left .2s;
}
.cookie-toggle input:checked + span {
  left: 22px;
  background: #FFD046;
}
.cookie-category input[disabled] + span {
  background: #181919;
  left: 2px;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 16px; right: 18px; font-size: 1.2rem;
  color: #181919; background: none;
  border: none;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 8px;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: #f4f6f8;
}
@keyframes modal-in { from { transform: translateY(80px) scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100vw;
  background: #212225;
  color: #FFD046;
  z-index: 2010;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 20px 32px;
  box-shadow: 0 -2px 24px rgba(38,36,36,0.13);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  animation: banner-in .45s cubic-bezier(.68,.19,.32,1);
  opacity: 1;
  transition: opacity .28s;
}
.cookie-banner.hide { opacity: 0; pointer-events: none; }
.cookie-banner .cookie-actions { display: flex; gap: 14px; }
.cookie-banner button {
  padding: 8px 16px;
  font-size: 1rem;
  border-radius: 6px;
  font-weight: 700;
  margin-left: 0px;
  box-shadow: 0 2px 8px rgba(38,38,38,0.07);
  background: #FFD046;
  color: #181919;
  border: none;
  transition: box-shadow .18s, background .12s, color .14s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #263B53;
  color: #FFD046;
  box-shadow: 0 4px 18px rgba(21,16,34,0.14);
}
@keyframes banner-in { from { transform: translateY(70px); opacity: 0; } to { transform: none; opacity: 1; } }

/* === MISC COMPONENTS === */
.pricing-table {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(30,30,40,.05);
  margin: 32px 0 16px 0;
  padding: 24px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.team-bios, .expertise-highlights {
  gap: 24px;
  margin-bottom: 5px;
}
.bio {
  background: #F6F8FA;
  border-left: 4px solid #FFD046;
  border-radius: 10px 20px 20px 10px;
  padding: 18px 18px 18px 26px;
  min-width: 190px;
  max-width: 330px;
  box-shadow: 0 3px 16px rgba(38,59,83,0.09);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.06rem;
}
@media (max-width: 700px) {
  .team-bios {
    flex-direction: column;
    gap: 12px;
  }
}

/* === SECTION & CARD RESPONSIVENESS === */
@media (max-width: 1100px) {
  .container { max-width: 97vw; }
}
@media (max-width: 768px) {
  .container { padding: 0 6vw; }
  .section, section { padding: 22px 4vw; margin-bottom: 28px; }
}

/* === BRAND COLORS === */
:root {
  --brand-primary: #263B53;
  --brand-secondary: #FFD046;
  --brand-accent: #F6F8FA;
  --gray-10: #F6F8FA;
  --gray-20: #E7EAEF;
  --gray-30: #BFC4CB;
  --gray-50: #474747;
  --gray-60: #181919;
  --black: #0e0f11;
  --white: #fff;
}

/* === MONOCHROMATIC STYLE ENHANCEMENT === */
body {
  background: var(--gray-10);
  color: var(--gray-60);
}
.section, .card, .feature-item, .benefit-item, .service-card, .article, .recent-articles-list article, .pricing-table, .bio, .resource-card {
  background: var(--white);
  color: var(--black);
  box-shadow: 0 4px 26px rgba(38,59,83,.09);
}
.cta-btn, form button[type="submit"], .cookie-banner button, .cookie-modal button, .cta-subscribe button {
  background: var(--brand-primary);
  color: var(--brand-secondary);
}
.cta-btn:hover, form button[type="submit"]:hover, .cta-btn:focus, .cookie-banner button:hover, .cookie-banner button:focus, .cookie-modal button:hover {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
hr {
  border: none;
  border-bottom: 1px solid var(--gray-30);
  margin: 22px 0;
}

/* === Spacing tweaks for consistent gaps === */
.feature-grid, .service-teasers, .services-list, .benefit-grid, .team-bios, .resource-cards, .article-preview-list, .testimonials-slider, .testimonial-cards {
  gap: 24px;
}
@media (max-width: 800px) {
  .feature-grid, .service-teasers, .services-list, .benefit-grid, .team-bios, .resource-cards, .article-preview-list, .testimonials-slider, .testimonial-cards {
    gap: 14px;
  }
}

/* === Utility Classes === */
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.mb-20 { margin-bottom: 20px; }
.mt-40 { margin-top: 40px; }

/* === Hide elements (for js, modals) === */
.hide, .d-none { display: none!important; }

/* === ANIMATIONS === */
.card, .feature-item, .service-card, .resource-card, .testimonial-card, .bio {
  transition: box-shadow .19s, transform .13s;
}
.card:hover, .feature-item:hover, .service-card:hover, .resource-card:hover, .testimonial-card:hover, .bio:hover {
  box-shadow: 0 12px 40px rgba(30,38,44,0.12);
  transform: translateY(-4px) scale(1.02);
  z-index: 2;
}

/* === Accessibility: Focus outlines === */
a:focus, button:focus, .cta-btn:focus, input:focus, textarea:focus {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

/* === Z-index for overlays/menu === */
.mobile-menu { z-index: 120; }
.cookie-banner { z-index: 2010; }
.cookie-modal { z-index: 3000; }

/* === No absolute positioning for content cards (allowed only for overlay decorations) */
.card, .service-card, .feature-item, .testimonial-card, .bio {
  position: relative;
}

/* === Prevent overlap, always use margins/padding/gap === */
.card, .service-card, .bio, .testimonial-card, .feature-item, .resource-card, article {
  margin-bottom: 20px;
}

/* === Ensure visual hierarchy === */
h1 { font-size: 2.5rem; }
h2 { font-size: 1.50rem; }
h3 { font-size: 1.20rem; }
@media (max-width:600px) {h1 {font-size: 1.56rem;} h2 {font-size: 1.15rem;} h3 {font-size:1.01rem;} }

/* === End of CSS === */
