/* CSS RESET & NORMALIZE */
:root {
  --primary: #16425B;
  --secondary: #EC9A29;
  --accent: #F5F1E3;
  --gray-900: #111;
  --gray-700: #232323;
  --gray-500: #444;
  --gray-300: #ddd;
  --gray-100: #f9f9f9;
  --white: #fff;
  --shadow: 0 2px 24px rgba(0,0,0,0.11),0 1.5px 4px rgba(0,0,0,0.02);
}
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
*,*::before,*::after { box-sizing: inherit; margin: 0; padding: 0; }
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  font-size: 1rem;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  background-color: #fafafa;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.18s ease;
}
a:hover,a:focus {
  color: var(--secondary);
  outline: none;
}
ul,ol {
  margin: 0 0 1.4em 1.2em;
}
li {
  margin-bottom: 0.7em;
}
strong { font-weight: 700; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 18px;
  line-height: 1.12;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1.16;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
h4,h5,h6 {
  font-size: 1.1rem;
  font-weight: 600;
}
.subheadline, .cta-text {
  color: var(--gray-700);
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  font-size: 1.25rem;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}
.cta-text {
  color: var(--gray-700);
  font-size: 1.125rem;
}

/* LAYOUT CONTAINER */
.container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

main {
  flex: 1 1 auto;
  margin-bottom: 60px;
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.text-section {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.card {
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: 16px;
  padding: 30px 22px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}
.feature {
  background: var(--gray-100);
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
  padding: 24px 18px 24px 18px;
  flex: 1 1 270px;
  min-width: 240px;
  max-width: 330px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.22s cubic-bezier(.51,.44,.35,1),
              transform 0.12s cubic-bezier(.55,.12,.45,.82);
}
.feature:hover, .feature:focus {
  box-shadow: 0 5px 32px 5px rgba(20,20,25,0.12);
  transform: translateY(-3px) scale(1.02);
}

/* Feature Icon Styling */
.feature img {
  width: 42px;
  height: 42px;
  margin-bottom: 7px;
  filter: grayscale(100%) contrast(1.15) brightness(0.93);
  opacity: 0.88;
}

/* TESTIMONIALS */
.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  margin-bottom: 10px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: var(--gray-100);
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
  min-width: 270px;
  max-width: 360px;
  position: relative;
  color: var(--gray-900);
  font-size: 1.05rem;
}
.testimonial-card .stars {
  color: var(--secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  margin-bottom: -10px;
  letter-spacing: 2px;
}
.testimonial-author {
  color: var(--gray-500);
  font-style: italic;
  font-size: .97rem;
  margin-top: 8px;
  letter-spacing: 0.01em;
}

/* BUTTONS */
.btn-primary {
  background: var(--gray-900);
  color: var(--white);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border-radius: 26px;
  padding: 12px 32px;
  border: none;
  box-shadow: 0 1.5px 12px rgba(22,22,22,.09);
  font-size: 1.12rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.12s, box-shadow .18s, transform 0.12s;
  display: inline-block;
  margin-top: 12px;
  margin-bottom: 8px;
}
.btn-primary:focus, .btn-primary:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 18px 2px rgba(16,16,50,0.17);
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
  transform: translateY(-2px) scale(1.02);
}

/* HEADER & NAVIGATION */
header {
  background: var(--white);
  box-shadow: 0 6px 32px -16px rgba(0,0,0,0.09);
  position: relative;
  z-index: 102;
  width: 100%;
  min-height: 78px;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 78px;
}
header a img {
  height: 44px;
  width: auto;
  margin-right: 17px;
}
header nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--gray-900);
  opacity: 0.90;
  font-weight: 500;
  font-size: 1rem;
  padding: 7px 10px;
  border-radius: 7px;
  transition: background 0.13s, color 0.19s;
}
header nav a:hover, header nav a:focus {
  background: var(--gray-100);
  color: var(--primary);
}

/* MOBILE MENU - Burger */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--gray-900);
  cursor: pointer;
  margin-left: 8px;
  z-index: 1802;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--gray-100);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(20,20,20,0.93);
  z-index: 1900;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.77,.05,.54,1.01);
  flex-direction: column;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.4rem;
  color: var(--white);
  align-self: flex-end;
  margin: 22px 22px 14px 0;
  cursor: pointer;
  z-index: 2002;
  transition: color 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 40px 34px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 600;
  padding: 8px 0;
  border-radius: 5px;
  width: 100%;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--primary);
  color: var(--secondary);
}

/* Only show mobile nav button on mobile */
@media (max-width: 980px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 981px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* FOOTER */
footer {
  background: var(--gray-900);
  color: var(--accent);
  padding: 40px 0 28px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 26px;
}
.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-navigation a {
  color: var(--accent);
  opacity: 0.87;
  font-size: 1rem;
  transition: color 0.18s, text-decoration 0.14s;
  text-decoration: underline dotted rgba(236,154,41,0.19) 2px;
}
.footer-navigation a:hover, .footer-navigation a:focus {
  color: var(--secondary);
  text-decoration: underline solid var(--secondary);
}
.footer-contact p {
  color: var(--accent);
  font-size: 0.93rem;
  margin-top: 6px;
}

/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--gray-900);
  color: var(--accent);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  z-index: 19999;
  box-shadow: 0 -2px 14px 3px rgba(0,0,0,.21);
  padding: 20px 30px 20px 15px;
  font-size: 1rem;
  animation: cookie-slide-in 0.42s cubic-bezier(.44,.05,.54,1.03);
}
@keyframes cookie-slide-in {
  0% { transform: translateY(66px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1;}
}
.cookie-consent-banner .banner-text {
  flex: 1 1 220px;
  margin-right: 18px;
}
.cookie-consent-banner .cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 21px;
  padding: 9px 22px;
  border: none;
  font-size: 1rem;
  margin-left: 10px;
  margin-top: 0;
  box-shadow: 0 1.5px 10px rgba(22,22,22,.09);
  background: var(--gray-100);
  color: var(--gray-900);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.cookie-consent-banner .cookie-btn.primary {
  background: var(--secondary);
  color: var(--gray-900);
}
.cookie-consent-banner .cookie-btn:hover, .cookie-consent-banner .cookie-btn:focus {
  background: var(--accent);
  color: var(--primary);
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.72);
  z-index: 199999;
  align-items: center;
  justify-content: center;
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: var(--white);
  color: var(--gray-900);
  border-radius: 18px;
  box-shadow: 0 6px 32px 0 rgba(0,0,0,0.22);
  width: 98vw;
  max-width: 390px;
  padding: 32px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fade-in-modal 0.39s cubic-bezier(.53,.12,.45,1.05);
}
@keyframes fade-in-modal {
  0% { opacity: 0; transform: scale(0.92); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal-content h3 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 1.05rem;
}
.cookie-category input[type='checkbox'] {
  accent-color: var(--secondary);
  width: 23px; height: 23px;
}
.cookie-category .label {
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal-footer {
  display: flex;
  gap: 17px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal .cookie-btn {
  margin-left: 0;
}
.cookie-modal-close {
  position: absolute;
  right: 24px; top: 18px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--primary);
  cursor: pointer;
}
.cookie-modal-close:hover {
  color: var(--secondary);
}

/* USP/Step List */
.usp-list, .stepper-list {
  margin: 0 0 24px 0;
}
.usp-list ul, .stepper-list ol {
  padding-left: 24px;
}
.usp-list li, .stepper-list li {
  margin-bottom: 12px;
  color: var(--gray-700);
  font-size: 1.07rem;
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .features-grid {
    gap: 18px;
  }
}
@media (max-width: 830px) {
  .features-grid, .testimonials-grid, .card-container, .content-grid, footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .feature, .testimonial-card, .card {
    min-width: 0;
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.38rem; }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  section {
    padding: 26px 5px 26px 5px;
  }
  .content-wrapper {
    gap: 9px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .features-grid, .testimonials-grid, .card-container, .content-grid, footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}
@media (max-width: 520px) {
  header .container {
    flex-direction: column;
    gap: 4px;
    align-items: stretch;
    min-height: unset;
  }
  .feature { padding: 15px 7px 15px 13px; }
  .card { padding: 15px 6px; }
  .testimonial-card { padding: 13px 7px; }
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 13px 5px 13px 5px;
  }
}

/* ACCESSIBILITY & MISC */
:focus {
  outline: 2px dashed var(--primary);
  outline-offset: 1px;
}
::-moz-focus-inner { border: 0; }

/* Hide visually but show to screen readers */
.sr-only {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Misc spacing helpers */
.mb-20 { margin-bottom: 20px !important; }
.mt-20 { margin-top: 20px !important; }

/* Hide cookie modal on desktop if overlay is not open */

/* Prevent overlapping and ensure spacing */
section + section {
  margin-top: 0;
  border-top: 1px solid var(--gray-100);
}

/* Custom scrollbar for modern browsers */
body {
  scrollbar-width: thin;
  scrollbar-color: var(--gray-300) var(--accent);
}
body::-webkit-scrollbar {
  width: 9px;
  background: var(--accent);
}
body::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 7px;
}

/* Page specific tweaks for spacing */
.stepper-list ol {
  margin-left: 22px;
}
.stepper-list li::marker { color: var(--secondary); font-weight: bold; }

/* Miscellaneous Styles for Links in Text */
.text-section a {
  color: var(--primary);
  text-decoration: underline dotted var(--secondary);
  transition: color 0.17s, text-decoration 0.17s;
}
.text-section a:hover, .text-section a:focus {
  color: var(--secondary);
  text-decoration: underline solid var(--secondary);
}

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