/* --------------------------------------------------------------------------
   RESET & BASE
----------------------------------------------------------------------------*/
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
html, body {
  min-height: 100%;
}
body {
  background: #fff;
  color: #212121;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 1rem;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: 0;
}
a {
  color: #17446E;
  text-decoration: none;
  transition: color .18s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #111;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}
li {
  margin-bottom: .25em;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  appearance: none;
}
input[type="search"]::-webkit-search-cancel-button {
  appearance: none;
}
button {
  cursor: pointer;
  transition: background .18s cubic-bezier(.4,0,.2,1), color .18s cubic-bezier(.4,0,.2,1);
}
:focus-visible {
  outline: 2px solid #17446E;
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   COLOR VARIABLES (Brand from Guidelines + Monochrome)
----------------------------------------------------------------------------*/
:root {
  --color-primary: #17446E;
  --color-secondary: #44C5A8;
  --color-accent: #FFFFFF;
  --color-bg: #fff;
  --color-bg-alt: #F7F8FA;
  --color-dark: #111111;
  --color-mid-dark: #212121;
  --color-gray: #ECECEC;
  --color-light: #FAFAFA;
  --color-border: #E0E1E3;
  --color-shadow: rgba(17,17,17,0.06);
  --color-shadow-lg: rgba(17,17,17,0.12);
}

/* --------------------------------------------------------------------------
   TYPOGRAPHY (Font scale, hierarchy, monochrome sophistication)
----------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600&display=swap');
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: #111;
  letter-spacing: -.01em;
  margin-bottom: 24px;
  line-height: 1.18;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #212121;
  letter-spacing: -.01em;
  margin-bottom: 20px;
  line-height: 1.22;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 12px;
  line-height: 1.25;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #333;
}
p {
  color: #212121;
  margin-bottom: 18px;
  font-size: 1rem;
}
strong, b {
  font-weight: 600;
  color: #111;
}
small {
  font-size: .92em;
  color: #757575;
}

/* Monochrome links */
a.btn-link, .btn-link {
  font-family: 'Montserrat', Arial, sans-serif;
  text-decoration: underline;
  font-weight: 600;
  color: #111;
  background: none;
  padding: 0;
  transition: color .18s cubic-bezier(.4,0,.2,1);
}
a.btn-link:hover, .btn-link:hover {
  color: var(--color-primary);
}

/* Section Spacing / Layout Patterns */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   HEADER, NAV & MOBILE MENU
----------------------------------------------------------------------------*/
header {
  background: var(--color-bg);
  box-shadow: 0 1px 4px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 16px;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 28px;
}
.logo img {
  height: 36px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}
.main-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #212121;
  padding: 8px 0;
  position: relative;
  transition: color .2s cubic-bezier(.4,0,.2,1);
}
.main-nav a:hover {
  color: var(--color-primary);
}

/* Primary call-to-action */
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  padding: 12px 28px;
  margin-left: 20px;
  border-radius: 6px;
  box-shadow: 0 3px 20px var(--color-shadow);
  letter-spacing: .02em;
  border: none;
  transition: background .18s cubic-bezier(.4,0,.2,1), box-shadow .18s cubic-bezier(.4,0,.2,1);
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: #1d3053;
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 22px;
  margin: 0 10px 10px 0;
  border-radius: 5px;
  box-shadow: none;
  transition: background .18s, color .18s, border .18s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-primary);
  color: #fff;
}

/* Hamburger */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  color: #111;
  font-size: 2rem;
  padding: 6px 14px 6px 6px;
  border-radius: 6px;
  border: none;
  line-height: 1;
  z-index: 220;
  transition: background .18s, color .18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-gray);
  color: var(--color-primary);
}

/* MOBILE MENU NAV */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(20,23,29,.90);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform .28s cubic-bezier(.7,.1,.2,1), opacity .28s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  color: #fff;
  background: none;
  font-size: 2rem;
  align-self: flex-end;
  margin: 18px 24px 0 0;
  border: none;
  z-index: 221;
  padding: 6px;
  border-radius: 4px;
  transition: background .15s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: rgba(255,255,255,0.09);
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 30px;
  margin-left: 28px;
  gap: 18px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  padding: 12px 0 8px 0;
  transition: color .15s;
  letter-spacing: .01em;
}
.mobile-nav a:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   HERO SECTIONS, SEARCH, CTA
----------------------------------------------------------------------------*/
.hero, .categories-hero, .blog-hero, .testimonials-hero, .about-hero, .contact-hero, .thank-you-section {
  background: linear-gradient(80deg, #fff 75%, #ECECEC 100%);
  padding: 56px 0 36px 0;
  margin-bottom: 60px;
}
.hero .content-wrapper, .categories-hero .content-wrapper, .blog-hero .content-wrapper,
.testimonials-hero .content-wrapper, .about-hero .content-wrapper, .contact-hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.categories-hero .category-filters, .blog-list .category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin: 16px 0 18px 0;
}

.cta-section {
  display: flex;
  background: #111;
  color: #fff;
  border-radius: 24px;
  margin: 32px 0;
  box-shadow: 0 6px 26px var(--color-shadow-lg);
  border: 1px solid #212121;
  padding: 44px 0;
}
.cta-section h2 {
  color: #fff;
  font-size: 2rem;
}

/* --------------------------------------------------------------------------
   SEARCH BAR
----------------------------------------------------------------------------*/
.search-bar {
  display: flex;
  width: 100%;
  max-width: 420px;
  align-items: center;
  background: #fff;
  box-shadow: 0 2px 7px var(--color-shadow);
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  margin: 20px auto 0 auto;
  transition: box-shadow .16s;
  position: relative;
  overflow: hidden;
}
.search-bar input[type="search"] {
  font-size: 1.05rem;
  border: none;
  outline: none;
  flex: 1 1 80%;
  padding: 13px 17px;
  border-radius: 8px 0 0 8px;
  background: #F7F8FA;
  color: #111;
}
.search-bar button {
  flex: 0 0 48px;
  background: var(--color-primary);
  border-radius: 0 8px 8px 0;
  padding: 0 14px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: background .18s;
}
.search-bar button img {
  height: 22px;
  width: 22px;
}
.search-bar button:hover, .search-bar button:focus {
  background: var(--color-secondary);
}

/* --------------------------------------------------------------------------
   FEATURE/CATEGORY/BLOG CARDS
----------------------------------------------------------------------------*/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin: 30px 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F7F8FA;
  border-radius: 12px;
  padding: 24px 20px 20px 20px;
  min-width: 240px;
  max-width: 260px;
  flex: 1 1 200px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px var(--color-shadow);
  border: 1px solid var(--color-border);
  transition: box-shadow .18s, border-color .18s, background .18s;
}
.feature-item:hover, .feature-item:focus {
  box-shadow: 0 4px 20px var(--color-shadow-lg);
  border-color: #BABABA;
  background: #fff;
}
.feature-item img {
  height: 32px;
  width: 32px;
}

.category-cards, .category-tiles, .blog-tiles, .team-briefs {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 0 0;
}
.category-card, .category-tile, .blog-tile, .team-member {
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 14px var(--color-shadow);
  border-radius: 10px;
  padding: 24px 20px 20px 20px;
  flex: 1 1 200px;
  min-width: 220px;
  max-width: 260px;
  margin-bottom: 20px;
  transition: box-shadow .18s, border-color .18s, background .18s;
}
.category-card:hover, .category-tile:hover, .blog-tile:hover, .team-member:hover {
  background: #F7F8FA;
  border-color: #B0B0B0;
  box-shadow: 0 4px 18px var(--color-shadow-lg);
}
.category-card img, .category-tile img {
  height: 40px;
  width: 40px;
  margin-bottom: 12px;
}
.category-card h3, .category-tile h3 {
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #282828;
  margin-bottom: 10px;
}
.category-card a, .category-tile a {
  color: #17446E;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color .14s;
}
.category-card a:hover, .category-tile a:hover {
  color: #111;
}
.see-all-categories, .cta-testimonials, .cta-section .content-wrapper {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.blog-tile h3 {
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #222;
  margin-bottom: 10px;
}
.blog-tile .btn-link {
  font-size: 1rem;
  margin-top: 12px;
}

/* Team members */
.team-briefs {
  gap: 20px;
  margin-top: 18px;
}
.team-member {
  min-width: 180px;
  max-width: 250px;
  align-items: flex-start;
  flex: 1 1 160px;
}

/* --------------------------------------------------------------------------
   TESTIMONIALS & REVIEW CARDS
----------------------------------------------------------------------------*/
.testimonials-slider, .testimonials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 30px 0;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1.5px solid #ECECEC;
  box-shadow: 0 2px 14px var(--color-shadow);
  border-radius: 11px;
  padding: 24px 28px 20px 28px;
  flex: 1 1 220px;
  min-width: 210px;
  max-width: 410px;
  margin-bottom: 20px;
  transition: box-shadow .17s, border-color .17s, background .17s;
}
.testimonial-card:hover {
  background: #111;
  color: #fff;
  border-color: #505050;
  box-shadow: 0 7px 22px var(--color-shadow-lg);
}
.testimonial-card p {
  font-size: 1.08rem;
  line-height: 1.5;
  color: inherit;
}
.testimonial-card strong, .testimonial-card span, .testimonial-card .user-rating img, .testimonial-card .user-rating {
  color: #111;
}
.testimonial-card .user-rating {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 12px;
}
.testimonial-card .user-rating img {
  height: 18px;
  width: 18px;
}

.rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1.08rem;
  margin: 10px 0 14px 0;
}
.rating img {
  height: 18px;
  width: 18px;
}
.rating span {
  color: #111;
  font-weight: 600;
  margin-left: 8px;
}

.review-form-section, .contact-form-section {
  background: #F7F8FA;
  border-radius: 16px;
  margin-top: 44px;
  padding: 40px 18px;
}
.review-form-disabled, .form-disabled {
  background: #fff;
  color: #212121;
  border-radius: 10px;
  border: 1.5px solid #ECECEC;
  padding: 22px 28px;
  text-align: center;
}
.review-form-disabled p, .form-disabled p {
  font-size: 1rem;
  margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   FOOTER
----------------------------------------------------------------------------*/
footer {
  background: #111;
  padding: 50px 0 28px 0;
  color: #fff;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 32px;
}
.footer-logo img {
  height: 44px;
  margin-bottom: 18px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-menu a {
  color: #fff;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  opacity: 0.89;
  transition: color .14s, opacity .14s;
}
.footer-menu a:hover {
  color: var(--color-secondary);
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: .98rem;
  opacity: 0.91;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-contact img {
  height: 18px;
  width: 18px;
  filter: brightness(0) invert(1);
}
.footer-contact a {
  color: #fff;
  opacity: 0.96;
}
.footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}
.footer-social a img {
  height: 30px;
  width: 30px;
  filter: brightness(0) invert(1) grayscale(1);
  opacity: 0.84;
  transition: filter .15s, opacity .15s;
}
.footer-social a:hover img {
  opacity: 1;
  filter: brightness(0.8) invert(1) grayscale(0);
}
.footer-legal {
  margin-top: 8px;
}
.footer-legal small {
  color: #bdbdbd;
}

/* --------------------------------------------------------------------------
   LEGAL SECTIONS (Privacy/RODO/Regulamin)
----------------------------------------------------------------------------*/
.legal-section {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px var(--color-shadow);
  margin: 56px 0;
  padding: 40px 0 30px 0;
}
.legal-text-section {
  margin-top: 20px;
}
.legal-text-section h2 {
  font-size: 1.17rem;
  margin-top: 28px;
  color: #212121;
}
.legal-text-section p, .legal-text-section ul, .legal-text-section li {
  font-size: 1rem;
  color: #212121;
  margin-bottom: 14px;
}
.legal-text-section ul {
  margin-left: 1.3em;
}
.legal-text-section li {
  list-style: disc inside;
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN (Mobile first, min-width breakpoints)
----------------------------------------------------------------------------*/
@media (max-width: 1100px) {
  .container {
    max-width: 94vw;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 16px;
  }
  .feature-grid, .category-cards, .category-tiles, .blog-tiles, .team-briefs {
    gap: 16px;
  }
  .footer-row {
    flex-wrap: wrap;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 94%;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
  }
  .hero, .categories-hero, .blog-hero, .testimonials-hero, .about-hero, .contact-hero, .thank-you-section {
    padding: 38px 0 22px 0;
  }
  .section, .cta-section, .legal-section {
    padding: 24px 3vw;
  }
  .content-wrapper {
    padding: 0;
    margin: 0;
  }
  .feature-grid,
  .category-cards, .category-tiles, .blog-tiles, .team-briefs,
  .testimonials-slider, .testimonials-list {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .step-grid { flex-direction: column; gap: 18px; }
  .card, .feature-item, .category-card, .category-tile, .blog-tile, .team-member, .testimonial-card {
    min-width: 0;
    max-width: 100vw;
  }
  .footer-row {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}
@media (max-width: 520px) {
  .section, .cta-section, .legal-section {
    padding: 14px 1vw;
  }
  h1, .h1 { font-size: 1.45rem; }
  h2, .h2 { font-size: 1.08rem; }
  .btn-primary, .btn-secondary { font-size: .97rem; padding: 10px 14px; }
}

/* --------------------------------------------------------------------------
   LAYOUT SYSTEM CLASSES FROM SPEC
----------------------------------------------------------------------------*/
.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) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Ensure at least 20px between all sections/cards */
.section + .section,
.card + .card,
.category-card + .category-card,
.category-tile + .category-tile,
.feature-item + .feature-item,
.testimonial-card + .testimonial-card,
.blog-tile + .blog-tile,
.team-member + .team-member {
  margin-top: 20px;
}

/* --------------------------------------------------------------------------
   ANIMATION, SHADOWS, INTERACTION
----------------------------------------------------------------------------*/
.btn-primary, .btn-secondary, .btn-link, .category-card, .feature-item, .testimonial-card, .blog-tile, .mobile-menu, .cookie-banner {
  transition: box-shadow .16s, background .14s, color .14s, border .14s, transform .19s cubic-bezier(.4,0,.2,1);
}
.category-card:hover, .feature-item:hover, .testimonial-card:hover, .blog-tile:hover {
  transform: translateY(-3px) scale(1.031);
  z-index: 1;
}

/* --------------------------------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
----------------------------------------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  z-index: 4000;
  background: #1A1A1A;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 22px 20px 22px 20px;
  box-shadow: 0 -2px 24px var(--color-shadow-lg);
  gap: 28px;
  font-size: 1rem;
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
  transition: opacity .23s cubic-bezier(.7,.1,.2,1), transform .25s cubic-bezier(.7,.1,.2,1);
}
.cookie-banner.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-banner p {
  flex: 1 1 250px;
  margin: 0;
  font-size: 1em;
}
.cookie-banner-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial,sans-serif;
  font-size: 1rem;
  padding: 9px 18px;
  border-radius: 5px;
  font-weight: 600;
  border: none;
  transition: background .18s, color .18s;
  outline: none;
}
.cookie-accept {
  background: var(--color-primary);
  color: #fff;
  border: none;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #12365B;
}
.cookie-reject {
  background: #fff;
  color: #212121;
  border: 2px solid #B8B8B8;
}
.cookie-reject:hover, .cookie-reject:focus {
  border: 2px solid #444;
  color: #000;
}
.cookie-settings {
  background: transparent;
  color: var(--color-secondary);
  text-decoration: underline;
  font-size: .99rem;
}
.cookie-settings:hover, .cookie-settings:focus {
  color: #fff;
}

/* Cookie preferences modal */
.cookie-modal-overlay {
  background: rgba(20,23,29,0.87);
  z-index: 4100;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .22s cubic-bezier(.4,0,.2,1);
}
.cookie-modal-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #111;
  border-radius: 16px;
  box-shadow: 0 9px 40px var(--color-shadow-lg);
  padding: 42px 28px 20px 28px;
  min-width: 320px;
  max-width: 95vw;
  width: 450px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  pointer-events: none;
  transition: opacity .25s cubic-bezier(.7,.1,.2,1), transform .25s cubic-bezier(.7,.1,.2,1);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-modal h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-family: 'Montserrat', Arial,sans-serif;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-category input[type='checkbox'] {
  width: 20px;
  height: 20px;
}
.cookie-category label {
  font-size: 1rem;
}
.cookie-modal-bottom {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 14px;
}
.cookie-modal-dismiss, .cookie-modal-save {
  padding: 9px 18px;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-right: 6px;
}
.cookie-modal-save {
  background: var(--color-primary);
  color: #fff;
}
.cookie-modal-save:hover, .cookie-modal-save:focus {
  background: #193e61;
}
.cookie-modal-dismiss {
  background: #fff;
  color: #111;
  border: 2px solid #D8D8D8;
}
.cookie-modal-dismiss:hover, .cookie-modal-dismiss:focus {
  border-color: #888;
}
.cookie-essential label {
  color: #aaa;
}

@media (max-width: 600px) {
  .cookie-modal {
    min-width: 0;
    width: 98vw;
    padding: 28px 8px 12px 8px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 4vw;
    text-align: left;
  }
}

/* --------------------------------------------------------------------------
   CUSTOM UTILITIES/MISC
----------------------------------------------------------------------------*/
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 2px !important; }
.mb-2 { margin-bottom: 2px !important; }
.mt-6 { margin-top: 6px !important; }
.mb-6 { margin-bottom: 6px !important; }
.mt-18 { margin-top: 18px !important; }
.mb-18 { margin-bottom: 18px !important; }
.mt-32 { margin-top: 32px !important; }
.mb-32 { margin-bottom: 32px !important; }

/* Hide visually but keep accessible (for e.g. cookie essential) */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  border: 0 !important;
}

/* Form inputs and accessibility for text contrast */
input, textarea, select {
  color: #111;
  background: #fff;
  border-radius: 6px;
  border: 1.5px solid #D7D7D7;
  padding: 10px 14px;
  margin-bottom: 10px;
  box-shadow: 0 1px 5px var(--color-shadow);
  transition: border .17s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-primary);
}

/* Checkbox/Radio for cookie modal */
input[type='checkbox'] {
  accent-color: var(--color-primary);
}

/* Hide scrollbars for mobile menu & overlays*/
.mobile-menu, .cookie-modal-overlay {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.mobile-menu::-webkit-scrollbar, .cookie-modal-overlay::-webkit-scrollbar {
  display: none;
}

/* --------------------------------------------------------------------------
   END OF CSS
----------------------------------------------------------------------------*/
