/* ===============================================================
   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;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  line-height: 1.5;
  background: #fff;
  color: #21405B;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *:before, *:after {
  box-sizing: inherit;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

input, button, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    border: none;
    background: none;
}

button:focus, a:focus {
    outline: 2px solid #21405B;
    outline-offset: 2px;
}

a {
  color: #21405B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #FAAE3D;
}

ul, ol {
  list-style-position: inside;
  margin-left: 1.2em;
}

strong {
  font-weight: 700;
}

/* ===============================================================
   TYPOGRAPHY
   =============================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #21405B;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
h1 {font-size: 2.25rem; margin-bottom: 24px;}
h2 {font-size: 1.5rem; margin-bottom: 20px;}
h3 {font-size: 1.15rem; margin-bottom: 12px;}
h4, h5, h6 {font-size: 1rem; margin-bottom: 10px;}

p, ul, ol {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #273B50;
}
.subheadline {
  font-size: 1.125rem;
  color: #21405BCC;
  margin-bottom: 24px;
}

/* ===============================================================
   LAYOUT CONTAINERS & SPACING
   =============================================================== */
.container {
  width: 100%;
  max-width: 1024px;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
}

main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.section,
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
  /* padding: 40px 20px; (we use container for lateral padding) */
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
      justify-content: center !important;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(33, 64, 91, 0.06);
  margin-bottom: 20px;
  max-width: 400px;
  min-width: 0;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
  flex: 1 1 220px;
}

.features-list {
  display: flex;
  gap: 24px;
  justify-content: flex-start;
  padding: 0;
  margin: 0 0 8px 0;
}
.features-list li {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(33,64,91,0.04);
  padding: 24px 18px;
  min-width: 220px;
  max-width: 280px;
}
.features-list img {
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
}

.value-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.value-item {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(33,64,91,0.04);
  padding: 24px 18px;
  min-width: 220px;
  max-width: 280px;
  gap: 10px;
}
.value-item img {
  width: 36px;
  height: 36px;
  margin-bottom: 6px;
}

.content-wrapper > ul, .content-wrapper > ol {
  width: 100%;
}

/* ===============================================================
   NAVIGATION & HEADER
   =============================================================== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 14px 0 rgba(33, 64, 91, 0.04);
  z-index: 31;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 68px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo-link img {
  height: 40px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: #21405B;
  padding: 6px 0;
  position: relative;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a.active {
  color: #FAAE3D;
}

.cta-primary {
  background: #21405B;
  color: #fff !important;
  border-radius: 22px;
  padding: 10px 32px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 10px 0 rgba(33,64,91,0.09);
  cursor: pointer;
  border: none;
  outline: none;
  letter-spacing: 0.01em;
  display: inline-block;
  margin-left: 8px;
}
.cta-primary:hover, .cta-primary:focus {
  background: #FAAE3D;
  color: #21405B !important;
  box-shadow: 0 4px 18px 0 rgba(250,174,61,0.12);
}

.cta-secondary {
  background: transparent;
  color: #21405B;
  border: 1.5px solid #21405B;
  border-radius: 22px;
  padding: 10px 28px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 10px 0 rgba(33,64,91,0.06);
  cursor: pointer;
  outline: none;
  display: inline-block;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #FAAE3D;
  color: #21405B;
  border-color: #FAAE3D;
}

footer {
  background: #fafbfc;
  border-top: 1px solid #d2dbe8;
  padding-top: 32px;
  padding-bottom: 32px;
  margin-top: 72px;
}

.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  justify-content: center;
}
.footer-nav a {
  font-size: 0.95rem;
  color: #58687a;
  transition: color 0.2s;
}
.footer-nav a:hover { color: #21405B; }
.brand-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-top: 12px;
  color: #8b9aad;
  font-size: 0.98rem;
}
.brand-footer img {
  height: 30px; width: auto;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #21405B;
  padding: 6px 12px;
  cursor: pointer;
  z-index: 50;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(33,64,91,0.97);
  flex-direction: column;
  align-items: flex-end;
  z-index: 1002;
  transition: transform 0.34s cubic-bezier(.68,-0.55,.27,1.55);
  transform: translateX(100%);
  pointer-events: none;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  margin: 26px 24px 4px 0;
  padding: 6px 12px;
  align-self: flex-end;
  cursor: pointer;
  z-index: 1025;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  padding: 30px 40px 40px 36px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.24rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  padding: 9px 2px;
  transition: color 0.19s;
  border-radius: 6px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FAAE3D;
  color: #21405B;
}

@media (max-width: 1024px) {
  .main-nav { gap: 12px; }
}
@media (max-width: 900px) {
  .nav-bar {
    padding-left: 6px;
    padding-right: 6px;
  }
}

@media (max-width: 768px) {
  .main-nav, .cta-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 18px;
    top: 15px;
    z-index: 1030;
  }
  .nav-bar {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (max-width: 480px) {
  .mobile-nav {
    padding: 24px 14px 32px 14px;
  }
  .mobile-menu-close {
    margin: 18px 10px 0 0;
  }
}

/* ===============================================================
   HERO SECTIONS
   =============================================================== */
.hero {
  width: 100%;
  background: #D0E4F7;
  border-radius: 0 0 24px 24px;
  padding: 38px 0 36px 0;
  margin-bottom: 60px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 14px;
}
.hero h1 {
  font-size: 2.35rem;
  color: #21405B;
}
.hero p, .hero .subheadline {
  color: #273B50;
  font-weight: 400;
}

/* ===============================================================
   CARDS, FEATURES, & SERVICES
   =============================================================== */
.service-cards {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 12px;
}
.service-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(33,64,91,0.06);
  padding: 28px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 220px;
  flex: 1 1 200px;
  max-width: 260px;
  transition: box-shadow 0.25s;
}
.service-card:hover {
  box-shadow: 0 8px 24px 0 rgba(33,64,91,0.12);
}
.service-card strong {
  color: #FAAE3D;
  font-size: 1.05rem;
  font-weight: 600;
}

.card-grid, .testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* ===============================================================
   TESTIMONIALS
   =============================================================== */
.testimonials-highlight, .testimonial-slider, .testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.testimonial-slider {
  margin-top: 16px;
}

.testimonial-card {
  box-shadow: 0 2px 18px 0 rgba(33,64,91,0.08);
  background: #fff;
  color: #1B2B3F;
  border-radius: 14px;
  padding: 26px 22px 18px 22px;
  min-width: 220px;
  max-width: 400px;
}
.testimonial-card p {
  color: #1B2B3F;
  font-size: 1rem;
  margin-bottom: 10px;
}
.testimonial-card strong {
  color: #21405B;
}

.star-ratings {
  display: inline-block;
  font-size: 1.65rem;
  color: #FAAE3D;
  letter-spacing: 3px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* CTA blocks */
.cta-block {
  background: #FAFAFA;
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(33,64,91,0.04);
  margin-bottom: 60px;
  padding: 34px 0 38px 0;
}
.cta-block .content-wrapper {
  align-items: center;
  text-align: center;
  justify-content: center;
}
.cta-block h2 {
  margin-bottom: 18px;
}

/* ===============================================================
   FAQ & ACCORDION (if needed)
   =============================================================== */
.faq-section {
  margin-bottom: 60px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}
.faq-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(33,64,91,0.04);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: 7px;
}

/* ===============================================================
   TABLES (COMPARISON)
   =============================================================== */
.comparison-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 18px;
}
.comparison-table th, .comparison-table td {
  text-align: left;
  padding: 14px 10px;
  border-bottom: 1px solid #E6EEF8;
}
.comparison-table th {
  font-size: 1rem;
  color: #21405B;
  font-weight: 600;
  background: #F7FAFD;
}
.comparison-table tr:last-child td {
  border-bottom: none;
}
.comparison-table tbody tr:hover {
  background: #F8F8F8;
}

/* ===============================================================
   MISCELLANEOUS
   =============================================================== */
.contact-info {
  list-style: none;
  padding: 0;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.guide-promo {
  background: #D0E4F7;
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(33,64,91,0.04);
}
.guide-promo h2 {
  color: #21405B;
}

/* List styling for before/after and tips */
.before-after ul, .tips-list {
  list-style: disc;
  margin-left: 32px;
  margin-bottom: 16px;
}
.steps-list {
  list-style: decimal;
  margin-left: 32px;
  margin-bottom: 24px;
  padding-left: 0;
}

/* Thank You Section */
.thank-you {
  padding-top: 64px;
  padding-bottom: 64px;
  min-height: 350px;
  display: flex;
  align-items: center;
}

/* Policy Sections */
.privacy-policy, .gdpr-policy, .cookies-policy, .terms-of-use {
  background: #FAFAFB;
  border-radius: 14px;
  padding: 40px 0 38px 0;
}

/* ===============================================================
   TRANSITIONS & MICRO-INTERACTIONS
   =============================================================== */
button, a.cta-primary, a.cta-secondary {
  transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.18s, transform 0.14s;
}
button:active, a.cta-primary:active, a.cta-secondary:active {
  transform: scale(0.97);
}

/* Card hover quick elevation */
.service-card:hover, .testimonial-card:hover, .value-item:hover {
  box-shadow: 0 8px 32px 0 rgba(33,64,91,0.10);
  z-index: 2;
}

/* ===============================================================
   RESPONSIVE DESIGN & SPACING
   =============================================================== */
@media (max-width: 1000px) {
  .container {
    max-width: 94vw;
    padding-left: 12px;
    padding-right: 12px;
  }
  .service-cards, .features-list, .value-icons, .testimonial-slider, .testimonial-cards {
    gap: 16px;
  }
}

@media (max-width: 800px) {
  .hero h1 {font-size: 1.55rem;}
  .service-card, .features-list li, .value-item {
    min-width: 160px;
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .content-wrapper {
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .section,
  section {
    margin-bottom: 36px;
    padding: 34px 0 0 0;
  }
  .hero {
    border-radius: 0 0 14px 14px;
    padding: 28px 0 26px 0;
  }
  .features-list,
  .service-cards,
  .value-icons, .testimonial-cards, .testimonial-slider {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .card, .service-card, .testimonial-card, .value-item, .features-list li {
    min-width: 0;
    max-width: 100%;
  }
  .content-grid,
  .card-container {
    gap: 14px;
  }
  .text-image-section { flex-direction: column; gap: 18px; }
  .content-wrapper { gap: 13px; }
}

@media (max-width: 550px) {
  h1 { font-size: 1.22rem; }
  h2 { font-size: 1rem; }
  h3 { font-size: .95rem; }
  .container {
    max-width: 99vw;
    padding-left: 6px;
    padding-right: 6px;
  }
  .footer-nav { gap: 8px; }
}

/* ===============================================================
   COOKIE CONSENT BANNER (FIXED BOTTOM)
   =============================================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: #21405B;
  color: #fff;
  width: 100vw;
  box-shadow: 0 -3px 18px 0 rgba(33,64,91,0.10);
  padding: 18px 22px 18px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 1rem;
  transition: transform 0.4s cubic-bezier(.68,-0.55,.27,1.55), opacity 0.3s;
  opacity: 1;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-banner-content {
  flex: 1;
  color: #fff;
  max-width: 540px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #21405B;
  border-radius: 22px;
  background: #FAAE3D;
  padding: 8px 24px;
  border: none;
  cursor: pointer;
  transition: background 0.19s, color 0.19s, box-shadow 0.15s;
  box-shadow: 0 1px 4px 0 rgba(250,174,61,0.10);
}
.cookie-banner button.cookie-banner-reject {
  background: #fff;
  color: #21405B;
  border: 1px solid #FAAE3D;
}
.cookie-banner button.cookie-banner-settings {
  background: transparent;
  color: #FAAE3D;
  border: 1px solid #FAAE3D;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #fff;
  color: #21405B;
}
.cookie-banner button.cookie-banner-settings:hover,
.cookie-banner button.cookie-banner-settings:focus {
  background: #21405B;
  color: #FAAE3D;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 14px 8px 18px 8px;
    font-size: .92rem;
  }
  .cookie-actions { gap: 12px; }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 2011;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(33,64,91,0.61);
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.active {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  max-width: 380px;
  width: 96vw;
  padding: 32px 26px 22px 26px;
  box-shadow: 0 6px 48px 0 rgba(33,64,91,0.20);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  color: #21405B;
  animation: fadein-modal 340ms ease;
}

@keyframes fadein-modal {
  from { opacity: 0; transform: translateY(48px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #8b9aad;
  cursor: pointer;
  z-index: 2;
}

.cookie-modal h3 {
  font-size: 1.19rem;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1rem;
}
.cookie-category input[type=checkbox] {
  appearance: none;
  width: 19px;
  height: 19px;
  border-radius: 5px;
  border: 2px solid #21405B;
  background: #fff;
  margin-right: 7px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: border 0.15s, box-shadow 0.15s;
}
.cookie-category input[type=checkbox]:checked {
  background: #21405B;
  border-color: #21405B;
}
.cookie-category input[type=checkbox]:checked:after {
  content: "";
  display: block;
  position: absolute;
  left: 4px; top: 2px;
  width: 7px; height: 11px;
  border: solid #FAAE3D;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
.cookie-category label {
  font-weight: 500;
}
.cookie-category.cookie-essential label {
  color: #21405B;
}
.cookie-category.cookie-essential input[type=checkbox] {
  background: #D0E4F7;
  border: 2px solid #D0E4F7;
}
.cookie-category.cookie-essential input[type=checkbox]:checked {
  background: #D0E4F7;
  border-color: #D0E4F7;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-modal-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 22px;
  background: #21405B;
  color: #fff;
  padding: 8px 28px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  box-shadow: 0 1px 4px 0 rgba(33,64,91,.08);
  transition: background 0.2s, color 0.15s;
}
.cookie-modal-actions button.cookie-modal-cancel {
  background: #fff;
  color: #21405B;
  border: 1px solid #21405B;
}
.cookie-modal-actions button:hover, .cookie-modal-actions button:focus {
  background: #FAAE3D;
  color: #21405B;
}


/* ===============================================================
   DIALOG OVERLAYS: GENERIC STYLES
   =============================================================== */
[role="dialog"]:not(.cookie-modal) {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 64px 0 rgba(33,64,91,0.16);
  color: #21405B;
  padding: 2rem 1.5rem;
}

/* ===============================================================
   PRINT STYLES
   =============================================================== */
@media print {
  *, *:before, *:after { color: #000 !important; background: none !important; box-shadow: none !important; }
  nav, .mobile-menu, .mobile-menu-toggle, .footer-nav, footer, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  .container { max-width: 100vw; padding: 0; }
}
