/* RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F2F2F2;
  color: #1B2836;
  line-height: 1.6;
  min-height: 100vh;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #205275;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #FFBE41;
  outline-offset: 2px;
}
a:hover {
  color: #FFBE41;
}
ul, ol {
  padding-left: 1.2em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #205275;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}
strong {
  font-weight: 700;
  color: #205275;
}
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

/********************
  BRAND COLORS & TYPE
**********************/
:root {
  --primary: #205275;
  --primary-dark: #163a51;
  --secondary: #F2F2F2;
  --accent: #FFBE41;
  --contrast: #1B2836;
  --white: #fff;
  --shadow-main: 0 4px 16px rgba(32, 82, 117, 0.09);
  --border-radius: 14px;
  --border-heavy: 3px;
  --transition-fast: 0.18s cubic-bezier(.30,.5,.5,1);
}

/**************************
  HEADER & NAVBAR
***************************/
header {
  background: var(--white);
  border-bottom: 2px solid #DFE7EF;
  box-shadow: 0 2px 8px rgba(32,82,117,0.05);
  z-index: 20;
}
.logo img {
  height: 40px;
  aspect-ratio: 5/2;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.main-nav {
  display: flex;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.02em;
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-fast);
}
.main-nav a:after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: var(--accent);
  transition: width 0.22s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--accent);
}
.main-nav a:hover:after,
.main-nav a:focus:after {
  width: 100%;
}
.btn-primary, .btn-secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  display: inline-block;
  border: none;
  outline: none;
  border-radius: var(--border-radius);
  padding: 13px 34px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--contrast);
  background: var(--accent);
  box-shadow: var(--shadow-main);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}
.btn-primary:hover,
.btn-primary:focus  {
  background: #FFD774;
  color: var(--primary);
  box-shadow: 0 6px 24px rgba(32, 82, 117, 0.11);
}
.btn-secondary {
  background: var(--primary);
  color: var(--white);
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--primary-dark);
  color: var(--accent);
}
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  border: none;
  color: var(--white);
  font-size: 2.1rem;
  border-radius: 10px;
  height: 46px;
  width: 46px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 10px;
  transition: background var(--transition-fast);
  z-index: 220;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--accent);
  color: var(--primary);
}

/************
  MOBILE MENU
*************/
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(32,82,117,0.98);
  z-index: 200;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transition: transform 0.35s cubic-bezier(.80,.1,.30,1);
  transform: translateX(-100%);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--accent);
  border: none;
  font-size: 2.5rem;
  align-self: flex-end;
  margin: 28px 24px 15px 0;
  cursor: pointer;
  transition: color var(--transition-fast);
  z-index: 205;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #ffd774;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-left: 36px;
  margin-top: 24px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 600;
  padding: 10px 0;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  color: var(--accent);
  background: rgba(255,255,255,0.06);
}

/****************
  HERO SECTION
*****************/
.hero {
  background: var(--primary);
  color: var(--white);
  padding-top: 48px;
  padding-bottom: 48px;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 680px;
}
.hero h1 {
  font-size: 2.7rem;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.08em;
}
.hero .subheadline {
  font-size: 1.2rem;
  color: #E6F2FA;
  margin-bottom: 24px;
}

/***********
  FEATURES
************/
.features {
  background: var(--secondary);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.features .content-wrapper {
  gap: 22px;
  align-items: flex-start;
}
.features h2 {
  margin-bottom: 10px;
}
.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin-top: 10px;
}
.features ul li {
  flex: 1 1 220px;
  min-width: 180px;

  align-items: flex-start;
  background: var(--white);
  box-shadow: var(--shadow-main);
  border-radius: var(--border-radius);
  padding: 18px 18px 18px 16px;
  gap: 18px;
  font-size: 1.08rem;
  margin-bottom: 20px;
  border-left: var(--border-heavy) solid var(--accent);
}
.features ul img {
  width: 38px;
  height: 38px;
  margin-right: 10px;
  flex-shrink: 0;
}

/***************
 SERVICES TEASER
****************/
.services-teaser {
  background: var(--white);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.services-teaser .content-wrapper {
  gap: 22px;
}
.services-teaser ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin-bottom: 18px;
}
.services-teaser ul li {
  flex: 1 1 260px;
  background: var(--secondary);
  border-radius: var(--border-radius);
  padding: 18px 18px 18px 16px;
  font-size: 1.04rem;
  box-shadow: 0 2px 8px rgba(32,82,117,0.036);
  border-left: var(--border-heavy) solid var(--primary);
}

/**********************
  TESTIMONIALS TEASER
***********************/
.testimonials-teaser {
  background: var(--primary);
  color: var(--white);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.testimonials-teaser .content-wrapper{
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: var(--white);
  color: #1B2836;
  padding: 20px;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  box-shadow: var(--shadow-main);
  border-left: var(--border-heavy) solid var(--accent);
  max-width: 540px;
}
.testimonial-author {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
}
.testimonials h2, .testimonials-teaser h2 {
  color: var(--accent);
}

/*************
  WHY US (NUMBERS)
**************/
.whyus {
  background: var(--white);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.whyus ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
}
.whyus ul li {
  flex: 1 1 220px;
  display: flex;
  align-items: center;
  background: var(--secondary);
  border-radius: var(--border-radius);
  padding: 19px 17px;
  gap: 12px;
  font-size: 1.11rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
}
.whyus ul img {
  width: 32px;
  height: 32px;
}

/***********
  CTA BANNER
************/
.cta-banner {
  background: var(--accent);
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 0 0 38px 38px;
  box-shadow: 0 6px 32px rgba(32,82,117,0.13);
}
.cta-banner .content-wrapper {
  align-items: center;
  gap: 24px;
}
.cta-banner h2 {
  color: var(--primary);
  font-size: 2.1rem;
  text-align: center;
}

/************
  FOOTER
************/
footer {
  background: var(--primary);
  color: var(--white);
  padding: 38px 0 18px 0;
  font-size: 1rem;
  border-top: 2px solid #DFE7EF;
}
footer .container {
  flex-direction: row;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: var(--accent);
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color var(--transition-fast);
  font-size: 1rem;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #fff;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
}
.footer-brand img {
  height: 32px;
  margin-bottom: 7px;
}
footer small {
  color: #E8F3FC;
  margin-top: 20px;
  width: 100%;
  display: block;
  font-size: 0.94rem;
  text-align: center;
}

/********************
  MAIN SECTION SPACING
*********************/
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-main);
  padding: 20px 18px;
  min-width: 230px;
  flex: 1 1 260px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/*****************
  DESIGN HIGHLIGHTS
******************/
ul li, ol li {
  margin-bottom: 10px;
}
dt {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  margin-top: 18px;
  font-weight: 600;
}
dd {
  margin-bottom: 12px;
  margin-left: 0.5em;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
td {
  padding: 10px 6px;
  font-size: 1rem;
  border-bottom: 1px solid #EFF3F7;
}

/*******************
  CARD COMPONENTS
********************/
.card {
  border-left: var(--border-heavy) solid var(--accent);
  transition: box-shadow 0.2s, transform 0.16s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 10px 28px 0 rgba(32,82,117,0.13);
  transform: translateY(-5px) scale(1.02);
  z-index: 1;
}

/****************
  PROCESS STEPS
*****************/
.process-overview .text-section ol {
  list-style: decimal inside;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.process-overview ol li {
  background: var(--white);
  border-left: 5px solid var(--primary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-main);
  padding: 16px 16px 16px 18px;
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  gap: 16px;
}
.process-overview ol img {
  width: 36px;
  height: 36px;
  margin-right: 8px;
}

/*******************
  FAQ DECLARATIONS
********************/
.faq dt {
  margin-bottom: 6px;
}
.faq dd {
  background: var(--white);
  padding: 14px 18px;
  border-radius: var(--border-radius);
  color: var(--contrast);
  box-shadow: var(--shadow-main);
  margin-bottom: 14px;
  border-left: 4px solid var(--primary);
}

/******************
  COOKIE CONSENT
*******************/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 9999;
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 -4px 32px rgba(32,82,117,0.14);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 18px 12px;
  font-size: 1rem;
  letter-spacing: 0.01em;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  animation: slideInCookie 0.48s cubic-bezier(.32,1.3,.4,1) 1;
}
@keyframes slideInCookie {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-banner p {
  flex: 2 1 220px;
  margin: 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  padding: 9px 22px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(32,82,117,0.07);
  transition: background 0.19s, color 0.17s;
}
.cookie-btn.accept {
  background: var(--accent);
  color: var(--primary);
}
.cookie-btn.reject {
  background: #E5372B;
  color: var(--white);
}
.cookie-btn.settings {
  background: var(--white);
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.cookie-btn:hover,
.cookie-btn:focus {
  filter: brightness(1.08);
}

/*******************
  COOKIE MODAL
********************/
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 10003;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32,82,117,0.73);
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: var(--white);
  color: var(--primary);
  border-radius: 21px;
  padding: 36px 30px 24px 30px;
  max-width: 430px;
  min-width: 240px;
  box-shadow: 0 10px 40px rgba(32, 82, 117, 0.23);
  animation: revealModal 0.28s cubic-bezier(.32,.5,.41,1.4) 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
@keyframes revealModal {
  0% { transform: scale(0.8) translateY(50px); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal h2 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category label {
  font-weight: 600;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-modal .close-modal {
  background: none;
  color: var(--primary);
  border: none;
  font-size: 2rem;
  position: absolute;
  right: 18px;
  top: 14px;
  z-index: 115;
  cursor: pointer;
  opacity: 0.8;
}
.cookie-modal .close-modal:hover,
.cookie-modal .close-modal:focus {
  color: var(--accent);
}

/**********************
  THANK YOU PAGE
***********************/
.thank-you {
  background: var(--secondary);
  border-radius: var(--border-radius);
  margin-top: 70px;
  text-align: center;
  min-height: 350px;
}
.thank-you h1 {
  color: var(--accent);
  font-size: 2.5rem;
}
.thank-you-message{
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 20px;
}
.next-steps {
  color: var(--primary);
  margin-bottom: 35px;
}

/*********************
  RESPONSIVE FLEX & LAYOUT
**********************/
@media (max-width: 980px) {
  .container {
    max-width: 96vw;
  }
  .main-nav {
    gap: 19px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .main-nav,
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .footer-brand {
    margin-top: 25px;
  }
  .container {
    padding: 0 8px;
  }
  section, .hero, .cta-banner, .features, .services-teaser, .whyus, .testimonials-teaser {
    padding: 28px 4px;
    margin-bottom: 42px;
  }
  .card, .features ul li, .whyus ul li, .services-teaser ul li, .testimonial-card {
    min-width: 0;
    flex: 1 1 98vw;
  }
  .content-wrapper,
  .content-grid,
  .case-studies ul,
  .features ul,
  .whyus ul,
  .testimonials-teaser .content-wrapper,
  .testimonials .content-wrapper {
    flex-direction: column !important;
    gap: 20px !important;
    align-items: stretch !important;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 16px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.98rem;
  }
}
@media (max-width: 520px) {
  .hero h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  .cta-banner h2 {
    font-size: 1.21rem;
  }
  .btn-primary, .btn-secondary {
    font-size: 0.99rem;
    padding: 12px 18px;
  }
  .mobile-nav a {
    font-size: 1.15rem;
  }
  .thank-you h1 {
    font-size: 2rem;
  }
}

/* Geometric/Structured Details */
section, .cta-banner, .hero {
  border-radius: 0;
  border-top: 4px solid var(--accent);
  position: relative;
}
.cta-banner {
  box-shadow:
    0 2px 16px 0 rgba(32,82,117,0.08),
    0 6px 24px 0 rgba(32,82,117,0.08);
}
.features ul li::before, .whyus ul li::before {
  content: '';
  display: none; /* remove default bullets */
}

/********************
  MICRO-ANIMATIONS
**********************/
.btn-primary, .btn-secondary, .cookie-btn {
  transition:
    background 0.18s cubic-bezier(.39,.55,.5,1),
    color 0.19s cubic-bezier(.28,.6,.41,1),
    box-shadow 0.17s cubic-bezier(.28,.6,.41,1),
    transform 0.11s cubic-bezier(.48,.68,.45,1.10);
}
.btn-primary:active, .btn-secondary:active, .cookie-btn:active {
  transform: scale(0.97);
}
.card, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.16s;
}
.card:hover, .testimonial-card:hover,
.card:focus-within, .testimonial-card:focus-within {
  box-shadow: 0 8px 36px 0 rgba(32,82,117,0.15);
  transform: translateY(-4px) scale(1.02);
  z-index: 1;
}

/*****************
  ACCESSIBILITY
*****************/
:focus {
  outline: 2.5px solid var(--accent) !important;
  outline-offset: 2px !important;
}

/*****************
  MISC FIXES
*****************/
.hide {
  display: none !important;
}

@media (max-width:480px) {
  .footer-brand img {
    height: 26px;
  }
  .footer-brand p {
    font-size: 0.92rem;
  }
}

/*****************
  END OF CSS
*****************/