/* FAHREAVVEN - MINIMALIST CSS - FLEXBOX ONLY */

/* === CSS RESET & BASE === */
html, body { box-sizing: border-box; font-size: 16px; margin: 0; padding: 0; }
*, *::before, *::after { box-sizing: inherit; }
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #1a1a1a;
  background: #fff;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #24326E;
  margin: 0 0 24px 0;
}
h1 { font-size: 2.4rem; line-height: 1.15; margin-bottom: 32px; }
h2 { font-size: 1.8rem; line-height: 1.22; margin-bottom: 24px; }
h3 { font-size: 1.2rem; line-height: 1.24; margin-bottom: 16px; }
p, ul, ol { font-size: 1rem; line-height: 1.7; color: #222; margin: 0 0 16px 0; }
ul, ol { padding-left: 24px; }
ul li, ol li { margin-bottom: 12px; }
a { color: #18A26D; text-decoration: none; transition: color 0.15s; }
a:hover, a:focus { color: #24326E; text-decoration: underline; }
strong { font-weight: 600; }

/* === BRAND COLORS (CSS VARS) === */
:root {
  --primary: #24326E;
  --secondary: #18A26D;
  --accent: #F3F6F9;
  --text: #1a1a1a;
  --white: #fff;
  --shadow-min: 0px 1px 7px rgba(36,50,110,0.06);
  --shadow-subtle: 0px 4px 20px rgba(36,50,110,0.08);
  --border-radius: 12px;
}

/* === CONTAINER, SECTIONS, SPACING === */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
}
@media (max-width: 768px) {
  .section { padding: 32px 8px; margin-bottom: 40px; }
  .container { padding: 0 8px; }
}

/* === FLEX LAYOUTS === */
.content-wrapper { 
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}
.text-section { max-width: 640px; margin: 0 auto; }
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-min);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s;
}
.card:hover { box-shadow: var(--shadow-subtle); }
.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 28px;
  background: var(--accent);
  box-shadow: var(--shadow-min);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  min-width: 200px;
  max-width: 360px;
  flex: 1 1 280px;
  color: #181B1E;
  transition: box-shadow 0.2s, transform 0.15s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-subtle);
  transform: translateY(-2px) scale(1.02);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 900px) {
  .content-wrapper { flex-direction: column; gap: 18px; }
  .card-container, .content-grid { flex-direction: column; gap: 20px; }
  .testimonial-card { max-width: 100%; }
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 18px; align-items: stretch; }
}

/* === HEADER & NAV === */
header {
  background: var(--white);
  box-shadow: 0 2px 14px rgba(36,50,110,0.08);
  position: relative;
  z-index: 10;
  padding-top: 12px;
  padding-bottom: 12px;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
header img { height: 40px; width: auto; margin-right: 30px; }
nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  padding: 4px 0;
  position: relative;
  transition: color 0.15s;
}
nav a:hover, nav a:focus {
  color: var(--secondary);
}
.cta-btn {
  background: var(--secondary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 11px 28px;
  border-radius: 999px;
  box-shadow: 0px 4px 18px rgba(24,162,109,0.08);
  border: none;
  cursor: pointer;
  outline: none;
  transition: background 0.18s, box-shadow 0.16s, color 0.18s;
  margin-left: 18px;
  display: inline-block;
  line-height: 1.2;
}
.cta-btn:hover, .cta-btn:focus {
  background: #107954;
  color: #fff;
  box-shadow: 0 6px 24px rgba(24,162,109,0.15);
}

/* Hide mobile menu desktop */
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  display: none;
}
@media (max-width: 992px) {
  header .container { flex-wrap: wrap; gap: 16px; }
  nav { gap: 14px; }
  .cta-btn { margin-left: 8px; }
}
@media (max-width: 768px) {
  nav, .cta-btn { display: none !important; }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 18px;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 2rem;
    cursor: pointer;
    z-index: 21;
    width: 40px;
    height: 40px;
    transition: color 0.2s;
  }
  .mobile-menu {
    display: flex;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(36,50,110,0.96);
    z-index: 1001;
    flex-direction: column;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(.68,.2,.34,1.12), opacity 0.25s;
    padding-top: 48px;
    pointer-events: none;
  }
  .mobile-menu.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1002;
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    margin: 60px 0 0 32px;
  }
  .mobile-nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    color: #fff;
    font-size: 1.3rem;
    text-decoration: none;
    font-weight: 500;
    padding: 7px 0 7px 0;
    transition: color 0.18s;
  }
  .mobile-nav a:hover, .mobile-nav a:focus { color: var(--secondary); }
}


/* === MAIN SECTIONS === */
main { padding-bottom: 40px; }
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
@media (max-width: 768px) { section { padding: 32px 0; margin-bottom: 36px; } }

.service-card {
  background: var(--accent);
  border-radius: var(--border-radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-min);
  flex: 1 1 320px;
  margin-bottom: 20px;
}

.next-steps {
  margin-top: 28px;
}

/* === TESTIMONIALS === */
.content-wrapper .testimonial-card,
.card-container .testimonial-card {
  min-height: 120px;
  justify-content: flex-start;
}
.testimonial-card strong {
  color: var(--primary);
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 3px;
  letter-spacing: 0.01em;
}
.testimonial-card p {
  font-size: 1.01rem;
  color: #222437;
  margin-bottom: 0;
  font-style: italic;
}

/* === LISTS, ICONS, FEATURES === */
ul, ol {
  margin-top: 0; margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 12px;
  list-style-position: inside;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.65;
}
ul li img, ol li img {
  height: 28px;
  width: 28px;
  flex-shrink: 0;
}

/* === FOOTER === */
footer {
  background: var(--accent);
  box-shadow: 0 -2px 12px rgba(36,50,110,0.03);
  padding: 40px 0 24px 0;
  font-size: 1rem;
  color: var(--primary);
  margin-top: 48px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}
.footer-nav nav, .footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-nav nav { gap: 12px; }
.footer-nav a { color: var(--primary); font-weight: 500; margin-bottom: 4px; font-size: 1rem; }
.footer-nav a:hover { color: var(--secondary); text-decoration: underline; }
.footer-contact p { display: flex; align-items: center; gap: 9px; margin: 0 0 10px 0; color: #1a1a1a; }
.footer-contact img { height: 20px; width: 20px; opacity: 0.8; }
@media (max-width: 768px) {
  footer .container { flex-direction: column; gap: 24px; align-items: stretch; }
}


/* === BUTTONS, FORM ELEMENTS, INTERACTIONS === */
button, input[type=submit], .cta-btn {
  font-family: inherit;
  font-size: 1rem;
}
button:focus-visible, .cta-btn:focus-visible, a:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid #ebebeb;
  box-shadow: 0 -3px 36px rgba(36,50,110,0.07);
  padding: 18px 20px;
  z-index: 2000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: transform 0.5s, opacity 0.3s;
  font-size: 1rem;
}
.cookie-banner.hide {
  transform: translateY(180%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__text { flex: 1 1 400px; color: #181b1e; }
.cookie-banner__actions { display: flex; gap: 16px; }
.cookie-banner__btn {
  border: none;
  border-radius: 7px;
  padding: 10px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.14s;
  background: var(--accent);
  color: var(--primary);
  box-shadow: none;
}
.cookie-banner__btn--accept {
  background: var(--secondary);
  color: #fff;
}
.cookie-banner__btn--accept:hover, .cookie-banner__btn--accept:focus {
  background: #107954;
}
.cookie-banner__btn--reject {
  background: #e8e8e8;
  color: #24326E;
}
.cookie-banner__btn--settings {
  background: var(--primary);
  color: #fff;
}
.cookie-banner__btn--settings:hover, .cookie-banner__btn--settings:focus {
  background: #333d6c;
}
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px 8px; font-size: 0.98rem; }
  .cookie-banner__actions { flex-direction: column; gap: 12px; }
}

/* === COOKIE SETTINGS MODAL === */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(36,50,110,0.54);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 7px 48px rgba(36,50,110,0.11);
  padding: 36px 28px 28px 28px;
  min-width: 320px; max-width: 98vw;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal h2 {
  margin: 0 0 12px 0;
  font-size: 1.3rem;
  color: var(--primary);
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 18px 0;
  font-size: 1.02rem;
  position: relative;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--secondary);
  width: 20px; height: 20px;
}
.cookie-category--essential input[type=checkbox] {
  accent-color: gray;
}
.cookie-category span {
  flex: 1 1 0;
  color: #1a1a1a;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 18px; right: 20px;
  font-size: 1.6rem;
  background: none;
  border: none;
  color: #888;
  cursor: pointer;
  z-index: 2;
  transition: color 0.15s;
}
.cookie-modal .close-modal:hover {
  color: var(--primary);
}

/* === ANIMATIONS === */
.mobile-menu, .cookie-modal-overlay { will-change: transform, opacity; }
.mobile-menu { transition: transform 0.35s cubic-bezier(.68,.2,.34,1.12), opacity 0.23s; }
.cookie-modal { animation: cookieIn 0.45s cubic-bezier(.31,1.27,.48,1) 1; }
@keyframes cookieIn { 0% { transform: translateY(50px) scale(0.99); opacity: 0; } 100% { transform: none; opacity: 1; } }


/* === RESPONSIVE TYPOGRAPHY === */
@media (max-width: 1020px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.38rem; }
}
@media (max-width: 540px) {
  h1 { font-size: 1.32rem; }
  h2 { font-size: 1.09rem; }
  h3 { font-size: 1rem; }
  .cta-btn, button { font-size: 0.98rem; }
  .service-card, .card, .testimonial-card { padding: 18px 12px; }
}

/* === ACCESSIBLE FOCUS STATES === */
a:focus, .cta-btn:focus, .cookie-banner__btn:focus, .cookie-modal .close-modal:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
  z-index: 1;
}


/* === UTILITIES, MISC === */
.hide { display: none !important; }

/* === PAGE-SPECIFIC === */
.text-section ul {
  padding-left: 0;
  list-style: none;
}
.text-section li {
  margin-bottom: 8px;
}

/* === THANK YOU PAGE === */
.next-steps .cta-btn {
  margin-top: 14px;
}

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