/*==============================
  RESET & BASELINE 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,main,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-size: 16px;
  line-height: 1.5;
}
body {
  background: #F9F7F3;
  color: #32221C;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after { box-sizing: inherit; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
ul, ol { padding-left: 1.25em; }

/*==================
  VINTAGE RETRO PALETTE
===================*/
:root {
  --primary: #234A6C;          /* Navy blue (brand primary) */
  --secondary: #A7C232;        /* Olive/yellow-green (brand secondary) */
  --accent: #F6F8F9;           /* Soft light background */
  --retro-red: #B64926;        /* Vintage terracotta */
  --retro-gold: #FFD17E;       /* Pale gold/sunset */
  --retro-tan: #FFEEDD;        /* Creamy tan */
  --retro-dark: #32221C;       /* Rich brown for text */
  --retro-blue: #97B8CB;       /* Powder blue accent */
  --shadow: 0 1.5px 8px rgba(50,34,28,0.06), 0 0.5px 1.5px rgba(50,34,28,0.07);
}

/*==================
  TYPOGRAPHY
==================*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.25rem; margin-bottom: 20px; line-height: 1.15; }
h2 { font-size: 1.5rem; margin-bottom: 16px; line-height: 1.18; }
h3 { font-size: 1.15rem; margin-bottom: 14px; line-height: 1.18; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 10px; }
p, li, blockquote {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--retro-dark);
  margin-bottom: 18px;
}
strong { font-weight: 700; color: var(--primary); }
blockquote {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-style: italic;
  color: var(--retro-red);
  border-left: 4px solid var(--retro-gold);
  background: var(--retro-tan);
  padding: 14px 20px 14px 20px;
  margin-bottom: 10px;
  margin-top: 0;
  border-radius: 10px 0 0 10px;
}

/*==================
  CONTAINER
==================*/
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/*==================
  HEADER & NAVIGATION
==================*/
header {
  background: var(--retro-gold);
  border-bottom: 4px solid var(--secondary);
  box-shadow: 0 2px 8px rgba(50,34,28,0.08);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 24px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
header nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  color: var(--primary);
  padding: 8px 14px;
  border-radius: 8px;
  transition: background .18s, color .18s;
  font-size: 1rem;
  position: relative;
}
header nav a:hover, header nav a:focus {
  color: var(--retro-red);
  background: var(--accent);
}
.logo {
  height: 56px;
}
.cta-btn {
  background: var(--retro-red);
  color: #fff !important;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 1.07rem;
  font-weight: bold;
  letter-spacing: 0.03em;
  padding: 10px 26px;
  border: none;
  border-radius: 28px;
  box-shadow: 0px 2.5px 12px rgba(182,73,38,0.10);
  cursor: pointer;
  margin-left: 18px;
  transition: background .18s, box-shadow .28s, transform .14s;
  outline: none;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--secondary);
  color: var(--primary) !important;
  box-shadow: 0 6px 36px rgba(167,194,50,0.09);
  transform: translateY(-1px) scale(1.03);
}

/* Burger Mobile Menu Toggler */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
  padding: 0 8px;
  margin-left: 16px;
  z-index: 202;
  transition: color .2s;
}
.mobile-menu-toggle:hover {
  color: var(--retro-red);
}

/*============
  MOBILE MENU
============*/
.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: var(--retro-dark);
  color: #fff;
  z-index: 201;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  pointer-events: none;
  transform: translateX(-100%);
  opacity: 0;
  transition: transform .38s cubic-bezier(.77,0,.18,1), opacity .33s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: var(--retro-gold);
  font-size: 2.25rem;
  padding: 16px 20px 8px 18px;
  align-self: flex-end;
  cursor: pointer;
  transition: color .18s;
  margin-bottom: 16px;
  z-index: 300;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  padding: 40px 36px;
}
.mobile-nav a {
  color: var(--accent);
  font-size: 1.35rem;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 12px;
  padding: 12px 16px;
  transition: background .18s, color .22s;
  outline: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--retro-gold);
  color: var(--retro-dark);
}

/*========
  HERO
========*/
.hero {
  background:  linear-gradient(90deg, var(--accent), var(--retro-tan) 80%);
  background-size: cover, cover;
  background-repeat: no-repeat;
  min-height: 320px;
  border-bottom: 6px double var(--retro-gold);
  padding: 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 320px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 16px;
  padding: 30px 0;
}
.hero h1 {
  color: var(--retro-red);
  text-shadow: 2px 2px 0 var(--retro-gold), 0 2px 10px rgba(35,74,108, 0.09);
  font-size: 2.5rem;
  margin-bottom: 6px;
}
.hero p {
  color: var(--retro-dark);
  font-size: 1.11rem;
  max-width: 630px;
  margin-bottom: 18px;
}

/*=============================
  SECTION, CARDS & FLEX PATTERNS
=============================*/
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--retro-tan);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: var(--retro-tan);
  border: 2.5px solid var(--retro-gold);
  border-radius: 14px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 250px;
  max-width: 400px;
  padding: 24px 20px 18px 20px;
  transition: box-shadow .2s, transform .14s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 38px rgba(35,74,108,0.06);
  transform: translateY(-2px) scale(1.03);
}

.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;
  background: var(--retro-tan);
  color: var(--retro-dark);
  border: 2px solid var(--retro-gold);
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 4px 18px rgba(167,194,50,0.07);
  position: relative;
}
.testimonial-card blockquote {
  background: none;
  border: none;
  margin: 0;
  color: var(--retro-dark);
  font-size: 1.07rem;
  line-height: 1.46;
}
.testimonial-card p {
  margin: 0 0 0 18px;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 0.95rem;
  color: var(--primary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Feature grid icons */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: var(--accent);
  border-radius: 12px;
  border: 1px solid var(--retro-blue);
  box-shadow: var(--shadow);
  flex: 1 1 210px;
  min-width: 210px;
  max-width: 270px;
  padding: 18px 16px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  transition: box-shadow .18s, transform .15s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 58px rgba(35,74,108,0.07);
  transform: translateY(-2px) scale(1.02);
}
.feature-grid img {
  width: 46px;
  margin-bottom: 4px;
}
.feature-grid h3 {
  font-size: 1.13rem;
  color: var(--retro-red);
  margin-bottom: 4px;
}

/* Contact details / footer social */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-size: 1.02rem;
  margin-bottom: 0;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  font-size: 1.02rem;
}
.contact-details img {
  width: 24px; height: 24px;
}

/*=======================
  TABLE (CENNIK STYLES)
========================*/
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--accent);
  margin-bottom: 24px;
  border-radius: 10px;
  overflow: hidden;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
}
thead {
  background: var(--retro-blue);
  color: var(--primary);
  font-weight: 700;
}
thead th {
  padding: 12px 6px;
}
tbody tr {
  border-bottom: 1px solid var(--retro-tan);
}
td, th {
  padding: 14px 8px;
  text-align: left;
}
tbody td {
  color: var(--retro-dark);
}

/*====================
  DETAILS (FAQ STYLES)
=====================*/
details {
  background: var(--retro-tan);
  border: 1.5px solid var(--primary);
  border-radius: 11px;
  margin: 20px 0 12px 0;
  padding: 10px 14px;
  font-size: 1rem;
  position: relative;
}
details[open] {
  border-color: var(--retro-red);
}
details summary {
  font-family: 'Montserrat', sans-serif;
  color: var(--retro-red);
  font-weight: bold;
  font-size: 1.08rem;
  cursor: pointer;
  user-select: none;
}
details div {
  margin-top: 11px;
  color: var(--retro-dark);
  font-size: 0.98rem;
}

/*============
  FOOTER
============*/
footer {
  background: var(--retro-gold);
  border-top: 4px solid var(--secondary);
}
footer .container {
  padding: 0 24px;
}
footer .content-wrapper {
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
footer nav a {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.98rem;
  font-family: 'Montserrat', sans-serif;
  border-radius: 8px;
  padding: 6px 13px;
  transition: background .18s, color .18s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--retro-red);
  color: #fff;
}
footer .social-icons {
  display: flex;
  gap: 18px;
  margin-top: 10px;
  align-items: center;
}
footer .social-icons img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--retro-tan);
  background: var(--accent);
  box-shadow: 0 1.5px 8px rgba(50,34,28,0.06);
  transition: border .18s;
}
footer .social-icons img:hover {
  border-color: var(--retro-red);
}
footer p {
  font-size: 0.94rem;
  color: var(--primary);
  margin-top: 12px;
}

/*=======================
  COOKIE CONSENT BANNER
========================*/
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 2200;
  background: var(--retro-dark);
  color: #fff;
  padding: 24px 14px 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -2px 32px rgba(50,34,28,.13);
  animation: bannerIn 0.37s cubic-bezier(.77,0,.18,1);
  font-size: 1.05rem;
}
@keyframes bannerIn {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
}
.cookie-consent-banner button {
  padding: 8px 22px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  margin-right: 0;
  box-shadow: 0 2px 8px rgba(167,194,50, 0.08);
  transition: background .16s, color .16s, transform .13s;
}
.cookie-consent-banner .cookie-accept {
  background: var(--secondary);
  color: var(--retro-dark);
}
.cookie-consent-banner .cookie-accept:hover, .cookie-consent-banner .cookie-accept:focus {
  background: var(--retro-gold);
  color: var(--retro-red);
}
.cookie-consent-banner .cookie-reject {
  background: var(--retro-red);
  color: #fff;
}
.cookie-consent-banner .cookie-reject:hover, .cookie-consent-banner .cookie-reject:focus {
  background: var(--primary);
  color: var(--retro-gold);
}
.cookie-consent-banner .cookie-settings {
  background: var(--retro-gold);
  color: var(--retro-dark);
}
.cookie-consent-banner .cookie-settings:hover, .cookie-consent-banner .cookie-settings:focus {
  background: var(--secondary);
  color: var(--primary);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  max-width: 100vw;
  background: var(--accent);
  color: var(--retro-dark);
  z-index: 2600;
  box-shadow: 0 -10px 50px rgba(50,34,28,.19);
  border-radius: 24px 24px 0 0;
  padding: 26px 18px 22px 18px;
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: transform .44s cubic-bezier(.77,0,.18,1), opacity .24s;
}
.cookie-modal.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.cookie-modal-header h3 {
  color: var(--primary);
}
.cookie-modal-close {
  background: transparent;
  border: none;
  color: var(--retro-red);
  font-size: 2.1rem;
  cursor: pointer;
  transition: color .18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--primary);
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.cookie-category label {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: var(--retro-dark);
}
.cookie-toggle {
  width: 45px;
  height: 24px;
  background: var(--retro-blue);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  margin-left: 12px;
  position: relative;
}
.cookie-toggle input {
  display: none;
}
.toggle-slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--secondary);
  transition: left .18s, background .18s;
}
.cookie-toggle input:checked + .toggle-slider {
  left: 23px;
  background: var(--retro-red);
}
.cookie-category.essential .cookie-toggle,
.cookie-category.essential .toggle-slider {
  filter: grayscale(0.6);
  pointer-events: none;
  opacity: .65;
}
.cookie-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 12px;
}
.cookie-modal-footer button {
  padding: 8px 26px;
}

/*============================
  MICRO-INTERACTIONS & BUTTONS
=============================*/
button, .cta-btn, .mobile-menu-toggle, .mobile-menu-close {
  outline: none;
}
button:focus-visible, .cta-btn:focus-visible, .mobile-menu-toggle:focus-visible {
  box-shadow: 0 0 0 3px var(--retro-blue), 0 2px 8px rgba(50,34,28,.08);
}

/*============================
  CUSTOM RETRO PATTERN BORDER
=============================*/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
}
.section::after {
  content: '';
  position: absolute;
  top: 12px; left: 12px;
  right: 12px; bottom: 12px;
  border: 1.5px dashed var(--retro-gold);
  border-radius: 16px;
  pointer-events: none;
  opacity: 0.15;
  z-index: 1;
}

/*==================
  RESPONSIVE DESIGN
==================*/
@media (max-width: 1020px) {
  .container { max-width: 98vw; }
  .feature-grid { justify-content: center; }
}
@media (max-width: 900px) {
  header .container {
    gap: 10px;
    padding: 0 10px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  header .container {
    height: 64px;
    flex-wrap: wrap;
    gap: 12px;
  }
  header nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
    font-size: 1.01rem;
    padding: 8px 14px;
  }
  .mobile-menu-toggle {
    display: block;
  }
  section, .section {
    margin-bottom: 38px;
    padding: 27px 5px;
    border-radius: 12px;
  }
  .content-wrapper {
    gap: 9px;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column !important;
    gap: 20px;
    align-items: stretch;
  }
  .feature-grid > div, .card {
    min-width: 0;
    max-width: 100vw;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    padding: 13px;
  }
  footer nav {
    flex-direction: column;
    gap: 10px;
  }
}
@media (max-width:500px) {
  .feature-grid > div, .card {
    padding: 13px 5px 12px 10px;
  }
  .hero h1 {
    font-size: 1.18rem;
  }
  h1 {
    font-size: 1.24rem;
  }
  h2 {
    font-size: 1.14rem;
  }
  footer .social-icons img { width: 26px; height: 26px; }
}

/*==================
  ACCESSIBILITY
==================*/
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { transition: none !important; animation: none !important; }
}

/*==============================

END OF STYLE.CSS FOR SPARK HAZE
===============================*/
