/* ---------------------- RESET & BASE STYLES ---------------------------- */
/* CSS Reset (normalize-style, tailored for compatibility and consistency) */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F6F6F2;
  color: #243145;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  display: inline-block;
}
a {
  color: #243145;
  text-decoration: none;
  transition: color .2s;
}
a:focus {
  outline: 2px dashed #F9A900;
  outline-offset: 2px;
}
ul,ol {
  list-style: none;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* ---------------------- BRAND COLORS & FONTS ---------------------------- */
:root {
  --color-primary: #243145;
  --color-secondary: #7EA593;
  --color-accent: #F6F6F2;
  --color-warm: #FFD262;
  --color-hot: #F65E73;
  --color-vivid: #57C3FF;
  --color-contrast: #fff;

  --font-display: 'Montserrat', 'Comic Sans MS', cursive, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* ---------------------- TYPOGRAPHY ---------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  margin-bottom: 16px;
  font-weight: 900;
  letter-spacing: -1px;
}
h1 {
  font-size: 2.4rem;
  color: var(--color-hot);
  line-height: 1.1;
  margin-bottom: 18px;
  text-shadow: 0 4px 12px rgba(134,187,199,0.10);
}
h2 {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 16px;
  text-shadow: 0 4px 10px rgba(250,200,255,0.06);
}
h3 {
  font-size: 1.25rem;
  color: var(--color-secondary);
  font-weight: 700;
}
strong {
  color: var(--color-primary);
  font-weight: 700;
}
em {
  color: var(--color-hot);
}
blockquote {
  font-family: var(--font-display);
  background: #fff8ee;
  border-left: 4px solid var(--color-warm);
  margin: 16px 0 12px 0;
  padding: 16px 20px;
  font-size: 1.1rem;
  color: #484848;
  border-radius: 0 24px 24px 0;
}
q {
  color: var(--color-hot);
  font-style: italic;
  display: block;
  margin: 8px 0 0 0;
  font-family: var(--font-display);
}
p {
  margin-bottom: 12px;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
ul, ol {
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
  padding-left: 24px;
  position: relative;
  font-size: 1rem;
}
ul > li:before {
  content: '•';
  position: absolute;
  left: 2px;
  color: var(--color-hot);
  font-size: 1.1em;
  top: 0.15em;
}
h1,h2,h3,h4 {
  word-break: break-word;
}

/* ------------------- GENERAL LAYOUT (CONTAINER + WRAPPER) ----------------- */
.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 16px;
}
.content-wrapper {
  padding: 40px 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

@media (max-width: 768px) {
  .content-wrapper {
    padding: 24px 0;
  }
  .section {
    margin-bottom: 36px;
    padding: 24px 8px;
  }
}

/* ---------------------- HEADER & NAVIGATION ---------------------------- */
header {
  width: 100%;
  background: var(--color-primary);
  color: var(--color-contrast);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px 0 rgba(44,66,83,0.07);
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: flex-start;
  padding: 12px 16px;
  position: relative;
}
header nav a {
  font-family: var(--font-display);
  color: var(--color-accent);
  padding: 7px 18px;
  border-radius: 24px;
  font-size: 1.07rem;
  position: relative;
  transition: background .18s, color .18s, box-shadow .17s;
  font-weight: 700;
  text-decoration: none;
}
header nav a.cta {
  background: var(--color-hot);
  color: #fff !important;
  box-shadow: 0 0 0 2px var(--color-hot) inset, 0 2px 24px rgba(235,60,90,0.1);
  font-size: 1.08rem;
  margin-left: auto;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: background 0.15s, box-shadow 0.18s, color 0.12s;
}
header nav a.cta:hover,
header nav a.cta:focus {
  background: #FF89A0;
  color: #fff;
  box-shadow: 0 0 0 2px #FF89A0 inset, 0 2px 28px rgba(235,60,90,0.13);
}
header nav a:hover,
header nav a:focus {
  background: rgba(255,255,255,0.14);
  color: var(--color-warm);
  text-decoration: none;
}
header nav img {
  height: 40px;
  margin-right: 22px;
  vertical-align: middle;
}
@media (max-width: 960px) {
  header nav {
    gap: 10px;
    padding: 12px 8px;
  }
}
@media (max-width: 800px) {
  header nav a {
    font-size: 1rem;
    padding: 5px 12px;
  }
  header nav img {
    height: 34px;
    margin-right: 12px;
  }
}

/* ------------- MOBILE NAVIGATION HAMBURGER ----------------- */
.mobile-menu-toggle {
  display: none;
  background: var(--color-hot);
  color: #fff;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 10px;
  right: 20px;
  z-index: 1300;
  transition: background .18s, color .16s, box-shadow .19s;
  box-shadow: 0 2px 16px rgba(244,66,102,0.17);
  border: none;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--color-warm);
  color: var(--color-hot);
}

/* Hide regular nav and show burger on mobile */
@media (max-width: 960px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* --------------------- MOBILE MENU DRAWER ------------------- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 2000;
  transform: translateX(-100vw);
  transition: transform .35s cubic-bezier(.55,.08,.69,.97);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border-top-right-radius: 32px;
  border-bottom-right-radius: 32px;
  box-shadow: 2px 0 40px 0 rgba(44,49,75,.18);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--color-hot);
  font-size: 2rem;
  align-self: flex-end;
  margin: 18px 32px 10px 0;
  border-radius: 50%;
  padding: 6px 12px;
  border: none;
  transition: background .13s, color .12s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-warm);
  color: var(--color-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 0 32px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 4px;
  border-radius: 18px;
  padding: 12px 18px;
  transition: background .11s, color .13s;
  width: 100%;
  display: block;
  text-decoration: none;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-vivid);
  color: #fff;
}
.mobile-nav a.cta {
  background: var(--color-hot);
  color: #fff !important;
  font-weight: 900;
  font-size: 1.2rem;
  margin-top: 14px;
}

@media (min-width: 961px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ---------------------- COMMON FLEX LAYOUTS ---------------------------- */
.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;
  background: #fff;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 18px rgba(36,49,69,0.10);
  transition: box-shadow 0.2s, background 0.2s;
  flex-direction: column;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 768px) {
  .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .testimonial-card {
    gap: 14px;
    padding: 16px;
  }
}

/* ----------------------- HERO & CTA SECTIONS ---------------------------- */
.hero {
  background: linear-gradient(103deg, #7EA593 0%, #57C3FF 90%);
  color: #243145;
  border-bottom-left-radius: 46px;
  border-bottom-right-radius: 56px;
  box-shadow: 0 10px 24px 0 rgba(36,49,69,0.09);
  margin-bottom: 55px;
  position: relative;
  overflow: hidden;
}
.hero h1 {
  color: var(--color-hot);
  font-size: 2.3rem;
  line-height: 1.13;
  margin-bottom: 20px;
  letter-spacing: -1.3px;
  font-family: var(--font-display);
  font-weight: 900;
}
.hero p {
  font-size: 1.12rem;
  color: var(--color-primary);
  margin-bottom: 22px;
  font-weight: 400;
}
.hero .cta {
  margin-top: 10px;
  box-shadow: 0 2px 14px #FFF4;
}

.home-cta, .services-cta, .projects-cta, .inspo-cta, .advice-cta, .contact-cta {
  background: #FFD262;
  border-radius: 38px;
  text-align: center;
  margin-bottom: 48px;
  box-shadow: 0 2px 28px rgba(255,210,98,0.10);
  animation: bounceIn 1.1s cubic-bezier(.7,.01,.32,.98);
  position: relative;
}
@keyframes bounceIn {
  0% {
    transform: scale(0.95);
    opacity: 0;
  }
  70% {
    transform: scale(1.03);
    opacity: .95;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.home-cta h2, .services-cta h2, .projects-cta h2, .inspo-cta h2, .advice-cta h2, .contact-cta h2 {
  color: var(--color-hot);
  font-size: 2rem;
  margin-bottom: 16px;
  font-family: var(--font-display);
  letter-spacing: -1px;
}
.home-cta .cta, .services-cta .cta, .projects-cta .cta, .inspo-cta .cta, .advice-cta .cta, .contact-cta .cta {
  margin-top: 22px;
}

@media (max-width: 768px) {
  .hero {
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    padding: 18px 2px 30px 2px;
    margin-bottom: 24px;
  }
  .home-cta, .services-cta, .projects-cta, .inspo-cta, .advice-cta, .contact-cta {
    border-radius: 18px;
    margin-bottom: 24px;
  }
}

/* ----------------------- FEATURES SECTION (HOME) ----------------------- */
.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 12px;
  justify-content: space-between;
}
.features ul li {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(51,103,95,0.07);
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 260px;
  padding: 26px 22px 18px 22px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.17s;
  overflow: hidden;
  border: 2px solid #fff;
}
.features ul li img {
  height: 40px;
  width: 40px;
}
.features ul li strong {
  font-family: var(--font-display);
  color: var(--color-hot);
  font-size: 1.1rem;
  margin-bottom: 2px;
}
.features ul li:hover,
.features ul li:focus-within {
  box-shadow: 0 7px 30px #FFD26255;
  border-color: var(--color-warm);
  transform: translateY(-2px) scale(1.03);
}
@media (max-width: 1024px) {
  .features ul {
    gap: 14px;
  }
  .features ul li {
    min-width: 150px;
    max-width: 100%;
    padding: 19px 12px;
  }
}
@media (max-width: 650px) {
  .features ul {
    flex-direction: column;
    gap: 12px;
  }
}

/* -------------------------- SERVICES ---------------------------------- */
.services .service-cards,
.services .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: space-between;
  margin-bottom: 24px;
}
.service-card,
.service-item {
  background: linear-gradient(140deg, #fff 65%, #FFE1F3 100%);
  border-radius: 22px;
  padding: 32px 20px 22px 20px;
  box-shadow: 0 3px 18px rgba(36, 49, 69, 0.09);
  flex: 1 1 270px;
  min-width: 240px;
  max-width: 340px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border: 2px solid #FFF;
  position: relative;
  transition: box-shadow 0.18s, border 0.15s, transform 0.17s;
}
.service-card img,
.service-item img {
  height: 48px;
  width: 48px;
}
.service-card h3,
.service-item h2 {
  font-family: var(--font-display);
  color: var(--color-hot);
  font-size: 1.12rem;
  font-weight: 800;
  margin: 0;
  margin-bottom: 6px;
}
.service-card .price,
.service-item .price {
  display: inline-block;
  background: var(--color-hot);
  color: #fff;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 1.02rem;
  font-family: var(--font-display);
  margin-top: 10px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.service-card:hover,
.service-card:focus-within,
.service-item:hover,
.service-item:focus-within {
  box-shadow: 0 9px 36px #FFD26255;
  border-color: var(--color-warm);
  transform: translateY(-3px) scale(1.03);
}
@media (max-width: 1024px) {
  .services .service-cards, .services .service-list {
    gap: 13px;
  }
  .service-card, .service-item {
    padding: 18px 10px 16px 10px;
    min-width: 160px;
    max-width: 100%;
    gap: 9px;
  }
}
@media (max-width: 700px) {
  .services .service-cards, .services .service-list {
    flex-direction: column;
    gap: 14px;
  }
}

/* ----------------------- TESTIMONIALS (OPINIE) ------------------------- */
.testimonials {
  background: #F6F6F2;
  border-radius: 0 0 36px 36px;
  margin-bottom: 56px;
  box-shadow: 0 9px 46px rgba(36,49,69,0.10);
}
.testimonials h2 {
  color: var(--color-hot);
  font-size: 1.75rem;
}
.testimonial-card {
  background: #fff;
  color: #243145;
  border-radius: 22px;
  min-width: 230px;
  flex: 1 1 299px;
  box-shadow: 0 2px 19px #FFA94018, 0 0px 0 #FFD262;
  border-left: 7px solid #FFD262;
  margin-bottom: 24px;
  padding: 28px 20px 22px 20px;
  transition: box-shadow 0.17s, transform 0.17s;
  animation: testimonialPop 0.8s cubic-bezier(.35,1.64,.52,1.01);
}
@keyframes testimonialPop {
  0% {transform: scale(0.95) translateY(25px); opacity:0;}
  60% {transform: scale(1.04) translateY(-7px); opacity:.84;}
  100%{transform: scale(1) translateY(0); opacity:1;}
}
.testimonial-card blockquote {
  background: transparent;
  border-left: none;
  padding: 0;
  color: #384358;
  font-size: 1.04rem;
  font-style: italic;
}
.testimonial-card strong {
  color: var(--color-hot);
  font-size: 1.06em;
}
.testimonial-card img {
  height: 20px;
  width: 20px;
  margin: 1.5px 2px 0 0;
  display: inline-block;
}

@media (max-width: 768px) {
  .testimonials {
    border-radius: 0 0 16px 16px;
    margin-bottom: 24px;
  }
  .testimonial-card {
    border-left: 4px solid #FFD262;
    padding: 15px 7px 15px 13px;
  }
}

/* --------------------------- FOOTER --------------------------- */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 36px 0 22px 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
  font-size: 1rem;
  position: relative;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  padding: 0 16px 10px 16px;
}
.footer-nav a {
  color: #FFD262;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 6px;
  border-bottom: 2px solid transparent;
  transition: color .12s, border-color .13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-warm);
  border-bottom: 2px solid #FFD262;
}
.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  margin: 6px 0 4px 0;
  padding: 0 16px;
}
.footer-brand img {
  height: 44px;
  width: 44px;
}
.footer-brand p {
  font-size: 1.1rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: #FFD262;
  margin: 0;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.99rem;
  padding: 0 16px;
}
.footer-contact p {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 0;
  font-size: 0.99rem;
}
.footer-contact img {
  height: 22px;
  width: 22px;
}
@media (max-width: 700px) {
  footer {
    padding: 18px 0 8px 0;
    font-size: 0.93rem;
    gap: 12px;
  }
  .footer-brand img {height: 36px; width: 36px;}
}

/* ----------- SHARED: TEXT SECTIONS, LISTS, CARDS, MAP, ETC ------------- */
.text-section {
  padding: 0 0 12px 0;
}
.text-section ul {
  margin-bottom: 14px;
  margin-left: 0px;
}
.text-section h2, .text-section h3 {
  margin-top: 22px;
}
.text-section h3 {
  font-size: 1.08rem;
  color: var(--color-hot);
  font-weight: 800;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1.08rem;
  margin-top: 14px;
}
@media (max-width:700px) {
  .contact-details {font-size: 1rem;}
}

/* ----------------- HERO: Animated Decorative Bubble ------------------- */
.hero:before {
  content: '';
  position: absolute;
  bottom: -85px; right: -80px;
  width: 280px; height: 170px;
  background: #FFD262;
  border-radius: 78% 27% 68% 40%/54% 62% 62% 48%;
  z-index: 1;
  opacity: 0.45;
  transform: rotate(-23deg);
  animation: floatbubble 7s ease-in-out infinite alternate;
}
@keyframes floatbubble {
  from {transform: rotate(-23deg) translateY(0);}
  to {transform: rotate(-29deg) translateY(-20px);}
}

/* ---------------------- CTA BUTTONS & INTERACTIONS -------------------- */
.cta {
  background: linear-gradient(90deg, #FF89A0 0%, #FFD262 100%);
  color: #fff !important;
  font-family: var(--font-display);
  font-size: 1.11rem;
  font-weight: 900;
  padding: 13px 38px;
  border: none;
  border-radius: 40px;
  box-shadow: 0 2px 16px #ffd26230;
  cursor: pointer;
  letter-spacing: 0.07em;
  outline: none;
  margin-top: 14px;
  display: inline-block;
  transition: background .19s, box-shadow .19s, transform .11s, color .10s;
  text-shadow: 0 1px 2px #fff5, 0 2px 8px #ffd26225;
}
.cta:hover, .cta:focus {
  background: linear-gradient(90deg, #FFD262 0%, #FF89A0 100%);
  color: #243145!important;
  box-shadow: 0 6px 28px #FFD26282;
  transform: scale(1.05) rotate(-1deg);
  text-decoration: none;
}

/* ------------------------- CARDS VISUALS ------------------------- */
.card, .service-card, .service-item,
.features ul li, .testimonial-card, .fact-card {
  border-radius: 20px;
  box-shadow: 0 2px 24px rgba(36,49,69,0.10);
}

/* ------------------- SPECIAL PAGES & COMPONENTS ------------------- */
/* About/Team/Facts page adjustments */
.team .text-section ul, .facts .text-section ul {
  margin-bottom: 0;
  margin-left: 0;
}
.team .text-section li, .facts .text-section li {
  font-size: 1.03rem;
  color: var(--color-primary);
}

/* Inspiration, Advice, Terms, RODO, Privacy Policy, Thank You */
.privacy-policy, .cookies-policy, .terms, .rodo, .thank-you {
  background: #fff8ee;
  border-radius: 32px;
  box-shadow: 0 6px 32px rgba(252,194,166,0.08);
  margin-bottom: 40px;
}
.cookies-policy, .privacy-policy, .terms, .rodo {
  margin-bottom: 36px;
  padding: 6px 0 20px 0;
}

/* Case studies (realizacje) list style */
.case-studies .text-section ul li {
  margin-bottom: 32px;
  background: #FFFAF3;
  border-radius: 18px;
  box-shadow: 0 2px 12px #FFD26233;
  padding: 24px 24px 18px 24px;
  position: relative;
  transition: box-shadow 0.16s, transform .13s;
}
.case-studies .text-section ul li:hover {
  box-shadow: 0 8px 32px #FFD26228;
  transform: translateY(-2px) scale(1.03);
}

/* ------------------------ ANIMATIONS MICRO-INTERACTIONS -------------------- */
.card, .service-card, .service-item,
.features ul li, .testimonial-card {
  transition: box-shadow .17s, border .17s, transform .18s, background .16s;
}
.card:hover,
.service-card:hover, .service-item:hover,
.features ul li:hover, .testimonial-card:hover {
  box-shadow: 0 9px 40px rgba(255,89,160,0.13),0 0 0 #FFD262;
  transform: scale(1.03);
  z-index: 4;
}

/* -------------- RESPONSIVENESS & FLEX STACKING ---------- */
@media (max-width: 1090px) {
  .container {max-width: 98vw;}
}
@media (max-width: 700px) {
  .container {padding: 0 4px;}
}

/* -------------------------- COOKIE CONSENT BANNER & MODAL -------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3000;
  background: #FFD262;
  color: #243145;
  padding: 20px 18px 20px 18px;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  box-shadow: 0 -2px 28px #FFD26280;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  justify-content: space-between;
  font-size: 1rem;
  animation: slideup-cookie 0.45s cubic-bezier(.6,1.01,.35,.99);
}
@keyframes slideup-cookie {
  0% {transform: translateY(100%); opacity: 0;}
  100% {transform: translateY(0); opacity: 1;}
}
.cookie-banner-message {
  flex: 1 1 500px;
  font-size: 1.08rem;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
}
.cookie-banner button {
  background: var(--color-hot);
  color: #fff;
  font-family: var(--font-display);
  padding: 10px 22px;
  border: none;
  border-radius: 24px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.12s, color .14s, transform .16s;
  font-size: 1rem;
  margin: 0 0 0 0;
  min-width: 130px;
}
.cookie-banner button.cookie-settings {
  background: #fff;
  color: var(--color-hot);
  border: 1.5px solid var(--color-hot);
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: var(--color-warm);
  color: #243145;
  transform: scale(1.06);
}
.cookie-banner button.cookie-settings:hover,
.cookie-banner button.cookie-settings:focus {
  background: var(--color-hot);
  color: #fff;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 15px;
    font-size: .98rem;
    padding: 18px 6px;
    align-items: flex-start;
  }
  .cookie-banner-actions {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
}

/* ---------- COOKIE SETTINGS MODAL -------------------- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(36,49,69,.36);
  z-index: 3500;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein-modal 0.25s;
}
@keyframes fadein-modal {from{opacity:0}to{opacity:1}}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 7px 62px #FFD26240;
  padding: 34px 30px 20px 30px;
  min-width: 310px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  animation: modalpop .35s cubic-bezier(.62,0,0,1);
  position: relative;
}
@keyframes modalpop {0%{transform:scale(.91);}75%{transform:scale(1.05);}100%{transform:scale(1);}}
.cookie-modal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-hot);
  margin-bottom: 12px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.cookie-category {
  background: #FFD26218;
  border-radius: 10px;
  padding: 12px 8px 12px 14px;
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
  width: 100%;
}
.cookie-category.essential {
  font-weight: 700;
  color: var(--color-primary);
  background: #FFD26282;
}
.cookie-toggle {
  margin-left: auto;
  display: flex;
  align-items: center;
  height: 28px;
}
/* Custom toggle switches */
.cookie-toggle input[type=checkbox] {
  appearance: none;
  width: 36px;
  height: 20px;
  background: #FFD26285;
  border-radius: 20px;
  outline: none;
  transition: background .16s;
  position: relative;
}
.cookie-toggle input[type=checkbox]:checked {
  background: var(--color-hot);
}
.cookie-toggle input[type=checkbox]:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 2.5px;
  width: 15px;
  height: 15px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px #ffd26299;
  transition: transform 0.14s;
}
.cookie-toggle input[type=checkbox]:checked:before {
  transform: translateX(16px);
}
/* Modal Close Button */
.cookie-modal-close {
  background: none;
  color: var(--color-hot);
  font-size: 2rem;
  position: absolute;
  top: 10px;
  right: 16px;
  border-radius: 24px;
  padding: 2px 10px;
  border: none;
  transition: background 0.11s, color .13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--color-warm);
  color: var(--color-primary);
}
.cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 8px;
}
.cookie-modal-actions button {
  background: var(--color-hot);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  border-radius: 18px;
  font-size: 1.05rem;
  padding: 10px 18px;
  border: none;
  transition: background .13s, color .14s, transform .12s;
  cursor: pointer;
}
.cookie-modal-actions button.cookie-cancel {
  background: #fff;
  color: var(--color-hot);
  border: 2px solid var(--color-hot);
}
.cookie-modal-actions button:hover, .cookie-modal-actions button:focus {
  background: var(--color-warm);
  color: #243145;
}
.cookie-modal-actions button.cookie-cancel:hover, .cookie-modal-actions button.cookie-cancel:focus {
  background: var(--color-hot);
  color: #fff;
}
@media (max-width: 500px) {
  .cookie-modal {padding: 18px 5px 15px 10px; min-width: 95vw;}
  .cookie-modal-title {font-size: 1.2rem;}
}

/* --------------- MISC: Selection, Scrollbar, White space --------------- */
::selection {
  background: #FFD262;
  color: #243145;
}

::-webkit-scrollbar {
  width: 11px;
  background: #FFFA;
  border-radius: 20px;
}
::-webkit-scrollbar-thumb {
  background: #FFD26282;
  border-radius: 22px;
}
::-webkit-scrollbar-thumb:hover {
  background: #FFD262B2;
}

/* ---------- Utility classes and spacing help ----------------- */
.mt-2 {margin-top: 16px !important;}
.mb-2 {margin-bottom: 16px !important;}
.mt-3 {margin-top: 24px !important;}
.mb-3 {margin-bottom: 24px !important;}
.spacey {margin-bottom: 32px !important;}
.pa-1 {padding: 7px !important;}
.pa-2 {padding: 20px !important;}
.rounded {border-radius: 18px !important;}
.bg-warm {background: #FFD262 !important;}
.bg-accent {background: #F6F6F2 !important;}
.bg-primary {background: #243145 !important; color: #fff;}


