/* CSS RESET & NORMALIZATION */
* {box-sizing: border-box; margin: 0; padding: 0;}
html {font-size: 16px; scroll-behavior: smooth;}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F5F6FA;
  color: #20446C;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {max-width: 100%; display: block; border: 0;}
a {color: #20446C; text-decoration: none; transition: color 0.2s;}
a:hover, a:focus {color: #EBC854; outline: none;}
ul, ol {padding-left: 1.2rem; margin-bottom: 1.5rem;}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #20446C;
  margin-bottom: 16px;
  letter-spacing: -0.02rem;
}
h1 {font-size: 2.5rem; line-height: 1.15; margin-bottom: 24px;}
h2 {font-size: 2rem; margin-bottom: 18px;}
h3 {font-size: 1.25rem; margin-bottom: 12px;}
h4 {font-size: 1.1rem;}
p {margin-bottom: 1.2rem; font-size: 1rem;}
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* FLEX UTILITY CLASSES (MANDATORY PATTERNS) */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(32,68,108,0.04);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(32,68,108,0.06);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 22px;
  flex: 1 1 280px;
  min-width: 260px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 4px 22px rgba(32,68,108,0.11);
  transform: translateY(-2px);
}
.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 8px rgba(32,68,108,0.06);
  margin-bottom: 20px;
  min-width: 240px;
  width: 100%;
  max-width: 350px;
  transition: box-shadow 0.2s;
}
.testimonial-card p {
  color: #20446C;
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.testimonial-card span {
  color: #747c8a;
  font-size: 0.98rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* GLOBAL SPACING & FLEX LAYOUTS */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(32,68,108,0.08);
  position: sticky;
  top: 0;
  z-index: 20;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  min-height: 68px;
  padding: 12px 20px 8px 20px;
}
.main-nav > a img {height: 40px;}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
}
.main-nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  display: block;
  padding: 6px 0;
  font-size: 1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-bottom 0.2s;
}
.main-nav ul li a:hover, .main-nav ul li a.active {
  color: #EBC854;
  border-bottom: 2px solid #EBC854;
}
.btn-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 26px;
  background: #20446C;
  color: #fff;
  border: none;
  border-radius: 24px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.03em;
  box-shadow: 0 1px 4px rgba(32,68,108,0.07);
  cursor: pointer;
  transition: background 0.22s, transform 0.18s, box-shadow 0.18s;
  outline: none;
  margin-left: 16px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #EBC854;
  color: #20446C;
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 2px 18px rgba(32,68,108,0.11);
}
.btn-secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 24px;
  background: transparent;
  color: #20446C;
  border: 2px solid #20446C;
  border-radius: 24px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.22s, color 0.18s;
  outline: none;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #20446C;
  color: #fff;
}

/* MOBILE NAVIGATION STYLES */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2.1rem;
  color: #20446C;
  padding: 0 10px;
  cursor: pointer;
  z-index: 26;
  margin-left: 10px;
  line-height: 1;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(32,68,108,0.98);
  z-index: 1000;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.66,0,.34,1);
  padding: 32px 24px;
}
.mobile-menu.open {  /* JS adds .open when active */
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  margin-left: auto;
  margin-bottom: 24px;
  cursor: pointer;
  z-index: 1001;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 10px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-size: 1.4rem;
  padding: 8px 0;
  transition: color 0.2s;
  border-radius: 5px;
  text-align: left;
  min-width: 90vw;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus { color: #EBC854; background: rgba(255,255,255,0.07); }

@media (max-width: 1024px) {
  .main-nav ul { gap: 12px; }
}

@media (max-width: 900px) {
  .main-nav { gap: 18px; }
  .main-nav ul { gap: 7px; }
}
@media (max-width: 768px) {
  .main-nav ul {
    display: none;
  }
  .main-nav .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
  }
}
@media (max-width: 500px) {
  .main-nav > a img { height: 34px; }
}

/* HERO SECTION */
.hero {
  padding: 70px 0 40px 0;
  background: #F5F6FA;
  border-bottom: 1px solid #ECEFF4;
}
.hero .container { padding-top: 0; padding-bottom: 0; }
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 700px;
  margin: 0 auto;
  gap: 12px;
}
.hero h1 {color: #20446C; font-size: 2.5rem;}
.hero p {color: #20446C; font-size: 1.08rem; margin-bottom: 18px;}

/* GENERIC SECTIONS */
.features, .about, .services, .legal, .faq, .cta, .contact, .testimonials {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 0;
  background: #fff;
}
.features .content-wrapper, .about .content-wrapper, .services .content-wrapper {
  gap: 18px;
}
.features ul,
.features li,
.about ul,
.services ul,
.values-list,
.user-rights-list,
.user-obligations,
.detailed-points {
  font-size: 1rem;
  margin-bottom: 0.6em;
  color: #20446C;
}
.features ul, .about ul, .services ul, .values-list {padding-left: 1.1rem;}
.features li, .about li, .services li, .values-list li {margin-bottom: 0.26em;}

/* ICON STYLE HELPERS*/
.icon-list,
.benefit-icons,
.footer-contact,
.phone-email-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.benefit-icons img, .icon-list img, .footer-contact img, .phone-email-list img {
  width: 22px; height: 22px; margin-right: 8px; filter: grayscale(0.2); opacity: 0.9;
}
.icon-list div, .benefit-icons img, .footer-contact div, .phone-email-list div {
  display: flex; align-items: center;
}

/* PRICING TABLE/SERVICES */
.pricing-table, .services .module-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 20px;
}
.pricing-table > div, .services .module-list > div {
  background: #F5F6FA;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(32,68,108,0.05);
  padding: 32px 20px 24px;
  flex: 1 1 270px;
  min-width: 240px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.15s;
  border: 1px solid #ECEFF4;
}
.pricing-table > div:hover, .services .module-list > div:hover {
  box-shadow: 0 4px 22px rgba(32,68,108,0.13);
  transform: translateY(-2px) scale(1.01);
}
.pricing-table h3, .services .module-list h3 { font-size: 1.15rem; margin-bottom: 0.6em; }
.pricing-table p, .services .module-list p { font-size: 1.05rem; color: #20446C; }

/* TESTIMONIALS */
.testimonials {background: #fff;}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.star-rating-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #20446C;
  font-size: 1.05rem;
}
.star-rating-summary img { width: 22px; height: 22px; }

/* CTA */
.cta {
  background: #20446C;
  color: #fff;
  border-radius: 18px;
  padding: 42px 20px;
  margin-bottom: 60px;
  box-shadow: 0 2px 12px rgba(32,68,108,0.08);
}
.cta h2 { color: #fff; }
.cta .btn-primary {
  background: #EBC854;
  color: #20446C;
  margin-top: 16px;
}
.cta .btn-primary:hover { background: #20446C; color: #EBC854; }

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-accordion > div {
  background: #F5F6FA;
  border-radius: 12px;
  padding: 20px 18px 18px 18px;
  box-shadow: 0 1px 8px rgba(32,68,108,0.05);
  margin-bottom: 12px;
  border: 1px solid #ECEFF4;
}
.faq-accordion h3 { font-size: 1.1rem; color: #20446C; }
.faq-accordion p { font-size: 0.99rem; color: #747c8a; margin-bottom: 0; }
.contact-prompt p {margin-top: 14px;}
.contact-prompt a {
  color: #20446C;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.18s;
}
.contact-prompt a:hover {color: #EBC854;}

/* LEGAL PAGES */
.legal .content-wrapper, .legal .container {
  gap: 20px;
}
.legal h1, .legal h2 {
  margin-bottom: 12px;
}
.legal ul, .legal li {margin-bottom: 0.4em;}

/* FOOTER */
footer {
  background: #fff;
  padding: 48px 0 20px 0;
  border-top: 1px solid #ECEFF4;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-logo img { width: 115px; }
footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
footer nav a {
  color: #747c8a;
  font-size: 0.97rem;
  transition: color 0.2s;
}
footer nav a:hover { color: #EBC854; }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.99rem;
  color: #20446C;
}
.footer-copy {
  flex-basis: 100%;
  text-align: right;
  color: #ACB2BF;
  font-size: 0.98rem;
  margin-top: 22px;
}

/* RESPONSIVE FOOTER */
@media (max-width: 900px) {
  footer .container { flex-direction: column; gap: 18px; align-items: flex-start; }
  .footer-logo {margin-bottom: 10px;}
  .footer-copy {text-align: left; margin-top: 14px;}
}

/* RESPONSIVE LAYOUTS */
@media (max-width: 900px) {
  .section, .hero, .faq, .about, .cta, .features, .testimonials, .services {
    padding-left: 10px;
    padding-right: 10px;
  }
  .card, .pricing-table > div, .services .module-list > div {
    min-width: 95%;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 7px; padding-right: 7px; }
  .content-grid, .testimonial-slider, .pricing-table, .services .module-list {
    flex-direction: column;
    gap: 18px;
  }
  .card-container {
    flex-direction: column;
  }
  .text-image-section { flex-direction: column; gap: 18px; }
  .content-wrapper { align-items: flex-start; }
}
@media (max-width: 480px) {
  .section, .hero { padding: 30px 4px; }
  h1 {font-size: 1.46rem;}
  h2 {font-size: 1.18rem;}
  .cta {padding: 22px 4px; margin-bottom: 32px;}
  .footer-logo img {width: 85px;}
}

/* PROCESS STEPS & EXPECTATIONS */
.process-steps, .expectations-list {
  margin-bottom: 14px;
  padding-left: 1.1em;
  color: #20446C;
}
.process-steps li, .expectations-list li {
  margin-bottom: 0.26em;
  font-size: 1rem;
}

/* SUGGESTED PAGES (THANK YOU) */
.suggested-pages {
  list-style: disc outside none;
  padding-left: 1.5em;
  margin-top: 6px; margin-bottom: 12px;
}
.suggested-pages li {
  margin-bottom: 8px;
  font-size: 1rem;
}
.suggested-pages a {color: #20446C; font-weight: 500; text-decoration: underline;}
.suggested-pages a:hover {color: #EBC854;}

/* MICRO-INTERACTIONS & TRANSITIONS */
button, a.btn-primary, a.btn-secondary {
  transition: background 0.20s, color 0.18s, transform 0.15s, box-shadow 0.18s;
}
section, .section, .card, .testimonial-card, .pricing-table > div, .services .module-list > div {
  transition: box-shadow 0.26s, transform 0.2s;
}

/* SUBTLE SHADOWS */
.box-shadow {
  box-shadow: 0 2px 14px rgba(32,68,108,0.09);
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-top: 1px solid #ECEFF4;
  box-shadow: 0 -4px 18px rgba(32,68,108,0.08);
  padding: 22px 18px 18px 18px;
  z-index: 1199;
  font-size: 1rem;
  gap: 20px;
  animation: banner-slidein 0.42s ease;
}
@keyframes banner-slidein {
  from {transform: translateY(100%); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-banner p {
  color: #20446C;
  margin-bottom: 0;
  flex: 1 1 220px;
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 7px 18px;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  background: #20446C;
  color: #fff;
  margin-right: 2px;
  transition: background 0.18s, color 0.18s, outline 0.15s;
}
.cookie-banner button.cookie-accept {
  background: #EBC854;
  color: #20446C;
  border: none;
}
.cookie-banner button.cookie-accept:hover,
.cookie-banner button.cookie-accept:focus {
  background: #20446C;
  color: #fff;
}
.cookie-banner button.cookie-reject {
  background: #eceff4;
  color: #20446C;
  border: none;
}
.cookie-banner button.cookie-reject:hover,
.cookie-banner button.cookie-reject:focus {
  background: #EBC854;
  color: #20446C;
}
.cookie-banner button.cookie-settings {
  background: transparent;
  color: #20446C;
  border: 1px solid #20446C;
}
.cookie-banner button.cookie-settings:hover,
.cookie-banner button.cookie-settings:focus {
  background: #20446C;
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(32,68,108,0.32);
  z-index: 1201;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in 0.2s;
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(32,68,108,0.16);
  padding: 34px 26px 20px 26px;
  min-width: 320px;
  max-width: 98vw;
  position: relative;
  animation: modal-in 0.32s;
}
@keyframes modal-in {
  from {transform: translateY(90px) scale(0.98); opacity: 0;}
  to {transform: translateY(0) scale(1); opacity: 1;}
}
.cookie-modal h2 {font-size: 1.28rem; color: #20446C; margin-bottom: 0.7em;}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.02rem;
  color: #20446C;
}
.cookie-category label {
  user-select: none;
}
.cookie-category input[type='checkbox'] {
  margin-right: 0.4em;
  accent-color: #EBC854;
  transform: scale(1.13);
}
.cookie-category .essential-info {
  font-size: 0.96rem;
  color: #8091af;
  margin-left: 4px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 18px; right: 20px;
  color: #20446C;
  background: none;
  border: none;
  font-size: 1.5rem;
  padding: 4px;
  cursor: pointer;
}
.cookie-modal .modal-close:hover {color: #EBC854;}

/* FORM ELEMENTS */
input, textarea, select {
  background: #F5F6FA;
  color: #20446C;
  border: 1px solid #ECEFF4;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 1rem;
  margin-bottom: 14px;
  font-family: 'Open Sans', Arial, sans-serif;
  transition: border-color 0.15s;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border-color: #EBC854;
  outline: none;
}
label {font-weight: 500; color: #20446C; margin-bottom: 4px; display: block;}

/* MISC */
::-webkit-input-placeholder { color: #8091af; }
::-moz-placeholder { color: #8091af; }
:-ms-input-placeholder { color: #8091af; }
::placeholder { color: #8091af; }

/* USER SELECTION / ACCESSIBILITY */
:focus {outline: 2px solid #EBC854; outline-offset: 1px;}

/* Z-INDEX RULES */
header {z-index: 20;}
.mobile-menu {z-index: 1000;}
.cookie-banner {z-index: 1199;}
.cookie-modal-overlay {z-index: 1201;}

/* ENSURE NO OVERLAPPING BY SPACING */
.section, .features, .about, .testimonials, .services, .legal, .faq, .cta, .contact {
  margin-bottom: 60px;
}
.card-container, .content-grid, .pricing-table, .testimonial-slider, .module-list {
  gap: 20px;
}
.card, .testimonial-card, .pricing-table > div, .services .module-list > div {
  margin-bottom: 20px;
}

/* BRAND FONTS LOAD (for reference) */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap');
