/* VINTAGE RETRO + MODERN BRAND CSS FOR AZURE ARCADE */

/* =========================
   RESET & BASE STYLES
========================= */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #E3EFFA;
  color: #232323;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.75;
  min-height: 100vh;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #155CA8;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #232323;
  text-decoration: underline;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
ul {
  list-style-type: disc;
}
ol {
  list-style-type: decimal;
}
li {
  margin-bottom: 10px;
}
strong {
  font-weight: bold;
}
address {
  font-style: normal;
  color: #443527;
  margin-top: 12px;
}

/* =========================
     BRAND COLORS & VINTAGE
========================= */
:root {
  --brand-primary: #155CA8;
  --brand-secondary: #232323;
  --brand-accent: #E3EFFA;
  --retro-sand: #F1E3D3;
  --retro-olive: #8D8741;
  --retro-rose: #D291BC;
  --retro-yellow: #FFD662;
  --retro-brown: #443527;
  --text-dark: #232323;
  --text-light: #fff;
  --shadow-1: 0 3px 12px rgba(34,25,12,0.08);
  --shadow-card: 0 6px 24px rgba(34,25,12,0.10);
}

body {
  background: var(--brand-accent);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}

.content-wrapper {
  margin: 0 auto 40px auto;
  width: 100%;
}

/* =========================
      TYPOGRAPHY VINTAGE
========================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-secondary);
  margin-bottom: 16px;
  line-height: 1.18;
}
h1 {
  font-size: 2.75rem;
  margin-top: 16px;
  color: var(--retro-brown);
  text-shadow: 1px 1px 0 #FFD662, 2px 2px 0 #155CA8;
}
h2 {
  font-size: 2rem;
  color: var(--brand-primary);
  margin-top: 24px;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.45rem;
}
h4 {
  font-size: 1.17rem;
}
p, li, address {
  font-size: 1.01rem;
  color: var(--retro-brown);
}
.tagline {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 0.98rem;
  color: var(--retro-olive);
  text-align: center;
  margin-top: 10px;
  letter-spacing: 0.04em;
}
.breadcrumb {
  font-size: 0.93rem;
  color: #555;
  margin-bottom: 16px;
}

/* Vintage font accents */
h1, h2, h3 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.cta, .main-nav .cta, .mobile-nav .cta {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: bold;
  text-transform: uppercase;
}

/* =========================
    HEADER & NAVIGATION
========================= */
header {
  padding-top: 10px;
  background: var(--retro-yellow);
  box-shadow: 0 2px 16px rgba(136,102,56,0.075);
  border-bottom: 4px solid var(--brand-primary);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

header img {
  height: 42px;
  width: auto;
  margin-right: 24px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  position: relative;
  color: var(--retro-brown);
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  padding: 4px 8px 4px 8px;
  border-radius: 6px;
  transition: background 0.22s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--brand-primary);
  color: var(--text-light);
}
.main-nav .cta {
  background: var(--retro-brown);
  color: var(--retro-yellow);
  padding: 6px 18px;
  border-radius: 18px;
  font-size: 1.05rem;
  box-shadow: 0 2px 6px rgba(34,25,12,0.10);
  margin-left: 12px;
  transition: background 0.2s, color 0.2s, transform 0.14s;
  border: none;
}
.main-nav .cta:hover, .main-nav .cta:focus {
  background: var(--brand-primary);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}

/* Hamburger mobile menu button */
.mobile-menu-toggle {
  display: none;
  padding: 10px 12px;
  background: var(--brand-primary);
  color: #fff;
  border-radius: 50%;
  border: none;
  font-size: 1.4rem;
  margin-left: 20px;
  transition: background 0.18s, color 0.18s, transform .17s;
  z-index: 1999;
  cursor: pointer;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus{
  background: var(--retro-rose);
  color: var(--brand-secondary);
  outline: none;
}

/* =========================
     MOBILE MENU OVERLAY
========================= */
.mobile-menu {
  position: fixed;
  inset: 0;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: var(--retro-sand);
  box-shadow: 0 0 18px rgba(20,20,20,0.11);
  transform: translateX(100%);
  display: flex;
  flex-direction: column;
  z-index: 3000;
  transition: transform 0.38s cubic-bezier(.4,1.51,.5,1), background 0.22s;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px; right: 22px;
  background: var(--brand-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  z-index: 3050;
  box-shadow: 0 1px 6px rgba(30,30,40,.13);
  transition: background 0.21s, color 0.21s, transform .16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus{
  background: var(--retro-rose);
  color: var(--brand-secondary);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  margin-top: 72px;
  margin-left: 26px;
}
.mobile-nav a {
  color: var(--retro-brown);
  font-size: 1.22rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 6px 0;
  border-bottom: 2px dotted var(--retro-yellow);
  transition: color 0.18s, background 0.16s;
  border-radius: 5px;
}
.mobile-nav a:active, .mobile-nav a:focus {
  color: var(--brand-primary);
  background: var(--retro-yellow);
}
.mobile-nav .cta {
  background: var(--brand-primary);
  color: #fff;
  padding: 8px 22px;
  border-radius: 23px;
  margin-top: 12px;
  font-size: 1.1rem;
}

/* Hide navigation on mobile, show burger */
@media (max-width: 990px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle{
    display: block;
  }
}
@media (min-width: 991px){
  .mobile-menu{
    display: none !important;
  }
}

/* =========================
      PAGE SECTION LAYOUTS
========================= */
section {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-1);
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
  overflow-x: auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: var(--retro-sand);
  border: 3px solid var(--brand-primary);
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  position: relative;
  flex: 1 0 275px;
  min-width: 275px;
  padding: 28px 20px;
  transition: box-shadow 0.2s, transform 0.22s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 30px rgba(90,70,33,.16);
  transform: translateY(-3px) scale(1.012);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--retro-yellow);
  padding: 20px 20px 18px 24px;
  border-radius: 13px;
  box-shadow: 0 3px 13px rgba(210,145,188,0.07);
  margin-bottom: 20px;
}

/* Testimonials & Reviews */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fffde6;
  border-radius: 16px;
  border: 2px solid var(--brand-primary);
  box-shadow: 0 3px 13px rgba(190,150,68,0.10);
  margin-bottom: 20px;
  font-size: 1.08rem;
  color: #232323;
}
.testimonial-card p {
  flex: 1;
  color: #232323;
  text-shadow: 0 1px #ffd;
}
.testimonial-card span {
  min-width: 160px;
  color: var(--retro-olive);
  font-size: 0.98rem;
  font-family: 'Montserrat', Arial, sans-serif;
  text-align: right;
}

/* =========================
         BUTTONS & LINKS
========================= */
.cta {
  display: inline-block;
  background: var(--brand-primary);
  color: #fff !important;
  text-decoration: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 24px;
  margin-top: 24px;
  font-size: 1.1rem;
  transition: background 0.16s, color 0.16s, box-shadow 0.19s, transform 0.14s;
  box-shadow: 0 2px 14px rgba(21,92,168,0.11);
  border: 2px solid var(--retro-brown);
  letter-spacing: 0.04em;
  cursor: pointer;
  outline: none;
}
.cta:hover, .cta:focus {
  background: var(--retro-yellow);
  color: var(--retro-brown) !important;
  box-shadow: 0 5px 18px rgba(86,80,30,.23);
  transform: translateY(-2px) scale(1.035);
  border-color: var(--brand-primary);
}
button, .button {
  font-family: inherit;
  font-size: 1rem;
  background: var(--retro-rose);
  color: var(--retro-brown);
  padding: 10px 20px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  margin-right: 12px;
  font-weight: 700;
  box-shadow: 0 1px 5px rgba(112,70,120,0.14);
  transition: background 0.13s, color 0.13s, box-shadow 0.13s, transform 0.12s;
}
button:hover, button:focus, .button:hover, .button:focus {
  background: var(--brand-primary);
  color: #fff;
  box-shadow: 0 2px 12px rgba(34,25,12,0.13);
  transform: translateY(-1px) scale(1.02);
}

/* =========================
         FOOTER
========================= */
footer {
  background: var(--retro-brown);
  color: #fff;
  padding: 38px 0 25px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 7px;
}
.footer-menu a {
  color: #fffde6;
  text-decoration: underline dotted;
  font-size: 0.98rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.16s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--retro-yellow);
}
.social-links img {
  height: 43px;
  filter: sepia(0.5) hue-rotate(-12deg) brightness(1.2);
  margin: 10px 0 8px 0;
}
footer .tagline {
  color: var(--retro-yellow);
  font-weight: 600;
  margin-bottom: 3px;
}
footer address {
  color: #fff5ee;
  text-align: center;
  font-size: 0.99rem;
  margin-bottom: 0;
}

/* =========================
   COOKIE CONSENT BANNER
========================= */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  z-index: 4000;
  padding: 22px 18px 14px 18px;
  background: var(--retro-olive);
  color: #fffbe6;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -4px 24px rgba(60,50,30,0.13);
  animation: cookiein 0.66s cubic-bezier(.34,1.5,.4,1) both;
}
@keyframes cookiein {
  0% { transform: translateY(80px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  margin-bottom: 18px;
  text-align: center;
  max-width: 480px;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.cookie-banner .accept, .cookie-banner .reject, .cookie-banner .settings {
  background: var(--retro-yellow);
  color: var(--brand-secondary);
  border-radius: 10px;
  border: none;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 9px 18px;
  font-size: 1rem;
  margin: 0;
  box-shadow: 0 1px 4px rgba(190,150,68,0.10);
  transition: background 0.14s, color 0.14s, transform 0.13s;
  cursor: pointer;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--brand-primary);
  color: #fff;
  transform: scale(1.05);
}
.cookie-banner .reject {
  background: var(--retro-rose);
  color: var(--retro-brown);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: var(--brand-secondary);
  color: #fff;
}
.cookie-banner .settings {
  background: #fff;
  color: var(--retro-olive);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--retro-yellow);
  color: var(--brand-secondary);
}

/* Cookie settings modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(20,18,5,0.64);
  z-index: 4050;
  display: none;
  align-items: center;
  justify-content: center;
  animation: modalfade 0.2s both;
}
@keyframes modalfade {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal.active {
  display: flex;
}
.cookie-modal-window {
  background: var(--retro-yellow);
  border-radius: 17px;
  padding: 32px 28px 24px 28px;
  width: 95%;
  max-width: 440px;
  box-shadow: 0 6px 32px rgba(140,90,40,0.18);
  position: relative;
}
.cookie-modal-window h3 {
  margin-bottom: 18px;
  color: var(--brand-primary);
  text-align: center;
  font-size: 1.37rem;
}
.cookie-modal-window .modal-close {
  position: absolute;
  top: 12px; right: 21px;
  background: var(--brand-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.15rem;
  padding: 6px;
  cursor: pointer;
}
.cookie-modal-window .modal-close:hover, .cookie-modal-window .modal-close:focus {
  background: var(--retro-rose);
  color: var(--brand-secondary);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 15px;
  font-size: 1rem;
}
.cookie-category label {
  font-weight: bold;
  font-size: 1rem;
  color: var(--retro-olive);
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--brand-primary);
  width: 18px;
  height: 18px;
}
.cookie-category.essential label::after{
  content: ' - zawsze włączone';
  font-weight: 400;
  font-size: 0.97em;
  color: var(--retro-rose);
}
.cookie-modal-window .modal-actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 22px;
}
.cookie-modal-window button {
  padding: 8px 20px;
  background: var(--brand-primary);
  color: #fff;
  font-size: 1.01rem;
  border-radius: 9px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background 0.14s, color 0.14s;
}
.cookie-modal-window button:hover, .cookie-modal-window button:focus {
  background: var(--retro-olive);
  color: #fffbe6;
}

/* =========================
      RESPONSIVE DESIGN
========================= */
@media (max-width: 1024px) {
  .container {
    max-width: 92vw;
    padding: 0 8px;
  }
  .footer-menu, .card-container, .content-grid {
    gap: 15px;
  }
  section {
    padding: 28px 9px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2.1rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .content-wrapper, .card {
    padding: 12px 5px;
  }
  .main-nav, .footer-menu {
    gap: 11px;
  }
  section, .section {
    padding: 22px 3px;
    margin-bottom: 38px;
  }
  .card-container, .content-grid {
    gap: 12px;
  }
  .testimonial-card, .feature-item {
    flex-direction: column;
    gap: 9px;
    padding: 14px 8px;
    font-size: 1rem !important;
  }
  .footer-menu, .footer-address {
    flex-direction: column;
    align-items: flex-start;
  }
  footer .container {
    gap: 12px;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.3rem;
  }
  h2 {
    font-size: 1.12rem;
  }
  .container {
    max-width: 100vw;
    padding: 0 2vw;
  }
  .footer-menu, .content-grid, .card-container {
    flex-direction: column;
    gap: 9px;
  }
  .testimonial-card span {
    text-align: left;
    min-width: 0;
  }
}

/* Flex: text-image sections become column on mobile */
@media (max-width: 768px){
  .text-image-section {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px;
  }
}

/* =========================
      MISC RETRO VIBES
========================= */
/* Classic dotted and double border decorations */
section {
  border: 3px dotted var(--retro-olive);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(210,145,188,0.08);
  background: #fffefa url('data:image/svg+xml;utf8,<svg width="16" height="16" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="8" width="8" height="8" fill="%23ffe7ab"/><rect y="8" width="8" height="8" fill="%23ede8c7"/></svg>');
  background-size: 36px 36px;
  background-repeat: repeat;
}
.card {
  border-style: double;
  border-width: 3px;
  border-color: var(--brand-primary) var(--retro-rose) var(--brand-primary) var(--retro-yellow);
  background-image: repeating-linear-gradient(135deg, #fffef9 0 8px, #efd4a7 8px 16px);
  background-size: 40px 40px;
  background-blend-mode: lighten;
}
.testimonial-card {
  background: linear-gradient(90deg, #fffde5 80%, #ffd66233 100%);
  border-color: var(--brand-primary) var(--retro-yellow) var(--retro-rose) var(--brand-primary);
}

/* Micro-interactions */
.cta, .button, .main-nav a, .mobile-nav a, .cookie-banner button, .cookie-modal-window button {
  transition: background 0.14s, color 0.14s, transform 0.11s, box-shadow 0.1s;
}

/* Typography with retro shadow */
h1, h2, .cta {
  text-shadow: 1px 1px 0px rgba(255,224,80,0.21), 2px 2px 0px rgba(21,92,168,0.10);
}

/* Icons in features/rankings etc. */
ul li img {
  vertical-align: middle;
  margin-right: 8px;
  height: 1.2em;
  opacity: 0.87;
}

/* ==============
  OVERRIDES FOR COMMON ELEMENTS
=================== */
input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 7px;
  border: 2px solid #deb884;
  background: #fcfaf2;
  color: #222;
  padding: 8px 14px;
  margin-bottom: 16px;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--brand-primary);
  outline: none;
}

/* =========================
       ACCESSIBILITY
========================= */
button:focus, .cta:focus, a:focus {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
  z-index: 5;
}

/* Hide visually (for a11y toggles) */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

/* ===========
   PRINT
============= */
@media print {
  header, nav, .mobile-menu-toggle, .cookie-banner, .cookie-modal, footer {
    display: none !important;
  }
  section, .section {
    background: #fff !important;
    box-shadow: none !important;
    border: none !important;
  }
  article, .card, .testimonial-card {
    box-shadow: none !important;
    border: none !important;
  }
}

/* ENSURE NO GRID USED ANYWHERE */
/* All layouts use only flexbox (display: flex, flex-wrap, flex-direction, gap etc.), GAPS set as specified for all containers */