/* 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 {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F2F2F2;
  color: #20415A;
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #20415A;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #A02132;
  outline-offset: 2px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #20415A;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.25rem;
  line-height: 1.15;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
h2 {
  font-size: 1.625rem;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.subheadline {
  font-size: 1.15rem;
  color: #20415Ae6;
  margin-bottom: 24px;
  font-weight: 500;
  font-family: 'Roboto', Arial, sans-serif;
}
p {
  margin-bottom: 16px;
  color: #20415A;
}
strong {
  font-weight: 700;
}
ul, ol {
  margin-left: 28px;
  margin-bottom: 18px;
  color: #20415A;
}
ul li, ol li {
  margin-bottom: 8px;
}

/* Container & Grid System */
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-left: 5vw;
  padding-right: 5vw;
  max-width: 1200px;
}

.header-flex,
.footer-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.footer-flex {
  border-top: 2.5px solid #E6E9EA;
  margin-top: 48px;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-brand img {
  height: 45px;
}
.footer-contact,
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
}
.footer-links a {
  margin-bottom: 6px;
  color: #20415A;
}
.footer-links a:hover {
  color: #A02132;
  text-decoration: underline;
}

/* Mandatory Section Spacing */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Header */
header {
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(32,65,90,0.07);
  border-bottom: 2px solid #20415A0D;
  position: relative;
  z-index: 100;
}
header img {
  height: 42px;
  width: auto;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #20415A;
  font-size: 15px;
  position: relative;
  transition: color 0.3s;
}
.main-nav a::after {
  content: "";
  display: block;
  margin: auto;
  height: 2.5px;
  width: 0;
  background: #A02132;
  transition: width 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #A02132;
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 80%;
}

/* Buttons */
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 12px;
  background: #A02132;
  color: #FFFFFF;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(32,65,90,0.07);
  transition: background 0.18s, transform 0.1s, box-shadow 0.15s;
  position: relative;
}
.primary-btn:hover, .primary-btn:focus {
  background: #C33C54;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 16px rgba(160,33,50,0.12);
  color: #FFF;
}
.primary-btn:active {
  background: #74212e;
}

/* Hero Section */
.hero {
  background: #20415A url('../assets/hero-bg-pattern.svg') top right/420px auto no-repeat;
  color: #FFF;
  padding: 72px 0 60px 0;
  position: relative;
  overflow: hidden;
}
.hero h1, .hero p, .hero .primary-btn {
  color: #FFF;
}
.hero h1 {
  letter-spacing: 0.04em;
  font-size: 2.5rem;
  font-weight: 800;
}
.hero .subheadline {
  color: #E6E9EA;
  font-size: 1.2rem;
}

/* Features Grid */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
.feature {
  background: #FFFFFF;
  border-radius: 18px;
  flex: 1 1 260px;
  min-width: 240px;
  padding: 32px 26px;
  box-shadow: 0 2px 10px rgba(32,65,90,0.09);
  border: 2.5px solid #E6E9EA;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.15s;
}
.feature img {
  width: 40px; height: 40px;
  margin-bottom: 6px;
}
.feature h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: #20415A;
}
.feature:hover, .feature:focus-within {
  border-color: #A02132;
  box-shadow: 0 6px 32px rgba(32,65,90,0.10);
  transform: translateY(-2px) scale(1.03);
}

/* Services Preview Grid */
.services-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 20px;
}
.service-card {
  flex: 1 1 260px;
  min-width: 240px;
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(32,65,90,0.08);
  border: 2.5px solid #E6E9EA;
  padding: 32px 26px 40px 26px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  align-items: flex-start;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.18s, transform 0.15s;
}
.service-card:hover {
  border-color: #A02132;
  box-shadow: 0 8px 32px rgba(160,33,50,0.08), 0 0.5px 3px #20415A10 inset;
  transform: translateY(-2px) scale(1.034);
}
.service-card img {
  width: 38px;
  height: 38px;
}
.price {
  margin-top: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #A02132;
  font-weight: 700;
  letter-spacing: 0.012em;
}

/* Testimonial Slider/Section */
.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 10px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #FFF;
  border-radius: 18px;
  padding: 26px 28px 22px 32px;
  box-shadow: 0 2px 14px rgba(32,65,90,0.09);
  margin-bottom: 20px;
  min-width: 250px;
  max-width: 430px;
  border-left: 4.5px solid #20415A;
}
.testimonial-card p {
  color: #20415A;
  font-size: 1.07rem;
}
.testimonial-meta {
  color: #A02132;
  font-size: 0.96rem;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
}
.testimonial-stars {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.11em;
  color: #FFA726;
  font-size: 1.1rem;
  margin-bottom: 7px;
}

.case-study-teaser {
  background: #fff;
  padding: 21px 28px 21px 32px;
  margin-bottom: 14px;
  box-shadow: 0 2px 10px rgba(32,65,90,0.07);
  border-left: 4.5px solid #20415A;
  border-radius: 14px;
}

/* CTA Banner */
.cta-banner {
  background: #A02132;
  color: #FFF;
  text-align: center;
  border-radius: 18px;
  box-shadow: 0 4px 36px rgba(160,33,50,0.08);
  position: relative;
  margin-bottom: 45px;
  padding: 50px 12px 55px;
}
.cta-banner h2 {
  color: #FFF;
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.cta-banner .primary-btn {
  margin-top: 10px;
}

/* Services List page */
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.service-detail {
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(32,65,90,0.08);
  border: 2.5px solid #E6E9EA;
  padding: 32px 26px 40px 26px;
  margin-bottom: 20px;
  flex: 1 1 320px;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  transition: border-color 0.18s, box-shadow 0.17s, transform 0.12s;
}
.service-detail:hover {
  border-color: #A02132;
  box-shadow: 0 8px 28px rgba(160,33,50,0.068), 0 0.5px 3px #20415A10 inset;
  transform: translateY(-2px) scale(1.025);
}

/* Pricing Table */
.pricing-table {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}
.pricing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #FFF;
  border-radius: 12px;
  box-shadow: 0 1px 7px rgba(32,65,90,0.084);
  border-left: 4px solid #20415A;
  padding: 22px 32px;
}
.pricing-row h3 {
  margin: 0;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}

/* Accordion (FAQ) */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: #FFF;
  border-radius: 10px;
  box-shadow: 0 2px 7px rgba(32,65,90,0.06);
  border-left: 4px solid #20415A;
  padding: 18px 20px;
  margin-bottom: 6px;
  transition: box-shadow 0.14s;
}
.faq-item h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
  cursor: pointer;
}
.faq-item .faq-answer {
  color: #20415A;
  font-size: 0.98rem;
  line-height: 1.5;
}

/* Content Utility Classes */
.text-section {
  margin-bottom: 18px;
}
.cta-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
}


/* Alignment/Spacing Patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 1.5px 7px rgba(32,65,90,0.07);
  min-width: 220px;
  padding: 28px 20px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Mobile Burger Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #20415A;
  cursor: pointer;
  margin-left: 14px;
  z-index: 1200;
  line-height: 1;
  padding: 6px 8px;
  border-radius: 8px;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #EDEDED;
  color: #A02132;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 100vw;
  width: 100vw;
  height: 100vh;
  background: #20415A;
  box-shadow: -8px 0 28px rgba(32,65,90,0.14);
  z-index: 1500;
  transition: left 0.35s cubic-bezier(.45,1.16,.46,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 30px;
  padding-left: 30px;
  padding-right: 30px;
  overflow-y: auto;
}
.mobile-menu.open {
  left: 0;
  transition: left 0.35s cubic-bezier(.45,1.16,.46,1);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #FFF;
  font-size: 2.1rem;
  align-self: flex-end;
  margin-bottom: 35px;
  cursor: pointer;
  transition: color 0.17s;
  padding: 6px 12px;
  border-radius: 8px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFA726;
  background: #12212d;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 21px;
}
.mobile-nav a {
  color: #FFF;
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 20px 12px 0;
  border-radius: 8px;
  letter-spacing: 0.06em;
  transition: color 0.17s, background 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #C33C54;
  color: #FFF;
}

/* Responsive Nav visibility */
@media (max-width: 996px) {
  .main-nav {
    display: none;
  }
  .primary-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 600px) {
  .header-flex, .footer-flex {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-brand img {
    height: 38px;
  }
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #20415A;
  color: #FFF;
  padding: 20px 12px 20px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -6px 24px rgba(32,65,90,.12);
  z-index: 2001;
  transition: transform 0.25s cubic-bezier(.41,.97,.67,.99);
}
.cookie-banner.hide {
  transform: translateY(150%);
  pointer-events: none;
}
.cookie-banner-content {
  font-size: 1rem;
  color: #FFF;
  margin-bottom: 12px;
  text-align: center;
}
.cookie-banner-btns {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.13s, color 0.14s, box-shadow 0.15s, transform 0.11s;
}
.cookie-accept {
  background: #A02132;
  color: #FFF;
  box-shadow: 0 2px 8px rgba(160,33,50,0.09);
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #C33C54;
}
.cookie-reject {
  background: #F2F2F2;
  color: #A02132;
  border: 2px solid #A02132;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #EDEDED;
  color: #A02132;
}
.cookie-set {
  background: #F2F2F2;
  color: #20415A;
  border: 2px solid #20415A;
}
.cookie-set:hover, .cookie-set:focus {
  background: #EDEDED;
  color: #20415A;
}

/* Cookie Modal Overlay */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2100;
  top: 0;
  left: 0; right: 0;
  bottom: 0;
  background: rgba(32,65,90,0.83);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.22s;
  pointer-events: auto;
}
.cookie-modal {
  background: #FFF;
  color: #20415A;
  padding: 32px 30px 22px 30px;
  border-radius: 16px;
  max-width: 96vw;
  width: 425px;
  box-shadow: 0 12px 56px 0 rgba(32,65,90,0.16);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal h2 {
  font-size: 1.18rem;
  margin-bottom: 12px;
}
.cookie-modal-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 1rem;
}
.cookie-toggle {
  accent-color: #A02132;
  scale: 1.2;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: #20415A;
  font-size: 1.23rem;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #A02132;
}

/* Hide cookie elements initially */
.cookie-modal-overlay[hidden], .cookie-banner[hidden] {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none;
}

/* Brand specific geometric structure */
section, .cta-banner, .services-preview, .features-grid, .services-list, .pricing-row, .faq-item, .case-study-teaser {
  /* mask geometric corners via pseudo (if desired) */
  position: relative;
}
section::after, .cta-banner::after {
  content: "";
  display: block;
  position: absolute;
  right: 0; top: 0;
  width: 72px; height: 72px;
  background: #F2F2F2;
  clip-path: polygon(100% 0,0 100%,100% 100%);
  z-index: 0;
  opacity: 0.08;
  pointer-events: none;
}
.cta-banner::after {
  background: #20415A;
  opacity: 0.09;
}

/* --- Responsive Styles (Mobile-First) --- */
@media (max-width: 768px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }
  .features-grid, .services-list, .services-preview, .testimonials-slider {
    flex-direction: column;
    gap: 20px;
  }
  .service-card, .service-detail, .feature, .pricing-row, .testimonial-card, .case-study-teaser {
    min-width: unset;
    max-width: 100%;
    padding: 22px 12px 28px 16px;
  }
  .cta-banner {
    padding: 32px 8px 35px;
    border-radius: 12px;
  }
  .hero {
    padding: 44px 0 38px 0;
    background: #20415A;
  }
  h1 {
    font-size: 1.45rem;
  }
}
@media (max-width: 550px) {
  .hero h1 {
    font-size: 1.12rem;
  }
  .cookie-modal {
    padding: 16px 8px;
    width: 97vw;
  }
  .pricing-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 15px 12px;
  }
  .service-card, .service-detail, .feature {
    padding: 12px 7px 18px 8px;
    font-size: 0.95rem;
  }
}

/* --- Utility Classes --- */
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }

/* --- Geometric/Angular Font Features --- */
body, p, ul, ol, li {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
}

h1, h2, h3, .main-nav a, .mobile-nav a, .primary-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* --- Animations --- */
a, .primary-btn, .service-card, .feature, .pricing-row, .testimonial-card, .mobile-menu, .mobile-menu-toggle, .cookie-btn {
  transition: color 0.16s, background 0.17s, box-shadow 0.14s, border-color 0.12s, transform 0.12s;
}

/* --- Hide burger and mobile menu on desktop --- */
@media (min-width: 997px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
  .main-nav {
    display: flex !important;
  }
  .primary-btn {
    display: inline-flex !important;
  }
}

/* --- Ensure adequate spacing for cards on all devices --- */
.card, .service-card, .service-detail, .feature, .testimonial-card, .case-study-teaser {
  margin-bottom: 20px;
}

/* Accessibility: High contrast for testimonials text on light bg */
.testimonial-card, .case-study-teaser {
  background: #FFF !important;
  color: #20415A !important;
}

/* --- End of style.css --- */
