/* ------------------------------
   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,
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;
}
body {
  line-height: 1.5;
  background: #F8F9FA;
  color: #1D3557;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
*, *::before, *::after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #1D3557;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  margin: 0 0 16px 20px;
  padding: 0;
}
li {
  margin-bottom: 8px;
}
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 24px;
}
th, td {
  border: 1px solid #DEE2E6;
  padding: 12px 18px;
  text-align: left;
  font-size: 16px;
}
th {
  background: #EAF0F6;
  font-weight: 700;
}
blockquote {
  background: #EAF0F6;
  border-left: 4px solid #1D3557;
  padding: 18px 24px;
  margin: 24px 0;
  font-style: italic;
  color: #517096;
}

::-webkit-input-placeholder { color: #8395a7; }
::-moz-placeholder { color: #8395a7; }
:-ms-input-placeholder { color: #8395a7; }
::placeholder { color: #8395a7; }

/* FONTS (ensure import in HTML) */
body, input, textarea, select, button {
  font-family: 'Roboto', Arial, sans-serif;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
}

/* ------------------------------
     COLOR + BRAND PALETTE
-------------------------------*/
:root {
  --primary: #1D3557;
  --primary-dark: #162542;
  --secondary: #F4A261;
  --accent: #F8F9FA;
  --gray-100: #EAF0F6;
  --gray-200: #DEE2E6;
  --gray-300: #BFC8D1;
  --gray-400: #8395a7;
  --white: #fff;
  --black: #091833;
  --box-shadow: 0 4px 16px 0 rgba(29,53,87,0.07);
}

/* ------------------------------
     CONTAINER & SECTION SPACING
-------------------------------*/
.container {
  max-width: 1080px;
  padding: 0 16px;
  margin: 0 auto;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
}


/* ---------------------------
      HEADERS & TYPOGRAPHY
----------------------------*/
h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
  color: var(--primary);
  letter-spacing: -1px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--primary-dark);
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
  color: var(--primary);
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p {
  margin-bottom: 12px;
  font-size: 1rem;
  color: var(--black);
}
strong { font-weight: bold; }
small {
  font-size: 13px;
}

/* Paragraph in gray (for context notes, disclaimers) */
.pricing-notes p, .legal p {
  color: var(--gray-400);
  font-size: 0.98rem;
}

/* ------------------------------
     NAVIGATION + HEADER
-------------------------------*/
header {
  background: var(--white);
  border-bottom: 1.5px solid var(--gray-100);
  box-shadow: 0 2px 8px rgba(29,53,87,0.03);
  position: sticky;
  top: 0;
  z-index: 30;
}
header nav[aria-label] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: flex-start;
  padding: 14px 0;
}
header nav[aria-label] > a {
  font-weight: 500;
  font-size: 1.03rem;
  color: var(--primary);
  padding: 7px 14px;
  border-radius: 6px;
  position: relative;
  transition: background .20s, color .15s;
}
header nav[aria-label] > a:hover, header nav[aria-label] > a:focus {
  background: var(--gray-100);
  color: var(--primary-dark);
}
header nav[aria-label] > a.btn-primary {
  background: var(--primary);
  color: var(--white);
  margin-left: auto;
  margin-right: 0;
  transition: background 0.16s;
}
header nav[aria-label] > a.btn-primary:hover {
  background: var(--primary-dark);
}
header nav[aria-label] img {
  max-height: 36px;
  margin-right: 14px;
  vertical-align: middle;
}

/* ------------------------------
        MOBILE MENU
-------------------------------*/
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: #fff;
  font-size: 2rem;
  border: none;
  padding: 6px 14px;
  border-radius: 5px;
  margin-left: 14px;
  cursor: pointer;
  transition: background 0.18s;
  z-index: 101;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--primary-dark);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--white);
  box-shadow: 2px 0 18px 0 rgba(29,53,87,.08);
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.6,0,.4,1);
  z-index: 120;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--primary);
  padding: 18px 22px 12px 0;
  cursor: pointer;
  z-index: 3;
  transition: color 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  width: 100%;
  margin: 30px 0 0 0;
  padding: 0 32px 24px 32px;
}
.mobile-nav a {
  font-size: 1.13rem;
  color: var(--primary);
  font-weight: 500;
  padding: 10px 0;
  width: 100%;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--gray-100);
  color: var(--primary-dark);
}
@media (max-width: 1024px) {
  header nav[aria-label] {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (max-width: 768px) {
  .mobile-menu {
    padding-top: 20px;
  }
  .mobile-nav {
    padding: 0 18px 20px 18px;
    margin-top: 16px;
  }
}

/* Prevent background scrolling when mobile-menu is open (add class via JS) */
body.mobile-menu-open {
  overflow: hidden;
}

/* ------------------------------
        HERO SECTION
-------------------------------*/
.hero {
  background: linear-gradient(102deg, #EFF6FA 40%, #EAF0F6 100%);
  padding: 56px 0 42px 0;
  box-shadow: 0 2px 16px 0 rgba(29,53,87,0.03);
  margin-bottom: 60px;
}
.hero h1 {
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 10px;
}
.hero p {
  font-size: 1.08rem;
  color: #36506d;
  margin-bottom: 18px;
}
.hero .btn-primary {
  margin-top: 12px;
}
@media (max-width: 768px) {
  .hero {
    padding: 38px 0 28px 0;
    margin-bottom: 36px;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
}

/* ----------------------------
     FEATURES & SERVICES
-----------------------------*/
.features, .services, .tips, .faqs, .team, .about, .legal, .contact, .confirmation, .pricing, .pricing-snippet {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--box-shadow);
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width:768px) {
  .features, .services, .tips, .faqs, .team, .about, .legal, .contact, .confirmation, .pricing, .pricing-snippet {
    margin-bottom: 28px;
    padding: 20px 7px;
  }
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  list-style: none;
}
.feature-grid li {
  background: var(--gray-100);
  border-radius: 10px;
  flex: 1 1 225px;
  min-width: 220px;
  padding: 30px 22px 28px 22px;
  box-shadow: 0 2px 8px 0 rgba(29,53,87,0.03);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.15s, background 0.16s;
}
.feature-grid li img {
  width: 38px;
  height: 38px;
  margin-bottom: 3px;
}
.feature-grid li:hover {
  background: #e4edf5;
  box-shadow: 0 4px 18px 0 rgba(29,53,87,0.09);
}

/* Services list/steps */
.services ul, .services ol {
  margin-bottom: 16px;
}
.services li {
  font-size: 1.07rem;
  color: var(--gray-400);
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 4px;
  margin-bottom: 20px;
}
.service-list li {
  flex: 1 1 240px;
  min-width: 200px;
  background: var(--gray-100);
  border-radius: 10px;
  padding: 24px 20px;
  box-shadow: 0 2px 8px 0 rgba(29,53,87,0.03);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.service-highlights ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
  margin-bottom: 10px;
}
.service-highlights li {
  background: #F6F7FA;
  padding: 7px 20px;
  border-radius: 20px;
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 0;
  font-weight: 500;
}

@media (max-width: 900px) {
  .feature-grid, .service-list {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid li, .service-list li {
    min-width: 0;
    width: 100%;
    padding: 20px 9px 18px 14px;
  }
}

/* ------------------------------
     CARD CONTAINERS & GRIDS
-------------------------------*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.card {
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  margin-bottom: 20px;
  padding: 30px 24px;
  position: relative;
  min-width: 220px;
  transition: box-shadow 0.15s;
}
.card:hover {
  box-shadow: 0 8px 36px 0 rgba(29,53,87,0.14);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  align-items: flex-start;
}

.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) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* ------------------------------
      TESTIMONIALS & CTA
-------------------------------*/
.testimonials {
  padding: 45px 0;
  background: #EAF0F6;
  margin-bottom: 60px;
}
.testimonials h2 {
  color: var(--primary);
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--white);
  border-radius: 9px;
  box-shadow: 0 2px 14px 0 rgba(29,53,87,0.05);
  min-width: 240px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, background 0.16s;
}
.testimonial-card p {
  font-size: 1.10rem;
  color: var(--primary-dark);
  margin-bottom: 0;
  letter-spacing: -0.3px;
}
.testimonial-card strong {
  display: block;
  font-size: 1rem;
  color: #606573;
  margin-top: 7px;
}
.testimonial-card:hover {
  box-shadow: 0 6px 26px 0 rgba(29,53,87,0.12);
  background: #f6fbff;
}
@media (max-width: 900px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 16px;
  }
}

.cta {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 2px 16px 0 rgba(29,53,87,0.03);
  margin-bottom: 60px;
  padding: 38px 20px;
}
.cta h2 {
  color: var(--white);
  margin-bottom: 12px;
}
@media (max-width: 768px) {
  .cta {
    padding: 18px 10px;
    margin-bottom: 28px;
  }
}

.cta .btn-primary, .cta .btn-secondary {
  margin-top: 10px;
}

/* ------------------------------
        BUTTONS & LINKS
-------------------------------*/
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 7px;
  border: none;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background .17s, box-shadow .13s, color .13s;
  margin-right: 12px;
  margin-bottom: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(29,53,87,0.07);
  min-width: 150px;
}
.btn-primary {
  background: var(--primary);
  color: var(--white) !important;
  box-shadow: 0 4px 16px 0 rgba(29,53,87,0.14);
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 8px 24px 0 rgba(29,53,87,0.20);
}
.btn-secondary {
  background: var(--secondary);
  color: var(--primary); /* dark blue text on orange */
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #e9851b;
  color: var(--white);
}

/* Download/checklist CTA */
.download-checklist {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--primary);
  font-weight: 600;
  font-size: 1.05rem;
}
.download-checklist a {
  color: var(--secondary);
  font-weight: 700;
  text-decoration: underline;
}

/* FORM ELEMENTS (inputs not present in HTML, but for future compatibility) */
input, select, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1.5px solid var(--gray-300);
  background: var(--white);
  margin: 0 0 10px 0;
  transition: border 0.13s, box-shadow 0.15s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--primary);
  outline: none;
  box-shadow: 0 2px 8px 0 rgba(29,53,87,0.10);
}
label { font-weight: 600; color: var(--primary); }

/* ------------------------------
         PRICING TABLES
-------------------------------*/
.pricing table, .pricing-snippet table {
  width: 100%;
  margin-bottom: 18px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--gray-100);
  box-shadow: 0 2px 6px 0 rgba(29,53,87,0.04);
}
.pricing table th, .pricing-snippet table th {
  color: var(--primary);
  background: #eff6fa;
}
.pricing table td, .pricing-snippet table td {
  color: var(--black);
}


/* ------------------------------
         CONTACT SECTION
-------------------------------*/
.contact-details {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-details img {
  width: 18px;
  height: 18px;
  margin-right: 7px;
  vertical-align: middle;
}
.contact-details a {
  color: var(--secondary);
  font-weight: 500;
  transition: color 0.14s;
}
.contact-details a:hover { color: var(--primary-dark); }

.map-embed {
  margin-top: 10px;
  background: var(--gray-100);
  border-radius: 10px;
  padding: 20px 12px;
  color: var(--primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 9px;
}

/* ------------------------------
        FOOTER
-------------------------------*/
footer {
  background: var(--primary);
  color: var(--white);
  padding: 36px 0 12px 0;
  font-size: 1rem;
  margin-top: 18px;
  box-shadow: 0 -2px 16px 0 rgba(29,53,87,0.04);
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 28px;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 0;
  padding: 0;
}
footer img {
  max-height: 38px;
}
footer .contact-info {
  color: var(--accent);
  font-size: .96rem;
  margin-bottom: 10px;
}
footer .contact-info p {
  color: var(--accent);
  font-size: .98rem;
  margin-bottom: 7px;
}
footer .contact-info img {
  vertical-align: middle;
  width: 17px;
  height: 17px;
  margin-right: 8px;
}
footer nav[aria-label="Stopka"] {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px;
}
footer nav[aria-label="Stopka"] a {
  color: var(--secondary);
  font-weight: 500;
  font-size: 1.02rem;
  transition: color 0.13s;
}
footer nav[aria-label="Stopka"] a:hover,
footer nav[aria-label="Stopka"] a:focus {
  color: var(--accent);
}

@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* ------------------------------
        SECTION & CARD RULES
-------------------------------*/
.section,
.features, .services, .tips, .faqs, .team, .about, .contact, .legal, .pricing, .pricing-snippet, .confirmation {
  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) {
  .section, .features, .services, .tips, .faqs, .team, .about, .contact, .legal, .pricing, .pricing-snippet, .confirmation {
    margin-bottom: 36px;
    padding: 26px 8px;
  }
  .feature-grid, .service-list, .card-container, .testimonial-slider, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

/* ------------------------------
         ANIMATIONS
-------------------------------*/
.btn-primary, .btn-secondary {
  transition: background 0.18s, color 0.13s, box-shadow 0.15s, transform 0.13s;
}
.btn-primary:active, .btn-secondary:active {
  transform: scale(0.97);
}

.card, .feature-grid li, .testimonial-card, .service-list li {
  transition: box-shadow 0.2s, background 0.18s, transform 0.14s;
}
.card:hover, .feature-grid li:hover, .testimonial-card:hover, .service-list li:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 32px 0 rgba(29,53,87,0.09) !important;
}

.download-checklist a {
  transition: color 0.14s;
}
.download-checklist a:hover {
  color: var(--primary-dark);
}

/* ------------------------------
        COOKIE CONSENT BANNER
-------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--white);
  box-shadow: 0 -2px 16px 0 rgba(29,53,87,0.10);
  border-top: 2px solid var(--primary);
  z-index: 2001;
  padding: 30px 24px 24px 24px;
  display: flex;
  flex-direction: row;
  gap: 26px;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.3s;
}
.cookie-banner.hide {
  transform: translateY(130%);
}
.cookie-banner-message {
  flex: 1 1 400px;
  font-size: 1.04rem;
  color: var(--primary);
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 9px 22px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  margin-bottom: 0;
  transition: background 0.15s, color 0.15s;
}
.cookie-accept {
  background: var(--primary);
  color: var(--white);
}
.cookie-accept:hover, .cookie-accept:focus {
  background: var(--primary-dark);
}
.cookie-reject {
  background: var(--gray-200);
  color: var(--black);
}
.cookie-reject:hover, .cookie-reject:focus {
  background: var(--gray-300);
}
.cookie-settings {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #e9851b;
  color: var(--white);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 8px 18px 8px;
  }
  .cookie-banner-message {
    font-size: 0.99rem;
  }
}

/* ------------------------------
    COOKIE CONSENT MODAL
-------------------------------*/
.cookie-modal-backdrop {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  width: 100vw;
  height: 100vh;
  background: rgba(17,33,54,0.35);
  z-index: 2100;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.19s;
}
.cookie-modal {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px 0 rgba(29,53,87,0.18);
  padding: 36px 32px 24px 32px;
  max-width: 380px;
  width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: cookieModalIn .3s;
}
@keyframes cookieModalIn {
  0% {opacity: 0; transform: scale(0.95);}
  80% {opacity: 1; transform: scale(1.02);}
  100% {opacity: 1; transform: scale(1);}
}
.cookie-modal h3 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.cookie-modal label {
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--primary);
}
.cookie-modal .toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
}
.cookie-modal .toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--gray-200);
  border-radius: 20px;
  transition: background .14s;
}
.cookie-modal .slider:before {
  position: absolute;
  content: '';
  height: 20px; width: 20px;
  left: 2px;
  bottom: 2px;
  background: var(--primary);
  border-radius: 50%;
  transition: transform .17s, background .14s;
}
.cookie-modal .toggle-switch input:checked + .slider {
  background: var(--secondary);
}
.cookie-modal .toggle-switch input:checked + .slider:before {
  transform: translateX(20px);
  background: var(--secondary);
}
.cookie-modal .essential-label {
  color: #b7b7b7;
  font-size: 0.96rem;
  margin-left: 12px;
}
.cookie-modal .cookie-modal-btns {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--gray-300);
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--primary);
}
@media (max-width: 500px) {
  .cookie-modal {
    padding: 20px 8px 16px 8px;
  }
}


/* ----------------------
  LEGAL/INFO PAGES
-----------------------*/
.legal ul, .about ul {
  margin: 8px 0 20px 18px;
  padding-left: 14px;
}
.legal li {
  color: var(--primary-dark);
  font-size: 1.01rem;
  font-weight: 400;
  margin-bottom: 8px;
}


/* ----------------------
      UTILITIES
-----------------------*/
.hide { display: none !important; }

/* For modals/backdrops (z-index alignment) */
body.modal-open {
  overflow: hidden;
}


/* End of Style */
