/* --- 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;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #fcf9fd;
  color: #273a4c;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
a {
  color: #49545d;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #e3ad27;
  outline: none;
}
ul, ol {
  padding-left: 24px;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  border: none;
  outline: none;
  background: none;
}

/* --- SOFT PASTEL COLOR PALETTE (inspired by brand) --- */
:root {
  --primary: #273a4c;
  --secondary: #e3ad27;
  --accent: #ffffff;
  --pastel-pink: #ffe5ec;
  --pastel-blue: #d6e6fa;
  --pastel-yellow: #ffeec2;
  --pastel-green: #e5fae2;
  --pastel-lilac: #efe6fa;
  --shade: #f7f8fa;
  --card-shadow: rgba(39,58,76,0.07);
  --border-radius: 18px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* ----------- LAYOUT CONTAINERS & SECTIONS ----------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--pastel-blue);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 32px var(--card-shadow);
}
@media (max-width: 900px) {
  .section {
    padding: 32px 8px;
  }
}

main {
  padding-top: 15px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ----------- HEADER & NAVIGATION ----------- */
header {
  background: linear-gradient(90deg, #efe6fa 0 60%, #e5fae2 100%);
  box-shadow: 0 2px 22px var(--card-shadow);
  padding: 0;
  position: relative;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 15px;
  padding-bottom: 15px;
  gap: 22px;
}
header a img {
  height: 34px;
  width: auto;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav a {
  color: var(--primary);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.01em;
  border-radius: 8px;
  padding: 8px 12px;
  transition: color 0.18s, background 0.18s, box-shadow 0.22s;
}
nav a:hover,
nav a:focus {
  background: var(--pastel-yellow);
  color: var(--secondary);
  box-shadow: 0 2px 6px var(--card-shadow);
}
.cta-btn {
  background: var(--secondary);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  border-radius: 22px;
  padding: 11px 34px;
  margin-left: 12px;
  box-shadow: 0 3px 12px var(--card-shadow);
  letter-spacing: 0.03em;
  text-shadow: 0 1px 0 #fff8dd80;
  transition: background 0.18s, color 0.18s, transform 0.12s;
  cursor: pointer;
  display: inline-block;
}
.cta-btn:hover,
.cta-btn:focus {
  background: var(--primary);
  color: var(--accent);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 5px 16px var(--card-shadow);
}

/* ---- Mobile Burger Menu ---- */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: var(--primary);
  font-size: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 1px 6px var(--card-shadow);
  transition: background 0.2s;
  margin-left: 12px;
  z-index: 110;
}
.mobile-menu-toggle:focus {
  background: var(--primary);
  color: var(--accent);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fffafc;
  box-shadow: 0 4px 36px rgba(39,58,76,0.19);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.61,.1,.12,1.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 32px 32px 32px;
  gap: 20px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 32px;
  background: var(--pastel-pink);
  color: var(--primary);
  border-radius: 50%;
  border: none;
  width: 40px;
  height: 40px;
  line-height: 40px;
  cursor: pointer;
  box-shadow: 0 1px 6px var(--card-shadow);
  transition: background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--secondary);
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid #f0ecfd;
  transition: color 0.18s, background 0.18s;
  border-radius: 8px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--pastel-blue);
  color: var(--secondary);
}
@media (max-width: 1024px) {
  nav,
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ---- Hero Section ---- */
.hero {
  background: linear-gradient(120deg, var(--pastel-blue) 50%, var(--pastel-lilac) 100%);
  min-height: 380px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}
.hero .container {
  min-height: 290px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.hero .content-wrapper {
  gap: 24px;
  align-items: flex-start;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 2.7rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  line-height: 1.13;
}
.hero p {
  max-width: 600px;
  color: #545a63;
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-family: var(--font-body);
}

/* ---- Features Section ---- */
.features {
  background: var(--pastel-pink);
  border-radius: var(--border-radius);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.features h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--primary);
  letter-spacing: 0.01em;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.feature-grid,
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  list-style: none;
}
.feature-grid li,
.feature-list li {
  background: var(--pastel-yellow);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 14px var(--card-shadow);
  flex: 1 1 240px;
  min-width: 240px;
  max-width: 340px;
  padding: 30px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.21s, transform 0.18s, background 0.23s;
}
.feature-grid li:hover,
.feature-list li:hover {
  background: var(--pastel-blue);
  box-shadow: 0 7px 36px #dad0e4a0;
  transform: translateY(-2px) scale(1.02);
}
.feature-grid img,
.feature-list img {
  width: 44px;
  height: 44px;
  margin-bottom: 4px;
}
.feature-grid h3, .feature-list strong {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--primary);
}
.feature-grid p, .feature-list p {
  color: #6c7684;
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 0;
}

/* -------- SERVICE LISTS -------- */
.services {
  background: var(--pastel-lilac);
  border-radius: var(--border-radius);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.services h2,
.services h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 30px;
  color: var(--primary);
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin-bottom: 0;
}
.service-list li {
  background: var(--pastel-blue);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 16px var(--card-shadow);
  flex: 1 1 250px;
  min-width: 250px;
  max-width: 340px;
  padding: 30px 22px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, background 0.21s, transform 0.13s;
  position: relative;
}
.service-list li:hover {
  background: var(--pastel-yellow);
  box-shadow: 0 4px 24px #d1d0a9bb;
  transform: translateY(-3px) scale(1.01);
}
.service-list h2,
.service-list h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--primary);
}
.service-list p {
  font-size: 1em;
  color: #5c6370;
  font-family: var(--font-body);
}
.service-list strong {
  font-size: 1.1em;
  color: var(--secondary);
  font-weight: 700;
  margin-bottom: 4px;
}
.service-cta {
  margin-top: 7px;
  color: var(--primary);
  background: var(--pastel-pink);
  border-radius: 11px;
  padding: 7px 18px;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1em;
  display: inline-block;
  box-shadow: 0 1px 7px var(--card-shadow);
  transition: background 0.2s, color 0.18s, transform 0.15s;
}
.service-cta:hover,
.service-cta:focus {
  background: var(--secondary);
  color: var(--accent);
  transform: translateY(-2px);
}

/* -------- TESTIMONIALS -------- */
.testimonials {
  background: var(--pastel-green);
  border-radius: var(--border-radius);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.testimonials h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--primary);
}
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  background: var(--accent);
  display: flex;
  align-items: center;
  gap: 20px;
  border-radius: calc(var(--border-radius) + 7px);
  box-shadow: 0 2px 14px var(--card-shadow);
  padding: 20px 24px 20px 20px;
  margin-bottom: 20px;
  flex: 1 1 340px;
  min-width: 240px;
  max-width: 500px;
  color: #273a4c;
  font-size: 1.01rem;
  position: relative;
  border-left: 8px solid var(--secondary);
  transition: box-shadow 0.23s, transform 0.15s;
}
.testimonial-card:hover,
.testimonial-card:focus {
  box-shadow: 0 8px 36px #cee2dbaa;
  transform: scale(1.018) translateY(-2px);
}
.testimonial-card blockquote {
  font-style: italic;
  font-size: 1.01em;
  font-family: var(--font-body);
  color: #273a4c;
  margin-right: 12px;
}
.testimonial-card span {
  font-family: var(--font-display);
  font-size: 1em;
  color: #596a76;
  font-weight: 600;
}

/* ---- Card Containers ---- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  background: var(--pastel-yellow);
  box-shadow: 0 2px 14px var(--card-shadow);
  position: relative;
  padding: 26px 22px 22px 22px;
}

/* --- Other Flex Layouts --- */
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- Case Studies / News --- */
.case-study-grid,
.news-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.case-study {
  background: var(--pastel-lilac);
  border-radius: var(--border-radius);
  box-shadow: 0 1px 12px var(--card-shadow);
  padding: 28px 22px 20px 22px;
  flex: 1 1 320px;
  min-width: 260px;
  max-width: 350px;
  margin-bottom: 20px;
}
.case-study h2, .news-list h2 {
  font-family: var(--font-display);
  font-size: 1.17rem;
  margin-bottom: 7px;
}
.case-study p, .news-list p {
  font-family: var(--font-body);
  font-size: 1em;
  color: #545a63;
}
.news-list article {
  background: var(--pastel-pink);
  box-shadow: 0 1px 8px var(--card-shadow);
  border-radius: var(--border-radius);
  padding: 24px 18px 18px 18px;
  margin-bottom: 20px;
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 350px;
}

/* --- Project/Event Highlights, Summaries, etc. --- */
.project-highlights ul,
.event-summaries ul,
.values-list,
.next-steps-info ul {
  list-style: disc inside;
  margin-bottom: 12px;
  font-family: var(--font-body);
  color: #51555e;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-left: 13px;
}
.project-highlights ul li,
.event-summaries ul li,
.values-list li {
  padding-left: 8px;
}

.summary-descriptions, .thank-you-message, .map-location {
  background: var(--pastel-blue);
  border-radius: var(--border-radius);
  padding: 24px 18px;
  color: #273a4c;
  font-size: 1em;
  margin-bottom: 20px;
  box-shadow: 0 1px 8px var(--card-shadow);
}

/* --- CONTACT SECTION --- */
.contact .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: var(--pastel-pink);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 12px var(--card-shadow);
  padding: 26px 18px 22px 18px;
  min-width: 240px;
  max-width: 420px;
  font-size: 1.07em;
}
.contact-info div {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #273a4c;
}
.contact-info img {
  width: 24px;
  height: 24px;
}
.map-location {
  min-width: 180px;
  max-width: 350px;
  font-size: 1.01em;
}

/* --- ABOUT / THANK-YOU --- */
.values-list, .team-overview {
  background: var(--pastel-yellow);
  border-radius: var(--border-radius);
  padding: 16px 14px;
  margin-bottom: 14px;
  box-shadow: 0 1px 7px var(--card-shadow);
}
.team-overview h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 5px;
}

.thank-you-section {
  background: var(--pastel-pink);
  border-radius: var(--border-radius);
  padding: 40px 20px;
  margin-bottom: 60px;
}
.thank-you-section h1 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: bold;
  letter-spacing: 0.02em;
  color: var(--primary);
  margin-bottom: 20px;
}
.thank-you-message {
  background: var(--pastel-lilac);
}
.next-steps-info {
  background: var(--pastel-blue);
  border-radius: var(--border-radius);
  padding: 20px 16px;
  margin-bottom: 10px;
  box-shadow: 0 1px 7px var(--card-shadow);
}


/* --- STATIC CONTENT & LEGAL TEXT SECTIONS --- */
.privacy-policy-text, .gdpr-info-text, .terms-and-conditions-text, .cookies-policy-text {
  background: var(--pastel-lilac);
  border-radius: var(--border-radius);
  padding: 30px 24px;
  color: #3b4251;
  font-family: var(--font-body);
  font-size: 1em;
  box-shadow: 0 1px 8px var(--card-shadow);
}
.privacy-policy-text h2,
.gdpr-info-text h2,
.terms-and-conditions-text h2,
.cookies-policy-text h2 {
  font-family: var(--font-display);
  font-size: 1.13em;
  color: var(--primary);
  margin-top: 16px;
  margin-bottom: 8px;
}

/* --- FOOTER --- */
footer {
  background: linear-gradient(90deg,#efe6fa 60%, #e5fae2 100%);
  padding: 0;
  box-shadow: 0 -1px 12px var(--card-shadow);
  font-size: 1em;
  color: #49545d;
}
footer .container {
  padding: 32px 20px 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
  border-bottom: 1px solid #e9e7fc;
  padding-bottom: 10px;
  margin-bottom: 14px;
}
.footer-brand {
  min-width: 180px;
  max-width: 230px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.98em;
}
.footer-brand img {
  height: 32px;
  margin-bottom: 2px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-menu a {
  color: #49545d;
  font-family: var(--font-display);
  font-size: 1em;
  border-radius: 4px;
  padding: 4px 0;
  transition: color 0.15s;
}
.footer-menu a:hover {
  color: var(--secondary);
}
.footer-social {
  display: flex;
  gap: 13px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pastel-blue);
  box-shadow: 0 1px 4px var(--card-shadow);
  transition: background 0.16s;
}
.footer-social a:hover {
  background: var(--secondary);
}
.footer-social img {
  width: 18px;
  height: 18px;
}
.footer-contact {
  font-size: 0.96em;
  color: #7a808c;
  margin-top: 0;
}

/* ----------- RESPONSIVE DESIGN ----------- */
@media (max-width: 1024px) {
  .container {
    max-width: 97vw;
    padding-left: 7vw; /* for touchable sides */
    padding-right: 7vw;
  }
}
@media (max-width: 900px) {
  header .container, footer .container {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  .feature-grid, .service-list, .case-study-grid, .news-list, .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .hero .container {
    flex-direction: column;
    min-height: 220px;
  }
  .text-image-section,
  .contact .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 600px) {
  .case-study, .service-list li, .feature-grid li, .testimonial-card, .news-list article {
    min-width: 98vw;
    max-width: 100vw;
    padding: 17px 6vw 17px 8vw;
  }
  .footer-social {
    gap: 10px;
  }
}

/* --- SPACING, GAPS, AND LAYOUTS, STRICTLY FLEXBOX --- */
.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; }

/* --- INTERACTION STYLES --- */
button, .cta-btn, .service-cta {
  cursor: pointer;
  outline: none;
  border: none;
}
button:focus-visible,
.cta-btn:focus-visible,
.service-cta:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* --- WHITE SPACE & VISUAL HIERARCHY --- */
h1 {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
}
h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
}
p {
  font-family: var(--font-body);
  color: #4d4f5f;
  font-size: 1.02em;
  margin-bottom: 13px;
  line-height: 1.7;
}
strong {
  font-weight: 700;
  color: var(--primary);
}

/* ------------- COOKIE CONSENT BANNER ---------------*/
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: var(--pastel-lilac);
  box-shadow: 0 -2px 18px #ccb8e050;
  width: 100vw;
  padding: 22px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 1em;
  transition: transform 0.35s, opacity 0.33s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-consent-banner.hide {
  opacity: 0;
  transform: translateY(50px);
  pointer-events: none;
}
.cookie-banner-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 8px 24px;
  border-radius: 18px;
  background: var(--pastel-yellow);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  border: none;
  font-size: 1em;
  box-shadow: 0 1px 6px var(--card-shadow);
  margin-bottom: 0;
  transition: background 0.17s, color 0.17s, transform 0.15s;
}
.cookie-btn.accept {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-btn.reject {
  background: var(--pastel-pink);
  color: #b73256;
}
.cookie-btn.settings {
  background: var(--pastel-blue);
  color: var(--primary);
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: var(--secondary);
  color: var(--accent);
  transform: translateY(-2px) scale(1.04);
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(37, 41, 62, 0.19);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s;
  pointer-events: all;
  visibility: visible;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 6px 46px #b8b5e190;
  padding: 32px 26px 24px 26px;
  color: var(--primary);
  max-width: 400px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  font-family: var(--font-body);
}
.cookie-modal-content h2 {
  margin-bottom: 9px;
  font-family: var(--font-display);
  font-size: 1.25em;
  text-align: left;
}
.cookie-modal-content .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--pastel-yellow);
  border-radius: 12px;
  padding: 7px 10px;
  font-size: 1em;
}
.cookie-category .toggle {
  margin-left: auto;
}
.cookie-modal-content .cookie-btns {
  display: flex;
  gap: 11px;
  margin-top: 9px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 18px;
  font-size: 24px;
  background: var(--pastel-pink);
  border-radius: 50%;
  border: none;
  color: var(--primary);
  width: 32px; height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center; justify-content: center;
  transition: background 0.17s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: var(--secondary);
  color: var(--accent);
}

/* --- CUSTOM TOGGLE SWITCH (COOKIE MODAL) --- */
.cookie-switch {
  width: 44px;
  height: 24px;
  border-radius: 17px;
  background: var(--pastel-blue);
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin-left: 7px;
  transition: background 0.2s;
}
.cookie-switch input {
  display: none;
}
.cookie-switch .slider {
  position: absolute;
  cursor: pointer;
  top: 2px; left: 2px;
  right: 2px; bottom: 2px;
  background: var(--pastel-pink);
  border-radius: 16px;
  transition: .2s;
}
.cookie-switch input:checked + .slider {
  background: var(--secondary);
}
.cookie-switch .slider:before {
  position: absolute;
  content: '';
  height: 18px;
  width: 18px;
  left: 2px; bottom: 2px;
  background: var(--primary);
  border-radius: 50%;
  transition: .2s;
}
.cookie-switch input:checked + .slider:before {
  transform: translateX(18px);
  background: var(--accent);
}

/* --- FORM ELEMENTS & FOCUS STYLES --- */
input, textarea, select {
  outline: none;
  border-radius: 7px;
  border: 1px solid #dde1f2;
  background: #faf9fd;
  padding: 9px 10px;
  font-family: var(--font-body);
  font-size: 1em;
  margin-bottom: 10px;
  transition: border-color 0.18s, box-shadow 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 2px #e3ad2735;
}

/* --- SMOOTH TRANSITIONS FOR MICRO-INTERACTIONS --- */
* {
  transition-property: background, color, box-shadow, transform, outline, border-color, opacity;
  transition-duration: 0.15s;
  transition-timing-function: cubic-bezier(.74,0,.25,1);
}

