/* 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;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #102A43;
  background: #F9FBFD;
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #102A43;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #FFD05B;
  outline: none;
}
ul, ol {
  list-style: none;
}
button {
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  font-size: 1rem;
}

/* BRAND FONTS */
h1, h2, h3, h4, h5, h6, .cta {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
  font-weight: 600;
}
h4, h5, h6 {
  font-weight: 600;
}
p, li, span, strong {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
strong {
  font-weight: 600;
}

/* GENERAL CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 22px rgba(16,42,67,0.08);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s;
  padding: 32px 28px;
}
.card:hover {
  box-shadow: 0 10px 28px rgba(16,42,67,0.16);
}
.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;
  background: #fff;
  border-radius: 20px;
  padding: 28px 26px;
  margin-bottom: 24px;
  box-shadow: 0 6px 24px rgba(16,42,67,0.09);
  border-left: 5px solid #FFD05B;
  transition: box-shadow 0.24s, transform 0.24s;
}
.testimonial-card:hover {
  box-shadow: 0 12px 32px rgba(16,42,67,0.20);
  transform: translateY(-2px) scale(1.013);
}
.testimonial-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: #102A43;
}
.rating {
  color: #FFD05B;
  font-size: 1.15em;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO SECTION & ACCENTS */
.hero-section {
  background: #102A43 url('../assets/hero-bg.jpg') center/cover no-repeat;
  color: #fff;
  padding: 80px 0 60px;
  margin-bottom: 60px;
}
.hero-section .cta {
  margin-top: 28px;
}
.hero-section h1, .hero-section p {
  color: #fff;
}
.subheadline {
  font-size: 1.15rem;
  color: #CFE3FF;
  margin-top: 14px;
  margin-bottom: 8px;
}
.accent {
  background: #FFD05B;
  color: #102A43;
  border-radius: 22px;
  box-shadow: 0 2px 24px rgba(16,42,67,0.05);
}
.cta-section,
.thankyou-section {
  margin-bottom: 0;
  padding: 56px 0 40px 0;
}
.cta-section.accent .cta,
.thankyou-section.accent .cta {
  background: #102A43;
  color: #fff;
}
.cta-section .contact-info {
  margin-top: 36px;
}
.cta-section ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}
.cta-section li,
.cta-section span {
  font-size: 1.08em;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* BUTTONS & CTA */
.cta {
  display: inline-block;
  background: #FFD05B;
  color: #102A43;
  border-radius: 999px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 13px 38px;
  margin-top: 10px;
  transition: background 0.19s, color 0.19s, box-shadow 0.19s, transform 0.12s;
  box-shadow: 0 1px 7px #FFCD4C18;
  border: 2px solid #FFD05B;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.cta:hover,
.cta:focus {
  background: #102A43;
  color: #FFD05B;
  border-color: #102A43;
  transform: translateY(-1.5px) scale(1.035);
  box-shadow: 0 2px 14px #FFD05B33;
}
.cta.secondary {
  background: #102A43;
  color: #FFD05B;
  border-color: #FFD05B;
}
.cta.secondary:hover,
.cta.secondary:focus {
  background: #FFD05B;
  color: #102A43;
}

/* NAVBAR & HEADER */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 3px 20px rgba(16,42,67,0.03);
  position: sticky;
  top: 0; left: 0;
  z-index: 1000;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 74px;
  gap: 0;
}
header nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 14px;
  color: #102A43;
  border-radius: 8px;
  transition: background 0.17s, color 0.17s;
}
header nav a.cta {
  margin-left: 10px;
}
header nav a:hover,
header nav a:focus {
  background: #CFE3FF;
  color: #102A43;
}
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: #FFD05B;
  border-radius: 14px;
  color: #102A43;
  outline: none;
  padding: 0 13px;
  height: 46px;
  border: none;
  margin-left: 18px;
  box-shadow: 0 1px 6px #FFD05B30;
  z-index: 1050;
  transition: background 0.16s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #102A43;
  color: #FFD05B;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #102A43;
  color: #fff;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 30px;
  padding-left: 0;
  padding-right: 0;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.5,.87,.42,1.14);
  box-shadow: 0 0 60px #102A4340;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #FFD05B;
  background: none;
  border: none;
  position: absolute;
  right: 28px;
  top: 28px;
  z-index: 4000;
  cursor: pointer;
  transition: color 0.17s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 68px;
  width: 100vw;
  padding-left: 44px;
  font-size: 1.25rem;
}
.mobile-nav a {
  color: #FFD05B;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  line-height: 1.5;
  padding: 10px 0;
  transition: color 0.13s, background 0.09s;
  border-radius: 8px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #FFD05B44;
  color: #fff;
}

/* Hide Desktop/Main Nav on mobile - show burger */
@media (max-width: 1020px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1021px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
  header nav {
    display: flex;
  }
}

/* FOOTER */
footer {
  width: 100%;
  background: #102A43;
  color: #fff;
  margin-top: 40px;
  padding: 36px 0 12px 0;
  font-size: 1rem;
}
footer .container {
  padding: 0 20px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.footer-nav, .footer-contact, .footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
}
.footer-nav a {
  color: #FFD05B;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  padding: 2px 0;
  font-size: 1em;
  transition: color 0.16s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #fff;
  text-decoration: underline;
}
.footer-contact span {
  color: #CFE3FF;
  font-size: 0.98em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-social {
  gap: 16px;
}
.footer-social a img {
  width: 24px;
  height: 24px;
  filter: brightness(1.07) drop-shadow(0 2px 1px #FFD05B44);
  transition: filter 0.16s;
}
.footer-social a:hover img {
  filter: brightness(1.4) drop-shadow(0 2px 7px #FFD05B99);
}
.footer-legal {
  font-size: 0.92em;
  color: #aaa;
  margin-top: 16px;
}

/* BLOG LIST */
.blog-list .blog-featured {
  background: #fff;
  border-left: 5px solid #FFD05B;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(16,42,67,0.08);
  padding: 32px 22px;
  margin-bottom: 24px;
}
.blog-posts {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 18px;
}
.blog-post {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(16,42,67,0.09);
  padding: 24px 20px;
  transition: box-shadow 0.21s;
}
.blog-post:hover {
  box-shadow: 0 5px 22px #FFD05B33;
}
.blog-categories {
  margin-top: 18px;
}
.blog-categories span {
  font-weight: 600;
}
.blog-categories a {
  color: #FFD05B;
  font-weight: 600;
  margin-right: 10px;
  transition: color 0.13s;
}
.blog-categories a:hover {
  color: #102A43;
}

/* CALENDAR MOCKUP */
.calendar-mockup {
  background: #fff;
  border-radius: 12px;
  padding: 22px 18px;
  margin: 14px 0 20px 0;
  box-shadow: 0 2px 8px #102A434a;
  font-size: 1.05em;
  color: #102A43;
}

/* ADDRESS MAP (CONTACT) */
.address-map {
  background: #fff;
  border-radius: 13px;
  padding: 20px 16px;
  box-shadow: 0 2px 8px #FFD05B55;
  margin-top: 16px;
}

/* CARD, CONTENT, FEATURE STYLING */
div.content-wrapper.text-section {
  max-width: 810px;
  margin: 0 auto;
}
div.content-wrapper.text-section ul {
  margin: 12px 0 12px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
div.content-wrapper.text-section li {
  font-size: 1.08em;
  color: #102A43;
  position: relative;
  padding-left: 0;
}
div.content-wrapper.text-section li strong {
  font-weight: 700;
  color: #FFD05B;
  margin-right: 7px;
}

/* TABLET & DESKTOP LAYOUT */
@media (min-width: 769px) {
  .content-wrapper {
    gap: 40px;
  }
  .section {
    padding: 50px 0px;
  }
  .card-container,
  .content-grid {
    gap: 32px;
  }
  .cta-section, .thankyou-section {
    padding: 80px 0 60px 0;
  }
  .footer-contact, .footer-nav {
    gap: 24px 38px;
  }
}


/* FLEX DIRECTION FOR TEXT-IMAGE SECTIONS */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
  }
}
@media (min-width: 769px) {
  .text-image-section {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }
}

/* RESPONSIVE SPACING */
@media (max-width: 600px) {
  .section, .hero-section {
    padding: 22px 6px;
  }
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  .cta {
    font-size: 1rem;
    padding: 11px 19px;
  }
}

/* LUXURY PREMIUM GOLDS AND DETAILS */
.card, .testimonial-card, .blog-post, .calendar-mockup, .address-map {
  border: 1.5px solid #FFE6A0;
}
.card-container > .card, .card {
  box-shadow: 0 6.5px 27px #FFD05B25, 0 1.5px 3px #102A4341;
}
.feature-item strong, .card strong, .testimonial-header, .footer-nav a {
  color: #FFD05B;
}
.cta, .mobile-menu-toggle, .testimonial-card {
  box-shadow: 0 2px 12px #FFD05B14;
}
blockquote, .testimonial-card p {
  color: #102A43;
}

/* ICONS & IMAGE DECORATION */
li img,
span img {
  width: 22px;
  height: 22px;
  margin-right: 6px;
  vertical-align: middle;
}

/* VISUAL HIERARCHY & MICROINTERACTIONS */
.card, .testimonial-card, .blog-post, .blog-featured, .calendar-mockup, .address-map {
  transition: box-shadow 0.17s, transform 0.13s;
}
.card:hover, .blog-post:hover, .address-map:hover, .calendar-mockup:hover {
  box-shadow: 0 7px 32px #FFD05B25, 0 4px 20px #102A4342;
  transform: translateY(-1.5px) scale(1.013);
}

/* TRANSITIONS FOR BUTTONS */
.cta, .mobile-menu-toggle {
  transition: background 0.21s, color 0.21s, box-shadow 0.19s, transform 0.12s;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9000;
  background: #102A43;
  color: #fff;
  padding: 30px 16px 22px 16px;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -2px 20px #102A4347;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  font-size: 1rem;
  min-height: 82px;
  transition: transform 0.34s cubic-bezier(.77,1.74,.33,1), opacity 0.34s;
}
.cookie-banner.hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 7px;
}
.cookie-btn {
  padding: 10px 28px;
  font-size: 1rem;
  border-radius: 999px;
  border: 2px solid #FFD05B;
  background: #FFD05B;
  color: #102A43;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  margin-right: 4px;
  margin-bottom: 2px;
  cursor: pointer;
  transition: background 0.13s, color 0.13s, border 0.13s, transform 0.09s;
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: #102A43;
  color: #FFD05B;
  border: 2px solid #FFD05B;
  transform: scale(1.06);
}
.cookie-btn.secondary {
  background: transparent;
  color: #FFD05B;
}
.cookie-btn.secondary:hover {
  background: #FFD05B22;
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 10001;
  background: rgba(16,42,67, 0.73);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.29s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-dialog {
  background: #fff;
  color: #102A43;
  border-radius: 20px;
  box-shadow: 0 10px 40px #102A43AA;
  max-width: 420px;
  min-width: 260px;
  min-height: 160px;
  padding: 38px 28px 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: popupFadeIn 0.4s cubic-bezier(.7,.04,.32,1.12);
}
@keyframes popupFadeIn {
  from {transform: scale(0.87) translateY(28px); opacity: 0;}
  to {transform: scale(1) translateY(0); opacity: 1;}
}
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #FFD05B;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal-close:hover {
  color: #102A43;
}
.cookie-categories {
  margin: 24px 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1.07rem;
}
.cookie-category input[type='checkbox'] {
  accent-color: #FFD05B;
  width: 21px;
  height: 21px;
  margin-right: 7px;
}
.cookie-category.essential input[type='checkbox'] {
  accent-color: #FFD05B;
}
.cookie-category.essential label:after {
  content: '(zawsze aktywne)';
  margin-left: 5px;
  color: #CFE3FF;
  font-size: 0.9em;
  font-weight: 500;
}

/* OVERLAY BACKDROP FOR MENU/MODAL */
.menu-backdrop,
.cookie-backdrop {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 105;
  background: rgba(16,42,67,0.18);
  pointer-events: auto;
  display: block;
}
.menu-backdrop {
  z-index: 2099;
  display: none;
}
.menu-backdrop.open {
  display: block;
}

/* ENSURE NO OVERLAPPING, SPACING REGULATIONS */
.section, .card, .testimonial-card, .blog-post, .card-container > *, .content-grid > *, .blog-posts > *, .feature-item {
  margin-bottom: 20px;
}
.container, .content-wrapper, .card-container, .content-grid, .feature-item, .text-image-section, .footer-nav, .footer-contact, .blog-posts {
  gap: 20px;
}

/* TYPOGRAPHY SCALE */
:root {
  --font-xs: 14px;
  --font-sm: 16px;
  --font-md: 18px;
  --font-lg: 24px;
  --font-xl: 32px;
  --font-xxl: 48px;
}

h1 {font-size: var(--font-xl);}
h2 {font-size: var(--font-lg);}
h3 {font-size: 20px;}

@media (min-width: 1100px) {
  h1 {font-size: var(--font-xxl);}
  h2 {font-size: var(--font-xl);}
  h3 {font-size: var(--font-lg);}
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar {width: 11px; background: #F9FBFD;}
::-webkit-scrollbar-thumb {
  background: #FFD05B88;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover {
  background: #FFD05BCC;
}

/* ---- FOCUS STATES ---- */
a:focus, button:focus, .cta:focus, .cookie-btn:focus {
  outline: 3px solid #FFD05B66;
  outline-offset: 1.5px;
}

/* ---- PRINT FRIENDLY RESET ---- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal {
    display: none !important;
  }
  .container {max-width: 100vw !important;}
}
