/* --- 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 {
  box-sizing: border-box;
  font-size: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #F4F7F9;
  color: #1F2E3D;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg {
  max-width: 100%;
  display: block;
}
input, button, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
a {
  color: #1F2E3D;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  padding-left: 2em;
  margin-bottom: 1.2em;
}
li {
  margin-bottom: 0.4em;
}

/* --- BRAND TYPOGRAPHY SCALE --- */
h1 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
h2 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
}
h3 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  margin-bottom: 8px;
}
p, blockquote {
  margin-bottom: 1em;
  font-size: 1rem;
}
blockquote {
  font-style: italic;
  color: #1F2E3D;
  opacity: 0.95;
  border-left: 4px solid #E6B90A;
  padding-left: 12px;
  margin-bottom: 12px;
}
strong {
  font-weight: 600;
}

/* --- LINK AND BUTTON STYLES --- */
a.cta, button.cta {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 28px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 2px 12px 0 rgba(31,46,61, 0.04);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.12s;
  outline: none;
  text-align: center;
  min-width: 180px;
  justify-content: center;
  margin-top: 18px;
}
.cta.primary, button.cta.primary {
  background: #1F2E3D;
  color: #fff;
  box-shadow: 0 2px 12px 0 rgba(31,46,61, 0.09);
}
.cta.primary:hover, button.cta.primary:hover,
.cta.primary:focus, button.cta.primary:focus {
  background: #2d3c4c;
  box-shadow: 0 4px 24px 0 rgba(31,46,61, 0.12);
  transform: translateY(-1.5px) scale(1.01);
}
.cta.secondary, button.cta.secondary {
  background: #E6B90A;
  color: #1F2E3D;
  box-shadow: 0 2px 8px 0 rgba(230,185,10,0.09);
}
.cta.secondary:hover, button.cta.secondary:focus {
  background: #f5cf34;
  color: #1F2E3D;
  box-shadow: 0 4px 20px 0 rgba(230,185,10,0.13);
  transform: translateY(-1.5px) scale(1.01);
}

/* --- CONTAINER & LAYOUT --- */
.container {
  width: 100%;
  max-width: 1136px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 2px 14px 0 rgba(31,46,61, 0.06);
}

/* --- HEADER --- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 10px 0 rgba(31,46,61, 0.07);
  position: sticky;
  top: 0;
  z-index: 50;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 24px;
  justify-content: flex-start;
  min-height: 70px;
  max-width: 1136px;
  margin: 0 auto;
  padding: 0 20px;
}
.main-nav > a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #1F2E3D;
  padding: 8px 0;
  transition: color 0.2s;
  font-weight: 500;
  display: flex;
  align-items: center;
}
.main-nav > a:not(.cta):hover, .main-nav > a:not(.cta):focus {
  color: #E6B90A;
}
.main-nav > a.img, .main-nav > a > img {
  height: 36px;
  width: auto;
  margin-right: 24px;
}
.main-nav > a.cta {
  margin-left: auto;
  margin-right: 0;
  min-width: 180px;
}

/* Hide cta on mobile inside nav */
@media (max-width: 900px) {
  .main-nav > a.cta {
    display: none;
  }
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  background: #1F2E3D;
  color: #fff;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 2rem;
  border: none;
  margin: 10px 18px 10px auto;
  cursor: pointer;
  transition: background 0.2s, transform 0.11s;
  z-index: 200;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #E6B90A;
  color: #1F2E3D;
  transform: scale(1.05);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 92vw;
  max-width: 340px;
  background: #fff;
  box-shadow: -12px 0 32px 0 rgba(31,46,61,0.13);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(.44,.14,.47,1.09);
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #1F2E3D;
  align-self: flex-end;
  margin: 20px 24px 12px 0;
  cursor: pointer;
  transition: color 0.2s, transform 0.12s;
  z-index: 350;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #E6B90A;
  transform: scale(1.1);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 24px 24px 24px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.13rem;
  color: #1F2E3D;
  padding: 14px 0;
  font-weight: 500;
  border-bottom: 1px solid #F4F7F9;
  transition: color 0.18s;
}
.mobile-nav a:last-child {
  border: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #E6B90A;
}

@media (max-width: 1000px) {
  .main-nav {
    gap: 0 14px;
    font-size: 0.99rem;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

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

/* --- HERO & GENERAL SECTIONS --- */
.hero {
  background: #F4F7F9;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  border-bottom: 1px solid #EBF0F5;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

.features {
  background: white;
}

.features ul, .features ol {
  margin-bottom: 0;
}
.features ul li, .features ol li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.07rem;
  margin-bottom: 14px;
  padding: 2px 0;
}
.features ul li img, .features ol li img {
  width: 26px;
  height: 26px;
}

.comparison-criteria {
  margin-top: 18px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #2d3c4c;
}

/* --- SERVICE CARDS --- */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 18px 0 32px 0;
}
.service-card {
  background: #F4F7F9;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(31,46,61,0.04);
  padding: 28px 22px 18px 22px;
  min-width: 235px;
  max-width: 330px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.16s, transform 0.15s, border 0.18s;
  border: 1px solid #EAEAEA;
}
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 6px 18px 0 rgba(30,40,55, 0.09);
  border: 1px solid #E6B90A;
  transform: translateY(-2px) scale(1.015);
}
.service-card h3 {
  color: #1F2E3D;
  font-size: 1.13rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.service-card strong {
  color: #E6B90A;
  font-weight: 700;
  margin-top: 6px;
  font-size: 1.10rem;
}

.service-description {
  background: #F4F7F9;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(31,46,61,0.035);
  padding: 20px 22px;
  margin-top: 18px;
  margin-bottom: 18px;
  font-size: 1rem;
}

/* --- TESTIMONIALS --- */
.testimonials {
  background: transparent;
  padding-top: 0;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(38,50,63, 0.08);
  margin-bottom: 20px;
  margin-top: 20px;
  border-left: 4px solid #E6B90A;
  max-width: 600px;
  color: #1F2E3D;
}
.testimonial-card blockquote {
  font-size: 1.07rem;
  font-style: italic;
  color: #1F2E3D;
  margin-bottom: 0;
  border: none;
  padding-left: 0;
}
.testimonial-card strong {
  color: #E6B90A;
}
.testimonial-card div {
  font-size: 0.98rem;
  color: #1F2E3D;
  opacity: 0.92;
}

.testimonials .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

/* --- FOOTER --- */
footer {
  background: #fff;
  border-top: 1px solid #EBF0F5;
  margin-top: 80px;
  width: 100%;
  padding: 40px 0 0 0;
}
footer .container {
  padding-top: 0;
  padding-bottom: 0;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-menu a {
  font-size: 0.97rem;
  color: #28364b;
  opacity: 0.85;
  transition: color 0.2s, opacity 0.19s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #E6B90A;
  opacity: 1;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.97rem;
  color: #2d3c4c;
}
.contact-info img {
  width: 20px;
  height: 20px;
  margin-right: 9px;
  vertical-align: middle;
  display: inline-block;
}
.contact-info p {
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-info a {
  color: #1F2E3D;
  text-decoration: underline;
  margin-left: 4px;
  transition: color 0.19s;
}
.contact-info a:hover, .contact-info a:focus {
  color: #E6B90A;
}
.footer-logo {
  display: flex;
  align-items: center;
}
.footer-logo img {
  width: 60px;
  height: auto;
  filter: grayscale(96%) contrast(1.25);
  opacity: 0.97;
}

/* --- SPECIAL CSS PATTERNS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(31,46,61,0.042);
  padding: 24px 18px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.17s, transform 0.16s;
  border: 1px solid #F1F1F1;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 22px 0 rgba(30,40,55, 0.10);
  transform: translateY(-2px) scale(1.015);
  border: 1px solid #E6B90A;
}
.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;
  margin-bottom: 40px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- RESPONSIVE STACKING --- */
@media (max-width: 1020px) {
  .content-wrapper, .footer .content-wrapper, .service-cards {
    flex-direction: column;
    gap: 22px !important;
  }
  .footer .content-wrapper {
    gap: 24px !important;
  }
  .service-cards {
    gap: 18px !important;
  }
}
@media (max-width: 900px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .footer-logo img { width: 48px; }
}
@media (max-width: 768px) {
  .section, .features, .services, .hero {
    padding: 28px 8px !important;
    margin-bottom: 38px;
    border-radius: 0;
    box-shadow: none;
  }
  .container {
    padding: 0 8px;
  }
  .service-cards {
    flex-direction: column;
    gap: 18px;
  }
  .service-card, .card {
    max-width: 100%;
    min-width: 0;
    margin-bottom: 18px;
  }
  .content-grid, .card-container, .footer .content-wrapper {
    flex-direction: column;
    gap: 18px !important;
  }
  .testimonial-card {
    max-width: 100%;
    margin-top: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    margin-bottom: 28px;
    align-items: stretch;
  }
}

/* --- ANIMATION/MICRO-INTERACTIONS --- */
.cta, button.cta, .service-card {
  transition: box-shadow 0.19s, background 0.19s, color 0.19s, transform 0.12s, border 0.13s;
}
.cta:active, button.cta:active {
  transform: scale(0.99);
  box-shadow: 0 1px 8px 0 rgba(30,40,48,0.07);
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  color: #1F2E3D;
  box-shadow: 0 -3px 14px 0 rgba(31,46,61,0.07);
  border-radius: 16px 16px 0 0;
  padding: 24px 16px 14px 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  z-index: 9999;
  font-size: 1rem;
  min-width: 270px;
  margin: 0 auto;
  transition: transform 0.29s cubic-bezier(.44,.14,.47,1.09), opacity 0.18s;
  will-change: transform, opacity;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(130%);
  pointer-events: none;
}
.cookie-banner .cookie-text {
  flex: 2 1 180px;
  font-size: 1rem;
  color: #1F2E3D;
  margin-right: 12px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: 18px;
  cursor: pointer;
  border: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.13s, transform 0.11s;
  outline: none;
  font-weight: 500;
  margin-right: 2px;
}
.cookie-banner .accept {
  background: #1F2E3D;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #2d3c4c;
}
.cookie-banner .reject {
  background: #fff;
  color: #1F2E3D;
  border: 1px solid #E6B90A;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #E6B90A;
  color: #1F2E3D;
}
.cookie-banner .settings {
  background: #E6B90A;
  color: #1F2E3D;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #f5cf34;
}

@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    max-width: 97vw;
    width: 97vw;
    bottom: 0;
    left: 1vw;
    right: 1vw;
    border-radius: 14px 14px 0 0;
    gap: 15px;
    padding: 18px 10px 10px 10px;
  }
  .cookie-banner .cookie-actions {
    flex-wrap: wrap;
    gap: 7px;
  }
}

/* --- Cookie Modal --- */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(22, 30, 38, 0.40);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.2s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 6px 32px 0 rgba(31,46,61, 0.16);
  padding: 32px 28px 22px 28px;
  width: 100%;
  max-width: 410px;
  color: #1F2E3D;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  position: relative;
  opacity: 1;
  animation: fadeInModal 0.22s cubic-bezier(.54,.2,.37,1.01);
}
@keyframes fadeInModal {
  0% {opacity: 0; transform: translateY(80px) scale(0.98);}
  90% {opacity: 1; transform: translateY(-4px) scale(1.01);}
  100% {opacity: 1; transform: translateY(0) scale(1);}
}
.cookie-modal h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.cookie-modal ul {
  list-style: none;
  margin-left: 0;
  margin-bottom: 0;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.cookie-modal .toggle-switch {
  width: 38px;
  height: 22px;
  background: #ECECEC;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.14s;
}
.cookie-modal .toggle-switch.on {
  background: #E6B90A;
}
.cookie-modal .toggle-knob {
  position: absolute;
  width: 18px; height: 18px;
  left: 2px; top: 2px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.13s;
  box-shadow: 0 0.5px 3px 0px rgba(0,0,0,0.11);
}
.cookie-modal .toggle-switch.on .toggle-knob {
  left: 18px;
}
.cookie-modal .toggle-switch[aria-disabled='true'] {
  background: #E6B90A;
  opacity: 0.50;
  cursor: not-allowed;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}
.cookie-modal .cookie-modal-actions button {
  padding: 8px 22px;
  border-radius: 18px;
  border: none;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  background: #1F2E3D;
  color: #fff;
  cursor: pointer;
}
.cookie-modal .cookie-modal-actions button.secondary {
  background: #E6B90A;
  color: #1F2E3D;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 18px; right: 22px;
  background: none;
  border: none;
  font-size: 1.45rem;
  color: #1F2E3D;
  cursor: pointer;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  color: #E6B90A;
}

@media (max-width: 500px) {
  .cookie-modal {
    padding: 17px 5vw 16px 5vw;
    max-width: 97vw;
    border-radius: 10px;
  }
}

/* --- UTILS --- */
.hide { display: none !important; }
.text-center { text-align: center; }
.flex {
  display: flex !important;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

::-webkit-scrollbar {
  width: 8px;
  background: #F4F7F9;
}
::-webkit-scrollbar-thumb {
  background: #DEDEDE;
  border-radius: 8px;
}

/* --- Print minimal styles --- */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { background: #fff; color: #1F2E3D; }
  .section, .features, .services, .hero { box-shadow: none !important; border-radius: 0 !important; background: #fff !important; }
}

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