/* Jasny Poranek: Modern Bold Style CSS */
/* ========================== RESET + BASE ========================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background-color: #FAFAFA;
  color: #2E2640;
  min-height: 100vh;
  line-height: 1.5;
  font-size: 1rem;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #433C5B;
  text-decoration: none;
  transition: color 0.25s;
}
a:hover, a:focus {
  color: #F7AE3E;
  outline: none;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}
ul {
  list-style-type: disc;
}
ol {
  list-style-type: decimal;
}
strong {
  font-weight: 700;
}
hr {
  border: none;
  border-top: 2px solid #e5e5e5;
  margin: 32px 0;
}
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(67, 60, 91, 0.06);
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ======================== TYPOGRAPHY ======================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #433C5B;
  font-weight: 800;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 20px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
  line-height: 1.2;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  line-height: 1.25;
}
p {
  font-size: 1.125rem;
  color: #2E2640;
  margin-bottom: 16px;
}
.text-section h2, .text-section h3 {
  margin-bottom: 10px;
  margin-top: 12px;
}
.text-section p {
  margin-bottom: 12px;
}
.text-section ul, .text-section ol {
  margin-bottom: 14px;
}

/* ================== HEADER & MAIN NAVIGATION ================== */
header {
  background: #fff;
  box-shadow: 0 1px 8px 0 rgba(67,60,91,0.07);
  position: sticky;
  top: 0;
  z-index: 30;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header img {
  height: 48px;
  width: auto;
  display: block;
}
nav.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
nav.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 0;
  letter-spacing: 0.01em;
  position: relative;
  transition: color 0.22s;
}
nav.main-nav a.cta {
  background: #F7AE3E;
  color: #433C5B;
  padding: 10px 28px;
  margin-left: 16px;
  border-radius: 999px;
  font-size: 1.09rem;
  box-shadow: 0 4px 14px rgba(247, 174, 62, 0.12);
  border: none;
  transition: background 0.21s, color 0.21s;
}
nav.main-nav a.cta:hover,
nav.main-nav a.cta:focus {
  background: #433C5B;
  color: #fff;
}

/* =================== MOBILE MENU/BURGER ===================== */
.mobile-menu-toggle {
  background: #F7AE3E;
  border: none;
  color: #433C5B;
  font-size: 2rem;
  border-radius: 10px;
  padding: 6px 16px;
  margin-left: 10px;
  cursor: pointer;
  display: none;
  transition: background .21s, color .21s;
  box-shadow: 0 2px 10px rgba(67,60,91,0.13);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #433C5B;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(67, 60, 91, 0.98);
  color: #fff;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.8,.02,.25,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 32px 24px 24px 24px;
  width: 100%;
  min-height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #F7AE3E;
  border: none;
  color: #433C5B;
  font-size: 2rem;
  border-radius: 10px;
  padding: 4px 16px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(67,60,91,0.17);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #fff;
  color: #F7AE3E;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.26rem;
  padding: 12px 0;
  border-radius: 8px;
  transition: background .20s, color .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F7AE3E;
  color: #433C5B;
}

/* Hide main-nav on mobile, show burger */
@media (max-width: 1024px) {
  nav.main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none;
  }
}

/* =================== HERO SECTION =================== */
.hero {
  background: linear-gradient(92deg, #F7AE3E 0%, #fff 98%);
  border-radius: 0 0 36px 36px;
  margin-bottom: 48px;
  padding: 44px 0 64px 0;
  box-shadow: 0 8px 24px 0 rgba(67,60,91,0.06);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
  max-width: 620px;
}
.hero h1 {
  color: #433C5B;
  font-size: 2.7rem;
}
.hero p {
  color: #433C5B;
  font-size: 1.19rem;
  font-weight: 600;
  margin-bottom: 15px;
}
.hero .cta-button {
  background: #433C5B;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1.12rem;
  padding: 13px 38px;
  border-radius: 999px;
  border: none;
  transition: background .19s, color .19s, transform .18s;
  box-shadow: 0 2px 12px rgba(67,60,91,0.12);
  letter-spacing: .01em;
  cursor: pointer;
  margin-top: 18px;
  text-shadow: none;
  display: inline-block;
}
.hero .cta-button:hover, .hero .cta-button:focus {
  background: #F7AE3E;
  color: #433C5B;
  transform: translateY(-2px) scale(1.045);
}

/* =================== CTA BUTTON (generic) =================== */
.cta-button {
  background: #F7AE3E;
  color: #433C5B;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  padding: 13px 36px;
  border-radius: 999px;
  font-size: 1.08rem;
  border: none;
  box-shadow: 0 4px 16px 0 rgba(247, 174, 62, 0.08);
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, color .2s, transform .16s;
  margin: 12px 0 0 0;
  letter-spacing: .03em;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: #433C5B;
  color: #fff;
  transform: scale(1.045) translateY(-2px);
}

/* =================== LISTS, FEATURES, ICON LISTS =================== */
ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
li {
  font-size: 1.06rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #433C5B;
  padding-left: 0.2em;
  display: flex;
  align-items: center;
  gap: 12px;
}
li img {
  margin-right: 8px;
  width: 28px;
  height: 28px;
}
ul li span {
  background: #fff3df;
  color: #433C5B;
  font-weight: bold;
  padding: 3px 10px;
  margin-left: 14px;
  border-radius: 8px;
  font-size: .95em;
  letter-spacing: 0.01em;
}

/* =================== CARDS & TESTIMONIALS =================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: start;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(67,60,91,0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow .19s, transform .16s;
  min-width: 280px;
  max-width: 370px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 32px 0 rgba(67,60,91,0.13);
  transform: translateY(-2px) scale(1.03);
  z-index: 2;
}

/* Testimonials Section */
.testimonials {
  margin-bottom: 60px;
  background: #faf8f6;
  border-radius: 32px;
  box-shadow: 0 2px 16px 0 rgba(247,174,62,0.08);
  padding: 36px 0;
}
.testimonials h2 {
  color: #433C5B;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 20px;
}
.testimonial-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 16px 0 rgba(67,60,91,0.14);
  flex: 1 1 250px;
  max-width: 380px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  min-width: 220px;
  border-left: 8px solid #F7AE3E;
  color: #2E2640;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .17s, transform .14s;
}
.testimonial-card img {
  width: 32px;
  height: 32px;
  margin-bottom: 6px;
}
.testimonial-card p {
  font-size: 1.13rem;
  color: #2E2640;
  font-weight: 500;
  margin-bottom: 0;
}
.testimonial-card strong {
  font-size: 1rem;
  color: #433C5B;
  margin-top: 8px;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 10px 32px 0 rgba(247,174,62,0.20);
  transform: translateY(-2px) scale(1.045);
  border-left-color: #433C5B;
}

/* =================== FOOTER =================== */
footer {
  width: 100%;
  background: #433C5B;
  color: #fff;
  padding: 0 0 16px 0;
  margin-top: 60px;
}
.footer-flex {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  padding-top: 28px;
  padding-bottom: 12px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: bold;
}
.footer-menu a {
  color: #fff;
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: 0.01em;
  transition: color .19s, background .21s;
  border-radius: 8px;
  padding: 6px 2px;
  display: inline-block;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #F7AE3E;
  background: #fff;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: flex-start;
  color: #000000;
  font-size: 1rem;
}
footer .contact-info {
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: flex-start;
  color: #fff;
  font-size: 1rem;
}

.contact-info img {
  width: 22px;
  height: 22px;
  margin-right: 8px;
  vertical-align: middle;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 6px;
}
.social-links a {
  background: #fff;
  border-radius: 999px;
  padding: 7px;
  transition: background .17s, transform .14s;
  box-shadow: 0 2px 8px 0 rgba(67,60,91,0.13);
  display: flex;
  align-items: center;
}
.social-links a:hover {
  background: #F7AE3E;
  transform: scale(1.12);
}
.footer-copy {
  text-align: center;
  width: 100%;
  color: #fae3ad;
  font-size: .94rem;
  margin-top: 12px;
}

/* =================== UTILITY FLEX CLASSES (MANDATORY) =================== */
.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;
}

/* =================== RESPONSIVE DESIGN =================== */
@media (max-width: 1024px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .footer-flex {
    gap: 18px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .card-container {
    gap: 14px;
  }
  .testimonial-list {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2.12rem;
  }
  h2 {
    font-size: 1.36rem;
  }
  .hero {
    padding: 24px 0 36px 0;
    border-radius: 0 0 20px 20px;
    margin-bottom: 30px;
  }
  .footer-flex {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
  }
  .testimonial-list {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    max-width: 100%;
    width: 100%;
    flex: 1 1 100%;
  }
  .content-grid,
  .card-container,
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
@media (max-width: 520px) {
  .container {
    padding-left: 5px;
    padding-right: 5px;
  }
  .hero .content-wrapper {
    max-width: 100%;
  }
  .footer-flex {
    padding-top: 12px;
    padding-bottom: 8px;
  }
}

/* =================== ANIMATIONS + INTERACTIONS =================== */
:root {
  --jp-shadow-btn: 0 4px 12px 0 rgba(67,60,91,0.13);
}
button, .cta-button, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.2s, color 0.2s, transform .18s, box-shadow .16s;
}
button:focus-visible,
.mobile-menu-toggle:focus-visible,
.mobile-menu-close:focus-visible {
  outline: 3px solid #F7AE3E;
  outline-offset: 2px;
}

/* =================== COOKIE CONSENT BANNER & MODAL =================== */
#cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff9f2;
  color: #433C5B;
  box-shadow: 0 -6px 30px 0 rgba(67,60,91,0.12);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 26px 8vw 20px 8vw;
  flex-wrap: wrap;
  font-size: 1.07rem;
  transition: transform .3s;
}
#cookie-consent-banner.hide {
  transform: translateY(100%);
  pointer-events: none;
}
#cookie-consent-banner .cookie-text {
  max-width: 600px;
  font-size: 1rem;
  margin-right: 24px;
}
.cookie-actions {
  display: flex;
  gap: 18px;
  align-items: center;
}
.cookie-btn {
  background: #433C5B;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  padding: 10px 28px;
  font-size: 1rem;
  margin-right: 0;
  box-shadow: var(--jp-shadow-btn);
  transition: background .18s, color .18s, transform .16s;
}
.cookie-btn.settings {
  background: #fff;
  color: #433C5B;
  border: 2px solid #F7AE3E;
  font-weight: 700;
}
.cookie-btn.reject {
  background: #fff;
  color: #433C5B;
  border: 2px solid #433C5B;
  font-weight: 700;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #F7AE3E;
  color: #433C5B;
  transform: scale(1.045) translateY(-2px);
}
#cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(67,60,91,0.85);
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn .3s;
}
#cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: #fff;
  color: #433C5B;
  border-radius: 24px;
  max-width: 390px;
  width: calc(100vw - 36px);
  box-shadow: 0 6px 32px 0 rgba(67,60,91,0.20);
  padding: 32px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  position: relative;
  animation: popAppear .26s cubic-bezier(.56,.37,.62,.89);
}
.cookie-modal-content h3 {
  margin-bottom: 12px;
  font-size: 1.17rem;
  font-weight: 800;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 11px;
}
.cookie-category label {
  font-weight: 600;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  background: #eee;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background .17s;
  margin-right: 10px;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle-slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #433C5B;
  transition: transform .15s, background .16s;
  z-index: 2;
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  background: #F7AE3E;
  transform: translateX(16px);
}
.cookie-category.essential label {
  color: #aaa;
}
.cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 16px;
  align-items: center;
}
.cookie-modal-close {
  background: transparent;
  border: none;
  font-size: 1.7rem;
  color: #433C5B;
  position: absolute;
  top: 12px;
  right: 16px;
  cursor: pointer;
  transition: color .12s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #F7AE3E;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes popAppear {
  from { transform: scale(.75) translateY(90px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; }
}

/* =================== CONTENT & CARDS LAYOUT HELPERS =================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
}
.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;
}

/* =================== MISC: ACCESSIBILITY/HIGHLIGHTS =================== */
::selection {
  background: #F7AE3E;
  color: #433C5B;
}

/* =================== PRINT/HIDE ELEMENTS =================== */
@media print {
  header, footer, #cookie-consent-banner, .mobile-menu { display: none !important; }
}

/* =================== END =================== */
