/* === CSS RESET & NORMALIZE === */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after { box-sizing: inherit; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, address, blockquote, figure, pre {
  margin: 0;
  padding: 0;
  font-weight: normal;
}
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; border: 0; }
button, input, textarea, select {
  font: inherit;
  outline: none;
  border: none;
  background: none;
}
:root {
  --primary: #20334d;
  --secondary: #f2f5f8;
  --white: #fff;
  --accent: #cd8412;
  --accent-dark: #b36b00;
  --text: #21334d;
  --text-light: #40587a;
  --gray: #7e8aa0;
  --gray-light: #e7ecf1;
  --shadow: 0 4px 24px rgba(32, 51, 77, 0.08);
  --radius: 10px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--secondary);
  line-height: 1.7;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1190px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

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

/**** TYPOGRAPHY ****/
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.15;
  font-weight: 700;
}
h1 { font-size: 2.1rem; margin-bottom: 14px; }
h2 { font-size: 1.55rem; margin-bottom: 10px; }
h3 { font-size: 1.2rem; }
.subheadline { color: var(--gray); font-size: 1.12rem; max-width: 700px; }
p, li, address, blockquote, span { font-family: var(--font-body); font-size: 1rem; color: var(--text-light); }
strong { color: var(--primary); font-weight: 600; }

/**** HEADER & NAVIGATION ****/
header {
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 0;
  z-index: 40;
  position: sticky;
  top: 0;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
  justify-content: flex-start;
}
.main-nav a {
  color: var(--primary);
  font-weight: 500;
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 6px 14px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--secondary);
  color: var(--accent);
}
.main-nav a img {
  height: 38px;
  margin-right: 10px;
  vertical-align: middle;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: var(--white);
  font-size: 2rem;
  border-radius: 6px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  cursor: pointer;
  z-index: 60;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background: var(--white);
  box-shadow: 0 0 40px rgba(32,51,77,0.22);
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 290px;
  padding: 20px 24px 24px 24px;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.64,.04,.35,1);
  z-index: 1010;
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu-close {
  margin-left: auto;
  background: none;
  color: var(--primary);
  font-size: 2rem;
  cursor: pointer;
  border-radius: 6px;
  width: 38px;
  height: 38px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.08rem;
  color: var(--text);
  font-family: var(--font-display);
  border-radius: 8px;
  padding: 12px 10px;
  background: var(--gray-light);
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--primary);
  color: var(--white);
}

@media (max-width: 980px) {
  .main-nav a:not(:first-child) {
    font-size: 0.98rem;
    padding: 6px 6px; }
}
@media (max-width: 850px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 12px;
    right: 22px;
  }
}
@media (min-width: 851px) {
  .mobile-menu,
  .mobile-menu-toggle { display: none !important; }
}

/**** HERO SECTION ****/
.hero, .process-hero, .contact-form-hero, .testimonial-hero {
  background: linear-gradient(80deg, var(--white) 65%, var(--secondary) 100%);
  box-shadow: var(--shadow);
  padding: 64px 0 32px 0;
  margin-bottom: 60px;
}
.hero h1, .process-hero h1, .testimonial-hero h1, .contact-form-hero h1 {
  font-size: 2.5rem;
}
.hero .subheadline, .process-hero p, .testimonial-hero .short-intro, .contact-form-hero .subheadline {
  font-size: 1.13rem;
  margin-bottom: 10px;
  color: var(--gray);
}
.hero .cta-button, .process-hero .cta-button {
  margin-top: 18px;
}

/**** SECTIONS & SPACING ****/
.section,
.features,
.steps-overview,
.tips,
.checklist,
.about,
.team,
.stats,
.step-by-step,
.legal,
.faq,
.cta,
.testimonial-hero,
.testimonials,
.testimonials-preview,
.contact-details,
.contact_form,
.thank-you {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/**** LAYOUT PATTERNS & FLEXBOX ****/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--secondary);
  margin-bottom: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(32,51,77,0.13);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--secondary);
  border-left: 6px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  transition: border 0.22s, box-shadow 0.18s;
}
.testimonial-card:hover {
  border-left: 6px solid var(--accent-dark);
  box-shadow: 0 6px 24px rgba(32,51,77,0.14);
}
.testimonial-card blockquote {
  color: var(--primary);
  font-size: 1.15rem;
  font-family: var(--font-display);
  line-height: 1.25;
  font-style: italic;
}
.testimonial-author {
  font-family: var(--font-body);
  color: var(--gray);
  font-size: 0.96rem;
  margin-top: 10px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 580px) {
  .feature-item {
    gap: 8px;
  }
}

/**** FEATURE/CHECKLIST GRIDS ****/
.feature-grid, .numbers-grid, .tip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 26px;
}
.feature-grid li,
.numbers-grid li,
.tip-list li {
  flex: 1 0 200px;
  min-width: 220px;
  max-width: 320px;
  background: var(--gray-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.feature-grid li img,
.tip-list li img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
}
.numbers-grid {
  gap: 36px;
  margin-top: 24px;
}
.numbers-grid li {
  align-items: center;
  text-align: center;
  min-width: 130px;
  background: var(--secondary);
  box-shadow: none;
  border: 1px solid var(--gray-light);
  padding: 18px 10px;
}
.number {
  font-size: 2rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--primary);
}
.number-label {
  display: block;
  color: var(--gray);
  font-size: 0.99rem;
}

/**** CTA BUTTONS ****/
.cta-button {
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.07rem;
  font-weight: 600;
  padding: 15px 36px;
  border-radius: 90px;
  box-shadow: 0 2px 12px rgba(205,132,18,0.07);
  transition: background-color 0.19s, box-shadow 0.13s, transform 0.14s;
  border: none;
  letter-spacing: 0.01em;
  cursor: pointer;
  margin: 10px 0 0 0;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: var(--accent-dark);
  box-shadow: 0 5px 24px rgba(32, 51, 77, 0.10);
  transform: translateY(-2px) scale(1.035);
}

/**** CTA SECTION ****/
.cta {
  text-align: center;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  margin-bottom: 60px;
  box-shadow: var(--shadow);
}
.cta h2 { color: var(--white); }
.cta .cta-button {
  background: var(--accent);
  color: var(--white);
  margin: 20px auto 0 auto;
}
.contact-shortform, .contact-shortinfo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 20px;
  font-size: 1rem;
}
.contact-shortform img { width: 26px; }
.contact-shortinfo img { width: 22px; margin-right: 5px; }
.contact-shortform strong{
  color: white;
}
/**** SECTION STEP-LISTS ****/
.steps-list, .step-by-step ol {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 28px 0 0 0;
  padding-left: 20px;
}
.steps-list li, .step-by-step ol li {
  font-size: 1.09rem;
  color: var(--primary);
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 0;
  box-shadow: var(--shadow);
  position: relative;
}
.steps-list li strong, .step-by-step ol li strong {
  color: var(--accent);
}
.educational-notes {
  margin-top: 24px;
  padding: 18px 20px;
  background: var(--secondary);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  color: var(--gray);
}

/**** FAQ ACCORDION ****/
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.faq-item {
  background: var(--gray-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 20px;
  transition: box-shadow 0.18s;
}
.faq-item:hover {
  box-shadow: 0 8px 36px rgba(32,51,77,0.13);
}
.faq-item h2 {
  font-size: 1.16rem;
  margin-bottom: 12px;
}
.faq-item p {
  font-size: 1.02rem;
  color: var(--text-light);
}

/**** CONTACT DETAILS/INFOS ****/
.contact-infos {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-infos li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--text);
}
.contact-infos img { width: 22px; height: 22px; }

/**** GENERAL TEXT SECTION ****/
.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section ul {
  margin-top: 3px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.text-section li {
  color: var(--gray);
  font-size: 1rem;
}

/**** THANK YOU PAGE ****/
.thank-you {
  text-align: center;
}
.confirmation-message {
  color: var(--primary);
  font-size: 1.14rem;
  margin-bottom: 12px;
}
.next-steps-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.next-steps-info li {
  color: var(--text-light);
  font-size: 1rem;
}

/**** LEGAL TEXT ****/
.legal .text-section li {
  color: var(--gray);
  font-size: 1rem;
}

/**** FOOTER ****/
footer {
  background: var(--white);
  border-top: 1px solid var(--gray-light);
  margin-top: 80px;
  padding: 40px 0 22px 0;
  display: flex;
  flex-direction: column;
  gap: 21px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin-bottom: 20px;
}
.footer-nav a {
  color: var(--gray);
  font-size: 0.97rem;
  transition: color 0.16s;
  padding: 5px 8px;
  border-radius: 6px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--accent-dark);
  background: var(--secondary);
}
address {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  font-style: normal;
}
.footer-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-size: 1rem;
}
.footer-contact img {
  width: 20px; height: 20px;
}

/**** RESPONSIVE DESIGN ****/
@media (max-width: 1100px) {
  .container { max-width: 93vw; }
}
@media (max-width: 850px) {
  .container { max-width: 100vw; }
  .footer-contact { font-size: 0.98rem; }
}
@media (max-width: 670px) {
  .main-nav a img { height: 32px; }
  .hero, .features, .steps-overview, .tips, .checklist, .about, .team, .stats, .step-by-step, .legal, .faq, .cta, .testimonial-hero, .testimonials, .testimonials-preview, .contact-details, .contact_form, .thank-you {
    padding: 30px 8px;
    margin-bottom: 36px;
  }
  .content-wrapper { gap: 14px; }
  h1 { font-size: 1.34rem; }
  h2 { font-size: 1.18rem; }
  .feature-grid li, .numbers-grid li, .tip-list li {
    min-width: 125px;
    font-size: 0.97rem;
    padding: 14px 8px;
  }
}
@media (max-width: 580px) {
  .feature-grid, .numbers-grid, .tip-list {
    gap: 12px;
    flex-direction: column;
  }
  address {
    gap: 18px;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-nav { gap: 12px; }
}
@media (max-width: 450px) {
  .hero, .features, .steps-overview, .tips, .checklist, .about, .team, .stats, .step-by-step, .legal, .faq, .cta, .testimonial-hero, .testimonials, .testimonials-preview, .contact-details, .contact_form, .thank-you {
    padding: 14px 2px;
  }
  .container { padding: 0 2px; }
}

/**** ANIMATIONS ****/
.cta-button, .mobile-menu, .cookie-banner__btn, .cookie-banner__settings {
  transition: all 0.14s cubic-bezier(.62,.19,.29,1.08);
}

/**** MICRO-INTERACTIONS ****/
.card, .testimonial-card, .faq-item, .steps-list li, .feature-grid li, .tip-list li {
  transition: box-shadow 0.15s, border-left 0.22s;
}
.card:focus-within, .card:hover,
.testimonial-card:focus-within, .testimonial-card:hover {
  box-shadow: 0 6px 30px rgba(32,51,77,0.13);
}

/**** COOKIE BANNER & MODAL ****/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #233a5d;
  color: #fff;
  box-shadow: 0 -2px 36px rgba(32,51,77,0.17);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 15px 28px 26px;
  z-index: 2023;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(110%);
  transition: opacity 0.24s, transform 0.32s;
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner__offer {
  flex: 1 1 320px;
  color: #fff;
  font-family: var(--font-body);
}
.cookie-banner__btns {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cookie-banner__btn, .cookie-banner__settings {
  font-family: var(--font-display);
  font-size: 1rem;
  border-radius: 8px;
  padding: 10px 24px;
  border: none;
  background: var(--accent);
  color: var(--white);
  cursor: pointer;
  font-weight: 600;
  margin: 0 0 0 0;
}
.cookie-banner__btn.reject {
  background: #b2bcd0;
  color: var(--primary);
}
.cookie-banner__settings {
  background: var(--white);
  color: var(--accent-dark);
  border: 1px solid var(--accent);
}
.cookie-banner__btn:focus, .cookie-banner__btn:hover, .cookie-banner__settings:focus, .cookie-banner__settings:hover {
  background: var(--accent-dark);
  color: var(--white);
}
.cookie-banner__btn.reject:focus, .cookie-banner__btn.reject:hover {
  background: #7e8aa0;
  color: var(--white);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100%; height: 100%;
  background: rgba(32,51,77,0.60);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2040;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal__dialog {
  background: var(--white);
  color: var(--text);
  border-radius: 14px;
  padding: 38px 28px 30px 28px;
  min-width: 320px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 27px;
  box-shadow: 0 9px 50px rgba(32,51,77,0.22);
  position: relative;
  animation: cookieModalIn 0.28s cubic-bezier(.40,1.12,.35,.94);
}
@keyframes cookieModalIn {
  from { transform: translateY(30px) scale(0.97); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal__close {
  position: absolute;
  top: 19px; right: 16px;
  font-size: 1.6rem;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  border-radius: 90px;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.12s;
}
.cookie-modal__close:hover,
.cookie-modal__close:focus {
  background: var(--gray-light);
}
.cookie-modal__title {
  font-family: var(--font-display);
  font-size: 1.19rem;
  font-weight: 700;
  margin-bottom: 5px;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-cat {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--gray-light);
  border-radius: 8px;
  padding: 14px 16px;
}
.cookie-cat__label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
}
.cookie-cat__desc {
  color: var(--gray);
  font-size: 0.93rem;
}
.cookie-cat__toggle {
  margin-left: auto;
}
.cookie-modal__actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal__actions button {
  padding: 10px 24px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 1rem;
  transition: background 0.13s,color 0.13s;
}
.cookie-modal__actions .accept {
  background: var(--accent);
  color: var(--white);
  border: none;
  font-weight: 600;
}
.cookie-modal__actions .accept:focus,
.cookie-modal__actions .accept:hover {
  background: var(--accent-dark);
}
.cookie-modal__actions .reject {
  background: #b2bcd0;
  color: var(--primary);
}
.cookie-modal__actions .reject:focus,
.cookie-modal__actions .reject:hover {
  background: #7e8aa0;
  color: var(--white);
}

/**** SWITCHES FOR COOKIES MODAL ****/
.cookie-switch {
  width: 43px;
  height: 22px;
  display: inline-block;
  position: relative;
}
.cookie-switch input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-switch span {
  position: absolute;
  cursor: pointer;
  background: #c4ceda;
  border-radius: 22px;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: background 0.15s;
}
.cookie-switch input:checked + span {
  background: var(--accent);
}
.cookie-switch span:before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.18s;
  box-shadow: 0 1px 6px #bbb;
}
.cookie-switch input:checked + span:before {
  transform: translateX(21px);
}

/**** ADDITIONAL UTILITY CLASSES ****/
.hide { display: none !important; }
.sr-only {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
}

/**** OVERRIDE AUTOFILL BACKGROUND/STYLES ****/
input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
  background-color: var(--gray-light) !important;
  color: var(--primary) !important;
  -webkit-background-clip: text;
  -webkit-text-fill-color: var(--primary) !important;
}

/**** PRINT STYLES ****/
@media print {
  header, .mobile-menu, .cta, .cookie-banner, .cookie-modal, .cta-button, footer {
    display: none !important;
  }
  body { background: #fff; color: #000; }
}
