/* ========================================================================
   Scandinavian Clean - BRISKY INVEST Style CSS
   ======================================================================== */
/* --------------- RESET & NORMALIZE --------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #ffffff;
  color: #223144;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  line-height: 1.5;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}
:root {
  --primary: #1A426B;
  --secondary: #EAF3FC;
  --accent: #27A996;
  --outline: #167569;
  --grey-100: #F8FAFB;
  --grey-200: #E5E9EF;
  --grey-300: #D5DEE7;
  --dark: #223144;
  --white: #ffffff;
  --shadow: 0 2px 12px rgba(34,49,68,0.06);
  --radius: 14px;
  --radius-md: 8px;
  --radius-sm: 4px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}
a { color: var(--primary); text-decoration: none; transition: color 0.15s; }
a:hover, a:focus { color: var(--accent); }
strong { font-weight: 600; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.4rem; line-height: 1.12; margin-bottom: 16px; }
h2 { font-size: 1.7rem; line-height: 1.2; margin-bottom: 20px; }
h3 { font-size: 1.2rem; margin-bottom: 10px; font-weight: 600; }
p, li, span {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 10px;
}
p:last-child, li:last-child { margin-bottom: 0; }

/* --------------- CONTAINER & LAYOUT --------------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* --------------- HEADER & NAVIGATION --------------- */
header {
  background: var(--white);
  border-bottom: 1px solid var(--grey-200);
  padding: 0 0 0 0;
  position: sticky;
  top: 0;
  z-index: 800;
}
header .container {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header img {
  height: 42px;
}
nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
nav a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--primary);
  padding: 8px 6px;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}
nav a:hover, nav a:focus {
  background: var(--secondary);
  color: var(--accent);
}

.cta-btn {
  font-family: var(--font-display);
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 12px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 1px 8px rgba(34,49,68,0.08);
  transition: background 0.18s, box-shadow 0.18s, transform 0.13s;
  outline: none;
  margin-left: 18px;
  margin-right: 0;
  text-align: center;
  min-width: 160px;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--outline);
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow);
}

/* --------------- MOBILE NAVIGATION --------------- */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--primary);
  font-size: 2rem;
  cursor: pointer;
  z-index: 1201;
  margin-left: 10px;
  transition: color 0.16s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--accent);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--secondary);
  box-shadow: 0 6px 24px rgba(34,49,68,0.12);
  z-index: 1600;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.67,.01,.27,.99);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--primary);
  font-size: 2.2rem;
  font-weight: 400;
  cursor: pointer;
  z-index: 1202;
  transition: color 0.16s;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding: 80px 36px 32px 32px;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: var(--primary);
  padding: 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  width: 100%;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent);
  background: var(--white);
}

@media (max-width: 1000px) {
  nav {
    gap: 12px;
  }
  .cta-btn {
    margin-left: 0;
    min-width: 120px;
    padding: 12px 18px;
  }
  header img {
    height: 36px;
  }
}
@media (max-width: 860px) {
  header .container {
    flex-wrap: wrap;
    gap: 9px;
  }
  nav {
    gap: 7px;
  }
}
@media (max-width: 768px) {
  nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-menu {
    display: flex;
  }
}

/* --------------- HERO SECTION --------------- */
.hero {
  background: var(--secondary);
  border-radius: var(--radius);
  margin-top: 24px;
  margin-bottom: 40px;
  padding: 20px 0 28px 0;
  box-shadow: 0 2px 20px rgba(34,49,68,0.07);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding-top: 22px;
  padding-bottom: 18px;
}
.hero h1 {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.hero .subheadline {
  color: var(--dark);
  font-size: 1.15rem;
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-weight: 400;
}

/* --------------- FLEXBOX LAYOUTS --------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 300px;
  background: var(--secondary);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(34,49,68,0.08);
  min-width: 240px;
  max-width: 370px;
  display: flex;
  flex-direction: column;
  padding: 28px 20px;
  transition: box-shadow 0.21s, transform 0.13s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 24px rgba(34,49,68,0.13);
  transform: translateY(-4px) scale(1.015);
}
.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: 12px;
  padding: 20px;
  background: var(--grey-100);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(26,66,107,0.08);
  margin-bottom: 24px;
  margin-right: 20px;
  margin-top: 10px;
  max-width: 500px;
  min-width: 230px;
  width: fit-content;
}
.testimonial-card p {
  color: var(--primary);
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 6px;
  line-height: 1.6;
}
.testimonial-card span {
  color: var(--dark);
  font-weight: 500;
  font-size: 0.98rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --------------- UL, LISTS, ICON-LISTS --------------- */
.content-wrapper ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.content-wrapper ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  color: var(--dark);
  font-family: var(--font-body);
  border-radius: var(--radius-sm);
  padding: 5px 0;
}
.content-wrapper ul li img {
  width: 24px;
  height: 24px;
  border-radius: 0;
}

/* --------------- TEAM & STATS (ABOUT) --------------- */
.team {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.team-member {
  flex: 1 1 210px;
  min-width: 200px;
  max-width: 320px;
  padding: 20px 18px 14px 18px;
  border-radius: var(--radius);
  background: var(--grey-100);
  box-shadow: 0 2px 10px rgba(26,66,107,0.05);
  transition: box-shadow 0.19s;
}
.team-member:hover, .team-member:focus-within {
  box-shadow: 0 4px 22px rgba(26,66,107,0.13);
}
.stat-block {
  margin-top: 18px;
  padding: 16px 28px;
  background: var(--secondary);
  border-radius: var(--radius);
  color: var(--primary);
  font-size: 1.15rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .5px;
  display: inline-block;
  box-shadow: 0 1px 8px rgba(26,66,107,0.06);
  margin-right: 24px;
}

/* --------------- FOOTER --------------- */
footer {
  background: var(--secondary);
  border-top: 1px solid var(--grey-200);
  padding: 28px 0 14px 0;
  margin-top: 40px;
  box-shadow: 0 -1px 12px rgba(34,49,68,0.03);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
footer nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 1rem;
  align-items: center;
}
footer nav a {
  color: var(--primary);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: color 0.13s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--accent);
  text-decoration: underline;
}
footer .text-section h3 {
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-family: var(--font-display);
  font-weight: 600;
}
footer .text-section p, footer .text-section a {
  color: var(--dark);
  font-size: 0.96rem;
}
footer .social-links {
  display: flex;
  gap: 12px;
  align-items: center;
}
footer .social-links a img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  padding: 4px;
  transition: background 0.2s;
}
footer .social-links a:hover img, footer .social-links a:focus img {
  background: var(--accent);
}

/* --------------- TEXT-SECTIONS --------------- */
.text-section {
  margin-bottom: 18px;
}
.text-section ul {
  gap: 8px;
  margin-top: 6px;
}
.text-section li {
  font-size: 1rem;
}

/* --------------- RESPONSIVE DESIGN --------------- */
@media (max-width: 1000px) {
  .hero h1 { font-size: 2.0rem; }
  .testimonial-card { max-width: 430px; }
  .team-member { max-width: 285px; }
  .stat-block { padding: 13px 14px; }
}
@media (max-width: 900px) {
  .team, .content-grid, .card-container {
    gap: 13px;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 26px 7px;
    margin-bottom: 36px;
  }
  .hero {
    margin-top: 8px; margin-bottom: 14px; padding: 15px 0 12px 0; box-shadow: 0 1px 6px rgba(34,49,68,0.06);
  }
  .card-container, .team {
    flex-direction: column;
    gap: 16px;
  }
  .content-grid, .testimonials {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    margin-right: 0; margin-left: 0; max-width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .team-member { max-width: 100%; }
  .stat-block { margin-right: 0; margin-bottom: 8px; }
}
@media (max-width: 550px) {
  .container { padding-left: 8px; padding-right: 8px; }
  .section { padding: 16px 3px; }
  .testimonial-card, .team-member, .stat-block { padding-left: 9px; padding-right: 9px; }
  .hero h1 { font-size: 1.15rem; }
}

/* --------------- BUTTONS & INTERACTIONS --------------- */
button, .cta-btn, input[type="submit"] {
  cursor: pointer;
  border: none;
  outline: none;
  transition: background 0.16s, color 0.12s, box-shadow 0.13s, transform 0.10s;
}
button:focus, .cta-btn:focus, input[type="submit"]:focus {
  outline: 2px solid var(--outline);
}

/* --------------- MICRO-INTERACTIONS & EFFECTS --------------- */
.card, .team-member, .testimonial-card, .stat-block, .cta-btn {
  will-change: transform, box-shadow;
}
.cta-btn:active {
  transform: scale(.99);
}
li > img {
  transition: transform 0.18s;
}
li:hover > img, li:focus > img {
  transform: scale(1.08) rotate(-4deg);
}

/* --------------- FORMS (if present) --------------- */
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--grey-200);
  outline: none;
  width: 100%;
  background: var(--white);
  margin-bottom: 16px;
  box-shadow: none;
  transition: border-color 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
}

/* --------------- COOKIE CONSENT BANNER --------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--grey-100);
  border-top: 1px solid var(--primary);
  box-shadow: 0 -2px 16px rgba(26,66,107,0.12);
  z-index: 2000;
  padding: 26px 20px 22px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  justify-content: center;
  font-size: 1rem;
  font-family: var(--font-body);
  transition: transform 0.34s cubic-bezier(.2,1,.4,1);
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner .cookie-text {
  color: var(--dark);
  flex: 1 1 300px;
  margin-right: 19px;
}
.cookie-banner button, .cookie-banner .cta-btn {
  margin: 0 7px 0 0;
  font-family: var(--font-display);
  border-radius: var(--radius-md);
  padding: 10px 20px;
  font-size: 1rem;
  border: none;
  transition: background 0.14s, color 0.14s;
  background: var(--primary);
  color: var(--white);
  min-width: 128px;
}
.cookie-banner button.cookie-reject {
  background: #e8e9eb;
  color: var(--primary);
  border: 1px solid var(--primary);
}
.cookie-banner button.cookie-settings {
  background: var(--grey-200);
  color: var(--primary);
  border: 1px solid var(--grey-300);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--accent);
  color: #fff;
}
.cookie-banner button.cookie-reject:hover, .cookie-banner button.cookie-reject:focus {
  background: #e5e9ef;
  color: var(--outline);
}
.cookie-banner button.cookie-settings:hover, .cookie-banner button.cookie-settings:focus {
  background: var(--outline);
  color: #fff;
  border-color: var(--accent);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 19px 8px 17px 8px;
  }
  .cookie-banner .cookie-text { margin-right: 0; }
}

/* --------------- COOKIE MODAL --------------- */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 3000;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26,66,107,0.33);
  justify-content: center;
  align-items: center;
  height: 100vh;
  transition: background 0.18s;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 6px 32px rgba(26,66,107,0.19);
  min-width: 300px;
  max-width: 96vw;
  width: 370px;
  padding: 34px 28px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: modalIn 0.33s cubic-bezier(.3,1.1,.52,.97);
}
@keyframes modalIn {
  0% { transform: translateY(30px) scale(.93); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 11px;
  right: 19px;
  background: none;
  color: var(--primary);
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
}
.cookie-modal h2 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 6px;
}
.cookie-modal .cookie-category {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-modal .category-label {
  font-size: 1rem;
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 500;
}
.cookie-modal .toggle-switch {
  position: relative;
  width: 42px;
  height: 24px;
}
.cookie-modal .toggle-switch input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: var(--grey-200);
  border-radius: 24px;
  transition: background .22s;
}
.cookie-modal .slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  top: 3px;
  background: var(--primary);
  border-radius: 50%;
  transition: .22s;
}
.cookie-modal .toggle-switch input:checked + .slider {
  background: var(--accent);
}
.cookie-modal .toggle-switch input:checked + .slider:before {
  background: var(--white);
  transform: translateX(18px);
}
.cookie-modal .cookie-category[data-essential] .toggle-switch {
  opacity: .5;
  pointer-events: none;
}
.cookie-modal .cookie-actions {
  margin-top: 22px;
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: end;
}
.cookie-modal .cookie-actions button {
  min-width: 110px;
  padding: 10px 18px;
  font-size: 1rem;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  border: none;
  background: var(--primary);
  color: #fff;
  transition: background 0.14s;
}
.cookie-modal .cookie-actions button:hover, .cookie-modal .cookie-actions button:focus {
  background: var(--accent);
}
.cookie-modal .cookie-actions button.cancel {
  background: var(--grey-200);
  color: var(--primary);
  border: 1px solid var(--primary);
}
.cookie-modal .cookie-actions button.cancel:hover, .cookie-modal .cookie-actions button.cancel:focus {
  background: var(--outline);
  color: #fff;
}

@media (max-width: 500px) {
  .cookie-modal { padding: 19px 10px 12px 10px; min-width: 0; width: 96vw; }
}

/* --------------- UTILITY CLASSES / UNIVERSAL SPACING --------------- */
.mb-0 { margin-bottom: 0 !important; }
.mb-10 { margin-bottom: 10px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-30 { margin-bottom: 30px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-16 { margin-top: 16px !important; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-20 { gap: 20px; }
.pl-20 { padding-left: 20px; }

/* --------------- PRINT --------------- */
@media print {  *, *::before, *::after { box-shadow: none !important; background: #fff !important; color: #000 !important; } }
