/* ===================================================
   RESET & BASE TYPOGRAPHY (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, 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 {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1F2634;
  background: #FCFCFD;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #FCFCFD;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
a {
  color: #15416E;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.6,.05,.24,1);
}
a:hover, a:focus {
  color: #F5B948;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font: inherit;
}
:root {
  --primary: #15416E;
  --secondary: #F1F1F1;
  --accent: #F5B948;
  --light: #FFF;
  --dark: #1F2634;
  --muted: #BBC9DC;
  --shadow: 0 3px 24px rgba(33,48,78,0.10);
  --radius: 18px;
  --display: 'Montserrat', Arial, Helvetica, sans-serif;
  --body: 'Open Sans', Arial, sans-serif;
}

/* ===================================================
   CONTAINER & GLOBAL SPACING
   =================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ===================================================
   TYPOGRAPHY & HEADINGS
   =================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--display);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.2rem;
  line-height: 1.15;
  margin-bottom: 10px;
}
h2 {
  font-size: 1.5rem;
  line-height: 1.2;
}
h3 {
  font-size: 1.17rem;
  line-height: 1.2;
}
h4 {
  font-size: 1.0rem;
  line-height: 1.2;
}
p, li, span {
  font-family: var(--body);
  font-size: 1rem;
  color: var(--dark);
}
.subheadline {
  font-size: 1.1rem;
  color: var(--dark);
  font-family: var(--body);
}
blockquote {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--primary);
  border-left: 4px solid var(--accent);
  padding-left: 18px;
}
blockquote span {
  display: block;
  margin-top: 12px;
  color: var(--dark);
  font-style: normal;
  font-size: 0.96rem;
  opacity: .88;
}

/* ===================================================
   HEADER & NAVIGATION
   =================================================== */
header {
  background: var(--light);
  box-shadow: 0 4px 8px rgba(21,65,110,0.07);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  gap: 20px;
}
.logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: var(--display);
  font-weight: 500;
  color: var(--primary);
  padding: 6px 10px;
  border-radius: 8px;
  position: relative;
  transition: color .2s, background .2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--accent);
  background: var(--secondary);
}
.cta-btn {
  background: var(--accent);
  color: var(--primary);
  font-family: var(--display);
  font-weight: bold;
  letter-spacing: 1px;
  border: none;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-size: 1.05rem;
  box-shadow: 0 3px 16px rgba(245,185,72,0.07);
  transition: background 0.15s, color 0.20s, box-shadow 0.2s;
  cursor: pointer;
  margin-left: 15px;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--primary);
  color: var(--light);
  box-shadow: 0 3px 24px rgba(245,185,72,0.12);
}

.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.13s;
  z-index: 201;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--secondary);
}

/* Hide burger on desktop */
@media(min-width: 992px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* MOBILE MENU OVERLAY & NAV */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(30,37,53,0.87);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 28px;
  padding-left: 0;
  padding-right: 0;
  transform: translateX(100vw);
  transition: transform .35s cubic-bezier(.68,.01,.3,1);
  z-index: 500;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--light);
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 12px 24px 0 0;
  border-radius: 50%;
  cursor: pointer;
  padding: 4px 10px;
  transition: background .16s;
  z-index: 510;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(255,255,255,0.13);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px 36px 22px 36px;
}
.mobile-nav a {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.3rem;
  color: #FCFCFD;
  padding: 12px 4px;
  border-radius: 8px;
  transition: background .15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}

/* Hide main nav/cta on mobile */
@media(max-width: 991px){
  .main-nav, .cta-btn {
    display: none;
  }
}
@media(min-width: 992px){
  .mobile-menu {
    display: none !important;
  }
  .main-nav {
    display: flex !important;
  }
  .cta-btn {
    display: inline-block !important;
  }
}

/* ===================================================
   HERO SECTIONS & CREATIVE ARTISTIC VIBES
   =================================================== */
.hero, .career-hero, .contact-hero, .thank-you-section {
  background: linear-gradient(100deg, #fefdff 0%, #F1F1F1 60%, #F5B948 120%);
  position: relative;
  min-height: 330px;
  display: flex;
  align-items: center;
}
.hero .content-wrapper, .career-hero .content-wrapper, .contact-hero .content-wrapper, .thank-you-section .content-wrapper {
  align-items: flex-start;
  gap: 22px;
}
.hero h1, .career-hero h1, .contact-hero h1, .thank-you-section h1 {
  font-size: 2.3rem;
  color: var(--primary);
  text-shadow: 2px 2px 0 #F5B94822;
  background: linear-gradient(90deg,#F5B948,#15416E);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .subheadline,.career-hero .subheadline {
  font-family: var(--body);
  color: var(--dark);
  font-size: 1.18rem;
}

/* ===================================================
   ARTISTIC BUTTONS
   =================================================== */
.cta-btn {
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 18px rgba(21,65,110,0.10);
  border: none;
  background: var(--accent);
  color: var(--primary);
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing:2px;
  outline: none;
}
.cta-btn:after {
  content: '';
  position: absolute;
  left: -60%;
  top:0;
  width: 220%;
  height: 100%;
  background: rgba(255,255,255,0.13);
  z-index: 1;
  transition: left .4s cubic-bezier(.6,.05,.24,1);
  pointer-events:none;
}
.cta-btn:hover:after, .cta-btn:focus:after {
  left: 40%;
}

/* ===================================================
   FLEXBOX UTILITIES (MANDATORY)
   =================================================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  padding: 30px 22px;
  transition: box-shadow .18s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(245,185,72,0.13);
  z-index: 2;
}
.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;
}
@media(max-width: 768px){
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap:20px;
  }
  .content-grid, .card-container{
    flex-direction: column;
    gap:20px;
  }
}

/* Reset table styles */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--light);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 24px 0;
  box-shadow: var(--shadow);
}
.pricing-table th,
.pricing-table td {
  padding: 16px 12px;
  text-align: left;
  font-family: var(--body);
  font-size: 1rem;
}
.pricing-table th {
  background: var(--primary);
  color: var(--light);
  font-family: var(--display);
  font-weight: bold;
  font-size: 1.06rem;
}
.pricing-table tbody tr {
  border-bottom: 1px solid var(--secondary);
}
.pricing-table tr td:last-child {
  font-weight: bold;
  color: var(--accent);
}
/* For artistic highlight */
.pricing-table tr:nth-child(even) td {
  background: #FFF6E1;
}

/* Artistic Lists */
.service-list li,.usp-list li,.team-list li,.job-listings li,.benefits-list li,.opening-hours li,.faq-list li {
  margin-bottom: 18px;
  position: relative;
  padding-left: 32px;
  min-height: 28px;
  display: flex;
  align-items: center;
  font-size: 1.04rem;
}
.service-list li:before,.usp-list li:before,.team-list li:before,.job-listings li:before,.benefits-list li:before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 12px;
  display: block;
  position: absolute;
  left: 0; top: 5px;
}
.opening-hours li:before {
  content: '\23F0';
  font-size: 1.1em;
  margin-right: 10px;
  position: absolute;
  left: 0; top: 0;
  color: var(--primary);
  background: none;
}

.tablet-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ===================================================
   FEATURE-GRID STYLES (INDEX) & CARDS
   =================================================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 26px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 230px;
  min-width: 210px;
  background: linear-gradient(90deg, #fff 60%, #F5B948 150px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px 20px 24px;
  position: relative;
  transition: box-shadow .18s,transform .22s cubic-bezier(.6,.05,.24,1);
}
.feature-item:hover, .feature-item:focus {
  box-shadow: 0 4px 28px rgba(21,65,110,0.13);
  transform: translateY(-3px) scale(1.024) rotateZ(-1deg);
  z-index: 3;
}
.feature-item img {
  width: 50px;
  height: 50px;
  margin-bottom: 4px;
}
.feature-item h3 {
  font-size: 1.15rem;
  margin-bottom: 7px;
  background: linear-gradient(88deg,#15416E, #F5B948);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===================================================
   TESTIMONIAL CARDS
   =================================================== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FDF6EB;
  border-left: 8px solid var(--accent);
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: 0 2px 16px rgba(245,185,72,0.11);
  min-width: 0;
}
.testimonial-card blockquote {
  color: var(--primary);
  font-family: var(--display);
  font-size: 1.09rem;
  line-height: 1.65;
  background: none;
  border: none;
  padding: 0;
}
.testimonial-card blockquote span {
  color: var(--dark);
  font-family: var(--body);
  opacity: 0.87;
}

/* Force dark text for contrast */
.testimonial-card, .testimonial-card * {
  color: #232323 !important;
}

/* ===================================================
   CTA SECTIONS
   =================================================== */
section.cta {
  background: #FFF9E9;
  margin-bottom: 0 !important;
  border-radius: var(--radius);
  min-height: 140px;
}
.cta .content-wrapper {
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 15px;
}
.cta h2 {
  color: var(--primary);
  font-family: var(--display);
  font-size: 1.35rem;
}

/* ===================================================
   FOOTER STYLES
   =================================================== */
footer {
  background: var(--primary);
  color: var(--light);
  padding: 36px 0 20px 0;
  font-family: var(--body);
  font-size: 1rem;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
}
.footer-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 170px;
}
.footer-info img {
  height: 38px;
  width: auto;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: var(--light);
  opacity: 0.92;
  font-family: var(--display);
  font-size: 1rem;
  transition: color .15s, opacity .13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--accent);
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.99rem;
  color: var(--light);
  opacity: .91;
  line-height:1.5;
}
.footer-contact img {
  width: 19px;
  height: 19px;
}
@media (max-width: 900px){
  footer .container{
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* ===================================================
   OTHER MAIN PAGES STYLES (ABOUT, USLUGI, ETC)
   =================================================== */
.text-section {
  margin-bottom: 24px;
}
.team-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}
.usp-list {
  margin-top: 13px;
}

.job-listings,.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}
.price {
  font-family: var(--display);
  color: var(--accent);
  font-weight: 600;
  font-size: 1.01rem;
  margin-top: 6px;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  counter-reset: steplist;
}
.step-list li {
  position: relative;
  padding-left: 42px;
  font-size: 1.05rem;
}
.step-list li:before {
  counter-increment: steplist;
  content: counter(steplist) '.';
  font-family: var(--display);
  font-weight: bold;
  color: var(--accent);
  font-size: 1.4em;
  position: absolute;
  left: 0;
  top: -2px;
}
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 8px;
  margin-bottom: 10px;
}
.process-steps li {
  padding-left: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 12px;
}
.faq-list strong {
  color: var(--primary);
  font-family: var(--display);
}
.faq-list p {
  margin: 7px 0 0 0;
  color: var(--dark);
}

.opening-hours {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Contact details and map */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 18px 0 18px 0;
}
.contact-details div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.09rem;
}
.map {
  margin-top: 14px;
  background: #F1F1F1;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: .97rem;
}

.thank-you-section .next-steps {
  color: var(--primary);
  font-size:1.08rem;
  margin-top: 16px;
}

/* Misc spacing for all section wrappers */
.content-wrapper > *:not(:last-child){
  margin-bottom: 22px;
}
.content-wrapper > h1:first-child,
.content-wrapper > h2:first-child {
  margin-top: 7px;
}

/* Cookie Consent Banner & Cookie Modal */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff8ea;
  box-shadow: 0 -1px 20px rgba(21,65,110,0.07);
  padding: 19px 24px 19px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 5500;
  font-size: 1.01rem;
  font-family: var(--body);
  transition: transform 0.3s cubic-bezier(.6,.05,.24,1), opacity 0.32s;
  opacity: 0.98;
}
.cookie-banner.hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-actions{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 5px;
}
.cookie-btn {
  font-family: var(--display);
  font-weight: bold;
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: 8px;
  padding: 9px 22px;
  font-size: 1rem;
  margin-right: 0;
  transition: background .18s, color .12s, box-shadow .19s;
  box-shadow: 0 2px 8px rgba(245,185,72,0.08);
  cursor: pointer;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--primary);
  color: #FCFCFD;
  box-shadow:0 3px 18px rgba(245,185,72,0.15);
}
.cookie-btn.secondary {
  background: #e2e8f7;
  color: var(--primary);
  font-weight: 500;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: var(--muted);
  color: var(--primary);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 98vw;
  max-width: 420px;
  background: #FFF9E6;
  border-radius: var(--radius);
  box-shadow: 0 4px 32px rgba(21,65,110,0.11);
  padding: 34px 28px 26px 28px;
  transform: translate(-50%, -50%) scale(1.04);
  z-index: 6000;
  display: flex;
  flex-direction: column;
  gap: 15px;
  opacity: 1;
  transition: opacity .22s, transform .22s;
}
.cookie-modal.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -30%) scale(.7);
}
.cookie-modal h3 {
  font-size: 1.18rem;
  color: var(--primary);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 9px 0 12px 0;
}
.cookie-cat {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.cookie-cat label {
  font-family: var(--display);
  color: var(--primary);
  font-weight: 600;
}
.cookie-cat input[type='checkbox'] {
  accent-color: var(--accent);
  width: 22px; height: 22px;
}
.cookie-cat .desc {
  font-family: var(--body);
  font-size: .99rem;
  color: var(--dark);
  margin-left: 11px;
}
.cookie-cat.essential label:after {
  content: ' (niezbędne)';
  color: #848484;
  font-size:.95em;
  font-weight: normal;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 12px;
  margin-top: 9px;
  flex-wrap: wrap;
}

/* Cookie Modal close button */
.cookie-modal-close {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.8rem;
  align-self: flex-end;
  margin-top: -18px;
  margin-bottom: 8px;
  margin-right: -10px;
  cursor: pointer;
  border-radius:50%;
  transition: background .11s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #fad56633;
}
  
/* Hide cookie modal and banner initially */
.cookie-modal,
.cookie-banner {
  display: none;
}
.cookie-modal.active, .cookie-banner.active {
  display: flex;
}

/* --- Responsive Cookie Banner Padding --- */
@media(max-width: 600px){
.cookie-banner {
   padding: 14px 10px 12px 10px;
}
.cookie-modal {
   padding: 20px 7vw 16px 7vw;
}
}

/* ===================================================
   RESPONSIVE HEADLINES & SPACING
   =================================================== */
@media (min-width: 576px){
  h1{font-size:2.6rem}
  h2{font-size:1.6rem}
}
@media (min-width:900px){
  .hero h1,.career-hero h1, .thank-you-section h1, .contact-hero h1{
    font-size:2.7rem;
  }
}
@media (min-width: 768px){
  html { font-size: 17px; }
  .section {
    padding: 60px 48px;
  }
  .container{
    padding: 0 36px;
  }
}
@media (max-width: 768px){
  .footer-contact,.footer-info,.footer-nav {
    min-width: 0;
    width: 100%;
  }
  .feature-grid{
    flex-direction: column;
    gap: 20px;
  }
}
@media(max-width:550px){
  h1{font-size:1.7rem}
  h2{font-size:1.18rem}
  .cta-btn{padding:8px 14px;font-size:1rem;}
  .container{padding:0 6px;}
}

/* ===================================================
   ARTISTIC EXTRAS: SHADOWS AND ANIMATIONS
   =================================================== */
.card,.feature-item,.testimonial-card, .pricing-table {
  transition: box-shadow .18s, transform .15s;
}
.card:hover,.feature-item:hover {
  box-shadow: 0 8px 30px rgba(33,48,78,.16);
  transform: translateY(-4px) scale(1.01);
}

.cta-btn, .cookie-btn {
  transition: background 0.18s, box-shadow 0.18s, color .12s, transform .16s;
}
.cta-btn:active,.cookie-btn:active {transform: scale(0.97);}

/* ==============================
    END: CREATIVE_ARTISTIC STYLE
   ============================= */