/* ===================
   Luminous Dynamo Invest
   Luxury Premium CSS
   Brand: Nowoczesna Elegancja
   Author: Senior CSS/UI Designer
   ====================
*/
/* -----------------------
   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, 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;
}
html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: #F6F6F8;
  color: #123266;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
img, picture {
  max-width: 100%;
  height: auto;
  border: 0;
}
a {
  color: #123266;
  text-decoration: none;
  transition: color 0.25s;
}
a:focus {
  outline: 2px solid #F4AF34;
  outline-offset: 2px;
}
ul, ol {
  padding-left: 1.3em;
}

/* -----------------------
   FONT IMPORTS
----------------------- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap');

/* -----------------------
   BRAND COLORS
----------------------- */
:root {
  --color-primary: #123266;
  --color-secondary: #F6F6F8;
  --color-accent: #F4AF34;
  --color-white: #fff;
  --color-black: #20242A;
  --color-bg-hero: #F9FAFB;
  --color-border: #E5E9F2;
  --color-bg-card: #fff;
  --color-shadow: rgba(18, 50, 102, 0.04);
  --transition-main: 0.3s cubic-bezier(.4,0,.2,1);
}

/* -----------------------
   TYPOGRAPHY
----------------------- */
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.25rem;
  line-height: 1.12;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.18rem;
  line-height: 1.3;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.06rem;
}
p, li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--color-black);
}
strong {
  font-weight: 600;
}
blockquote {
  font-style: italic;
  color: var(--color-primary);
  border-left: 3px solid var(--color-accent);
  padding-left: 18px;
  margin-bottom: 8px;
}

/* Typography spacing scale */
.text-section h2 { margin-top: 32px; }
.text-section h3 { margin-top: 24px; }

/* -----------------------
   LAYOUT BASE PATTERNS
----------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-bg-card);
  box-shadow: 0 2px 10px var(--color-shadow);
  border-radius: 16px;
  margin-bottom: 20px;
  padding: 28px 24px;
  position: relative;
  transition: box-shadow var(--transition-main), transform var(--transition-main);
}
.card:hover,
.card:focus-within {
  box-shadow: 0 6px 20px rgba(18,50,102,0.13);
  transform: translateY(-2px) scale(1.01);
  z-index: 2;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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;
  background: var(--color-white);
  border-radius: 14px;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 6px rgba(18,50,102,0.05);
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition-main), border var(--transition-main);
}
.testimonial-card:hover {
  box-shadow: 0 4px 20px rgba(18,50,102,0.14);
  border-color: var(--color-accent);
}
.testimonial-card blockquote {
  color: #1f2740;
}
.testimonial-card footer {
  color: #6b7280;
  font-size: 0.98rem;
  font-style: normal;
  letter-spacing: 0.01em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-bg-card);
  border-radius: 12px;
  padding: 24px 18px 22px 18px;
  box-shadow: 0 1px 8px rgba(18,50,102,0.05);
  border: 1px solid #ececf4;
  margin-bottom: 20px;
  min-width: 190px;
  flex: 1 1 220px;
  transition: box-shadow .25s, border .25s;
}
.feature-item img {
  width: 32px; height: 32px;
  margin-bottom: 10px;
}
.feature-item h3 {
  color: var(--color-primary);
  font-weight: 600;
}
.feature-item:hover {
  box-shadow: 0 6px 24px rgba(244,175,52,0.10);
  border-color: var(--color-accent);
  background: #fdf9f4;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  justify-content: flex-start;
}
.price-tag {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 16px;
  background: rgba(244,175,52,0.07);
  padding: 5px 16px;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

/* ----------------------------------
   HEADER & NAVIGATION (Desktop)
----------------------------------- */
header {
  background: var(--color-white);
  box-shadow: 0 2px 12px rgba(18,50,102,0.06);
  border-bottom: 1px solid #ececf4;
  position: sticky;
  top: 0;
  z-index: 100;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  min-height: 72px;
}
header nav > a img {
  height: 36px;
  width: auto;
  display: block;
}
header nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav ul li {
  margin: 0;
}
header nav ul li a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.04rem;
  color: var(--color-primary);
  padding: 6px 8px;
  border-radius: 6px;
  transition: background var(--transition-main), color var(--transition-main);
}
header nav ul li a:hover,
header nav ul li a:focus {
  background: var(--color-accent);
  color: #fff;
}
header nav .btn-primary {
  margin-left: 32px;
}

/* ----------------------------------
   BUTTONS & INTERACTIONS
----------------------------------- */
.btn-primary {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  color: #fff;
  background: var(--color-accent);
  border: none;
  border-radius: 32px;
  padding: 12px 34px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(244,175,52,0.09);
  transition: background var(--transition-main), color var(--transition-main), box-shadow var(--transition-main), transform var(--transition-main);
  outline: none;
  text-align: center;
  letter-spacing: 0.015em;
  display: inline-block;
  position: relative;
  z-index: 1;
}
.btn-primary:hover, .btn-primary:focus {
  background: #b98519;
  color: #fff;
  box-shadow: 0 6px 20px rgba(244, 175, 52, 0.17);
  transform: translateY(-1.5px) scale(1.03);
}

.btn-secondary {
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  border: 2px solid var(--color-accent);
  background: transparent;
  color: var(--color-primary);
  padding: 12px 34px;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 32px;
  cursor: pointer;
  transition: background .2s, color .2s, border .2s;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--color-accent);
  color: #fff;
  border-color: #b98519;
}

/* Inline link with accent underline */
a.inline-accent {
  display: inline-block;
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 1px;
  font-weight: 600;
  transition: color .2s, border .2s;
}
a.inline-accent:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-primary);
}

/* ----------------------------------
   HERO & SECTION STYLES
----------------------------------- */
main > section {
  background: none;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (min-width: 768px) {
  section {
    padding: 54px 0 56px 0;
  }
}
section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
section .content-wrapper {
  max-width: 800px;
  width: 100%;
}

/* ---------------------
   TEXT-SECTION
--------------------- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section ul,
.text-section ol {
  margin: 12px 0 12px 10px;
  padding-left: 24px;
  color: var(--color-primary);
}
.text-section ul li,
.text-section ol li {
  margin-bottom: 10px;
  color: #1f2740;
  font-size: 1rem;
}

/* ---------------------
   CTA STYLES
--------------------- */
section .btn-primary {
  align-self: flex-start;
  margin-top: 8px;
}

/* ---------------------
   MAP PLACEHOLDER
--------------------- */
.map-placeholder {
  margin-top: 16px;
  padding: 24px 20px;
  background: #e7eaf4;
  border-radius: 12px;
  color: var(--color-primary);
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
}

/* -------------------
   FOOTER
-------------------- */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 0 0 0 0;
  font-size: 1rem;
  box-shadow: 0 -2px 24px rgba(18,50,102,0.05);
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  padding: 34px 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  justify-content: flex-start;
}
footer .footer-menu,
footer .company-address,
footer .legal-info {
  color: #fff;
  font-size: 0.98rem;
}
footer .footer-menu a {
  color: #fff;
  font-weight: 500;
  transition: color .15s;
}
footer .footer-menu a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}
footer .legal-info {
  font-size: 0.92rem;
  opacity: 0.68;
}
/* ----------------------------------
   MOBILE MENU - HAMBURGER NAV
----------------------------------- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 105;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  padding: 4px 8px;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(18,50,102,0.91);
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.61,0,.14,1) 0s;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  color: #fff;
  background: none;
  border: none;
  font-size: 2rem;
  position: absolute;
  right: 20px;
  top: 18px;
  z-index: 1201;
  cursor: pointer;
  transition: color .2s;
}
.mobile-menu-close:hover {
  color: var(--color-accent);
}
.mobile-nav {
  margin-top: 70px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
}
.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.18rem;
  color: #fff;
  padding: 10px 22px;
  border-radius: 7px;
  background: none;
  transition: background .2s, color .2s;
  width: 84vw;
  box-sizing: border-box;
  text-align: center;
}
.mobile-nav a:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}
@media (max-width: 992px) {
  header nav ul,
  header nav .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ----------------------------------
   COOKIE CONSENT BANNER & MODAL
----------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; right: 0;
  background: var(--color-white);
  color: var(--color-primary);
  font-size: 1rem;
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -2px 12px rgba(244,175,52,0.13);
  z-index: 1400;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  transition: transform 0.35s;
  will-change: transform;
  opacity: 1;
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  margin-top: 5px;
}
.cookie-banner button {
  padding: 8px 22px;
  border-radius: 22px;
  font-size: 1rem;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  transition: background .18s, color .18s;
  cursor: pointer;
}
.cookie-banner .accept-btn {
  background: var(--color-accent);
  color: #fff;
}
.cookie-banner .accept-btn:hover {
  background: #b98519;
}
.cookie-banner .reject-btn {
  background: transparent;
  border: 2px solid var(--color-accent);
  color: var(--color-primary);
}
.cookie-banner .reject-btn:hover {
  background: #fdf9f4;
}
.cookie-banner .settings-btn {
  background: #ededf7;
  color: var(--color-primary);
  border: none;
}
.cookie-banner .settings-btn:hover {
  background: #f6e9d8;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1700;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(18,50,102,0.50);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1; pointer-events: auto;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.hide {
  opacity: 0; pointer-events: none;
}
.cookie-modal {
  background: var(--color-white);
  box-shadow: 0 6px 32px rgba(18,50,102,0.23);
  border-radius: 18px;
  width: 96vw;
  max-width: 392px;
  padding: 32px 28px 28px 28px;
  color: var(--color-primary);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modal-slide-in 0.34s cubic-bezier(.62,0,.23,1);
}
@keyframes modal-slide-in {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 15px; right: 16px;
  background: none;
  border: none;
  font-size: 1.26rem;
  color: var(--color-primary);
  cursor: pointer;
  transition: color .18s;
}
.cookie-modal-close:hover {
  color: var(--color-accent);
}
.cookie-modal h3 {
  font-size: 1.16rem;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}
.cookie-category-label {
  font-size: 1.06rem;
  font-weight: 500;
  color: var(--color-primary);
}
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #eaeaf4;
  border-radius: 22px;
  transition: background 0.25s;
}
.cookie-toggle input:checked + .cookie-slider {
  background: var(--color-accent);
}
.cookie-slider:before {
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.22s;
  box-shadow: 0 1px 4px rgba(90, 85, 120, 0.18);
}
.cookie-toggle input:checked + .cookie-slider:before {
  transform: translateX(20px);
}
.category-essential {
  opacity: 0.65;
}
.category-essential .cookie-toggle {
  pointer-events: none;
  filter: grayscale(0.6) brightness(1.12);
}
.cookie-modal-buttons {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal-buttons button {
  border-radius: 22px;
  padding: 8px 22px;
  font-weight: 600;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  transition: background .18s, color .18s;
  cursor: pointer;
}
.cookie-modal-buttons .accept-btn {
  background: var(--color-accent);
  color: #fff;
}
.cookie-modal-buttons .accept-btn:hover {
  background: #b98519;
}
.cookie-modal-buttons .reject-btn {
  background: transparent;
  border: 2px solid var(--color-accent);
  color: var(--color-primary);
}
.cookie-modal-buttons .reject-btn:hover {
  background: #fdf9f4;
}

/* ----------------------------------
   RESPONSIVE - MOBILE FIRST
----------------------------------- */
@media (max-width: 768px) {
  html, body {
    font-size: 16px;
  }
  .container {
    padding: 0 8px;
  }
  .section {
    padding: 28px 0 32px 0;
    margin-bottom: 36px;
  }
  .content-wrapper {
    gap: 14px;
    padding: 0;
  }
  h1 {
    font-size: 1.48rem;
  }
  h2 {
    font-size: 1.15rem;
  }
  h3 {
    font-size: 1rem;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item, .card {
    min-width: unset;
    padding: 18px 12px;
    border-radius: 11px;
  }
  .testimonial-card {
    padding: 13px 10px;
    gap: 10px;
    border-radius: 9px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  header nav {
    min-height: 56px;
    padding: 0 5px;
  }
  footer .content-wrapper {
    padding: 24px 0 21px 0;
    gap: 10px;
  }
}
@media (max-width: 480px) {
  html, body { font-size: 15px; }
  .price-tag {
    font-size: .97rem;
    padding: 5px 10px;
  }
  .cookie-banner {
    font-size: 0.97rem;
    padding: 12px 6px;
  }
  .cookie-modal {
    padding: 19px 8px 10px 8px;
  }
}

/* -------------------------------
   GOLD ACCENTS/REFINED DETAILS
------------------------------- */
h1, h2, h3, .btn-primary, .feature-item h3, .price-tag {
  letter-spacing: 0.01em;
}
hr {
  border: none;
  border-top: 1.5px solid var(--color-accent);
  margin: 28px 0;
}
/* Decorative gold line */
.heading-accent {
  display: block;
  width: 64px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
  margin-bottom: 14px;
}
/* Card gold accent on left */
.card:before {
  content: "";
  display: block;
  position: absolute;
  left: 0; top: 30px;
  width: 4px; height: 52px;
  border-radius: 3px;
  background: var(--color-accent);
  opacity: 0.21;
}
/* Only for desktop: show card gold accent */
@media (max-width: 767px) {
  .card:before { display: none; }
}

/* -------------------------------
   FOCUS STATES/ACCESSIBILITY
------------------------------- */
*:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  z-index: 12;
}

/* -------------------------------------------
   VISUAL MICRO-INTERACTIONS/TRANSITIONS
-------------------------------------------- */
button, .btn-primary, .btn-secondary, .card, .feature-item, input, .mobile-nav a, a {
  transition: background 0.20s, color 0.20s, box-shadow 0.24s, border 0.18s, transform 0.18s;
}

/* ---------------------------------
   SEPARATORS IN FOOTER MENU
---------------------------------- */
footer .footer-menu a:not(:last-child)::after {
  content: '|';
  font-weight: 500;
  color: rgba(255,255,255,0.32);
  margin: 0 7px 0 10px;
}

/* --------------------------------------
   SPECIAL CLASSES & MINIMUM SPACING!
--------------------------------------- */
.section > *,
.card-container > *,
.card > *,
.content-grid > *,
.feature-grid > *,
.testimonial-card > * {
  margin-bottom: 0;
}
.card, .feature-item, .testimonial-card, .section {
  margin-bottom: 20px;
}

/* ------------------------------------
   PREVENT OVERLAPPING, FLEX-WRAPPING
------------------------------------- */
.card-container, .feature-grid, .content-grid {
  flex-wrap: wrap;
  gap: 20px;
}

/* ------------------------------------
   Z-INDEX & LAYERING FOR OVERLAYS
------------------------------------- */
.mobile-menu {
  z-index: 1200;
}
.cookie-banner {
  z-index: 1400;
}
.cookie-modal-overlay {
  z-index: 1700;
}

/* ------------------------------------
   Hide before load/workaround for JS
------------------------------------- */
.mobile-menu,
.cookie-modal-overlay {
  display: none;
}
.mobile-menu.open {
  display: flex !important;
}
.cookie-modal-overlay.active {
  display: flex !important;
}

/* ------------------------------------
   CUSTOM SCROLLBAR (luxury detail)
------------------------------------- */
::-webkit-scrollbar {
  width: 9px;
  background: #e6e4ed;
}
::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: 18px;
  border: 3px solid #f6f6f8;
}

/* -------------------------------------
   PRINT SUPPORT
--------------------------------------- */
@media print {
  header, footer, .mobile-menu-toggle, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  main { padding: 0; }
}
