/* style.css – Fragile Wealth Living – Scandinavian Clean Aesthetic */
/* CSS 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,
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;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  height: 100%;
}
*, *::before, *::after { box-sizing: inherit; }
body {
  min-height: 100vh;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  background: #F9FAFB;
  color: #2B2D42;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0 !important;
}

/* Font Imports (include in <head> for web) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&family=Playfair+Display:wght@600;700&display=swap');

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #2B2D42;
  margin-bottom: 24px;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1.125rem;
  font-weight: 600;
}
p, ul, ol {
  color: #444;
  margin-bottom: 16px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
p.subheadline {
  font-size: 1.25rem;
  color: #8D99AE;
  margin-bottom: 32px;
}
ul, ol { padding-left: 24px; }
li { margin-bottom: 12px; }
em {
  color: #8D99AE;
}
strong {
  font-weight: 600;
  color: #2B2D42;
}

/* Links and Buttons */
a {
  color: #2B2D42;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #F7B32B;
  outline: none;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 12px 32px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #fff;
  background: #2B2D42;
  border-radius: 999px;
  border: none;
  outline: none;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(45, 50, 66, 0.06);
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.13s,
    box-shadow 0.2s;
  margin-top: 10px;
  margin-bottom: 10px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #F7B32B;
  color: #2B2D42;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 16px rgba(47, 48, 60, 0.11);
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(47,48,60,0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  flex: 1 1 320px;
  transition: box-shadow 0.2s, transform 0.14s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(47,48,60,0.11);
  transform: translateY(-3px) scale(1.01);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.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: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(47,48,60,0.07);
  margin-bottom: 20px;
  flex-direction: column;
  border-left: 5px solid #F7B32B;
}
.testimonial-card p {
  color: #2B2D42;
  font-size: 1.08rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-style: italic;
  margin-bottom: 0;
}
.testimonial-card strong {
  color: #2B2D42;
  font-size: 1rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* List with icons (features & services) */
ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
}
ul li img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.85);
}

.text-section { margin-bottom: 20px; }

/* Header */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #F0F1F3;
  box-shadow: 0 1px 10px rgba(47,48,60,0.05);
  position: relative;
  z-index: 10;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  gap: 24px;
  padding: 22px 24px 20px 24px;
}
header img {
  max-height: 40px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #2B2D42;
  padding: 7px 16px;
  border-radius: 13px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F7B32B;
  color: #2B2D42;
}
header .btn-primary {
  margin-left: 20px;
  margin-right: 0;
}

/* Footer */
footer {
  background: #FAFBFB;
  border-top: 1px solid #ECEDEE;
  padding: 36px 0 24px 0;
  width: 100%;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
}
.footer-nav a {
  color: #8D99AE;
  font-size: 0.95rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F7B32B;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #8D99AE;
  font-family: 'Montserrat', Arial, sans-serif;
}
.footer-brand img {
  max-height: 26px;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 21px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #2B2D42;
  cursor: pointer;
  z-index: 31;
}
.mobile-menu {
  display: none;
}
.mobile-menu.active {
  display: flex;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  min-height: 100vh;
  width: 100vw;
  background: rgba(255,255,255,0.99);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 0;
  z-index: 1000;
  animation: mobileMenuSlideIn 0.27s cubic-bezier(.6,.25,.8,1.1);
}
@keyframes mobileMenuSlideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
.mobile-menu-close {
  position: absolute;
  right: 28px;
  top: 20px;
  font-size: 2rem;
  color: #2B2D42;
  background: transparent;
  border: none;
  z-index: 1001;
  cursor: pointer;
  outline: none;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F7B32B;
}
.mobile-nav {
  margin-top: 70px;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 16px 36px;
  height: calc(100vh - 70px);
  overflow-y: auto;
}
.mobile-nav a {
  display: inline-flex;
  align-items: center;
  width: 100%;
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2B2D42;
  padding: 14px 0;
  border-bottom: 1px solid #EEEEF1;
  transition: background 0.18s, color 0.18s;
  border-radius: 0;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F7B32B;
  color: #2B2D42;
}

/* Cookie Consent Banner & Modal */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 16px rgba(47,48,60,0.10);
  padding: 23px 24px 22px 24px;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid #ECEDEE;
  gap: 16px;
  animation: cookieBannerFadeIn 0.4s;
}
@keyframes cookieBannerFadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: none; }
}
.cookie-consent-banner p {
  margin-bottom: 0;
  color: #444;
  font-size: 1rem;
  line-height: 1.5;
}
.cookie-banner-actions {
  display: flex;
  gap: 14px;
  flex-direction: row;
  flex-wrap: wrap;
}
.cookie-consent-btn, .cookie-settings-btn {
  padding: 10px 22px;
  border-radius: 20px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.15s;
}
.cookie-consent-btn.accept {
  background: #2B2D42;
  color: #fff;
}
.cookie-consent-btn.accept:hover, .cookie-consent-btn.accept:focus {
  background: #F7B32B;
  color: #2B2D42;
}
.cookie-consent-btn.reject {
  background: #EEEEF1;
  color: #2B2D42;
}
.cookie-consent-btn.reject:hover, .cookie-consent-btn.reject:focus {
  background: #2B2D42;
  color: #fff;
}
.cookie-settings-btn {
  background: #F7B32B;
  color: #2B2D42;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #2B2D42;
  color: #fff;
}

.cookie-modal {
  display: none;
}
.cookie-modal.active {
  display: flex;
  position: fixed;
  z-index: 10010;
  top: 0; left: 0; right: 0; bottom: 0;
  align-items: center;
  justify-content: center;
  background: rgba(47,48,60,0.24);
  animation: cookieModalIn 0.25s cubic-bezier(.6,.25,.8,1.1);
}
@keyframes cookieModalIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 42px rgba(47,48,60,0.14);
  padding: 36px 28px;
  min-width: 90vw;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  position: relative;
}
.cookie-modal-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: #2B2D42;
  margin-bottom: 4px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  margin-bottom: 13px;
  gap: 10px;
}
.cookie-switch {
  appearance: none;
  width: 44px;
  height: 24px;
  background: #ECECEE;
  border-radius: 16px;
  position: relative;
  outline: none;
  transition: background 0.2s;
  cursor: pointer;
}
.cookie-switch:checked {
  background: #F7B32B;
}
.cookie-switch:after {
  content: '';
  display: block;
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.24s;
  box-shadow: 0 1px 4px rgba(47,48,60,0.09);
}
.cookie-switch:checked:after {
  left: 23px;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 14px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #8D99AE;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #2B2D42;
}
.cookie-modal-actions {
  display: flex;
  gap: 10px;
  flex-direction: row;
  width: 100%;
  justify-content: flex-end;
}

/* Utilities */
.mt-0 { margin-top: 0!important; }
.mb-0 { margin-bottom: 0!important; }

/* Responsive Design */
@media (max-width: 1150px) {
  .container { max-width: 96vw; }
}
@media (max-width: 900px) {
  footer .container, header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.375rem; }
  header .container {
    padding: 17px 12px 13px 12px;
  }
  .main-nav {
    display: none;
  }
  header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding: 0 10px;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 34px;
  }
  .testimonial-card {
    padding: 16px;
    font-size: 0.97rem;
  }
  .content-wrapper {
    gap: 14px;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .card-container {
    flex-direction: column;
    gap: 17px;
  }
  .card {
    padding: 17px 11px;
    min-width: unset;
    width: 100%;
  }
  footer .container {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .footer-brand {
    font-size: 0.97rem;
  }
  .cookie-modal-content {
    min-width: 90vw;
    padding: 15vw 6vw 10vw 6vw;
    max-width: 98vw;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.26rem; }
  h2 { font-size: 1.09rem; }
  .footer-nav {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .cookie-consent-banner { padding: 14px 7px; }
}

/* Micro-interactions */
.card, .testimonial-card, .btn-primary, .cookie-consent-btn, .cookie-settings-btn {
  transition: box-shadow 0.2s, background 0.2s, color 0.15s, transform 0.14s;
}
li, .main-nav a, .mobile-nav a {
  transition: background 0.14s, color 0.15s;
}

/* Accessibility Focus Styles */
a:focus, button:focus, .btn-primary:focus, .cookie-consent-btn:focus, .cookie-settings-btn:focus {
  outline: 2px dashed #F7B32B;
  outline-offset: 2px;
}

/* Scrollbar – simple clean */
::-webkit-scrollbar { width: 10px; background: #FAFAFA; }
::-webkit-scrollbar-thumb { background: #ECECEE; border-radius: 6px; }

/* Hide visually unused elements in mobile/nav for ARIA */
@media (max-width: 768px) {
  .main-nav, .btn-primary {
    display: none!important;
  }
}

/* Hide scroll when mobile menu/modal active */
body.menu-open, body.cookie-modal-open {
  overflow: hidden;
}

/* Scandinavian Clean Accents: Shadows & White space */
section, .section, .card, .testimonial-card {
  box-shadow: none;
}
.card, .testimonial-card {
  box-shadow: 0 2px 16px rgba(47,48,60,0.07);
}

/* Brand Color Classes for easy use */
.text-primary { color: #2B2D42; }
.text-secondary { color: #8D99AE; }
.text-accent { color: #F7B32B; }
.bg-primary { background: #2B2D42; color: #fff; }
.bg-secondary { background: #8D99AE; color: #fff; }
.bg-accent { background: #F7B32B; color: #2B2D42; }

/* End of style.css */
