/* ====================================================
   GlanzWerk Autopflege – CREATIVE ARTISTIC STYLE CSS
   Brand: #22497A, #77A9D3, #F1F3F6 | Font: Montserrat, Roboto
   Modern, artistic, vibrant. Responsive, flexbox only!
======================================================= */

/* === 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,
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 {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #F1F3F6;
  color: #183052;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}
a {
  color: #22497A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #77A9D3;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}

/*== Container ==*/
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* === Typography Hierarchy (Montserrat for heads, Roboto for body) === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #183052;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.15rem;
}
p, li, table, th, td {
  font-size: 1rem;
  line-height: 1.7;
  font-family: 'Roboto', Arial, sans-serif;
  color: #2c4062;
}
strong {
  font-weight: 700;
}
.tagline {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #22497A;
  margin-bottom: 12px;
}

/* ==================== Header & Navigation ==================== */
header {
  background: #fff;
  box-shadow: 0 4px 16px 0 rgba(34,73,122,0.06);
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
  position: relative;
  z-index: 30;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 16px 0 14px 0;
}
header img {
  height: 44px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 4px 10px;
  border-radius: 8px;
  transition: background 0.18s, color 0.17s;
  color: #22497A;
  position: relative;
  z-index: 2;
}
.main-nav a:not(.btn-primary):hover, .main-nav a:not(.btn-primary):focus {
  background: #e5eef4;
  color: #22497A;
}
.btn-primary {
  background: #22497A;
  color: #fff !important;
  padding: 11px 28px;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  box-shadow: 0 2px 7px rgba(34,73,122,0.11);
  border: none;
  cursor: pointer;
  transition: background 0.17s, box-shadow 0.12s, color 0.22s;
  position: relative;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #77A9D3;
  color: #183052 !important;
  box-shadow: 0 6px 18px 0 rgba(34,73,122,0.18);
}
.btn-link {
  color: #22497A;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 1px 0;
  border-bottom: 2px solid #77A9D3;
  background: transparent;
  display: inline;
  margin-top: 12px;
  transition: border-color 0.19s;
}
.btn-link:hover, .btn-link:focus {
  border-color: #22497A;
  color: #22497A;
}

/* ========== MOBILE MENU ========== */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.15rem;
  color: #22497A;
  cursor: pointer;
  padding: 4px 12px;
  border-radius: 6px;
  line-height: 1;
  display: none;
  z-index: 70;
  transition: background 0.17s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #e5eef4;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.68,-0.2,.27,1.3);
  box-shadow: 0 8px 32px rgba(34,73,122,0.16);
  padding: 26px 22px 18px 22px;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.2rem;
  background: none;
  border: none;
  padding: 2px 8px 8px 2px;
  cursor: pointer;
  color: #22497A;
  align-self: flex-end;
  border-radius: 6px;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #e5eef4;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
  align-items: flex-start;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.12rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #22497A;
  padding: 8px 2px;
  border-radius: 8px;
  font-weight: 700;
  width: 100%;
  display: inline-block;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a.btn-primary {
  padding: 12px 28px;
  margin-top: 12px;
  width: 100%;
  text-align: center;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e5eef4;
  color: #22497A;
}

/* Hide desktop nav on mobile, show burger */
@media (max-width: 1024px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

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

/* ===== HERO SECTION ===== */
.hero {
  min-height: 340px;
  background: linear-gradient(120deg, #77A9D3 60%, #F1F3F6 100%);
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 32px rgba(119,169,211,0.12);
  margin-bottom: 60px;
  padding: 36px 0 56px 0;
  position: relative;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.hero h1 {
  color: #22497A;
  font-size: 2.5rem;
  line-height: 1.1;
}
.hero p {
  font-size: 1.25rem;
  color: #22497A;
  font-family: 'Roboto', Arial, sans-serif;
}
@media (max-width: 768px) {
  .hero {
    min-height: 190px;
    border-radius: 0;
    padding: 28px 0 40px 0;
  }
  .hero .content-wrapper {
    gap: 10px;
  }
  .hero h1 {
    font-size: 1.35rem;
  }
  .hero p {
    font-size: 1.02rem;
  }
}


/* ========== SECTIONS, FLEX LAYOUTS, GAP/MARGIN ========= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 9px 40px 0 rgba(119,169,211,0.10);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.features, .about-preview, .services-preview, .testimonials, .service-process, .compare, .pricing, .legal, .faq, .contact-section, .about-company, .team, .thank-you, .cta, .contact-cta {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  border-radius: 18px;
  box-shadow: 0 2px 20px 0 rgba(119,169,211,0.12);
  position: relative;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.24s;
}
.card:hover {
  box-shadow: 0 12px 36px 0 rgba(34,73,122,0.16);
}

.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) {
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}


/* ===== FEATURE GRID LISTS, ICONS, SPACING ===== */
.feature-grid, .feature-item, .service-grid, .about-company ul, .team ul, .services-preview ul, .about-preview ul, .contact-section ul, .thank-you ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.feature-grid li, .feature-item, .service-grid li, .about-company ul li, .team ul li, .services-preview ul li, .about-preview ul li, .contact-section ul li, .thank-you ul li {
  background: #F1F3F6;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(119,169,211,0.10);
  padding: 18px 22px 16px 22px;
  font-size: 1.04rem;
  color: #22497A;
  min-width: 210px;
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  margin-bottom: 12px;
}
.feature-grid img, .service-grid img, .feature-item img, .about-company ul li img, .services-preview ul li img, .about-preview ul li img, .contact-section ul li img {
  width: 38px;
  height: 38px;
  margin-right:10px;
}
strong {
  color: #22497A;
}
@media (max-width: 768px) {
  .feature-grid, .feature-item, .service-grid, .about-company ul, .team ul, .services-preview ul, .about-preview ul, .contact-section ul, .thank-you ul {
    flex-direction: column;
    min-width: 0;
    gap: 14px;
  }
}


/* ===== PRICING TABLES, COMPARISON ===== */
.pricing-table, .package-comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 26px 0 22px 0;
  box-shadow: 0 1px 16px 0 rgba(119,169,211,0.09);
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}
.pricing-table th, .package-comparison-table th {
  background: #22497A;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 700;
  padding: 11px 7px;
}
.pricing-table td, .package-comparison-table td {
  padding: 11px 7px;
  color: #22497A;
  border-bottom: 1px solid #e7eef7;
  text-align: center;
}
.pricing-table tbody tr:last-child td, .package-comparison-table tbody tr:last-child td {
  border-bottom: none;
}
@media (max-width: 600px) {
  .pricing-table, .package-comparison-table, .pricing-table th, .package-comparison-table th, .pricing-table td, .package-comparison-table td {
    font-size: 0.93rem !important;
    padding: 10px 2px;
  }
  .pricing-table, .package-comparison-table {
    margin: 11px 0 18px 0;
  }
}


/* ========== TESTIMONIALS ========== */
.testimonials, .testimonial {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 36px 0 rgba(119,169,211,0.11);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.testimonials h2, .testimonial h2 {
  text-align: center;
  color: #22497A;
}
.testimonial-slider, .testimonial .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 30px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 26px 19px 26px;
  background: #F1F3F6;
  border-radius: 18px;
  box-shadow: 0 1px 10px 0 rgba(34,73,122,0.09);
  min-width: 260px;
  max-width: 360px;
  margin-bottom: 20px;
  color: #22497A;
}
.testimonial-card p {
  color: #1b334e;
  font-size: 1.06rem;
  font-style: italic;
  text-shadow: 0 2px 8px rgba(255,255,255,0.15);
}
.testimonial-card span,
.testimonial-card strong {
  color: #22497A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
}
.rating-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #22497A;
  justify-content: center;
  font-size: 1.125rem;
}
.rating-summary img {
  width: 34px;
  height: 34px;
}

@media (max-width: 800px) {
  .testimonial-slider, .testimonial .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .testimonial-card {
    min-width: 0;
    width: 100%;
    padding: 16px 12px;
  }
}

/* ========== FAQ ACCORDION ========== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #F1F3F6;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(34,73,122,0.07);
  padding: 18px 24px;
  margin-bottom: 12px;
  transition: box-shadow 0.17s;
}
.faq-item:hover {
  box-shadow: 0 9px 24px rgba(34,73,122,0.13);
}
.faq-item h3 {
  font-size: 1.11rem;
  margin-bottom: 6px;
  color: #22497A;
  font-family: 'Montserrat', Arial, sans-serif;
}
.faq-item p {
  font-size: 0.98rem;
  color: #22497A;
}

.contact-prompt {
  margin-top: 18px;
  background: #e5eef4;
  border-radius: 13px;
  padding: 15px 18px 11px 18px;
  color: #22497A;
  font-size: 1.04rem;
}


/* ========== FORMS (If any appear) ========== */
input, select, textarea {
  padding: 9px 12px;
  border-radius: 9px;
  border: 1.5px solid #77A9D3;
  margin-bottom: 16px;
  font-size: 1.03rem;
  background: #fff;
  color: #2c4062;
  transition: border-color 0.2s;
}
input:focus, select:focus, textarea:focus {
  border-color: #22497A;
  background: #e5eef4;
}

/* ========== CTA & CONTACT STYLES ========== */
.cta, .contact-cta {
  background: linear-gradient(100deg, #77A9D3 76%, #22497a11 100%);
  border-radius: 26px;
  box-shadow: 0 4px 24px rgba(34,73,122,0.12);
  margin-bottom: 65px;
  padding: 34px 20px;
  display: flex;
  align-items: center;
}
.cta .container, .contact-cta .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta .content-wrapper, .contact-cta .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 15px;
}
.cta a, .contact-cta a {
  margin-top: 12px;
}
@media (max-width: 700px) {
  .cta, .contact-cta {
    border-radius: 0;
    padding: 24px 2px;
  }
}

/* ========== FOOTER STYLES ========== */
footer {
  background: #22497A;
  color: #fff;
  padding: 30px 0 24px 0;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  box-shadow: 0 -7px 20px 0 rgba(34,73,122,0.07);
  position: relative;
}
.footer-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.footer-logo img {
  width: 64px;
  min-width: 48px;
  margin-bottom: 8px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #F1F3F6;
  font-size: 1em;
  font-family: 'Montserrat', Arial, sans-serif;
  opacity: 0.93;
  font-weight: 500;
  margin-bottom:3px;
  transition: color 0.18s, opacity 0.21s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #77A9D3;
  opacity: 1;
}
.footer-contact p {
  font-size: 0.99em;
  color: #e5eef4;
  line-height: 1.5;
  margin-bottom: 1px;
}
@media (max-width: 900px) {
  .footer-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}


/* ========== LEGAL/CONTENT PAGES ========== */
.legal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 13px rgba(34,73,122,0.10);
  margin-bottom: 66px;
  padding: 36px 22px 30px 22px;
}
.legal h1 {
  color: #22497A;
}
.legal h2 {
  color: #183052;
  margin-top: 1.5em;
}

/* ========== THANK YOU PAGE ========== */
.thank-you h1 {
  color: #22497A;
  font-size: 2rem;
}
.thank-you ul {
  margin-top: 12px;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 18px;
  background: #fff;
  color: #183052;
  box-shadow: 0 4px 32px rgba(34,73,122, 0.19);
  border-radius: 20px;
  padding: 22px 18px 18px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  z-index: 5000;
  font-size: 1.04rem;
  font-family: 'Roboto', Arial, sans-serif;
  animation: cookieDrop 0.42s cubic-bezier(.79,.11,.45,1.22);
}
@keyframes cookieDrop {
  from {transform: translateY(90px) scale(0.96); opacity: 0;}
  to   {transform: translateY(0) scale(1); opacity: 1;}
}
.cookie-banner-text {
  flex: 2 1 260px;
  margin-right: 18px;
}
.cookie-banner-actions {
  flex: 1 1 150px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}
.cookie-btn {
  border-radius: 24px;
  padding: 8px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.03rem;
  border: none;
  cursor: pointer;
  margin-bottom: 2px;
  transition: background 0.16s, color 0.16s;
}
.cookie-btn.accept {
  background: #22497A;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {background: #183052;}
.cookie-btn.reject {
  background: #fff;
  color: #22497A;
  border: 2px solid #22497A;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #e5eef4;
}
.cookie-btn.settings {
  background: #77A9D3;
  color: #22497A;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #22497A;
  color: #fff;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    left: 2px;
    right: 2px;
    padding: 15px 6px 13px 10px;
  }
  .cookie-banner-actions {
    width: 100%;
    justify-content: flex-start;
    gap: 7px;
  }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 6000;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(16,40,76,0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.33s cubic-bezier(0.45,.71,.22,1.01);
}
@keyframes fadeIn {
  from {opacity: 0;}
  to   {opacity: 1;}
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 44px 0 rgba(34,73,122,0.23);
  max-width: 420px;
  width: 97vw;
  padding: 34px 20px 22px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: 'Roboto', Arial, sans-serif;
  animation: modalPopUp 0.29s cubic-bezier(.79,.11,.45,1.22);
}
@keyframes modalPopUp {
  from {transform: scale(0.8); opacity: 0;}
  to   {transform: scale(1); opacity: 1;}
}
.cookie-modal-close {
  position: absolute;
  top: 9px; right: 11px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #22497A;
  cursor: pointer;
  border-radius: 6px;
  padding: 5px;
  transition: background 0.16s;
  z-index: 40;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #e5eef4;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 15px 0;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #F1F3F6;
  border-radius: 12px;
  padding: 11px 13px 10px 16px;
}
.cookie-category-label {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #22497A;
  font-weight: 600;
  font-size: 1.06em;
}
.cookie-category-desc {
  font-size: 0.9em;
  color: #183052;
  margin-top: 2px;
}
/* Cookie Category Toggle */
.cookie-toggle {
  appearance: none;
  width: 36px; height: 22px;
  background: #e5eef4;
  border-radius: 12px;
  position: relative;
  outline: none;
  border:none;
  cursor: pointer;
  transition: background 0.14s;
}
.cookie-toggle:checked {
  background: #22497A;
}
.cookie-toggle:before {
  content: '';
  display: block;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 3px; top: 3px;
  transition: left 0.15s;
  box-shadow: 0 2px 8px rgba(119,169,211,0.18);
}
.cookie-toggle:checked:before {
  left: 17px;
}
.cookie-toggle[disabled], .cookie-toggle[aria-disabled='true'] {
  background: #bcd2e7;
  cursor: not-allowed;
}
.cookie-category-row[aria-disabled="true"] {
  opacity: 0.62;
}
.cookie-modal .cookie-btn {
  margin-top: 14px;
  width: 100%;
  font-size: 1.09em;
}

/* ========== ARTISTIC/EFFECTS/DECORATIVE ELEMENTS ========== */
/* Artistic font splashes on headings */
h1, h2 {
  position: relative;
  isolation: isolate;
}
h2::before {
  content: '';
  display: inline-block;
  position: absolute;
  left: -16px;
  top: -18px;
  width: 45px;
  height: 17px;
  background: #F1F3F6;
  border-radius: 9px;
  z-index: -1;
  box-shadow: 0 2px 10px rgba(119,169,211,0.16);
}
h2::after {
  content: '';
  display: inline-block;
  position: absolute;
  right: -15px;
  top: 23px;
  width: 22px;
  height: 8px;
  background: #77A9D3;
  border-radius: 30px;
  z-index: -1;
  opacity: 0.20;
}
@media (max-width:700px) {
  h2::before, h2::after {display:none;}
}

/* Delicate floating accent dots for hero and testimonials */
.hero::before, .testimonials::after {
  content: '';
  position: absolute;
  left: 22px;
  bottom: 18px;
  width: 22px; height: 22px;
  background: #77A9D3;
  opacity: 0.22;
  border-radius: 50%;
  z-index: 1;
  filter: blur(0.25px);
}
.hero::after, .testimonials::before {
  content: '';
  position: absolute;
  right: 40px;
  top: 9px;
  width: 33px; height: 13px;
  background: #22497A;
  border-radius: 18px;
  opacity: 0.11;
  z-index: 0;
}
@media (max-width:750px){
  .hero::before, .hero::after, .testimonials::after, .testimonials::before{display:none;}
}

/* Micro-interactions for cards, icons, table rows, etc. */
.card, .feature-grid li, .service-grid li, .testimonial-card, .faq-item, .feature-item {
  transition: box-shadow 0.21s, transform 0.19s;
}
.card:hover, .feature-grid li:hover, .service-grid li:hover, .testimonial-card:hover, .faq-item:hover, .feature-item:hover {
  box-shadow: 0 8px 38px 0 rgba(34,73,122,0.16);
  transform: translateY(-4px) scale(1.02);
}
table tr:hover td {
  background: #e5eef4 !important;
}

/* Responsive Utilities */
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
  .section,.features,.about-preview,.services-preview,.testimonials,.service-process,.compare,.pricing,.legal,.faq,.contact-section,.about-company,.team,.thank-you,.cta,.contact-cta {
    padding: 25px 3px;
  }
}
@media (max-width: 600px) {
  h1 {font-size: 1.29rem;}
  h2 {font-size: 1.09rem;}
  .footer-contact p,
  p,
  .main-nav a,
  .mobile-nav a {font-size: 0.98rem;}
  .btn-primary {
    padding: 9px 12px;
    font-size: 0.96rem;
  }
  .footer-logo img {width: 42px;}
}

/* Focus visible outlines for accessibility */
a:focus-visible, button:focus-visible {
  outline: 3px dashed #77A9D3;
  outline-offset: 2px;
  background: #e5eef4;
}

/* ==== Hide elements visually but keep for screen readers ==== */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ==== Z-INDEX for overlays ==== */
header {z-index: 20;}
.mobile-menu {z-index: 100;}
.cookie-banner {z-index: 5000;}
.cookie-modal-overlay {z-index: 6000;}

/* ==== Misc Artistic Fonts for highlights ==== */
.artistic {
  font-family: 'Montserrat', cursive, Arial, sans-serif !important;
  font-style: italic;
  letter-spacing: 0.05em;
}

/* ==== Ensure no overlapping, proper min spacing ==== */
.section, .card, .testimonial-card, .faq-item, .feature-grid li, .service-grid li, .feature-item {
  margin-bottom: 20px;
}

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