/* PulicinFio Opieka Seniora – gradient_modern design style CSS */
/* RESET & BASE STYLES */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  color: #23526D;
  background: linear-gradient(135deg, #F7F6ED 60%, #DDEBF7 100%);
  line-height: 1.7;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #B97A36;
  text-decoration: none;
  transition: color 0.3s;
}
a:hover, a:focus {
  color: #23526D;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.2em;
}
main {
  flex: 1 0 auto;
}
/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  color: #23526D;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 {
  font-size: 2.438rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}
p, li {
  font-size: 1rem;
  margin-bottom: 12px;
  color: #23526D;
}
blockquote {
  font-style: italic;
  font-size: 1.06em;
  padding-left: 20px;
  border-left: 4px solid #B97A36;
  margin-bottom: 12px;
  color: #23526D;
}
cite {
  font-size: 1rem;
  color: #B97A36;
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-weight: 600;
}
/* CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 rgba(35,82,109,0.07), 0 1.5px 8px 0 rgba(179,154,54,0.05);
}
/* HEADER */
header {
  background: linear-gradient(90deg, #23526D 60%, #D39C60 100%);
  padding: 0;
  box-shadow: 0 1px 6px 0 rgba(35,82,109,0.07);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 20px;
}
header nav {
  display: flex;
  gap: 24px;
}
header nav a {
  color: #F7F6ED;
  font-weight: 600;
  font-size: 1rem;
  padding: 5px 0;
  position: relative;
  letter-spacing: 0.01em;
  transition: color 0.3s;
}
header nav a:hover, header nav a:focus {
  color: #D39C60;
}
header .button-primary {
  margin-left: 22px;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2.375rem;
  color: #F7F6ED;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 10px;
  line-height: 1;
  transition: background 0.2s;
  z-index: 106;
}
.mobile-menu-toggle:focus {
  outline: 2px dashed #B97A36;
  outline-offset: 2px;
  background: rgba(211,156,96,0.06);
}
/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  background: linear-gradient(115deg, #F7F6ED 85%, #B97A36 100%);
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.5,1,.5,1); /* slide in */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 28px 20px 28px;
  gap: 16px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.5rem;
  color: #B97A36;
  align-self: flex-end;
  margin-bottom: 24px;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:focus {
  outline: 2px dashed #B97A36;
  background: #F7F6ED;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: #23526D;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid #DFE4EA;
  transition: color 0.3s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #B97A36;
}
/* HERO */
.hero {
  background: linear-gradient(117deg, #F7F6ED 72%, #B97A36 100%);
  min-height: 420px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
}
.hero h1 {
  color: #23526D;
  font-size: 2.5rem;
  margin-bottom: 14px;
}
.hero p {
  color: #23526D;
  font-size: 1.25rem;
  margin-bottom: 24px;
}
/* BUTTONS */
.button-primary {
  background: linear-gradient(95deg, #23526D 70%, #B97A36 100%);
  color: #fff;
  border: none;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  padding: 13px 32px;
  border-radius: 26px;
  cursor: pointer;
  box-shadow: 0 4px 18px 0 rgba(35,82,109,0.13);
  transition: background 0.3s, box-shadow 0.3s, color 0.18s;
  margin-top: 8px;
  text-align: center;
  display: inline-block;
}
.button-primary:hover, .button-primary:focus {
  background: linear-gradient(90deg, #B97A36 70%, #23526D 100%);
  color: #F7F6ED;
  box-shadow: 0 8px 32px 0 rgba(35,82,109,0.20);
}
.button-secondary {
  background: #F7F6ED;
  color: #23526D;
  border: 2px solid #B97A36;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 600;
  padding: 10px 30px;
  border-radius: 26px;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(35,82,109,0.07);
  transition: background 0.22s, color 0.22s, border-color 0.22s;
  margin-top: 8px;
  text-align: center;
  display: inline-block;
}
.button-secondary:hover, .button-secondary:focus {
  background: #23526D;
  color: #fff;
  border-color: #23526D;
}
/* FEATURE GRID (INDEX) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.feature {
  background: #fff;
  box-shadow: 0 1.5px 8px 0 rgba(35,82,109,0.09);
  border-radius: 18px;
  padding: 22px 18px;
  flex: 1 1 225px;
  min-width: 230px;
  max-width: 290px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.22s, transform 0.22s;
}
.feature img {
  width: 38px;
  height: 38px;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 8px 32px 0 rgba(35,82,109,0.13);
  transform: translateY(-4px) scale(1.03);
}
.feature h3 {
  font-size: 1.21rem;
  margin-bottom: 0;
  color: #23526D;
}
.feature p {
  font-size: 0.98rem;
  color: #46647B;
}
/* TESTIMONIALS */
.testimonials {
  background: linear-gradient(93deg, #F7F6ED 84%, #B97A36 100%);
  padding: 40px 0;
  margin-bottom: 60px;
}
.testimonials .content-wrapper {
  align-items: center;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}
.testimonial-card {
  background: #fff;
  color: #222;
  box-shadow: 0 4px 20px 0 rgba(35,82,109,0.09);
  border-radius: 20px;
  padding: 28px 24px;
  min-width: 260px;
  max-width: 370px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow 0.21s, transform 0.18s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 12px 36px 0 rgba(35,82,109,0.20);
  transform: translateY(-3px) scale(1.02);
}
.testimonial-card blockquote {
  color: #1A2329;
  font-size: 1.13rem;
}
.testimonial-card cite {
  color: #B97A36;
}
/* CARDS AND CARD CONTAINERS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(35,82,109,0.07);
  padding: 26px 20px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.22s, transform 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 28px 0 rgba(35,82,109,0.15);
  transform: scale(1.02);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.benefit-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
}
.benefit {
  background: #fff;
  box-shadow: 0 1.5px 8px 0 rgba(35,82,109,0.09);
  border-radius: 16px;
  padding: 22px 20px;
  min-width: 215px;
  max-width: 300px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.19s, transform 0.15s;
}
.benefit:hover, .benefit:focus-within {
  box-shadow: 0 8px 22px 0 rgba(35,82,109,0.13);
  transform: scale(1.02);
}
/* FAQ */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1.5px 8px 0 rgba(35,82,109,0.06);
  padding: 18px 13px;
  margin-bottom: 6px;
  transition: box-shadow 0.21s;
}
.faq-item:hover, .faq-item:focus-within {
  box-shadow: 0 8px 28px 0 rgba(35,82,109,0.15);
}
.faq-item h3 {
  font-size: 1.1rem;
}
.faq-item p {
  margin-bottom: 0;
}
/* ARTICLES PREVIEW / PORADY */
.articles-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.articles-preview article {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1.5px 8px 0 rgba(35,82,109,0.09);
  padding: 22px 20px;
  min-width: 215px;
  max-width: 300px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  transition: box-shadow 0.19s, transform 0.18s;
}
.articles-preview article:hover, .articles-preview article:focus-within {
  box-shadow: 0 8px 22px 0 rgba(35,82,109,0.15);
  transform: scale(1.02);
}
.articles-preview article a {
  color: #23526D;
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.2s;
  margin-top: 6px;
}
.articles-preview article a:hover {
  color: #B97A36;
}
.topic-filters {
  display: flex;
  gap: 18px;
}
.topic-filters a {
  background: #23526D;
  color: #fff;
  padding: 7px 20px;
  border-radius: 18px;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.23s, color 0.17s;
}
.topic-filters a:hover, .topic-filters a:focus {
  background: #B97A36;
  color: #F7F6ED;
}
/* CONTACT, MAP & THANK YOU */
.contact-info-snippet ul, .contact-details ul, .footer-contact ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-info-snippet li, .contact-details li, .footer-contact li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #23526D;
  font-size: 1rem;
}

footer .contact-info-snippet li, footer .contact-details li, footer .footer-contact li{
	 color: #fff;
}


.contact-info-snippet img, .contact-details img, .footer-contact img {
  width: 21px;
  height: 21px;
}
.map-location {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 17px 0;
  color: #23526D;
  font-weight: 600;
}
.thank-you-message {
  background: #F7F6ED;
  border-left: 4px solid #B97A36;
  border-radius: 11px;
  padding: 18px;
  color: #23526D;
  font-size: 1.08rem;
  margin-bottom: 16px;
}
.next-steps {
  margin-bottom: 24px;
}
.next-steps ul {
  list-style: disc inside;
  color: #23526D;
  padding-left: 16px;
}
/* FOOTER */
footer {
  background: linear-gradient(90deg, #23526D 90%, #B97A36 100%);
  color: #F7F6ED;
  padding: 38px 0 18px 0;
  margin-top: 64px;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 38px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-menu {
  display: flex;
  gap: 26px;
}
.footer-menu a {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  transition: color .19s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #B97A36;
}
.brand-credits {
  color: #F7F6ED;
  font-size: 0.97rem;
  margin-top: 8px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.footer-contact img {
  width: 38px;
  margin-bottom: 8px;
}
.footer-contact ul {
  gap: 8px;
}
footer ul li {
  font-size: 0.97rem;
  color: #F7F6ED;
}
footer ul li img {
  filter: brightness(2.8);
}
/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1500;
  background: linear-gradient(90deg, #fff 85%, #E9DBCB 100%);
  color: #23526D;
  box-shadow: 0 -2px 14px 0 rgba(35,82,109,0.10);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  padding: 22px 24px;
  justify-content: center;
  font-size: 1.01rem;
  min-height: 74px;
  opacity: 1;
  transition: opacity 0.23s, transform 0.23s;
  animation: cookieBannerSlideUp 0.4s cubic-bezier(.68,.1,.32,1) both;
}
@keyframes cookieBannerSlideUp {
  0% {transform: translateY(120px); opacity: 0;}
  100% {transform: translateY(0); opacity: 1;}
}
.cookie-banner button {
  margin-left: 10px;
  min-width: 120px;
}
.cookie-btn-accept {
  background: #23526D;
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 8px 28px;
  font-size: 1rem;
  font-weight: 600;
  margin-right: 6px;
  transition: background 0.21s, color 0.19s;
  cursor: pointer;
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: #B97A36;
  color: #fff;
}
.cookie-btn-reject {
  background: #F7F6ED;
  color: #B97A36;
  border: 2px solid #B97A36;
  border-radius: 22px;
  padding: 8px 20px;
  font-size: 1rem;
  font-weight: 600;
  margin-right: 6px;
  transition: background 0.21s, color 0.18s, border 0.21s;
  cursor: pointer;
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: #B97A36;
  color: #fff;
  border-color: #B97A36;
}
.cookie-btn-settings {
  background: none;
  color: #23526D;
  border: none;
  border-radius: 20px;
  padding: 8px 12px;
  font-size: 1rem;
  font-weight: 500;
  margin-right: 4px;
  transition: background 0.15s, color 0.18s;
  cursor: pointer;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: #F7F6ED;
  color: #B97A36;
}
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 1600;
  background: rgba(35,82,109,0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.2s;
  animation: cookieModalFadeIn 0.30s ease-out both;
}
@keyframes cookieModalFadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}
.cookie-modal-inner {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 2px 24px 0 rgba(35,82,109,0.16);
  padding: 38px 26px;
  min-width: 300px;
  max-width: 95vw;
  max-height: 94vh;
  color: #23526D;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: #B97A36;
  width: 20px;
  height: 20px;
}
.cookie-category .locked {
  color: #B97A36;
  font-size: 1.1em;
  margin-left: 6px;
}
.cookie-modal-buttons {
  display: flex;
  gap: 14px;
  margin-top: 20px;
  justify-content: flex-end;
}
/* UTILITY CLASS FOR HIDE */
.hide {
  display: none !important;
}

/* RESPONSIVE – MOBILE FIRST */
@media (max-width: 1024px) {
  .container {
    max-width: 94vw;
  }
  header .container {
    height: 68px;
    gap: 10px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .feature-grid, .benefit-cards, .articles-preview, .card-container {
    gap: 18px;
  }
}
@media (max-width: 850px) {
  .feature-grid, .benefit-cards, .articles-preview {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .feature, .benefit, .articles-preview article {
    max-width: none;
    min-width: 0;
    width: 100%;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.35rem;
  }
  header .container {
    flex-direction: row;
    gap: 8px;
    height: auto;
    min-height: 64px;
    padding: 10px 8px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .button-primary {
    padding: 10px 18px;
    font-size: 1rem;
    margin: 0 0 0 7px;
  }
  .card, .feature, .benefit, .testimonial-card, .articles-preview article {
    padding: 16px 10px;
  }
  .section {
    margin-bottom: 30px;
    padding: 24px 8px;
    border-radius: 18px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .feature {
    padding: 14px 10px;
  }
  .testimonial-slider {
    gap: 12px;
  }
  .hero {
    min-height: 280px;
    padding: 16px 0;
  }
  .benefit {
    padding: 12px 8px;
    border-radius: 12px;
  }
  .testimonials {
    padding: 18px 0;
    margin-bottom: 30px;
    border-radius: 0 0 22px 22px;
  }
  .footer-contact img {
    width: 32px;
  }
}
@media (max-width: 650px) {
  .hero h1 {
    font-size: 1.37rem;
  }
  .hero p {
    font-size: 1.035rem;
  }
}
@media (max-width: 520px) {
  .container {
    padding: 0 7px;
  }
  .mobile-menu {
    padding: 20px 10px 10px 16px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px 8px;
    font-size: 0.99rem;
  }
  .cookie-banner button {
    min-width: 90px;
    font-size: 0.95rem;
    padding: 6px 14px;
  }
}
@media (max-width: 450px) {
  .section {
    padding: 12px 3px;
    margin-bottom: 14px;
  }
  .hero {
    padding: 9px 0;
  }
  .footer-contact img {
    width: 26px;
  }
}
/* FLEXBOX LAYOUT CLASSES FOR CONTENT COMPONENTS */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* MICRO-INTERACTIONS & TRANSITIONS */
.button-primary,
.button-secondary,
.feature, .benefit, .testimonial-card, .faq-item, .articles-preview article {
  transition: box-shadow 0.19s, background 0.21s, transform 0.18s, color 0.1s;
}
a, button, .topic-filters a {
  transition: color 0.18s, background 0.2s, border 0.17s;
}

/* SCROLLBAR (MODERN LOOK) */
::-webkit-scrollbar {
  width: 9px;
  background: #F7F6ED;
}
::-webkit-scrollbar-thumb {
  background: #ddebf7;
  border-radius: 11px;
}
::-webkit-scrollbar-thumb:hover {
  background: #B97A36;
}

/* ACCESSIBILITY FOCUS STYLES */
a:focus, button:focus, .button-primary:focus, .button-secondary:focus {
  outline: 2px solid #B97A36;
  outline-offset: 1.5px;
}

/* PRINT STYLES */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display:none !important; }
  .section { box-shadow:none; background:#fff; }
}
