/* RESET & BASELINE STYLES */
html, body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, li, figure, figcaption, blockquote, dl, dd {
  margin: 0;
  padding: 0;
}
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.24s;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
button, input, select, textarea {
  font: inherit;
  color: inherit;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F8F5E6;
  color: #242112;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* VINTAGE RETRO COLOR PALETTE */
:root {
  --va-primary: #135C2C;
  --va-secondary: #F5F7EE;
  --va-accent: #C25424;
  --va-cream: #FAF5E6;
  --va-olive: #747436;
  --va-retro-mustard: #F9DF5E;
  --va-retro-red: #C4523B;
  --va-retro-blue: #3777A5;
  --va-retro-dark: #292018;
  --va-bg-darker: #EAE6D3;
}

/* TYPOGRAPHY VINTAGE RETRO */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', 'Arial', sans-serif;
  color: var(--va-primary);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.12;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-shadow: 1px 2px 0 var(--va-retro-mustard), 0 2px 5px #c8c5ae40;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  text-shadow: 1px 2px 0 #faf19388;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.15rem;
  color: #685b3b;
  margin-bottom: 18px;
  line-height: 1.44;
  letter-spacing: 0.01em;
}
p, li, span, b, strong {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #292018;
  line-height: 1.7;
}
strong, b {
  font-weight: 700;
}

/* LINKS & BUTTONS VINTAGE RETRO STYLE */
.btn-primary {
  background: var(--va-retro-mustard);
  color: var(--va-retro-dark);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid var(--va-primary);
  border-radius: 40px;
  padding: 11px 34px;
  margin-top: 18px;
  box-shadow: 0 2px 8px #b7954940;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, box-shadow 0.22s, border-color 0.18s;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--va-primary);
  color: var(--va-retro-mustard);
  border-color: var(--va-accent);
  box-shadow: 0 4px 16px #5f5e2f40;
}

/* LAYOUT CONTAINER */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}

/* HEADER & NAVIGATION RETRO STYLE */
header {
  background: var(--va-retro-mustard);
  box-shadow: 0 6px 32px #8e7d2440;
  border-bottom: 4px solid var(--va-primary);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 12px 18px 10px 18px;
}
header img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--va-primary);
  padding: 7px 12px;
  border-radius: 18px;
  transition: background 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--va-retro-blue);
  color: var(--va-retro-mustard);
}

/* Mobile Menu Button */
.mobile-menu-toggle {
  display: none;
  position: relative;
  background: var(--va-retro-red);
  color: #fffbe9;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 201;
  transition: background 0.22s, color 0.18s, box-shadow 0.17s;
  box-shadow: 0 2px 8px #c2542435;
}
.mobile-menu-toggle:active {
  background: var(--va-retro-blue);
}

/* Mobile Menu Overlay Styles */
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: var(--va-cream);
  z-index: 3000;
  padding: 0;
  overflow-y: auto;
  box-shadow: 0 12px 28px #a9852533;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.77,0,.175,1);
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 20px 20px 10px auto;
  background: var(--va-retro-red);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 2.2rem;
  width: 52px;
  height: 52px;
  cursor: pointer;
  transition: background 0.19s;
  align-self: flex-end;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--va-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  padding: 24px 32px 42px 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--va-retro-dark);
  background: none;
  padding: 9px 0;
  width: 100%;
  border-radius: 6px;
  transition: background 0.14s, color 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--va-retro-blue);
  color: var(--va-retro-mustard);
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 14px;
  }
}

@media (max-width: 900px) {
  .main-nav {
    gap: 8px;
  }
}

@media (max-width: 850px) {
  .main-nav, .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* HERO SECTION */
.hero-section {
  background: var(--va-bg-darker);
  border-radius: 20px;
  box-shadow: 0 4px 32px #a9933a21;
  margin-bottom: 60px;
  padding: 48px 26px 40px 26px;
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
@media (max-width: 600px) {
  .hero-section {
    padding: 28px 10px 22px 10px;
  }
}

/* MAIN SECTION STRUCTURE */
main {
  background: transparent;
  padding-bottom: 64px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
section:last-child {
  margin-bottom: 0;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}
.text-section {
  background: var(--va-secondary);
  border-radius: 18px;
  box-shadow: 0 2px 16px #daaa6950;
  padding: 38px 25px;
}

/* FLEXBOX GRIDS & CARDS VINTAGE STYLE */
.feature-grid, .news-grid, .blog-list, .contact-block {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid > div,
.news-grid > div,
.blog-list > div {
  background: var(--va-retro-blue);
  color: var(--va-cream);
  border-radius: 18px;
  box-shadow: 0 2px 16px #3777a530;
  padding: 32px 26px;
  flex: 1 1 290px;
  min-width: 260px;
  max-width: 32%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.25s, transform 0.24s, background 0.2s;
}
.feature-grid > div:hover,
.news-grid > div:hover,
.blog-list > div:hover {
  background: var(--va-primary);
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 10px 34px #135c2c36;
}
.feature-grid img, .news-grid img, .blog-list img {
  height: 52px;
  width: 52px;
  margin-bottom: 13px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--va-secondary);
  border: 2.5px solid var(--va-primary);
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 1px 6px #86834d30;
  position: relative;
  overflow: hidden;
  flex: 1 1 270px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.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: 900px) {
  .feature-grid > div, .news-grid > div, .blog-list > div {
    max-width: 48%;
  }
}
@media (max-width: 600px) {
  .feature-grid, .news-grid, .blog-list {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div, .news-grid > div, .blog-list > div  {
    min-width: 0;
    max-width: 100%;
    padding: 16px 13px;
  }
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-accordion > div {
  background: var(--va-bg-darker);
  border-radius: 14px;
  box-shadow: 0 2px 9px #bab19b38;
  padding: 18px 23px;
}
.faq-accordion h3 {
  margin-bottom: 8px;
}
.faq-accordion p {
  color: #3a392c;
}

/* TESTIMONIAL CARDS */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  margin-top: 0;
  background: var(--va-retro-mustard);
  border-radius: 16px;
  border: 2px solid var(--va-primary);
  box-shadow: 0 4px 12px #f8d65125;
  color: var(--va-retro-dark);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
}
.testimonial-card > img {
  flex-shrink: 0;
  height: 46px;
  width: 46px;
  border-radius: 999px;
}
.testimonial-card p {
  color: #4c431f;
  font-size: 1.02rem;
}
.testimonial-card strong {
  color: var(--va-retro-red);
  font-weight: 700;
  font-size: 1rem;
}

/* NEWS & BLOG DATE BADGES */
.date-badge {
  background: var(--va-retro-mustard);
  color: var(--va-retro-dark);
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97em;
  font-weight: 700;
  border-radius: 14px;
  padding: 7px 16px;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px #ffea8635;
}

/* PROGRESS BAR - RETRO STYLE */
.progress-bar {
  background: var(--va-olive);
  border-radius: 12px;
  padding: 13px 24px;
  color: var(--va-retro-mustard);
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.02em;
  margin-top: 20px;
  margin-bottom: 10px;
  position: relative;
  box-shadow: 0 1px 7px #a1904430;
}

/* CONTACT BLOCK RETRO FLEXBOX */
.contact-block {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin-top: 8px;
  margin-bottom: 8px;
}
.contact-block > div {
  background: var(--va-secondary);
  border-radius: 12px;
  padding: 22px 26px;
  min-width: 200px;
  flex: 1 1 200px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 1.5px 10px #46874220;
  border: 1.8px solid var(--va-retro-blue);
  position: relative;
}
.contact-block img {
  width: 32px;
  height: 32px;
  margin-right: 6px;
}

.map-placeholder {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--va-retro-blue);
  border-radius: 14px;
  color: #fff;
  font-weight: 500;
  padding: 18px 24px;
  box-shadow: 0 2px 9px #3777a533;
  margin-top: 16px;
}
.map-placeholder img {
  width: 38px;
  height: 38px;
}

/* FEATURE ITEM FLEX PATTERN */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FOOTER RETRO */
footer {
  background: var(--va-retro-blue);
  color: #fffbe9;
  padding: 40px 0 24px 0;
  border-top: 4px solid var(--va-primary);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: center;
}
.footer-links {
  display: flex;
  gap: 36px;
  margin-bottom: 8px;
}
.footer-links a {
  color: var(--va-retro-mustard);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  border-radius: 12px;
  padding: 7px 10px;
  transition: background 0.14s, color 0.19s;
}
.footer-links a:hover,
.footer-links a:focus {
  background: var(--va-retro-dark);
  color: var(--va-retro-blue);
}
.footer-social {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-bottom: 9px;
}
.footer-social img {
  height: 30px;
  width: 30px;
  filter: grayscale(.12) drop-shadow(0 2px 5px #1b263233);
  transition: filter 0.2s, transform 0.2s;
}
.footer-social img:hover {
  filter: none;
  transform: scale(1.09) rotate(-3deg);
}
.footer-copy {
  font-size: 1.02rem;
  opacity: 0.75;
  letter-spacing: 0.01em;
  text-align: center;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--va-cream);
  color: var(--va-retro-dark);
  border-top: 3px solid var(--va-retro-mustard);
  box-shadow: 0 -2px 18px #c3cfb939;
  z-index: 4000;
  padding: 22px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  font-size: 1rem;
  animation: banner-slideup 0.48s cubic-bezier(.6,-0.28,.74,.05) 1;
}
@keyframes banner-slideup {
  from {transform: translateY(100%);opacity:0;}
  to {transform: translateY(0);opacity:1;}
}
.cookie-banner-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 7px;
}
.cookie-banner .btn-accept,
.cookie-banner .btn-reject {
  background: var(--va-retro-mustard);
  color: var(--va-retro-dark);
  border: 2px solid var(--va-primary);
  border-radius: 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 9px 22px;
  cursor: pointer;
  font-size: 1rem;
  margin: 0;
  transition: background 0.18s, color 0.17s, border 0.17s;
}
.cookie-banner .btn-accept:hover {background: var(--va-primary); color: var(--va-retro-mustard);}
.cookie-banner .btn-reject {
  background: #fff;
  color: var(--va-retro-flat-dark,#423021);
  border-color: var(--va-retro-red);
}
.cookie-banner .btn-reject:hover {background: var(--va-retro-red); color: #fff;}
.cookie-banner .btn-settings {
  background: none;
  border: 0;
  color: var(--va-retro-blue);
  font-family: 'Montserrat', Arial, sans-serif;
  text-decoration: underline;
  cursor: pointer;
  font-size: 1rem;
  margin-left: 6px;
  transition: color 0.16s;
}
.cookie-banner .btn-settings:hover {
  color: var(--va-primary);
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  z-index: 4010;
  background: #18181860;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-in .48s cubic-bezier(.5,-0.28,.74,.05) 1;
}
@keyframes cookie-modal-in {
  from {opacity:0;}
  to {opacity:1;}
}
.cookie-modal {
  background: var(--va-secondary);
  border-radius: 19px;
  padding: 38px 28px 28px 28px;
  width: 94vw;
  max-width: 420px;
  box-shadow: 0 4px 34px #8e7d2420;
  color: #292018;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.cookie-modal-close {
  background: var(--va-retro-red);
  color: #fff;
  position: absolute;
  right: 14px; top: 14px;
  border-radius: 50%;
  border: none;
  width: 40px; height: 40px;
  font-size: 1.19rem;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-modal-close:hover {
  background: var(--va-primary);
}
.cookie-category {
  margin-bottom: 9px;
}
.cookie-category label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-category input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--va-primary);
}
.cookie-category.category-essential label {
  color: var(--va-retro-blue);
}
.cookie-category .cookie-lock {
  color: var(--va-retro-red);
  font-size: 1rem;
  margin-left: 4px;
}

/* Responsive: MOBILE FIRST! */
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
  }
  .main-nav, .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .feature-grid, .news-grid, .blog-list, .contact-block {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div,
  .news-grid > div,
  .blog-list > div, .card {
    min-width: 0;
    max-width: 100%;
  }
  section {
    padding: 30px 7px;
    margin-bottom: 36px;
  }
  .footer-links {
    flex-direction: column;
    gap: 14px;
    align-items: center;
  }
  .footer-social {
    gap: 13px;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.55rem;
  }
  h2 {
    font-size: 1.16rem;
  }
  .footer-social img {
    height: 22px;
    width: 22px;
  }
}

/* fancy retro border patterns, patterns, and section backgrounds */
section {
  border-radius: 24px;
  box-shadow: 0 4px 40px #eee3c950;
  background-image: repeating-linear-gradient(135deg, #FFF8D8 0px, #FFF8D8 10px, #F5F7EE 10px, #F5F7EE 20px);
}
section:nth-child(even) {
  background-image: repeating-linear-gradient(45deg,#F5F7EE 0, #F5F7EE 10px, #FAF5E6 10px, #FAF5E6 20px);
}

@media (max-width: 1024px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* Scrollbar retro styling */
body::-webkit-scrollbar {
  width: 9px;
  background: #f4eaca;
}
body::-webkit-scrollbar-thumb {
  background: var(--va-retro-mustard);
  border-radius: 7px;
}

/* Utility: visually-hidden for accessibility */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* Micro-interactions */
a, button, .btn-primary, .footer-links a, .main-nav a, .mobile-nav a {
  transition: color 0.22s, background 0.22s, box-shadow 0.16s, transform 0.13s;
}
a:active, button:active {
  transform: scale(.96);
}

/* Card micro-animation on hover */
.card:hover { box-shadow: 0 8px 40px #e5dfc63c; }

/* Alignment spacings globally */
.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;
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* POLISH DIACRITIC FONT-FAMILY FALLBACKS */
@font-face {
  font-family: 'Montserrat';
  src: local('Montserrat'),local('Montserrat-Regular'),local('Arial Rounded MT Bold'),local('Arial'),sans-serif;
  font-style: normal; font-weight: 400;
}
@font-face {
  font-family: 'Roboto';
  src: local('Roboto'),local('Roboto-Regular'),local('Arial'),sans-serif;
  font-style: normal; font-weight: 400;
}
