/* CSS RESET & NORMALIZATION */
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #F3F0EC;
  color: #22304A;
  min-height: 100vh;
}
ul {
  list-style: disc inside;
}
a {
  color: #22304A;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
strong {
  font-weight: 600;
}

/* CUSTOM FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500&display=swap');

h1,h2,h3,h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #22304A;
  font-weight: 700;
  line-height: 1.2;
}
h1 {font-size: 2.2rem; margin-bottom: 24px;}
h2 {font-size: 1.6rem; margin-bottom: 20px;}
h3 {font-size: 1.2rem; margin-bottom: 14px;}
h4 {font-size: 1rem; margin-bottom: 12px;}

p, li, cite, input, textarea, button {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #22304A;
}
p, ul, ol {margin-bottom: 18px;}

blockquote {
  font-style: italic;
  font-family: 'Roboto', Arial, sans-serif;
  margin: 0 0 8px 0;
  padding-left: 22px;
  border-left: 4px solid #FFD74B;
  color: #22304A;
}
cite {
  font-size: 0.95rem;
  font-style: normal;
  color: #6D7B90;
}

/* SPACING & CONTAINERS */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  padding: 0;
  margin: 0 auto;
}

/* GRADIENT MODERN HERO */
.hero {
  min-height: 340px;
  display: flex;
  align-items: center;
  background: linear-gradient(120deg, #FFD74B 10%, #ffffff 52%, #F3F0EC 86%);
  border-radius: 0 0 24px 24px;
  box-shadow: 0 4px 24px rgba(34,48,74,0.09);
  margin-bottom: 44px;
}
.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.subheadline, .hero p {
  font-size: 1.18rem;
  margin-bottom: 26px;
  color: #22304A;
  font-weight: 500;
  line-height: 1.6;
}

/* HEADER/NAVIGATION */
header {
  width: 100%;
  background: #F3F0EC;
  box-shadow: 0 2px 8px rgba(34,48,74,0.08);
  z-index: 10;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
header nav a {
  font-size: 1rem;
  padding: 7px 0;
  position: relative;
  color: #22304A;
  font-weight: 500;
}
header nav a:hover, header nav a:focus {
  color: #FFD74B;
}
header img[alt='Świetlne Akcenty'] {
  height: 44px;
  margin-right: 18px;
}
/* CTA Primary/Secondary */
.cta.primary {
  background: linear-gradient(90deg, #FFD74B 0%, #FFE37C 100%);
  color: #22304A;
  border-radius: 28px;
  padding: 13px 34px;
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  transition: background 0.35s, box-shadow 0.2s, color 0.2s;
  box-shadow: 0 4px 16px rgba(255,215,75,0.16);
  border: none;
  outline: none;
  cursor: pointer;
  display: inline-block;
  margin-left: 18px;
  margin-right: 12px;
}
.cta.primary:hover,
.cta.primary:focus {
  background: linear-gradient(90deg, #FFE37C 0%, #FFD74B 100%);
  color: #1d2436;
  box-shadow: 0 2px 12px rgba(255,215,75,0.22);
}
.cta.secondary {
  background: #22304A;
  color: #fff;
  border-radius: 24px;
  padding: 10px 28px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  display: inline-block;
  margin-top: 12px;
  transition: background 0.22s, color 0.16s;
  outline: none;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #4466aa;
  color: #FFD74B;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #22304A;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.2s;
  margin-left: 14px;
  z-index: 103;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #FFE37C;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right:0; bottom: 0;
  background: rgba(34,48,74,0.90);
  z-index: 110;
  display: none;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.77,0,.18,1);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: none;
  border: none;
  color: #FFD74B;
  margin: 22px 22px 0 0;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fffbe3;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 44px;
  gap: 24px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.28rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: none;
  border-radius: 20px;
  padding: 13px 28px;
  width: 90%;
  text-align: left;
  transition: background 0.17s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFD74B;
  color: #22304A;
}

@media (max-width: 1080px) {
  header .container {flex-wrap:wrap;}
}
@media (max-width: 900px) {
  header nav {gap:12px;}
}
@media (max-width: 900px) {
  .footer-grid {flex-wrap:wrap;}
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .cta.primary {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
  .footer-grid {
    flex-direction: column;
    gap: 26px;
    text-align: center;
  }
}
@media (min-width: 769px) {
  .mobile-menu {display: none !important;}
  .mobile-menu-toggle {display: none !important;}
}

/* LAYOUT FLEXBOX PATTERNS */
.feature-grid,
.footer-grid,
.feature-icons,
.social-icons,
.card-container,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid > div {
  background: #FFF;
  border-radius: 17px;
  box-shadow: 0 4px 24px rgba(34,48,74,0.10);
  padding: 26px 18px 22px 18px;
  width: calc(50% - 13px);
  min-width: 220px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  transition: box-shadow 0.2s, transform 0.2s;
  margin-bottom: 20px;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 8px 36px rgba(255,215,75,0.18);
  transform: translateY(-3px) scale(1.01);
}
.feature-grid img {height:38px; margin-bottom: 6px;}
.feature-icons {
  gap: 20px;
  justify-content: flex-start;
}
.feature-icons > div {
  background: #FFF;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(34,48,74,0.09);
  padding: 12px 14px 8px 14px;
  min-width: 120px;
  text-align: center;
  flex-direction: column;
}
.feature-icons img {
  height: 30px;
  margin: 0 auto 8px auto;
}
.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;
}
@media (max-width: 768px) {
  .feature-grid, .feature-icons, .card-container, .content-grid, .text-image-section {
    flex-direction: column !important;
    gap: 20px;
  }
  .feature-grid > div {
    width:100%;
    min-width: 0;
  }
}

/* TESTIMONIAL CARDS */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(34,48,74,0.08);
  padding: 20px;
  margin-bottom: 20px;
  min-height: 94px;
  transition: box-shadow 0.2s;
}
.testimonial-card blockquote {
  font-size: 1.05rem;
  color: #22304A;
  border-left-color: #FFD74B;
  margin-bottom: 0;
}
.testimonial-card cite {
  font-size: 1rem;
  text-align: right;
  color: #6D7B90;
  margin-left: auto;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }
}

/* GENERAL CARDS - Can be reused for offers etc.*/
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(34,48,74,0.10);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  min-width: 220px;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px rgba(255,215,75,0.14);
  transform: translateY(-2px) scale(1.01);
}

/* NEWSLETTER & SOCIAL */
.social-icons {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 8px;
}
.social-icons img {
  width: 32px;
  height: 32px;
  filter: grayscale(0.2) brightness(1.1);
  transition: filter 0.2s, transform 0.2s;
  cursor: pointer;
}
.social-icons img:hover {
  filter: brightness(1.35) drop-shadow(0 2px 8px #FFD74B);
  transform: scale(1.15);
}

/* FOOTER */
footer {
  background: linear-gradient(0deg, #F3F0EC 88%, #FFD74B 100%);
  padding: 38px 0 24px 0;
  box-shadow: 0 -2px 32px rgba(34,48,74,0.07);
  width:100%;
  min-height: 180px;
  margin-top:40px;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 18px;
}
.footer-grid > div {
  min-width: 180px;
  max-width: 290px;
  flex: 1 1 220px;
  margin-bottom: 20px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
footer nav a {
  color: #22304A;
  font-size: 1.01rem;
  font-weight: 500;
  transition: color 0.13s;
}
footer nav a:hover, footer nav a:focus {
  color: #FFD74B;
}
footer img[alt='Świetlne Akcenty Logo'] {
  height: 36px;
  margin-bottom: 10px;
}
.footer-grid h4 {
  margin-bottom: 5px;
  font-weight: 700;
  color: #22304A;
}
footer .cta.secondary {
  margin-top:10px;
}

/* CONTACT INFO */
.contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-size: 1rem;
}
.contact-info p {
  margin-bottom: 0;
  font-size: 0.96rem;
  color: #22304A;
  line-height: 1.5;
}
.contact-info img {
  vertical-align: middle;
  margin-right: 7px;
  width: 18px;
  height: 18px;
}
@media (max-width: 768px) {
  .footer-grid > div {
    min-width: 90%;
    max-width: 100%;
    flex: 1 1 100%;
  }
}

/* SPACING PATTERNS FOR FLEXBOX */
.card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}

/* MAP SECTION */
.map {
  background: #fffbe7;
  border-radius: 10px;
  padding: 22px;
  margin-top: 18px;
  color: #22304A;
  box-shadow: 0 2px 8px rgba(255,215,75,0.10);
  font-size: 0.97rem;
}

/* COOKIES CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fffbe7;
  color: #22304A;
  padding: 20px 12px 20px 20px;
  box-shadow: 0 -4px 20px rgba(34,48,74,0.13);
  z-index: 120;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 1rem;
  min-height: 40px;
  animation: cookie-slide-in 0.37s cubic-bezier(.77,0,.18,1) forwards;
}
@keyframes cookie-slide-in {
  0% { transform: translateY(130%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  margin-left: auto;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 22px;
  padding: 8px 22px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.18s, color 0.13s, box-shadow 0.19s;
  margin-left: 0;
}
.cookie-accept {
  background: linear-gradient(90deg,#FFD74B 0%,#FFE37C 100%);
  color: #22304A;
}
.cookie-accept:hover,.cookie-accept:focus {
  background: linear-gradient(90deg,#FFE37C 0%,#FFD74B 100%);
}
.cookie-reject {
  background: #22304A;
  color: #fff;
}
.cookie-reject:hover,.cookie-reject:focus {
  background: #2c456c;
  color: #FFD74B;
}
.cookie-settings {
  background: none;
  border: 1.5px solid #FFD74B;
  color: #22304A;
}
.cookie-settings:hover,.cookie-settings:focus {
  background: #FFD74B;
  color: #22304A;
}

/* COOKIES MODAL (POPUP) */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(34,48,74,0.64);
  z-index: 140;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.23s;
  animation: none;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fffbe7;
  color: #22304A;
  border-radius: 18px;
  box-shadow: 0 8px 40px rgba(34,48,74,0.28);
  max-width: 410px;
  width: 92vw;
  padding: 34px 24px 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  animation: cookie-modal-in 0.43s cubic-bezier(.77,0,.18,1) forwards;
}
@keyframes cookie-modal-in {
  0% { transform: scale(0.82); opacity: 0; }
  90% { transform: scale(1.04); }
  100% { transform: scale(1.0); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #FFD74B;
  cursor: pointer;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-category label {
  font-size: 1rem;
  font-weight: 500;
}
.cookie-category input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #FFD74B;
}
.cookie-category .locked {
  color: #6D7B90;
  font-size: 0.96rem;
  margin-left: 6px;
}
.cookie-modal-buttons {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* RESPONSIVE COOKIE BANNER */
@media (max-width: 600px) {
  .cookie-banner, .cookie-modal {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 9px 18px 8px;
    font-size: 0.96rem;
  }
  .cookie-buttons {margin-left:0;}
  .cookie-modal {
    padding: 18px 9px 18px 9px;
    max-width: 99vw;
  }
}

/* GENERAL FORM & INPUTS */
input,textarea {
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 1rem;
  padding: 11px 14px;
  margin-bottom: 10px;
  outline: none;
  background:#fff;
  color: #22304A;
  transition: border 0.15s;
}
input:focus,textarea:focus {
  border-color: #FFD74B;
}

/* VISUAL HIERARCHY & TYPOGRAPHY SCALE */
h1 {font-size: 2.3rem;}
h2 {font-size: 1.45rem;}
h3 {font-size: 1.1rem;}
p,li,blockquote,ul,ol {font-size: 1rem;}
@media (min-width:550px) {
  h1 {font-size: 2.7rem;}
  h2 {font-size: 1.75rem;}
  h3 {font-size: 1.2rem;}
}

/* UTILITY CLASSES */
.mt-0 {margin-top: 0;}
.mb-0 {margin-bottom: 0;}
.mt-16 {margin-top:16px;}
.mb-16 {margin-bottom:16px;}
.mt-32 {margin-top:32px;}
.mb-32 {margin-bottom:32px;}

/* SCROLLBAR MODERNIZATION */
::-webkit-scrollbar {
  width: 9px;
  background: #F3F0EC;
}
::-webkit-scrollbar-thumb {
  background: #FFD74B;
  border-radius: 20px;
}

/* ANIMATION FOR BUTTONS */
button, .cta.primary, .cta.secondary, .cookie-banner button {
  transition: background 0.19s, color 0.16s, box-shadow 0.19s, transform 0.13s;
}
button:active,.cta.primary:active,.cta.secondary:active{transform:scale(0.98);}

/* ACCESSIBILITY & TOUCH */
button:focus, a:focus {
  outline:2px solid #FFD74B;
  outline-offset:2px;
}

/* Z-INDEX MANAGEMENT */
header {z-index:10; position:relative;}
.mobile-menu {z-index:110;}
.cookie-banner {z-index:120;}
.cookie-modal-overlay, .cookie-modal {z-index:140;}

/* MISCELLANEOUS */
@media (max-width: 540px) {
  .container {padding-left:10px; padding-right:10px;}
  .section {padding:24px 6px;}
  .footer-grid {gap:11px;}
  .feature-grid > div {padding:14px 8px 10px 8px;}
}

/* REMOVE grid/column */
/* No grid, no columns, checked! */