/* ================================================================
   CSS RESET & NORMALIZATION
================================================================ */
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 {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  line-height: 1.6;
  background-color: #F9F7F3;
  color: #23272B;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img, picture {
  max-width: 100%;
  display: block;
}
a {
  color: #2452AA;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #4273E0;
  outline: none;
}
ul, ol {
  margin: 0 0 16px 0;
  padding-left: 24px;
}
strong {
  font-weight: 600;
}
hr {
  border: none;
  border-top: 1.5px solid #E6E6E6;
  margin: 36px 0;
}
button {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* =========================================
   TYPOGRAPHY & BRAND FONTS
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #23272B;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.15;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 20px;
  text-transform: uppercase;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  text-transform: uppercase;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}
p, ul, ol, li, .price, span {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #23272B;
}
.section p, .section ul, .section li {
  margin-bottom: 8px;
}

/* =======================
   GEOMETRIC STRUCTURE
   ======================= */
.container {
  margin: 0 auto;
  max-width: 1080px;
  width: 100%;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Main section layout spacing (MANDATORY) */
.section, section {
  margin-bottom: 60px !important;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(35,39,43,0.06);
  position: relative;
}

/* Card containers (MANDATORY) */
.card-container, .feature-grid, .team-list, .benefits-grid, .press-mentions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card, .service-list li, .review-list li, .comparison-list li, .trend-list ul li, .team-list li, .press-mentions li {
  margin-bottom: 20px;
  position: relative;
  border-radius: 14px;
  background: #F9F7F3;
  box-shadow: 0 2px 10px rgba(35,39,43,0.05);
  padding: 20px 24px;
  border-left: 4px solid #2452AA;
}

/* Flex grid utility (MANDATORY) */
.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 28px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(35,39,43,0.08);
  border-radius: 18px;
  margin-bottom: 20px;
  min-height: 100px;
  position: relative;
  border: 1.5px solid #E6E6E6;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Consistent gaps and spacings */
.section > *, .content-wrapper > *, .filters, .footer-nav {
  margin-bottom: 20px;
}
.section > *:last-child, .content-wrapper > *:last-child {
  margin-bottom: 0;
}

/* ========================================
   HEADER & NAVIGATION STYLES
   ======================================== */
header {
  background: #fff;
  box-shadow: 0 3px 15px rgba(35,39,43,0.07);
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0 10px 0;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
}
.header .container {
  flex-direction: row;
  align-items: center;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 1rem;
  color: #23272B;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F9F7F3;
  color: #2452AA;
}
.main-nav .cta-btn {
  background: #2452AA;
  color: #fff;
  padding: 8px 20px;
  border-radius: 10px;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(36,82,170,0.16);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.main-nav .cta-btn:hover, .main-nav .cta-btn:focus {
  background: #4273E0;
  color: #fff;
  box-shadow: 0 4px 18px rgba(66,115,224,0.18);
}

/* ===================
   MOBILE MENU
   =================== */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  color: #2452AA;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  margin-left: 16px;
  transition: background 0.16s, color 0.16s;
  z-index: 210;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #2452AA;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #23272B;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.66,-0.01,.31,1.02);
  z-index: 220;
  padding: 28px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  color: #fff;
  background: transparent;
  font-size: 2rem;
  align-self: flex-end;
  border-radius: 8px;
  margin-bottom: 18px;
  width: 44px;
  height: 44px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  text-transform: uppercase;
  font-size: 1.18rem;
  padding: 14px 0 14px 8px;
  border-left: 4px solid transparent;
  border-radius: 5px 0 0 5px;
  transition: border-left-color 0.18s, color 0.18s, background 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #2452AA;
  background: #fff;
  border-left-color: #2452AA;
  outline: none;
}

/* ===================
   HERO SECTION
   =================== */
.hero {
  background: #2452AA;
  background-image: url('../assets/bg-geometric.svg');
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  border-radius: 0 0 36px 36px;
  margin-bottom: 60px;
  padding: 64px 20px 80px 20px;
  box-shadow: 0 2px 16px rgba(36,82,170,0.09);
}
.hero h1, .hero h2, .hero p {
  color: #fff;
}
.hero .cta-btn {
  background: #fff;
  color: #2452AA;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(255,255,255,0.07);
}
.hero .cta-btn:hover, .hero .cta-btn:focus {
  background: #23272B;
  color: #fff;
  box-shadow: 0 6px 18px rgba(35,39,43,0.11);
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 600px;
  gap: 24px;
}

/* ===============================
   FEATURES, GRID, CARDS
   =============================== */
.features, .comparisons, .services, .reviews-list, .trend-list, .about, .team, .media, .contact, .policy, .thankyou {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(35,39,43,0.06);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 24px;
  list-style: none;
}
.feature-grid li {
  flex: 1 1 225px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  padding: 22px 18px;
  background: #F9F7F3;
  border-radius: 13px;
  box-shadow: 0 2px 10px rgba(66,115,224,0.07);
  border-left: 4px solid #2452AA;
}
.feature-grid img {
  width: 36px; height: 36px; background: #fff; border-radius: 6px; box-shadow: 0 1.5px 6px rgba(66,115,224,0.07);
}

.service-list, .team-list, .values-list, .press-mentions, .review-list, .comparison-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.service-list li, .team-list li, .values-list li, .press-mentions li, .review-list li, .comparison-list li {
  background: #F9F7F3;
  border-left: 4px solid #4273E0;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(35,39,43,0.07);
  padding: 18px 20px;
  margin-bottom: 0;
}
.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
}
.benefits-grid > div {
  flex: 1 1 215px;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: #F9F7F3;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(36,82,170,0.04);
  padding: 16px 12px;
}
.benefits-grid img {
  width: 32px; height: 32px; background: #fff; border-radius: 6px; box-shadow: 0 1.5px 4px rgba(66,115,224,0.07);
}

/* ===========================
    TESTIMONIALS / REVIEWS
   =========================== */
.testimonials {
  background: #f9f7f3;
  box-shadow: none;
  border-radius: 22px;
}
.testimonial-card {
  background: #fff;
  color: #23272B;
  padding: 32px 32px 23px 32px;
  align-items: flex-start;
  flex-direction: column;
  position: relative;
  min-width: 230px;
  border-left: 5px solid #2452AA;
}
.testimonial-card p {
  font-size: 1.11rem;
  font-style: italic;
  margin-bottom: 14px;
  line-height: 1.6;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #2452AA;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* =====================
   CTA SECTIONS / BUTTONS
   ===================== */
.cta, .cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2452AA;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  padding: 16px 38px;
  border-radius: 14px;
  text-transform: uppercase;
  box-shadow: 0 3px 12px rgba(36,82,170,0.13);
  transition: background 0.2s, box-shadow 0.2s, color 0.15s, transform 0.13s;
  border: none;
  margin-top: 16px;
  letter-spacing: 0.03em;
}
.cta-btn:hover, .cta-btn:focus {
  background: #4273E0;
  color: #fff;
  box-shadow: 0 6px 24px rgba(66,115,224,0.15);
  transform: translateY(-1px) scale(1.028);
  outline: none;
}
.price {
  color: #2452AA;
  font-size: 1.11rem;
  font-weight: 700;
  float: right;
  margin-left: 8px;
}

/* =====================
   FILTERS & TAG ELEMENTS
   ===================== */
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-bottom: 18px;
  font-size: 0.97rem;
}
.filters ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.filters li {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 10px;
  background: #fff;
  border: 1.5px solid #2452AA;
  color: #2452AA;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
  margin-bottom: 0;
}
.filters li:hover, .filters li:focus {
  background: #2452AA;
  color: #fff;
  outline: none;
}

/* ================
   FOOTER
   ================ */
footer {
  background: #fff;
  border-top: 2px solid #E6E6E6;
  margin-top: 70px;
  padding: 35px 0 15px 0;
  position: relative;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
  justify-content: flex-start;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #2452AA;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  padding: 5px 12px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #F9F7F3;
  color: #23272B;
}
.footer-info {
  color: #A0A3A9;
  font-size: 0.96rem;
  font-family: 'Roboto', Arial, sans-serif;
}

/* Specific elements */
.logo-slider {
  display: flex;
  align-items: center;
  min-height: 60px;
  margin: 17px 0 0 0;
  gap: 22px;
}
.logo-slider img {
  height: 54px;
  filter: grayscale(100%) brightness(1.13);
}

/* ============
   THANK YOU PAGE
   ============ */
.thankyou, .policy {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(35,39,43,0.06);
}
.thankyou .next-steps ul {
  list-style: disc inside;
  margin-top: 10px;
  margin-bottom: 15px;
  color: #2452AA;
}

/* ====================
   COOKIE CONSENT BANNER
   ==================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #23272B;
  color: #fff;
  z-index: 3000;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -1px 18px rgba(35,39,43,0.06);
  animation: cookieBannerFadeIn 0.5s cubic-bezier(.34,1.56,.64,1) forwards;
}
@keyframes cookieBannerFadeIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__content {
  max-width: 900px;
  padding: 22px 16px 12px 16px;
  text-align: center;
}
.cookie-banner__buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.cookie-btn, .cookie-btn-settings {
  background: #2452AA;
  color: #fff;
  padding: 11px 26px;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin: 2px 0;
  outline: none;
  transition: background 0.17s, box-shadow 0.17s;
  border: none;
}
.cookie-btn:hover, .cookie-btn:focus, .cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: #4273E0;
  color: #fff;
}
.cookie-btn-reject {
  background: #23272B;
  border: 2px solid #2452AA;
  color: #2452AA;
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: #fff;
  color: #23272B;
  border-color: #4273E0;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  z-index: 4100;
  left: 50%; top: 50%;
  transform: translate(-50%,-60%) scale(0.97);
  background: #fff;
  color: #23272B;
  border-radius: 18px;
  box-shadow: 0 4px 29px rgba(36,82,170,0.18);
  min-width: 320px;
  max-width: 95vw;
  padding: 36px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.27s, transform 0.25s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal__close {
  position: absolute;
  top: 14px; right: 14px;
  background: transparent;
  color: #2452AA;
  font-size: 2.1rem;
  border: none;
  cursor: pointer;
  border-radius: 7px;
  padding: 0;
}
.cookie-modal__categories {
  width: 100%;
  margin: 18px 0 24px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 13px;
  background: #F9F7F3;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  color: #23272B;
}
.cookie-category input[type="checkbox"] {
  accent-color: #2452AA;
  transform: scale(1.11);
}
.cookie-category--essential label {
  color: #2452AA;
  font-weight: 700;
  text-transform: uppercase;
}
.cookie-modal__actions {
  display: flex;
  gap: 13px;
  margin-top: 22px;
  width: 100%;
  justify-content: center;
}

/* ===============================
   RESPONSIVENESS & FLEXBOX RULES
   =============================== */
@media (max-width: 1100px) {
  .container {
    max-width: 96%;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 16px;
  }
  .feature-grid, .benefits-grid {
    gap: 14px;
  }
}
@media (max-width: 820px) {
  h1 { font-size: 2.3rem; }
  h2 { font-size: 1.4rem; }
  .hero {
    padding: 38px 10px 50px 10px;
  }
  .section, section {
    padding: 29px 10px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 7px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .feature-grid, .benefits-grid {
    flex-direction: column;
    gap: 14px;
  }
  .content-wrapper {
    padding: 0;
  }
  .section, section {
    border-radius: 10px;
    padding: 15px 5px;
    margin-bottom: 34px !important;
  }
  .hero {
    border-radius: 0 0 15px 15px;
    padding: 27px 7px 38px 7px;
  }
  .logo img {
    height: 36px;
  }
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.1rem; }
  .press-mentions, .team-list, .service-list, .review-list, .comparison-list {
    gap: 11px;
  }
}
@media (max-width: 600px) {
  .content-grid, .card-container, .testimonials {
    flex-direction: column;
    gap: 13px !important;
  }
  .testimonial-card, .feature-grid li, .benefits-grid > div {
    min-width: unset;
    width: 100%;
    padding: 16px 8px;
  }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.09rem; }
  .container {
    min-width: 100vw;
    max-width: 99vw;
    padding: 0 0.5vw;
  }
  .card, .service-list li, .review-list li, .comparison-list li, .team-list li, .press-mentions li {
    padding: 10px 7px;
    border-radius: 5px;
  }
  .testimonial-card {
    padding: 11px 7px 7px 7px;
    border-radius: 9px;
  }
  .mobile-menu, .cookie-banner {
    padding: 10px 4px !important;
  }
}
/* This selector ensures text-image-section stacks column on mobile */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
/* To ensure adequate spacing, no card or section is allowed to touch others */
.section, section, .card, .testimonial-card, .press-mentions li, .team-list li, .service-list li, .review-list li, .comparison-list li {
  margin-bottom: 24px;
}
.section:last-child, section:last-child, .card:last-child, .testimonial-card:last-child,
.team-list li:last-child, .service-list li:last-child, .review-list li:last-child, .comparison-list li:last-child {
  margin-bottom: 0;
}

/* =====================================
   GEOMETRIC ANGULAR VISUAL ELEMENTS
   ===================================== */
/* Card angle accents (geometric) */
.feature-grid li, .card, .testimonial-card, .benefits-grid > div, .service-list li, .review-list li, .comparison-list li {
  border-top-right-radius: 34px 14px;
  border-bottom-left-radius: 34px 14px;
  border-bottom-right-radius: 8px 20px;
}
/* CTA accent shape background (geometric) */
.cta {
  background: linear-gradient(89deg, #F9F7F3 92%, #4273E0 104%);
  border-radius: 22px 8px 34px 20px;
  padding: 22px 0 44px 0;
}

/* ===============================
   ANIMATIONS & MICROINTERACTIONS
   =============================== */
.cta-btn, .main-nav a, .footer-nav a, .filters li, .cookie-btn, .cookie-btn-reject {
  transition: background 0.21s, color 0.15s, box-shadow 0.18s, outline-color 0.13s, border-color 0.13s;
}
.section, .card, .testimonial-card, .feature-grid li, .benefits-grid > div {
  transition: box-shadow 0.23s, border-color 0.17s, transform 0.17s;
}
.section:hover, .card:hover, .testimonial-card:hover, .feature-grid li:hover, .review-list li:hover, .comparison-list li:hover, .benefits-grid > div:hover {
  box-shadow: 0 6px 29px rgba(36,82,170,0.14);
  border-left-color: #4273E0;
  transform: translateY(-2px) scale(1.015);
}

/* Logo grayscale hover effect */
.logo img:hover {
  filter: grayscale(0%) drop-shadow(0 2px 10px #4273E0) brightness(1.05);
  transition: filter 0.16s;
}

/* ============================
   MISC UTILITIES & OVERRIDES
   ============================ */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}
.hide {
  display: none !important;
}
.show {
  display: block !important;
}
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden !important;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}

/* Remove outline for mouse, but leave for keyboard nav */
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2.5px solid #2452AA;
  outline-offset: 1.5px;
}

/* ============================
   Z-INDEX SAFETY ON LAYERED UI
   ============================ */
header, .mobile-menu, .cookie-banner, .cookie-modal {
  z-index: 300;
}
.cookie-modal { z-index: 4100; }
.cookie-banner { z-index: 4000; }
.mobile-menu { z-index: 2200; }
header { z-index: 2000; }

/* ============================
   PRINT STYLE (DISABLED BANNER/MENU)
   ============================ */
@media print {
  .mobile-menu, .cookie-banner, .cookie-modal, .mobile-menu-toggle { display:none !important; }
  header, footer, .cta-btn { color: #000 !important; background: #fff !important; }
}
