/* 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;
}

article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F2F8FC;
  color: #234268;
  min-height: 100vh;
}

ol, ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  border-style: none;
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

/* FONT IMPORTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

/* ROOT BRAND COLORS */
:root {
  --color-primary: #234268;
  --color-secondary: #F2F8FC;
  --color-accent: #FDB813;
  --color-dark: #162134;
  --color-light: #ffffff;
  --color-grey: #e8f1fa;
  --color-shadow: rgba(35, 66, 104, 0.15);
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 400;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/************************
  TYPOGRAPHY
************************/
h1,
h2,
h3,
h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: -0.5px;
  font-weight: 800;
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  color: var(--color-primary);
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.subheadline {
  font-size: 1.15rem;
  color: var(--color-dark);
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 32px;
}

strong {
  font-weight: 900;
}

p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--color-primary);
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
}

ol, ul {
  margin-left: 24px;
  margin-bottom: 16px;
}
ol li, ul li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--color-primary);
}
ol li strong { color: var(--color-dark); }

/************************
  HEADER & NAV
************************/
header {
  background: var(--color-light);
  box-shadow: 0 4px 24px var(--color-shadow);
  width: 100%;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 18px;
}
.logo img {
  height: 46px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--color-primary);
  padding: 4px 0 4px 0;
  position: relative;
  transition: color 0.18s;
}

.main-nav a:after {
  content: '';
  display: block;
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
  transition: width 0.18s;
}

.main-nav a:hover {
  color: var(--color-accent);
}
.main-nav a:hover:after {
  width: 100%;
}

.cta-primary {
  background: var(--color-accent);
  color: var(--color-dark);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  padding: 13px 32px;
  font-size: 1rem;
  border-radius: 30px;
  box-shadow: 0 3px 16px var(--color-shadow);
  letter-spacing: 1px;
  transition: background 0.18s, color 0.18s, transform 0.16s;
  border: none;
  outline: none;
  display: inline-block;
  margin-left: 16px;
}
.cta-primary:hover,
.cta-primary:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  transform: scale(1.03);
}

.mobile-menu-toggle {
  display: none;
  background: var(--color-light);
  color: var(--color-primary);
  font-size: 2rem;
  border-radius: 8px;
  padding: 0 16px;
  height: 48px;
  width: 48px;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 50;
  transition: background 0.16s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-grey);
  color: var(--color-accent);
}

/************************
  MOBILE MENU
************************/
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-light);
  z-index: 99;
  transform: translateX(-110vw);
  transition: transform 0.33s cubic-bezier(0.85,0,0.21,1);
  box-shadow: 0 6px 48px var(--color-shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 32px 24px 16px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 2rem;
  color: var(--color-primary);
  background: var(--color-grey);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 12;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-close:hover {
  background: var(--color-accent);
  color: var(--color-dark);
}
.mobile-nav {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1.25rem;
  color: var(--color-primary);
  padding: 14px 0 12px 0;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-dark);
}

/************************
  SECTIONS & SPACING
************************/
section,
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-light);
  border-radius: 26px;
  box-shadow: 0 2px 16px var(--color-shadow);
}

.hero {
  background: var(--color-primary);
  color: var(--color-light);
  border-radius: 0 0 40px 40px;
  box-shadow: 0 12px 32px var(--color-shadow);
}
.hero .container {
  display: flex;
  flex-direction: column;
  min-height: 340px;
  justify-content: center;
  align-items: flex-start;
  padding: 48px 20px;
}
.hero h1,
.hero p,
.hero .cta-primary {
  color: var(--color-light);
}
.hero .cta-primary {
  background: var(--color-accent);
  color: var(--color-dark);
}
.hero .cta-primary:hover {
  background: var(--color-light);
  color: var(--color-primary);
}

section.about {
  background: var(--color-grey);
  box-shadow: none;
}

section.contact-teaser,
section.guide-cta,
section.cta {
  background: var(--color-accent);
  color: var(--color-dark);
  border-radius: 26px;
  box-shadow: 0 2px 16px var(--color-shadow);
}
section.contact-teaser h2,
section.guide-cta h2,
section.cta h2 { color: var(--color-dark); }
section.contact-teaser p,
section.guide-cta p, .cta p { color: var(--color-dark); }
section.contact-teaser .cta-primary,
section.guide-cta .cta-primary, .cta .cta-primary {
  background: var(--color-primary);
  color: var(--color-accent);
}
section.contact-teaser .cta-primary:hover,
section.guide-cta .cta-primary:hover, .cta .cta-primary:hover {
  background: var(--color-light);
  color: var(--color-primary);
}

/************************
  FLEX LAYOUTS
************************/
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-grey);
  border-radius: 18px;
  box-shadow: 0 2px 12px var(--color-shadow);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 220px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-grey);
  border-radius: 18px;
  box-shadow: 0 2px 12px var(--color-shadow);
  margin-bottom: 24px;
  flex: 1 1 320px;
  flex-direction: column;
  color: var(--color-dark);
}
.testimonial-card p {
  color: var(--color-dark);
  font-style: italic;
  font-weight: 500;
}
.testimonial-card strong {
  font-size: 1rem;
  font-weight: 900;
  color: var(--color-primary);
  margin-top: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 0 0 12px 0;
}

/************************
  FEATURE/GRID STYLES
************************/
.feature-grid, .step-list, .benefit-grid, .financing-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 24px;
  width: 100%;
  justify-content: flex-start;
}
.feature-grid > div,
.step-list > div,
.benefit-grid > div,
.financing-cards > div {
  background: var(--color-light);
  border-radius: 20px;
  box-shadow: 0 2px 12px var(--color-shadow);
  padding: 24px 18px;
  min-width: 240px;
  flex: 1 1 220px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.16s, transform 0.18s;
  margin-bottom: 20px;
}
.feature-grid > div:hover,
.step-list > div:hover,
.benefit-grid > div:hover,
.financing-cards > div:hover {
  box-shadow: 0 8px 30px var(--color-shadow);
  transform: translateY(-4px) scale(1.03);
}
.feature-grid img,
.step-list img,
.benefit-grid img,
.financing-cards img {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}

/************************
  CARDS & INFORMATION
************************/
.financing-faq-preview {
  margin-top: 36px;
  background: var(--color-grey);
  border-radius: 16px;
  padding: 22px 18px;
  box-shadow: 0 1px 8px var(--color-shadow);
}
.financing-faq-preview h3 {
  color: var(--color-primary);
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.financing-faq-preview li {
  font-size: 1rem;
  color: var(--color-primary);
}
.financing-faq-preview a {
  font-weight: bold;
  color: var(--color-primary);
  text-decoration: underline;
  transition: color 0.18s;
}
.financing-faq-preview a:hover {
  color: var(--color-accent);
}

/************************
  FAQ ACCORDION-LIKE STYLES
************************/
.faq-item {
  background: var(--color-grey);
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px var(--color-shadow);
  padding: 24px 18px;
  transition: box-shadow 0.15s;
}
.faq-item h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
}
.faq-item p {
  margin-bottom: 0;
  color: var(--color-dark);
}

/************************
  FORM ELEMENTS (if any in future)
************************/
input, textarea, select {
  border: 2px solid var(--color-grey);
  border-radius: 8px;
  padding: 13px 14px;
  font-size: 1rem;
  font-family: inherit;
  margin-bottom: 18px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-accent);
  outline: none;
}

/************************
  FOOTER
************************/
footer {
  background: var(--color-primary);
  color: var(--color-light);
  font-size: 1rem;
  border-radius: 40px 40px 0 0;
  box-shadow: 0 -12px 32px var(--color-shadow);
  margin-top: 80px;
  padding-top: 36px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-main img {
  height: 36px;
  width: auto;
  margin-right: 12px;
}
.footer-nav {
  display: flex;
  gap: 26px;
}
.footer-nav a {
  color: var(--color-light);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: color 0.18s;
}
.footer-nav a:hover {
  color: var(--color-accent);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  margin-right: 6px;
  vertical-align: middle;
}
.footer-contact p {
  color: var(--color-light);
  margin: 0 0 7px 0;
  font-size: 0.95rem;
}
.footer-copy {
  text-align: center;
  color: var(--color-secondary);
  font-size: 0.92rem;
  margin-top: 22px;
  padding-bottom: 18px;
}
/************************
  COOKIE CONSENT BANNER
************************/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 250;
  background: var(--color-dark);
  color: var(--color-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  padding: 18px 14px;
  box-shadow: 0 -4px 24px var(--color-shadow);
  font-size: 1rem;
  gap: 24px;
  min-height: 70px;
  transition: transform 0.28s;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner__msg {
  flex: 1;
  font-weight: 700;
  color: var(--color-light);
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  min-width: 230px;
  justify-content: flex-end;
}

.cookie-btn {
  border-radius: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 8px 20px;
  font-weight: 800;
  font-size: 1rem;
  margin: 0 4px;
  border: none;
  cursor: pointer;
  background: var(--color-accent);
  color: var(--color-dark);
  box-shadow: 0 1px 6px var(--color-shadow);
  transition: background 0.16s, color 0.16s, transform 0.16s;
}
.cookie-btn.accept { background: var(--color-accent); }
.cookie-btn.reject {
  background: var(--color-light);
  color: var(--color-primary);
  border: 2px solid var(--color-accent);
}
.cookie-btn.settings{
  background: var(--color-primary);
  color: var(--color-accent);
  border: none;
}
.cookie-btn:hover, .cookie-btn:focus {
  transform: scale(1.07);
  background: var(--color-primary);
  color: var(--color-accent);
}

/************************
  COOKIE SETTINGS MODAL
************************/
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(22, 33, 52, 0.63);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.cookie-modal {
  background: var(--color-light);
  color: var(--color-primary);
  border-radius: 24px;
  box-shadow: 0 8px 32px var(--color-shadow);
  min-width: 340px;
  max-width: 98vw;
  padding: 34px 32px 26px 32px;
  position: relative;
  font-family: 'Roboto', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal h2 {
  font-size: 1.4rem;
  font-weight: 900;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}
.cookie-category label {
  font-size: 1.09rem;
  font-weight: 700;
  display: flex;
  align-items: center;
}
.cookie-modal input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--color-accent);
  margin-right: 10px;
}
.cookie-category.essential label {
  color: var(--color-dark);
  opacity: 0.83;
}
.cookie-category.essential input[type="checkbox"] {
  display: none;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 1.4rem;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.17s;
}
.cookie-modal-close:hover {
  background: var(--color-grey);
  color: var(--color-accent);
}
.cookie-modal__actions {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  justify-content: flex-end;
}

/************************
  RESPONSIVE STYLES
************************/
@media (max-width: 1100px) {
  .feature-grid > div, .step-list > div, .benefit-grid > div, .financing-cards > div {
    min-width: 180px;
    max-width: 100%;
  }
  .main-nav { gap: 16px; }
}
@media (max-width: 870px) {
  header .container {
    gap: 10px;
    padding: 13px 15px;
  }
  .footer-main, .footer-nav {
    gap: 10px !important;
    flex-wrap: wrap;
  }
}
@media (max-width: 880px) {
  .feature-grid,.step-list,.benefit-grid,.financing-cards {
    flex-direction: column;
    align-items: stretch;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 14px;
  }
  .main-nav {
    display: none;
  }
  .cta-primary {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .footer-main {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .footer-nav {
    gap: 10px;
    font-size: 1rem;
    flex-wrap: wrap;
  }
  .footer-contact {
    font-size: 0.95rem;
    gap: 8px;
  }
  .content-wrapper, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .section, section {
    padding: 22px 7px;
    margin-bottom: 38px;
    border-radius: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .feature-item {
    min-width: 100%;
    align-items: flex-start;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 8px;
    min-height: 90px;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.56rem; }
  h2 { font-size: 1.19rem; }
  header .container {
    padding: 10px 4px !important;
  }
  .logo img { height: 36px; }
  footer { border-radius: 24px 24px 0 0; }
  .cookie-modal { padding: 18px 7px 14px 7px; min-width: 90vw; font-size: 0.98rem; }
}

/************************
  UTILITY CLASSES
************************/
.text-center { text-align: center; }
.d-flex { display: flex; }
.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-20 { gap: 20px; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.mb-20 { margin-bottom: 20px; }
.mb-14 { margin-bottom: 14px; }

/************************
  SHADOWS, EFFECTS, ANIMATIONS
************************/
.card, .testimonial-card, .faq-item, .feature-grid > div, .step-list > div, .benefit-grid > div, .financing-cards > div {
  transition: box-shadow 0.14s, transform 0.18s;
}
.card:hover, .testimonial-card:hover, .faq-item:hover, .feature-grid > div:hover, .step-list > div:hover, .benefit-grid > div:hover, .financing-cards > div:hover {
  box-shadow: 0 8px 30px var(--color-shadow);
  transform: translateY(-2px) scale(1.02);
}

.cta-primary, .cookie-btn {
  transition: background 0.16s, color 0.16s, transform 0.16s;
}

.fade-in {
  animation: fadeIn 0.6s cubic-bezier(.45,0,.45,1.0);
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.97);
  } to { opacity: 1; transform: scale(1); }
}

/************************
  END CSS
************************/