/* =============================================================
   RESET & BASELINE NORMALIZE (MOBILE-FIRST)
   ============================================================= */
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, 
main, 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; }
*, *:before, *:after { box-sizing: inherit; }

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: #f8fafc;
  color: #222;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #1B365D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F2C744;
  outline: none;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 12px;
}

/* =============================================================
   FONTS & TYPOGRAPHY & BRANDING
   ============================================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  letter-spacing: 0.01em;
  color: #1B365D;
  font-weight: 700;
  margin-bottom: 20px;
}
h1 { font-size: 2.2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.125rem; }
h4 { font-size: 1rem; }
p, li, ul, ol {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #212121;
}
strong, b { font-weight: 700; color: #1B365D; }

/* Luxury accent on section headings */
h1, h2, h3 {
  position: relative;
  padding-left: 12px;
}
h1:before, h2:before, h3:before {
  content: '';
  position: absolute;
  left: 0; top: 45%;
  transform: translateY(-50%);
  width: 6px; height: 30px;
  border-radius: 3px;
  background: #F2C744;
  display: block;
}


/* =============================================================
   SPACING, CONTAINER, AND FLEX PATTERNS
   ============================================================= */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 4px 32px 0 rgba(30,40,90,0.05);
  position: relative;
}
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 34px;
  }
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card-container, .case-study-list, .blog-post-previews, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.content-grid {
  gap: 20px;
}
.card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 16px 0 rgba(27,54,93,0.07);
  padding: 26px 22px;
  position: relative;
  margin-bottom: 20px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(27, 54, 93, 0.10);
  transform: translateY(-2px) scale(1.012);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.text-image-section,
.text-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  width: 100%;
}
@media (max-width: 768px) {
  .text-image-section, .text-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

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

.case-study-list {
  gap: 24px;
}
.case-study {
  background: #EAF2FA;
  border-radius: 18px;
  padding: 26px 20px;
  box-shadow: 0 2px 12px 0 rgba(20,32,60,0.04);
  flex: 1 1 310px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.case-study:hover {
  box-shadow: 0 4px 24px 0 rgba(27,54,93,0.10);
  transform: translateY(-3px);
}

.outcome-highlights ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.outcome-highlights li {
  background: #fff;
  border-radius: 15px;
  padding: 16px 22px;
  color: #1B365D;
  font-weight: 600;
  box-shadow: 0 1px 7px 0 rgba(27,54,93,0.06);
}

@media (max-width: 768px) {
  .card-container, .content-grid, .outcome-highlights ul, .case-study-list, .blog-post-previews {
    flex-direction: column;
    gap: 18px;
  }
  .case-study { min-width: 0; }
}

/* =============================================================
   BRAND COLORS & LUXURY PALETTE
   ============================================================= */
:root {
  --primary-color: #1B365D;
  --secondary-color: #F2C744;
  --accent-color: #EAF2FA;
  --text-color: #222;
  --text-dark: #1B365D;
  --background: #fcfcfc;
  --border-radius: 24px;
  --shadow: 0 2px 16px 0 rgba(27,54,93,0.07);
}

/* Subtle gold line decorators for luxury feel */
.section:after {
  content: '';
  display: block;
  height: 3px;
  width: 80px;
  background: #F2C744;
  margin: 32px auto 0 auto;
  border-radius: 2px;
  opacity: 0.18;
}


/* =============================================================
   HEADER & NAVIGATION (DESKTOP & MOBILE MENU)
   ============================================================= */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 6px 0 rgba(27,54,93,0.035);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  gap: 26px;
}
/* Logo */
header img[alt*="VividWander"] {
  height: 46px;
  max-width: 160px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #1B365D;
  padding: 10px 0;
  transition: color 0.18s, border-color 0.18s;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a:focus {
  color: #F2C744;
  border-bottom: 2px solid #F2C744;
}

.cta-primary {
  display: inline-block;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  background: #F2C744;
  color: #1B365D;
  padding: 13px 28px;
  border-radius: 40px;
  box-shadow: 0 3px 12px 0 rgba(242,200,68,0.10);
  border: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s, transform 0.2s;
  margin-left: 14px;
  cursor: pointer;
  letter-spacing: 0.01em;
}
.cta-primary:hover, .cta-primary:focus {
  background: #1B365D;
  color: #F2C744;
  box-shadow: 0 5px 18px 0 rgba(27,54,93,0.11);
  transform: translateY(-2px) scale(1.045);
}

/* Hamburger Icon for Mobile */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 16px;
  right: 24px;
  z-index: 101;
  font-size: 2.1rem;
  color: #1B365D;
  background: #fff;
  border: 2px solid #F2C744;
  box-shadow: 0 1px 6px 0 rgba(27,54,93,0.09);
  border-radius: 50%;
  width: 50px; height: 50px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.13s, box-shadow 0.16s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F2C744;
  color: #1B365D;
  box-shadow: 0 2px 12px 0 rgba(242,200,68,0.18);
}

/* Show hamburger only on mobile */
@media (max-width: 991px) {
  .main-nav,
  header .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  z-index: 2000;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(27,54,93,0.94);
  color: #fff;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.8,.04,.27,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 0 0 0;
}
.mobile-menu.active { transform: translateX(0); }

.mobile-menu-close {
  align-self: flex-end;
  margin-right: 28px; margin-top: 10px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #F2C744;
  cursor: pointer;
  z-index: 2011;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { color: #fff; }

.mobile-nav {
  width: 100vw;
  display: flex;
  flex-direction: column;
  margin-top: 12px;
  gap: 16px;
  padding-left: 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 16px 0;
  border-radius: 8px;
  transition: background 0.16s, color 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F2C744;
  color: #1B365D;
  outline: none;
}

/* show/hide mobile menu based on JS class .active */

@media (min-width: 992px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}


/* =============================================================
   SECTION FEATURES, LISTS & TESTIMONIALS
   ============================================================= */

.section ul > li, .section ol > li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.section ul > li img,
.section ol > li img {
  width: 36px; height: 36px; min-width: 36px;
  background: #fff8dc;
  border-radius: 50%;
  border: 1px solid #f6e9b1;
  box-shadow: 0 1px 3px 0 rgba(242,200,68,0.13);
  padding: 5px;
}

.feature-item strong {
  color: #F2C744;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fafaf9;
  border-radius: 20px;
  box-shadow: 0 2px 8px 0 rgba(27,54,93,0.07);
  margin-bottom: 20px;
  border-left: 6px solid #F2C744;
  font-size: 1.06rem;
}
.testimonial-card p {
  color: #212121;
  margin-bottom: 0;
  font-style: italic;
}
.testimonial-card b {
  color: #1B365D;
  margin-right: 10px;
}

@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    font-size: 0.98rem;
    padding: 14px 11px;
  }
}


/* =============================================================
   FAQ ACCORDION (rozwiazania.html)
   ============================================================= */
.faq-accordion {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 18px;
}
.faq-accordion h3 {
  font-size: 1.08rem;
  color: #1B365D;
  cursor: pointer;
  border-bottom: 1px solid #F2C744;
  padding-bottom: 4px;
  margin-bottom: 2px;
  transition: color 0.16s;
}
.faq-accordion h3:hover, .faq-accordion h3:focus { color: #F2C744; }
.faq-accordion p {
  font-size: 1rem;
  color: #212121;
  margin-left: 8px;
  margin-bottom: 2px;
}


/* =============================================================
   BLOG & SEARCH / FILTERS
   ============================================================= */
input[type='text'], textarea {
  border-radius: 9px;
  border: 1.5px solid #C4CFE1;
  padding: 10px 16px;
  font-size: 1rem;
  background: #fff;
  margin-bottom: 14px;
  transition: border-color 0.15s;
}
input[type='text']:focus, textarea:focus {
  border-color: #F2C744;
  outline: none;
}
.category-filter {
  margin-bottom: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #1B365D;
  display: flex;
  align-items: center;
  gap: 8px;
}
.category-filter a {
  background: #EAF2FA;
  color: #1B365D;
  padding: 3px 16px;
  border-radius: 8px;
  font-size: 0.96rem;
  font-weight: 600;
  margin-right: 4px;
  border: 1.5px solid transparent;
  transition: border 0.13s, background 0.15s;
}
.category-filter a:hover, .category-filter a:focus {
  background: #F2C744;
  color: #1B365D;
  border: 1.5px solid #1B365D;
  outline: none;
}

.blog-post-previews {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.blog-post-previews li {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1.5px 8px 0 rgba(27,54,93,0.05);
  padding: 32px 22px 18px 22px;
  margin-bottom: 16px;
  position: relative;
  list-style: none;
}
.blog-post-previews h2 {
  font-size: 1.2rem;
  color: #1B365D;
  margin-bottom: 8px;
}
.blog-post-previews p {
  font-size: 1rem;
  color: #202231;
  margin-bottom: 12px;
}
.blog-post-previews a {
  font-weight: 700;
  color: #F2C744;
  text-decoration: underline;
  transition: color 0.10s;
}
.blog-post-previews a:hover,
.blog-post-previews a:focus { color: #1B365D; text-decoration: none; }


/* =============================================================
   NEWSLETTER SIGNUP
   ============================================================= */
.newsletter-signup {
  background: #EAF2FA;
  border-radius: 15px;
  padding: 22px 18px;
  margin-bottom: 12px;
  box-shadow: 0 1.2px 5px 0 rgba(27,54,93,0.08);
}


/* =============================================================
   MAP PLACEHOLDER CONTACT
   ============================================================= */
.map-placeholder {
  width: 100%;
  background: #EAF2FA;
  border-radius: 20px;
  padding: 24px 15px;
  display: flex;
  align-items: center;
  color: #2468a4;
  font-weight: 600;
  margin-bottom: 10px;
  box-shadow: 0 1.5px 8px 0 rgba(27,54,93,0.04);
}
.map-placeholder img {
  width: 38px; height: 38px; margin-right: 12px;
}


/* =============================================================
   FOOTER
   ============================================================= */
footer {
  width: 100%;
  background: #1B365D;
  color: #fff;
  padding: 37px 0 24px 0;
  font-size: 1rem;
  position: relative;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 10px;
}
.footer-links a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.18s;
}
.footer-links a:hover, .footer-links a:focus {
  color: #F2C744;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-contact img {
  width: 20px; height: 20px; margin-right: 7px;
  vertical-align: middle;
}
footer p:last-child {
  margin-top: 24px;
  opacity: 0.68;
  font-size: 0.95rem;
  color: #e5eaf1;
}
@media (max-width: 880px) {
  footer .container {
    flex-direction: column;
    gap: 24px;
  }
}


/* =============================================================
   COOKIE CONSENT BANNER
   ============================================================= */
.cookie-banner {
  position: fixed;
  z-index: 3000;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fffbe6;
  color: #473b08;
  border-top: 2px solid #F2C744;
  box-shadow: 0 -2px 14px 0 rgba(27,54,93,0.10);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px;
  gap: 24px;
  transition: transform 0.34s;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner p {
  font-size: 1.07rem;
  color: #473b08;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 16px;
}
.cookie-banner button {
  outline: none;
  border: none;
  cursor: pointer;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 28px;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background 0.17s, color 0.13s, box-shadow 0.16s;
  margin-top: 5px;
}
.cookie-banner .accept-btn {
  background: #F2C744;
  color: #1B365D;
  box-shadow: 0 2px 8px 0 rgba(242,200,68,0.12);
  margin-left: 0;
}
.cookie-banner .accept-btn:hover, .cookie-banner .accept-btn:focus {
  background: #1B365D;
  color: #F2C744;
}
.cookie-banner .reject-btn {
  background: #EAF2FA;
  color: #1B365D;
}
.cookie-banner .reject-btn:hover, .cookie-banner .reject-btn:focus {
  background: #ffd98d;
  color: #1B365D;
}
.cookie-banner .settings-btn {
  background: none;
  color: #F2C744;
  border: 1.5px solid #F2C744;
}
.cookie-banner .settings-btn:hover, .cookie-banner .settings-btn:focus {
  background: #FEF6CF;
}

/* Cookie Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(27,54,93,0.32);
  z-index: 4000;
  align-items: center;
  justify-content: center;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(27,54,93,0.12);
  padding: 30px 28px 28px 28px;
  max-width: 95vw;
  width: 380px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: slideDown 0.32s cubic-bezier(.68,.07,.18,1);
}
@keyframes slideDown {
  from { transform: translateY(-32px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal-content h3 {
  color: #1B365D;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 10px;
  font-size: 1.22rem;
}
.cookie-modal-content p {
  color: #171a22;
  font-size: 1rem;
  margin-bottom: 0;
}
.cookie-modal-content .cookie-cat-list {
  margin: 10px 0 15px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-modal-content .cookie-cat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}
.cookie-modal-content .cookie-toggle {
  width: 40px;
  height: 24px;
  background: #e3e6ef;
  border-radius: 28px;
  position: relative;
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
  transition: background 0.13s;
}
.cookie-modal-content .cookie-toggle input {
  display: none;
}
.cookie-modal-content .cookie-toggle-label {
  width: 100%;
  height: 100%;
  cursor: pointer;
  display: block;
}
.cookie-modal-content .cookie-toggle .cookie-toggle-thumb {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background: #F2C744;
  border-radius: 50%;
  position: absolute;
  left: 2px;
  top: 2px;
  transition: left 0.16s;
}
.cookie-modal-content .cookie-toggle input:checked + .cookie-toggle-label .cookie-toggle-thumb {
  left: 18px;
  background: #1B365D;
}
.cookie-modal-btns {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}
.cookie-modal-btns button {
  padding: 11px 20px;
  border-radius: 22px;
  background: #F2C744;
  color: #1B365D;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  transition: background 0.12s, color 0.13s;
}
.cookie-modal-btns .reject-btn {
  background: #EAF2FA;
  color: #1B365D;
}
.cookie-modal-btns .close-btn {
  background: none;
  color: #1B365D;
  border: 1.5px solid #1B365D;
}
.cookie-modal-btns .close-btn:hover { background: #F2C744; color: #1B365D; }

.cookie-modal-content .cat-essential {
  color: #1B365D;
  font-weight: 700;
}
.cookie-modal-content .cookie-toggle[aria-disabled='true'] {
  background: #ffedbe;
  opacity: 0.7;
}
.cookie-modal-content .cookie-toggle[aria-disabled='true'] .cookie-toggle-thumb {
  background: #F2C744 !important;
  cursor: not-allowed;
}


/* =============================================================
   UTILITIES & OVERRIDES
   ============================================================= */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-40 { margin-bottom: 40px !important; }
.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }

.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-gold   { color: #F2C744; }
.bg-accent   { background: #EAF2FA; }
.bg-white    { background: #fff; }

.rounded-18  { border-radius: 18px; }
.rounded-24  { border-radius: 24px; }

/* ARIA-Focus Ring for accessibility */
:focus-visible {
  outline: 2.5px solid #F2C744;
  outline-offset: 1.5px;
}


/* =============================================================
   RESPONSIVE MEDIA QUERIES
   ============================================================= */
@media (max-width: 768px) {
  h1 { font-size: 1.42rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1.07rem; }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .footer-links {
    gap: 20px;
  }
  .footer-contact {
    gap: 15px;
  }
  .section {
    border-radius: 16px;
  }
}

@media (max-width: 500px) {
  .testimonial-card, .card, .newsletter-signup, .map-placeholder, .case-study {
   padding-left: 8px; padding-right: 8px;
  }
  .footer-links {
    gap: 12px;
    flex-direction: column; align-items: flex-start;
  }
  .footer-contact {
    gap: 7px;
    font-size: 0.97rem;
  }
  .cookie-modal-content { width: 98vw; min-width: unset; }
}


/* =============================================================
   LUXURY MICRO-INTERACTIONS & ANIMATIONS
   ============================================================= */
.cta-primary, .cookie-modal-btns button, .cookie-banner button {
  transition: background 0.18s, color 0.14s, transform 0.21s, box-shadow 0.17s;
}
.cta-primary:active, .cookie-banner button:active, .cookie-modal-btns button:active {
  transform: scale(0.98);
}
.card:hover, .case-study:hover {
  animation: cardPop 0.27s cubic-bezier(.72,.01,.49,.97);
}
@keyframes cardPop {
  0% { transform: scale(1) }
  60%{ transform: scale(1.03); }
  100%{ transform: scale(1.012); }
}


/* =============================================================
   PRINT STYLING (OPTIONAL LUXURY TOUCH)
   ============================================================= */
@media print {
  header, footer, .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  body { background: #fff; color: #222; }
  .section { background: #fff; box-shadow: none; margin-bottom: 26px; }
}
